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

xt:updateBuildDefinition " is not bound

I am trying to build  updateBuildDefinition task which updates a build definition in the Jazz™ repository.
In the example provided (here is the part of it)
<target name="test" description="Update Build Definition">

            <xt: updateBuildDefinition
                repositoryAddress="${repositoryAddress}'
                userId="${userId}"
                password="${password}"

part which is missing xmlns:xt="..."

I am getting the build error xt:createBuildDefinition" is not bound.
Can you give me one simple tested example which works.

Thanks.

0 votes



2 answers

Permanent link

 <target name="update" description="Update Build Definition">

<xt:updateBuildDefinition repositoryAddress="${repositoryAddress}" userId="${userId}" password="${password}" buildId="Test.djr.Ant.011" buildDescription="Test.djr.Ant.011.Description" buildFolder="Test/djr/Ant" buildWorkspace="Test.djr.Stream.000.Workspace" ignoreWarnings="true" processAreaName="${paDJR}" pruning="true" pruningFailed="50" pruningSuccessful="50" reportCondensed="false" reportFile="Test.djr.Ant.011.txt" reportFolder="C:\Users\djreilly\Downloads" reportNoUuid="true" reportSorted="true" scheduleEnabled="false" >

&lt;!-- Build Engines --&gt;
&lt;xt:buildEngineDefine id="NASWJBE00"/&gt;

&lt;!-- Jazz Source Control Properties --&gt;
&lt;xt:teamBuildProperty name="team.scm.acceptBeforeFetch" value="false"/&gt;
&lt;xt:teamBuildProperty name="team.scm.buildOnlyIfChanges" value="false"/&gt;
&lt;xt:teamBuildProperty name="team.scm.createFoldersForComponents" value="false"/&gt;
&lt;xt:teamBuildProperty name="team.scm.deleteDestinationBeforeFetch" value="false"/&gt;
&lt;xt:teamBuildProperty name="team.scm.fetchDestination" value="${dir.wrk}\${initialize.definition.directoryPrefix}.@compile"/&gt;
&lt;xt:teamBuildProperty name="team.scm.workspaceUUID" value="Test.djr.Ant.011.Workspace"/&gt;

&lt;!-- Ant Build Properties --&gt;
&lt;xt:antBuildProperty name="com.ibm.team.build.ant.antArgs" value="${ant.arg} ${ant.com.arguments}"/&gt;
&lt;xt:antBuildProperty name="com.ibm.team.build.ant.antHome" value="${dir.182}"/&gt;
&lt;xt:antBuildProperty name="com.ibm.team.build.ant.buildFile" value="${etc.ant}\InitializationBuildSubmit.xml"/&gt;
&lt;xt:antBuildProperty name="com.ibm.team.build.ant.includeToolkit" value="true"/&gt;
&lt;xt:antBuildProperty name="com.ibm.team.build.ant.javaHome" value="${dir.jdk}"/&gt;
&lt;xt:antBuildProperty name="com.ibm.team.build.ant.javaVMArgs" value="${jvm.arg} ${jvm.com.arguments}"/&gt;
&lt;xt:antBuildProperty name="com.ibm.team.build.ant.propertiesFile" value="${file.buildproperties}"/&gt;
&lt;xt:antBuildProperty name="com.ibm.team.build.ant.targets" value=""/&gt;
&lt;xt:antBuildProperty name="com.ibm.team.build.ant.workingDir" value="${etc.ant}"/&gt;

&lt;!-- UrbanCode Deploy Properties --&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.abortOnIncompleteActivityEnabled" value="true"/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.application" value="application"/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.baseDirectory" value="${team.scm.fetchDestination}"/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.component" value="component"/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.deployEnabled" value="true"/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.enabled" value="true"/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.environment" value="environment"/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.excludeFiles" value="exclude.000"/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.includeFiles" value="include.000"/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.links" value="links.000"/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.password" value="password"/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.passwordFile" value=""/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.passwordType" value=""/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.process" value="process"/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.properties" value="property.000"/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.serverURI" value="https://localhost:8443/"/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.triggerPolicy" value="ALWAYS"/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.userName" value="djreilly@us.ibm.com"/&gt;
&lt;xt:ucdpBuildProperty name="team.udeploy.version" value="version"/&gt;

&lt;!-- Jdt Publishing Properties --&gt;
&lt;xt:jdtBuildProperty name="com.ibm.team.build.jdt.publishing.log" value="jdt.log"/&gt;

&lt;!-- JUnit Publishing Properties --&gt;
&lt;xt:jntBuildProperty name="com.ibm.team.build.junit.publishing.log" value="junit.log"/&gt;

&lt;!-- Build Properties --&gt;
&lt;xt:buildProperty name="ant.arg" value="-v" description="Ant invocation arguments" kind="com.ibm.team.build.property.string"/&gt;
&lt;xt:buildProperty name="ims.build.ant.buildId" value="" description="IMS build initialization ID parameter" kind="com.ibm.team.build.property.string"/&gt;
&lt;xt:buildProperty name="jvm.arg" value="" description="JVM invocation arguments" kind="com.ibm.team.build.property.string"/&gt;

</xt:updateBuildDefinition>

</target>

0 votes


Permanent link

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
× 12,023

Question asked: Jul 07 '19, 8:09 a.m.

Question was seen: 1,326 times

Last updated: Sep 28 '23, 12:38 p.m.

Confirmation Cancel Confirm