-
Ant Create a fat jar file
In this tutorial, we will show you how to use Ant build script to create a big far / uber Jar file, which mean include the entire project external dependencies into a single jar file.
Date: 2019-08-17 View: 1553
-
Ant Spring MVC and WAR file Example
In this tutorial, we will show you how to use Ant build script to manage a Spring MVC web application project, create a WAR file and deploy to Tomcat.
Date: 2019-08-17 View: 1267
-
How to debug Ant Ivy project in Eclipse IDE
In this tutorial, we will show you how to debug an Ant-Ivy web project in Eclipse IDE.
Date: 2019-08-17 View: 1180
-
Where is Eclipse deploy web application Tomcat
By default Eclipse deploys web application to a internal plugin folder called wtpwebapps, which is located in the following directory :
Date: 2019-08-17 View: 1389
-
Mac OSX What program is using port 80
In Mac OSX, you can use sudo lsof -i :80 to find out what program is using or listening on port 80 :
Date: 2019-08-17 View: 1263
-
Mac OSX What program is using port 8080
By default, most Java web application servers are listening on port 8080, and it can easily cause the popular 8080 port conflict error. In Mac OSX, you can use sudo lsof -i :8080 | grep LISTEN to find out what program is listening on port 8080 :
Date: 2019-08-17 View: 1271
-
Linux How to extract a tar.gz file
In this tutorial, we will show you how to extract a tar.gz file :
Date: 2019-08-17 View: 1110
-
Java Convert String to Enum object
In Java, you can use Enum valueOf() to convert a String to an Enum object, review the following case study :
Date: 2019-08-17 View: 1382
-
Ant – How to print classpath from path id
In Ant, you can use pathconvert task to print out the classpath from path :
Date: 2019-08-17 View: 1311
-
How to Apache Ant on Mac OS X
In this tutorial, we will show you how to install Apache Ant on Mac OSX.
Date: 2019-08-17 View: 1541
-
How to install Apache Ant on Windows
To install Apache Ant on Windows, you just need to download the Ant’s zip file, and Unzip it, and configure the ANT_HOME Windows environment variables.
Date: 2019-08-17 View: 1603
-
Convert DateTime to Date, but TimeZone is missing?
A code snippet to use Joda Time to convert a java.util.Date to different timezone :
Date: 2019-08-17 View: 1285
-
Must include junit.jar if not in Ants own classpath
Declares a junit task in Ant like this
Date: 2019-08-17 View: 2600
-
Ant and jUnit Task example
In this tutorial, we will show you how to run a junit test in Ant build.
Date: 2019-08-17 View: 1473
-
Maven Get source code for Jar
In Maven, you can get source code for project dependencies in most IDEs like this :
Date: 2019-08-17 View: 1327