ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: inheritRefs only handles one level - bug or luser error?
Date Mon, 14 Feb 2005 09:59:45 GMT
The attachment did not make it tru the mailing list.

You can create a bug and if it the same as 4066, it
will be marked as such.

Peter

Scott Dunbar wrote:

>Before I open a bug can someone check what I have attached to see if
>there is some obvious problem?  The basic issue is that I have an ant
>file that calls an ant file that calls an ant file.  In the first and
>second ant files there is no problem passing a path reference down.
>However, the third file does not get the reference.  Running ant with
>-d seems to show that the last file gets nothing.
>
>Bug 4066 has in the comments:
>
>"You are supposed to be able to create your own path elements such as
><path id="build.classpath"> ... </path> and then pass that through using
>inheritRefs="true" or using a nested <reference id="build.classpath">.
>However, that doesn't seem to work."
>
>This sounds somewhat like my problem but I was unable to see another
>bug opened against this.
>
>The attached contains test case.  Just go into the directory that is
>created and run ant with no args.  The lowest build file breaks
>because it can't find a reference defined in the top level build is
>not available to it.
>
>This is using:
>Apache Ant version 1.6.2 compiled on July 16 2004
>Buildfile: build.xml
>Detected Java version: 1.4 in: C:\j2sdk1.4.2_07\jre
>Detected OS: Windows XP
>
>Thanks in advance for any help.
>
>  
>
>------------------------------------------------------------------------
>
>---------------------------------------------------------------------
>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


Mime
View raw message