It's all about the answers!

Ask a question

Stand Alone Ant Build sample


Jirong Hu (1.5k9295258) | asked Aug 16 '11, 9:38 a.m.
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>

2 answers



permanent link
Ralph Schoon (63.3k33646) | answered Aug 16 '11, 10:44 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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.

permanent link
Jirong Hu (1.5k9295258) | answered Aug 16 '11, 11:07 a.m.
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

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.