Top "Ant" questions

Apache Ant (formerly Jakarta Ant) is a declarative, XML-based build tool created originally for Java projects.

adding comment in .properties files

By using following block of code in build.xml file <propertyfile file="default.properties" comment="Default properties"> <…

java ant properties-file
Ant error when trying to build file, can't find tools.jar?

When I run ant it says: Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\…

java deployment ant tools.jar
Error executing command 'ant' on Mac OS X 10.9 Mavericks when building for Android with PhoneGap/Cordova

Today I tried PhoneGap/Cordova with Mac OS X Mavericks. Building for iOS went just fine, but building for Android …

android cordova ant osx-mavericks
Replacing characters in Ant property

Is there a simple way of taking the value of a property and then copy it to another property with …

string ant
Importing ant build.xml in Eclipse

I have an android project that uses ant to build, is it possible to import this ant project in eclipse …

java android eclipse ant
javac1.8 class not found

I have installed two jdks - jdk 1.5 and jdk 1.8. I have following Ant build.xml config file : <target name="…

java eclipse ant classnotfound
Ant cannot find a class needed by an externally defined taskdef

I am trying to use the axis-java2wsdl ant task to create a wsdl from one of my java classes, …

java ant classpath axis
Unable to find a javac compiler

I am trying to package my web application into war file using Ant. When I build, I am getting the …

java ant war
Java "constant string too long" compile error. Only happens using Ant, not when using Eclipse

I have a few really long strings in one class for initializing user information. When I compile in Eclipse, I …

java eclipse ant
Should JAVA_HOME point to JDK or JRE?

I pointed the JAVA_HOME to C:\Program Files (x86)\Java\jre7. It works fine. Afterwards, I unzipped ant and …

java ant java-home