Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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!

0 votes



One answer

Permanent link
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

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 02 '11, 11:26 a.m.

Question was seen: 5,338 times

Last updated: Aug 02 '11, 11:26 a.m.

Confirmation Cancel Confirm