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

Stand Alone Ant Build sample

I don't understand the logic here. It says "IMPORTANT: Do not use this example with the jazz build engine", and in step 2. Create a new build engine in Jazz.

What does all this mean? step2 asks me to create a build engine, then I pick the choice as "Jazz Build Engine".

Can anyone help me?

Thanks
Jirong


https://jazz.net/wiki/bin/view/Main/AntStandalone

<This>

0 votes



2 answers

Permanent link
Hi Jirong,

as far as i understand this, the example is supposed to be run outside of a JBE process. That means it is not to be used with the ANT tab of a build definition.

However the example still interacts with the Jazz Server. The example is run outside of the JBE but it uses the buidsystem toolkit/the ant tasks to tell RTC at a distinct build engine id, that it just started a build, publishes results and sets the build result. There should be no JBE running on the same build engine id, because that would cause issue.

0 votes


Permanent link
Hi Jirong,

as far as i understand this, the example is supposed to be run outside of a JBE process. That means it is not to be used with the ANT tab of a build definition.

However the example still interacts with the Jazz Server. The example is run outside of the JBE but it uses the buidsystem toolkit/the ant tasks to tell RTC at a distinct build engine id, that it just started a build, publishes results and sets the build result. There should be no JBE running on the same build engine id, because that would cause issue.


Right, I run as follows and it created a build.log and everything in RTC (you need to right click the Standalone build engine --> Show Build for engine to see that). Didn't run the JBE.

ant -f "C:\Program Files (x86)\ibm\TeamConcertBuild\buildsystem\buildengine\eclipse\configuration\buildtoolkit\examples\standalone\build.xml" -lib "C:\Program Files (x86)\ibm\TeamConcertBuild\buildsystem\buildengine\eclipse\configuration\buildtoolkit" -DrepositoryAddress=https://localhost:9443/jts -DbuildDefinitionId="Standalone build" -DbuildEngineId="Standalone engine"


http://i52.tinypic.com/2lo2o77.png

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: Aug 16 '11, 9:38 a.m.

Question was seen: 4,964 times

Last updated: Aug 16 '11, 9:38 a.m.

Confirmation Cancel Confirm