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.
2 answers
<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" >
<!-- Build Engines --> <xt:buildEngineDefine id="NASWJBE00"/> <!-- Jazz Source Control Properties --> <xt:teamBuildProperty name="team.scm.acceptBeforeFetch" value="false"/> <xt:teamBuildProperty name="team.scm.buildOnlyIfChanges" value="false"/> <xt:teamBuildProperty name="team.scm.createFoldersForComponents" value="false"/> <xt:teamBuildProperty name="team.scm.deleteDestinationBeforeFetch" value="false"/> <xt:teamBuildProperty name="team.scm.fetchDestination" value="${dir.wrk}\${initialize.definition.directoryPrefix}.@compile"/> <xt:teamBuildProperty name="team.scm.workspaceUUID" value="Test.djr.Ant.011.Workspace"/> <!-- Ant Build Properties --> <xt:antBuildProperty name="com.ibm.team.build.ant.antArgs" value="${ant.arg} ${ant.com.arguments}"/> <xt:antBuildProperty name="com.ibm.team.build.ant.antHome" value="${dir.182}"/> <xt:antBuildProperty name="com.ibm.team.build.ant.buildFile" value="${etc.ant}\InitializationBuildSubmit.xml"/> <xt:antBuildProperty name="com.ibm.team.build.ant.includeToolkit" value="true"/> <xt:antBuildProperty name="com.ibm.team.build.ant.javaHome" value="${dir.jdk}"/> <xt:antBuildProperty name="com.ibm.team.build.ant.javaVMArgs" value="${jvm.arg} ${jvm.com.arguments}"/> <xt:antBuildProperty name="com.ibm.team.build.ant.propertiesFile" value="${file.buildproperties}"/> <xt:antBuildProperty name="com.ibm.team.build.ant.targets" value=""/> <xt:antBuildProperty name="com.ibm.team.build.ant.workingDir" value="${etc.ant}"/> <!-- UrbanCode Deploy Properties --> <xt:ucdpBuildProperty name="team.udeploy.abortOnIncompleteActivityEnabled" value="true"/> <xt:ucdpBuildProperty name="team.udeploy.application" value="application"/> <xt:ucdpBuildProperty name="team.udeploy.baseDirectory" value="${team.scm.fetchDestination}"/> <xt:ucdpBuildProperty name="team.udeploy.component" value="component"/> <xt:ucdpBuildProperty name="team.udeploy.deployEnabled" value="true"/> <xt:ucdpBuildProperty name="team.udeploy.enabled" value="true"/> <xt:ucdpBuildProperty name="team.udeploy.environment" value="environment"/> <xt:ucdpBuildProperty name="team.udeploy.excludeFiles" value="exclude.000"/> <xt:ucdpBuildProperty name="team.udeploy.includeFiles" value="include.000"/> <xt:ucdpBuildProperty name="team.udeploy.links" value="links.000"/> <xt:ucdpBuildProperty name="team.udeploy.password" value="password"/> <xt:ucdpBuildProperty name="team.udeploy.passwordFile" value=""/> <xt:ucdpBuildProperty name="team.udeploy.passwordType" value=""/> <xt:ucdpBuildProperty name="team.udeploy.process" value="process"/> <xt:ucdpBuildProperty name="team.udeploy.properties" value="property.000"/> <xt:ucdpBuildProperty name="team.udeploy.serverURI" value="https://localhost:8443/"/> <xt:ucdpBuildProperty name="team.udeploy.triggerPolicy" value="ALWAYS"/> <xt:ucdpBuildProperty name="team.udeploy.userName" value="djreilly@us.ibm.com"/> <xt:ucdpBuildProperty name="team.udeploy.version" value="version"/> <!-- Jdt Publishing Properties --> <xt:jdtBuildProperty name="com.ibm.team.build.jdt.publishing.log" value="jdt.log"/> <!-- JUnit Publishing Properties --> <xt:jntBuildProperty name="com.ibm.team.build.junit.publishing.log" value="junit.log"/> <!-- Build Properties --> <xt:buildProperty name="ant.arg" value="-v" description="Ant invocation arguments" kind="com.ibm.team.build.property.string"/> <xt:buildProperty name="ims.build.ant.buildId" value="" description="IMS build initialization ID parameter" kind="com.ibm.team.build.property.string"/> <xt:buildProperty name="jvm.arg" value="" description="JVM invocation arguments" kind="com.ibm.team.build.property.string"/>
</xt:updateBuildDefinition>
</target>