How to make ANT ignore RTC Build Libraries
So I noticed that my JUnit Test cases were failing but only when they are run from a RTC Build Agent. Upon further investigation I noticed that even if I point directly to my version of apache codec jar in the classpath, the java path points to the RTC version which is older and does not have the method I need. Any suggestions on how to get around this?
Thanks!
Thanks!
One answer
So I noticed that my JUnit Test cases were failing but only when they are run from a RTC Build Agent. Upon further investigation I noticed that even if I point directly to my version of apache codec jar in the classpath, the java path points to the RTC version which is older and does not have the method I need. Any suggestions on how to get around this?
Thanks!
Hi,
I'm not sure what your command line looks like, but you can add to the classpath using the -lib parameter. The Ant documentation under the 'Optional Tasks' heading mentions the -lib and some other options.
Brent Ulbricht
RTC Build Lead