Ant question
From: Tim (nocomment_at_rogers.com)
Date: 12/01/03
- Next message: nothing_at_a.com: "Re: Validations"
- Previous message: Peter Ashford: "Re: Do you still choose java????"
- Next in thread: Murat G.: "Re: Ant question"
- Reply: Murat G.: "Re: Ant question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 01 Dec 2003 22:45:20 GMT
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>
- Next message: nothing_at_a.com: "Re: Validations"
- Previous message: Peter Ashford: "Re: Do you still choose java????"
- Next in thread: Murat G.: "Re: Ant question"
- Reply: Murat G.: "Re: Ant question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|