Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ant Wiki" for change notification.
The "AntNewbies" page has been changed by antoine. http://wiki.apache.org/ant/AntNewbies?action=diff&rev1=59&rev2=60 -------------------------------------------------- == This is the AntNewbies page where newbies can ask difficult but clear questions. == Remember that the [[http://marc.theaimsgroup.com/?l=ant-user|user mailing list]] is still the primary place for fellow Ant users to solve problems. + + You can also browse http://stackoverflow.com/questions/tagged/ant to see frequently asked questions. '''Question#1''' How do you escape a '''"''' in an argument to an Exec command. This is what I have. @@ -812, +814 @@ Question #19 '''Why I get the version of java when I type : ant -version''' + OS: Linux RH4EL Ant version: 1.7.1 @@ -848, +851 @@ }}} I can get through this by using this command instead of ant : java -classpath /usr/local/bin/ant/lib/ant-launcher.jar -Dant.home=/usr/local/bin/ant org.apache.tools.ant.launch.Launcher -f build.xml distrib.java.src + '''Answer #19''' - is /usr/local/bin/ant the ant script or a directory ? + - try to unset the environment variable ANT_HOME to see if this improves things for you. + - contact the ant user list to further this discussion. - ---- /!\ '''End of edit conflict''' ---- ---- CategoryCategory CategoryCategory
