It's all about the answers!

Ask a question

xt:updateBuildDefinition " is not bound


Vladan Kovacevic (11) | asked Jul 07 '19, 8:09 a.m.
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.

2 answers



permanent link
Daniel Reilly (1431520) | answered Sep 28 '23, 12:34 p.m.

 <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>


permanent link
Daniel Reilly (1431520) | answered Sep 28 '23, 12:35 p.m.
edited Sep 28 '23, 12:38 p.m.

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.