Need help using exec to do "ls -rt1 | tail -1 "Thanks to everyone for all the input. I had no idea the pipe was interpreted by the shell. With that in mind I got it to work. Here is how to do it <target name "getNewest " > <exec dir "How to add source jar file to ANT javadoc targetI need to document a bunch of java source files some in directories some in jar files. The Sun javadoc tool accepts any combination of directories or jar files (containing java source file) in ithow many build.xml files and where should they go?I haven 't seen much discussion about this question but there seem to be two very different approaches to managing build.xml files. One approach has a single build.xml at the top of the project tree.Ant dependenciesHi I would like to execute ant and give it access to the catalina-ant.jar library that comes with Tomcat 4.1.x. However I do not have privileges to copy this JAR into $ANT_HOME/lib. What is theCvs : not specific to ant but ...Hi Until now I have tested the <cvs > task on my laptop computer (ie Windows) where the cvs.exe (cvs client executable) is in the path. Our cvs server is on a distant UNIX platform and everything
RE: "destroy "-ing an Ant exec doesn 't destroy what Ant is "exec "-
This makes sense. Thanks for the precisions. I was leaning to making
System.exit conditional just because Ant doesn 't provide a clean
programmatic entry point and one has to almost fully duplicate Ma |
| Page 306 of 343 |
301 302 303 304 305 306 307 308 309 310 |