>
> :Note: I do not want to exchange my patterset to fileset because fileset
> are tied to a given directory while patterset are generic.
>

You can keep your patternset and use it as a reference in filesets. You need
to define filesets anyway so you can run tasks like copy, javac, etc.

Example:

        <patternset id="standard.utils">
                <include name="*some/things/*.class"/>
                <include name="some/other/things/*.class"/>
        </patternset>


        <jar jarfile="${dist.home}/myjar.jar">
                <fileset dir="${compile.to}">
                        <patternset refid="standard.utils"/> <!-- LOOK HERE --->
                        <include name="**/xxxx/**/*.class"/>
                </fileset>
        </jar>


Does this work for you?

Ylan Segal.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to