ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Coast <nathan.co...@levelseas.com>
Subject path structures in different build files
Date Mon, 03 Dec 2001 10:35:47 GMT
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>


Mime
View raw message