ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Coast <>
Subject path structures in different build files
Date Mon, 03 Dec 2001 10:35:47 GMT

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}"/>

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"/>

should path structures be maintained between build files?


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:   <>
For additional commands, e-mail: <>

View raw message