You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Melzer, Steven" <St...@paymentech.com> on 2005/01/26 14:41:55 UTC

ant 1.6.x libraries

all,

i am trying to move from ant 1.5.x on Windows to ant 1.6.x on Unix and i am having a hard time understanding the proper way to handle external libraries.

i started with a clean version of redhat 9.  it has ant 1.5.x pre-installed.  i used the jpackage and upgraded it to 1.6.x (after a tremendous amout of dependency fighting).  my build script failed because it could not see junit.

after much fighting i gave up.  i installed a fresh ant 1.6.2 (not an rpm package) in a new directory and pointed my CLASSPATH, ANT_HOME, and PATH appropriately.  i used the --noconfig option to override the rpm mode and everything ran "just like it used to".

so, i was going to just change the ant.conf file to force rpm_mode = false so i could remove the --noconfig.  it works, but the ant.conf file says that the --noconfig is really for legacy scripts.

how do you properly configure ant 1.6.2 using rpm_mode to use external libraries and optional tasks?

thanks,
steve
  
Learn more about Paymentech's payment processing services at www.paymentech.com
THIS MESSAGE IS CONFIDENTIAL.  This e-mail message and any attachments are proprietary and confidential information intended only for the use of the recipient(s) named above.  If you are not the intended recipient, you may not print, distribute, or copy this message or any attachments.  If you have received this communication in error, please notify the sender by return e-mail and delete this message and any attachments from your computer.
..

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org