ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Zander <>
Subject Re: Passing fileset to child ant project error
Date Wed, 03 Jul 2002 14:38:19 GMT
On Wed, Jul 03, 2002 at 09:33:48AM -0500, David Adams wrote:
> I am trying to pass a fileset reference id to another ant file using the following:
> 	<fileset id="globals" dir="/data/test/local/lib/">
> 	</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

From the doc about the ant task;

    If true, pass all references to the new Ant project. Defaults to false.

Thomas Zander                                 
                                                 We are what we pretend to be

View raw message