You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Oliver Dohmen <od...@luusa.org> on 2003/06/28 23:40:56 UTC
Javac Build Result as a Property value
Hi,
is it possible to have the javac task with failonerror set
to false put the result of the build into a property ?
With this i could decide what to do if a build of one project
fails.
I`ve tried to patch the sources but the property
is only visible inside the javac task and not outside.
Can someone help me ?
thnx odo
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Javac Build Result as a Property value
Posted by Antoine Levy-Lambert <an...@antbuild.com>.
Hi Oliver,
Have a look at this :
http://ant.apache.org/manual/CoreTasks/recorder.html
You can then using the loadfile task load what you have recorded into a
property.
Let us know if it works.
Antoine
----- Original Message -----
From: "Oliver Dohmen" <od...@luusa.org>
To: <us...@ant.apache.org>
Sent: Saturday, June 28, 2003 11:40 PM
Subject: Javac Build Result as a Property value
>
> Hi,
>
> is it possible to have the javac task with failonerror set
> to false put the result of the build into a property ?
>
> With this i could decide what to do if a build of one project
> fails.
>
> I`ve tried to patch the sources but the property
> is only visible inside the javac task and not outside.
>
> Can someone help me ?
>
> thnx odo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org