Ant : from path to fileset
- From: "Kaiser S." <sausey@xxxxxxxxxxxx>
- Date: Mon, 30 Jul 2007 11:37:07 +0200
I'd like to convert a path to a fileset. I need it to use in "copy" task.
I define my path like that:
<path id="classpath">
<pathelement location="${lib.dir}\activation.jar" />
<pathelement location="${lib.dir}\mail.jar" />
...
</path>
I need to copy all this to the jar directory:
<copy todir="${dist.lib.dir}" >
<fileset refid="classpath" />
</copy>
But i have the error:
BUILD FAILED
build.xml:83: classpath doesn't denote a fileset
How can i do that ?
.
- Follow-Ups:
- Re: Ant : from path to fileset
- From: Roedy Green
- Re: Ant : from path to fileset
- Prev by Date: Re: A constructive debate: Eclipse or NetBeans?
- Next by Date: Re: Ant : from path to fileset
- Previous by thread: Re: RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
- Next by thread: Re: Ant : from path to fileset
- Index(es):