ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyle Adams" <kad...@gfs.com>
Subject Re: How do I force ant to fail?
Date Thu, 09 May 2002 20:23:13 GMT
Whoops - clicked the wrong button on my previous attempt at a response.  
Anyhow, a suggestion if you don't want to use Ant 1.5, beta 1 - try calling ant 
with the <java> task.  For example:

<java classname="org.apache.tools.ant.Main" fork="yes" failonerror="yes">
    <arg line="-buildfile myBuildFile.xml"/>
    <classpath>
        <pathelement path="${{java.class.path}}"/>
    </classpath>
</java>

Kyle


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message