ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: problems with import task
Date Wed, 16 Jul 2003 15:48:52 GMT
You're kidding, right? How can that be? Isn't import a Task, with a
setFile(File) method? Don't the usual Ant rules apply? --DD

> -----Original Message-----
> From: peter reilly [mailto:peter.reilly@corvil.com]
> Sent: Wednesday, July 16, 2003 10:51 AM
> To: Ant Developers List
> Subject: Re: problems with import task
> 
> On Wed, 2003-07-16 at 16:32, Erik Hatcher wrote:
> > >
> > > Sorry, but I don't understand. Can you please post a buildfile with
> > > the problem? We can then fix it and add it to the testcases.
> >
> > I did this:
> >
> > 	<import file="../shared.xml"/>
> > 	<import file="../shared-db.xml"/>
> 
> There is an issue with relative files and import:
> 
> The javadoc for the file attribute says:
>      * the name of the file to import. How relative paths are resolved
> is still
>      * in flux: use absolute paths for safety.
> 
> The following should work:
> 
> 	<import file="${basedir}/../shared.xml"/>
> 	<import file="${basedir}/../shared-db.xml"/>
> 
> Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message