It's all about the answers!

Ask a question

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


Spencer Murata (2.3k115971) | asked Jul 24 '12, 3:29 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
 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?

Comments
Lakshmi Deepak Thalanki commented Aug 05 '14, 9:50 a.m. | edited Aug 05 '14, 9:50 a.m.

 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
Spencer Murata (2.3k115971) | answered Jul 24 '12, 3:34 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
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

Your answer


Register or 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.