You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Scott Goldstein <Sc...@bluejungle.com> on 2006/05/06 07:53:41 UTC

Propogating properties up

I have the following situation:

 

Build file 1:

<target name="test-all">

...

  <ant dir="subproject" target="test" />

...

</target>

 

 

Build file 1 in directory subproject:

<target name="test">

  <junit .... failureproperty="junit.fail">

  </junit>

</target>

 

 

I'd like the property, "junit.fail" to be visible in the first build
file.  In other words, I want the property to propagate upwards.  Is
this possible?

 

Thank you for your help.

 

Scott


Re: Propogating properties up

Posted by glenn opdycke-hansen <gl...@gmail.com>.
Have you considered ant-contrib?

http://ant-contrib.sourceforge.net/ant-contrib/manual/tasks/antfetch_task.html

AntFetch

AntFetch is identical to the standard 'Ant' task, except that it
allows properties from the new project to be set in the original
project.
...

--glenn

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