So, if I understand you right, you are saying that because the build.xml
file was not read from the file system, I will have problems assuming where
the other files like .properties files will be?  I guess that I would have
the same types of issues on things like where the source files are located
and where I want to build to.

This is an issue that I have even if I read the file from the file system.
I have to have a reference point for where any file is located.  Most times,
this is based upon the basedir.  By default, basedir is set based upon where
the build.xml file is located but ant has ways to change this value and a
different assumption can be used when the build file comes from a new source
like a database.  From the comment Robert made, I expect that this would be
fixed by changing the documentation to state that the default is PWD when
the build file does not come from the file system.

I think that Robert can start boasting (although I think that it was really
a comment to see if people had real issues).

Chris Erskine
 
EDS Consulting Services
F5-EDS-001
2424 Garden of the Gods Rd
Colorado Springs, CO  80919
 
Phone: 719-535-6064
 
Phone:
mailto:[EMAIL PROTECTED]

-----Original Message-----
From: Dominique Devienne [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 15, 2004 8:10 AM
To: Ant Users List
Subject: RE: AW: parsing ant build scripts from unusual sources

> -----Original Message-----
> From: Robert Dockins [mailto:[EMAIL PROTECTED]
> It seems to me that the restriction is mostly in people's heads :)

Hmmm... The fact is that no build uses anything else than File-based
build files at this point. Just try to use a resource from an imported
build 'stream', like for example a .properties file, without making
assumptions where the imported build is coming from (i.e. load the
resource relative to the imported build, wherever it is).

Until you've got that working, don't boast too quickly ;-) --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to