Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
task 'ant ' and current directory

task 'ant ' and current directory

2003-03-16       - By Oliver Wulff
Reply:     1     2  

Hi

I've some directory properties in my build.xml like:
<property name="contrib.dir" value="./contrib"/>
...

Then, I call this build.xml from a build.xml of the upper directory like:
<ant antfile="build.xml" dir="./myproject/" target="build" output
="test.log"/>

But, Ant can't resolve the variable ${contrib.dir}. I guess that Ant is
looking for a directory contrib in the upper directory and not in
".../myproject/contrib".

Hope, somebody can help me.

Oliver






******************* BITTE BEACHTEN *******************
Diese Nachricht (wie auch allf?llige Anh?nge dazu) beinhaltet
m?glicherweise vertrauliche oder gesetzlich gesch?tzte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrt?mlicherweise erreicht hat, sind Sie h?flich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerst?ren und die absendende Person
umgehend zu benachrichtigen. Vielen Dank f?r Ihre Hilfe.




©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.