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

RTC JBE Ant build fails with multiple "cannot find symbol" errors when building RAD Ant build

 When trying to build the Ant script provided by RAD, the build fails in JBE with multiple "cannot find symbol" errors.  How can I get my RAD Ant script to compile using the JBE?

0 votes

Comments

 Hi Spencer, 

Thank you for posting the above answer. However, we are facing this issue after the Build Definition was run n times. Is there some logs which needs to be cleared? 

Any help is appreciated. Thank you.


Accepted answer

Permanent link
RAD has a special Ant build script bat file that must be used to compile its own generated Ant files.  Running the RAD Ant script by itself does not work, it needs whatever environments the bat file will add.  This bat file is called runAnt and can be found with the RAD install.  So to compile the RAD Ant script you will need to use the JBE Command Line participant instead of the Ant participant.  To run the build the command line will need to look like this: runAnt.bat -buildfile "buildFile.xml".  
Spencer Murata selected this answer as the correct answer

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
× 12,019
× 76
× 63

Question asked: Jul 24 '12, 3:29 p.m.

Question was seen: 6,078 times

Last updated: Aug 05 '14, 9:50 a.m.

Confirmation Cancel Confirm