ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: path structures in different build files
Date Mon, 03 Dec 2001 12:18:19 GMT
Currently the <ant> task only transfers across build listeners, task
definitions, data type definitions, and properties.  References are not
carried over.

It seems like a good enhancement request, although how that works and
maintain backwards compatibility is the main issue to address.

    Erik


----- Original Message -----
From: "Nathan Coast" <nathan.coast@levelseas.com>
To: "Ant User (E-mail)" <ant-user@jakarta.apache.org>
Sent: Monday, December 03, 2001 5:35 AM
Subject: path structures in different build files


> Hi,
>
> I have a path structure that I have defined in one build file, this build
> file then calls a second build file.  If I try to refer to the path
> structure I defined in the first file from the second file I get an error:
>
> Reference webapp.classpath not found.
>
> file 1 contains:
>
>             <path id="webapp.classpath">
>                 <pathelement location="${struts.jar}"/>
>             </path>
>
> which calls file 2 which contains:
>
> <path id="compile.classpath">
>   <path refid="webapp.classpath"/>
>   <pathelement location="${libs}"/>
>   <pathelement location="${build.dir}/../lib/weblogic.jar"/>
>   <pathelement location="${build.dir}/../lib/log4j.jar"/>
>   <pathelement location="${build.dir}/../lib/junit.jar"/>
>   <pathelement location="${build.dir}/../lib/xalan.jar"/>
>   <pathelement location="${build.dir}/../lib/xerces.jar"/>
> </path>
>
> should path structures be maintained between build files?
>
> Thanks
> Nathan
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper at LevelSeas for the presence of computer viruses.
>
> **********************************************************************
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message