ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Adams" <DAd...@ignitesports.com>
Subject Passing fileset to child ant project error
Date Wed, 03 Jul 2002 14:33:48 GMT
I am trying to pass a fileset reference id to another ant file using the following:
	<fileset id="globals" dir="/data/test/local/lib/">
		<include name="jakarta-oro-2.0.1.jar"/>
		<include name="xalan.jar"/>
		<include name="jaxp.jar"/>
		<include name="jgl3.1.0.jar"/>
		<include name="servlet.jar"/>
		<include name="jdbc.jar"/>
		<include name="ifxjdbc.jar"/>
		<include name="xerces.jar"/>
		<include name="NetComponents.jar"/>
		<include name="cos.jar"/>
		<include name="junit.jar"/>
		<include name="log4j-1.2.jar"/>
		<include name="commons-logging.jar"/>
	</fileset>
	<ant antfile="lib.xml" target="java.compile" inheritall="true">
		<property name="project.dir" value="${root.dir}/core"/>
		<property name="javac.includes" value="com/ignitemedia/core/sql/Tracked*.java"/>
		<property name="globallibs" refid="globals"/>
	</ant>

I continually receive the error "Reference globals not found" at the line "<property name="globallibs"
refid="globals"/>". Is there a way I can pass a fileset to another ant file?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David Adams
Ignite Sports (www.ignitesports.com)
Voice: 773.293.4300
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message