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:Stefan Bodewig (bode@bost.de)
Date:Oct 17, 2000 9:21:08 am
List:org.apache.ant.user

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

DV> (is it possible in Java to change the current working DV> directory?).

Some people have had success changing the system property user.dir but it's not portable and has some strange side effects.

DV> I would like to have two aspects addressed: the ability to DV> execute build files in a hierarchical fashion (in which each DV> build file is self contained)

Where the way properties take precedence is the main problem?

DV> and the ability to reuse rules (which is possible via the ENTITY DV> declaration; it is the relative file problem that is preventing DV> it).

Ant 1.2 will give the parser the full path to the XML file it is parsing. Relative paths should be considered relative to the XML file not the working directory, so I *think* it *should* work. I'll give it a try tomorrow.

Stefan