ginal Message-
From: Robert Dockins [mailto:[EMAIL PROTECTED]
Sent: Friday, October 15, 2004 8:51 PM
To: Bill Rich
Subject: RE: AW: parsing ant build scripts from unusual sources
On Fri, 2004-10-15 at 12:11, Bill Rich wrote:
> Here is a real example of what Dominique is referring to.
snip..
: Erskine, Chris [mailto:[EMAIL PROTECTED]
Sent: Friday, October 15, 2004 7:52 AM
To: Ant Users List
Subject: RE: AW: parsing ant build scripts from unusual sources
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
Erskine, Chris wrote:
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 sou
]
-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 t
> From: Robert Dockins [mailto:[EMAIL PROTECTED]
> > Until you've got that working, don't boast too quickly ;-) --DD
>
> Fair enough. What I *do* have working, is loading a build script from
a
> database text field, and running the build in a base directory that is
> determined by other informati
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 .propert
> -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 'stre
I've taken a stab at doing this. Basicly I've sublcassed ProjectHelper2
to add support for InputStream's and InputSource's (code below, its
mostly a cut-n-paste job from ProjectHelper2). Everything appears to
just work. If you don't use Project.setBaseDir() then it appears to
simply use PWD;
[EMAIL PROTECTED] wrote:
The problem lies in the fact that so much revolves around the build
file's
basedir, which can only be a File in Ant as of today. Even importing a
build file from a URL or resources didn't reach consensus,
for the same
reasons. It seems that Ant is pretty much strictly file