Re: Ant question
From: Murat G. (mgungora_at_yahoo.ca)
Date: 12/05/03
- Previous message: jenniferyiu: "Bean Builder asking"
- In reply to: Tim: "Ant question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 5 Dec 2003 13:37:06 -0800
try <include name="**/*.class"> instead...
Tim <nocomment@rogers.com> wrote in message news:<4wPyb.115785$Fv8.44233@twister01.bloor.is.net.cable.rogers.com>...
> I'm trying to use Ant to create a jar file. The folder that contains the
> class files also contains the source files. I want to use the fileset
> tag to only select the class files. It doesn't seem to be working. Can
> anybody see what I'm doing wrong or offer another solution to filter out
> what I don't want.
>
>
>
> <target name="dist" depends="compile"
> description="generate the distribution" >
>
> <!-- Put everything in ${build} into the MyProject.jar file -->
> <jar jarfile="${dist}/MyProject.jar" basedir="${build}">
> <fileset dir="${build}">
> <include name="*.class"/>
> </fileset>
> </jar>
> </target>
- Previous message: jenniferyiu: "Bean Builder asking"
- In reply to: Tim: "Ant question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|