Reputation: 343
here i want to execute build.xml(located in the path specified), where im executing this exec task in testbuild.xml. how can i resolve this issue?
<exec executable="ant" dir="${Build.WorkingCopyPath}/Build/src"
resultproperty="${buildlogs}/@{corporateparam}_build.log">
- Thanks,
Upvotes: 0
Views: 2308
Reputation: 343
the following code working fine.
<exec executable="cmd" dir="${Build.WorkingCopyPath}/Build/src">
<arg value="/c" />
<arg value="ant.bat" />
</exec>
Upvotes: 1