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

How do I specify a classpath for a specific Build Definition?

Existing Build Definitions and Ant script do not have classpath defined anywhere, and use the standard buildtoolkit classpath. 


I would like this Build Definition to use a specific classpath, to load an alternate jar file that the standard Build Definitions should not know about. -lib in Ant Arguments doesn't seem to do anything, nor does classpath in the ant script, or in the taskdef. Should this be possible, or am I doing something wrong?

0 votes



One answer

Permanent link

 To resolve my own question, as long as the package and class names are shared between the custom jar files and the standard jar file in buildtoolkit directory, the buildtoolkit version will always be picked up. Specifying -lib or classpath will not do anything as the buildtoolkit version will take precedence.

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
× 10,938
× 63

Question asked: Aug 21 '17, 6:59 a.m.

Question was seen: 2,290 times

Last updated: Aug 22 '17, 5:20 a.m.

Confirmation Cancel Confirm