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 file?

From the doc about the ant task;

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


-- 
Thomas Zander                                           [EMAIL PROTECTED]
                                                 We are what we pretend to be

Attachment: msg18012/pgp00000.pgp
Description: PGP signature

Reply via email to