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

How to create Jar file using RTC Build

 I want to create jar file using RTC build. To set up and Run the build I am referencing https://jazz.net/help-dev/clm/topic/com.ibm.team.concert.tutorial.doc/topics/tut_rtc_build.html. As per the link, snapshot of repository workspace is created. I wanted to know if I can generate a jar file from java project after successful completion of build.


Thanks in Advance
Dastan

0 votes



2 answers

Permanent link
You can have JBE launch an ant build and create your jar via an ant task.  See https://jazz.net/library/article/1286 for a discussion.

1 vote


Permanent link
 My recommendation is:

1. Use Maven based project in order to specify in the project properties, the type of file to generate after compile: EAR, WAR, JAR, etc. 
2. Create a Build Definition based on Maven with goals clean compile package and further.

Is very easy to define and bring to you all the bennefits of dependencies managments and pluggins availables on maven.

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
× 6,121
× 562

Question asked: Sep 03 '16, 5:48 a.m.

Question was seen: 4,360 times

Last updated: Sep 06 '16, 1:10 p.m.

Confirmation Cancel Confirm