1
的某些部分,但遇到錯誤C:\ Work \ 6.70_Extensions \ ANTScripts_Check_IN.xml:134:無法創建任務或類型類型:buildmachine4。ant腳本在運行ant腳本時忽略xml
<?xml version="1.0"?>
<project name="TrueCM_Checks" default="help">
<taskdef name="CFileEdit" classname="com.ANT_Tasks.CFileEdit"/>
<!-- ========================================================== -->
<!-- init -->
<!-- ========================================================== -->
<target name="init">
<property file="..\Master Build.properties"/>
<property file="TrueCM.properties"/>
</target>
<!-- ========================================================== -->
<!-- main -->
<!-- ========================================================== -->
<target name="main" depends="init">
<ant antfile="..\Master Build.xml" target="Print Properties"/>
<tstamp>
<format property="BUILD_DATE" pattern="d-MMMM-yyyy hh:mm aa" locale="US"/>
</tstamp>
<echo message="BUILD START: ${BUILD_DATE}"/>
<parallel>
<antcall target="Check IN Master Build.xml"/>
<antcall target="Check IN Master Build.properties"/>
<antcall target="Check IN TrueCM_Check_INOUT.xml"/>
<antcall target="Check IN TrueCM.properties"/>
<antcall target="Check IN TrueCM_SnapShots.xml"/>
<antcall target="Check IN TrueCM_Update.xml"/>
<antcall target="Check IN ANTScripts_Check_IN.xml"/>
</parallel>
<tstamp>
<format property="BUILD_DATE" pattern="d-MMMM-yyyy hh:mm aa" locale="US"/>
</tstamp>
<echo message="BUILD END: ${BUILD_DATE}"/>
</target>
<target name="Check IN Master Build.xml">
<echo>Checking IN Master Build.xml;</echo>
<exec executable="${TrueCM_App}\${TrueCM_Mode}" failonerror="true">
<arg line='-I "C:/Work/${TrueCM_Tip}/release/SASE Lab Tools/ANT Builds/Master Build.xml"'/>
</exec>
</target>
...
...
<!-- ========================================================== -->
<!-- Check Out -->
<!-- ========================================================== -->
<buildmachine4>
<checkout1 exe="wco" folder='-f -R "C:/Work/6.70_Extensions/ANT Builds/"'/>
<checkout2 exe="wco" folder='-f -R "C:/Work/7.00_Extensions/ANT Builds/"'/>
</buildmachine4>
<buildmachine5>
<checkout3 exe="wco" folder='-f -R "C:/Work/7.10.00_Tip/ANT Builds/"'/>
</buildmachine5>
</project>
錯誤是因爲<buildmachine4>
和<buildmachine5>
的。我如何確保它會忽略<buildmachine4>
和<buildmachine5>
?這些包含我的用戶界面的參數。