atom feed23 messages in org.apache.ant.userRe: Building a hierarcical build-file...
FromSent OnAttachments
schmittOct 17, 2000 7:13 am 
Stefan BodewigOct 17, 2000 7:30 am 
Dino ValenteOct 17, 2000 8:19 am 
Stefan BodewigOct 17, 2000 8:34 am 
Craig R. McClanahanOct 17, 2000 8:44 am 
George McKInneyOct 17, 2000 8:44 am 
Mahlen MorrisOct 17, 2000 8:51 am 
Stefan BodewigOct 17, 2000 8:52 am 
Dino ValenteOct 17, 2000 9:06 am 
Stefan BodewigOct 17, 2000 9:21 am 
Craig R. McClanahanOct 17, 2000 9:55 am 
Dan SmithOct 17, 2000 10:11 am 
Chris ToddOct 17, 2000 5:24 pm 
Chris ToddOct 17, 2000 6:11 pm 
Diane HoltOct 17, 2000 10:48 pm 
Stefan BodewigOct 17, 2000 11:50 pm 
Stefan BodewigOct 18, 2000 12:53 am 
Stefan BodewigOct 18, 2000 1:10 am 
Stefan BodewigOct 18, 2000 1:34 am 
Douglas GuptillOct 18, 2000 1:48 pm 
Stefan BodewigOct 19, 2000 4:30 am 
Dino ValenteOct 20, 2000 7:55 am 
Stefan BodewigOct 20, 2000 7:58 am 
Subject:Re: Building a hierarcical build-file tree?
From:Dino Valente (di@3dstockcharts.com)
Date:Oct 20, 2000 7:55:31 am
List:org.apache.ant.user

Thank you Stefan,

Now the includes work very nicely (nice solution). Now I have to figure out on to get around the problem of the property being set only once. Is there a way to specify a property within a build file that is not propagated to another build file?

Once again, thank you.

Dino

At 01:31 PM 10/19/00 +0200, Stefan Bodewig wrote:

"DV" == Dino Valente <di@3dstockcharts.com> writes:

DV> The problem with includes is the relative path. The problem can DV> be described as follows:

DV> <!DOCTYPE project [ DV> <!ENTITY common SYSTEM "file:../build.template"> DV> ]>

DV> I can use the entity declaration in the build files but if it is DV> called from another directory then it doesn't work.

I've just committed a change to ProjectHelper that fixes this problem, i.e. each version fresh from CVS and the nightly of 2000-10-20 should work as expected (they do for me).

relative URIs are now interpreted as relative to the build file itself.