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

including libs into a build

Hello,

I have a Dynamic Web Project created with WTP. Now I want this project to be build by a build engine. With Eclipse I exported a build.xml and defined a build definition as described by the community tutorial. When I request a build for this definition, it fails - of course - because the libs are missing.

Is there an easy way to have the libs included into the build? In Eclipse they are included to the classpath of the project by the WTP (linked to Tomcat). How can I do this in the build definition? And how do I get a deployable war file from the build?

Thank you in advance!
mboehmer

0 votes



4 answers

Permanent link
Okay, I got a workaround: set up a extra component containing all the required libs and the build.xml. This component should only be available in the buildmeisters workspace.

Having a build now, there is another question: Does Jazz support me to publish the results of the build, e.g. a war-archive? For example, I want the webproject to be available as downloadable webproject-20080317-1058.zip? On jazz.net there are those nice rss-feeds for available builds. How can I do this?

0 votes


Permanent link
We provide an ant task for you to publish an artifact. It will show up on
the downloads page in the build result in Team Concert.

See \jazz\buildsystem\buildtoolkit\examples\compile-and-test\build.xml

Specifically:

<artifactFilePublisher buildResultUUID="${buildResultUUID}"
repositoryAddress="${repositoryAddress}"
userId="${userId}"
password="${password}"
verbose="true"
filePath="${basedir}/hello.jar"
label="The hello jar" />

This will copy the bytes into the Jazz repository. If you'd rather just
publish a link, see artifactLinkPublisher.

Sorry, no advise on setting up the rss stuff. I believe that's all custom
and not based on the artifacts published for the build.

---
Ryan Manwiller
Jazz Team Build

0 votes


Permanent link
Okay, I'll give that a try. But if not available by any rss-feed, how can I make the result of the build downloadable for people who have no RTC installed (e.g. customers)? When I click on a build in the Builds Viewlet of a dashboard, the server sends me an xml file, but no human readable site.

0 votes


Permanent link
The Builds viewlet is being enhanced in M6 to allow you to get the downloads
and logs for the build. It's limited to just downloads and logs. We did not
have time to do a full web-ui for build in 1.0.

---
Ryan Manwiller
Jazz Team Build

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

Question asked: Mar 16 '08, 10:02 a.m.

Question was seen: 7,331 times

Last updated: Mar 16 '08, 10:02 a.m.

Confirmation Cancel Confirm