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

Can we compile code in Rational Build Forge or can we get executable from Build Forge?


Hi all,

I am working with Rational Build Forge.
Can any one tell me whether Build Forge is able to convert builds or code into executable?
or
Can we perform code compilation in Build Forge ?
If yes what are the possible ways of doing it?

Thank you in advance.

Warm regards,
Sanket Ikhar
+91 9960566920


0 votes


Accepted answer

Permanent link
 Hello,

If you think about Build Forge spawning a shell to run a command. Then you can use it to create executable. I wont do the whole thing here but why not have Build Forge run something like this:
jar cvfe MyJarName.jar MyMainClass *.class 
	
The list goes on right? Anything you can launch from a shell Build Forge can do. If you want to use it to trigger the compiling of code and such, you can. Build Forge in itself is not a c compiler or anything. But you can pretty much run any manual task within a project and automate those steps as well as schedule the automation of those steps. 
	

Hope this helps.
	
Sanket Ikhar selected this answer as the correct answer

0 votes

Comments

Hi Ryan,

Thank you for your time.

Can I do it using step command within project for this do I need to work fromĀ  API for Build Forge?
Please throw some light on it.

Thanks,
Sanket

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
× 1,221

Question asked: May 16 '14, 9:52 a.m.

Question was seen: 3,135 times

Last updated: May 16 '14, 10:18 a.m.

Confirmation Cancel Confirm