ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: Passing fileset to child ant project error
Date Wed, 03 Jul 2002 19:05:32 GMT
The <property name="p" refid="id"/> trick works only for <path>. You need to
use <pathconvert> to go from <fileset> to <property>, or create a dummy
<path><fileset refid="id"/></path>. --DD

-----Original Message-----
From: David Adams [] 
Sent: Wednesday, July 03, 2002 9:34 AM
Subject: Passing fileset to child ant project error

I am trying to pass a fileset reference id to another ant file using the
	<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"/>
	<ant antfile="lib.xml" target="java.compile" inheritall="true">
		<property name="project.dir" value="${root.dir}/core"/>
		<property name="javac.includes"
		<property name="globallibs" refid="globals"/>

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 (
Voice: 773.293.4300

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message