Ant generating Classpath manifest entry

J

Juergen Weber

Hi,

I want to have a reference to needed referenced jars in the manifest
of a jar created by ant.

<manifest>
<attribute name="Classpath" value="${somelibs}"/>
</manifest>

How do I get the names of all the files in a fileset into a property
${somelibs} ?

I tried

<pathconvert pathsep=" " property="somelibs" refid="my.fileset">
</pathconvert>

but this leaves the complete path, but there should only be the
filename part.
I tried in vain

<map from="${env.HOME}\${lib}" to=""/>


Thank you,
Juergen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,044
Latest member
RonaldNen

Latest Threads

Top