 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Batschag Guest
|
Posted: Tue Nov 28, 2006 10:00 pm Post subject: Successful or Not, Feedback of an Ant-Call |
|
|
Hello,
I wonder if there is a way to check wheter an ant call, which builds my
project, ends successfully or not.
If i have an statemant like this in my build.xml:
<project name="redirect" basedir="." default="build">
<property name="projectName" value="xxx" />
<target name="build">
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
<!-- Build Call for Project Build -->
<ant antfile="${build.path}/build.xml"
target="build_project"
output="${logfile}"
inheritAll="false">
<property name="project" value="${projectName}" />
<property name="buildDependencies" value="true" />
<property name="workdir" value="${workdir}" />
<property name="builddir" value="${builddir}" />
<property name="ident" value="${projectName}-${tstamp}"/>
</ant>
</target>
</project>
I will perform an copy job after this ant call but only if the build is
successful.
Does anybody have an idea?
thanks
Nico |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|