Do the directories in question have a common root? If so, you can set the <javac> srcdir attribute at the common level, then use the <fileset> nested task to include the files you want.
For more info, take a look at the docs: http://jakarta.apache.org/ant/manual/CoreTasks/javac.html and http://jakarta.apache.org/ant/manual/dirtasks.html#directorybasedtasks. Also, you can set up your "classpath" attribute such that the javac task will use the API jar that you need. Hope this helps! -----Original Message----- From: Rosemarie Hannan (Financial IQ) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 10:45 PM To: [EMAIL PROTECTED] Subject: doing a build with multiple directories Hi I am trying to do a build that will compile multilpe classes which sit in multple directories, jar them and then copy them to a release directory so that it is ready for deployment. How do I do this? - as I have tired listing each one of the folders separately or alternatively list each main folder and include the sub directories via the "includes" command, but I have not had much success. I also need the classes in the directories to reference another jar file that contain api. As a check to make sure there were no problems with the code itself, I compiled and jared the necessary files using Forte and it worked. Please help asap as I need to implement a system for builds, if anyone has any information which can help to make the transition smoother, please share it. thanks Rose 7/2/01-8.38am -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
