AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Successful or Not, Feedback of an Ant-Call

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools
View previous topic :: View next topic  
Author Message
Batschag
Guest





PostPosted: Tue Nov 28, 2006 10:00 pm    Post subject: Successful or Not, Feedback of an Ant-Call Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.