ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Master" <>
Subject Re: jar not working with fileset?
Date Fri, 10 Aug 2001 16:22:39 GMT
The patternset works for compiling though, that's what is so mysterious.

I have a target to jar up my classes.
I have a patternset in use with a fileset.  Yet an empty jar file is being

What am I doing wrong?

The property paths are correct as they work for delete and javac.

    <patternset id="" >
        <include name="${}/**/*.class" />
        <include name="${}/api/**/*.class" />

    <target name="jarProject" depends="init, compileProject">
        <jar jarfile="${dist.dir}/${}.jar">
            <fileset dir="${basedir}">
                <patternset refid=""/>

If i use jar's attribute includes with the same pattern, everything works!

T Master

----- Original Message ----- 
From: "Ylan Segal" <>
To: <>
Sent: Thursday, August 09, 2001 6:11 PM
Subject: RE: jar not working with fileset?

> > What am I doing wrong?
> Can you post the rest also the patternset?
> I bet your problem is there. 
> Ylan

View raw message