ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Upshall" <>
Subject Ant, jars and Manifest
Date Thu, 31 Jan 2002 22:51:56 GMT
Is there anyway in ant to specify the the values of a file using
a task.
ie. something like:

<jar jarfile="${dist}/lib/${project}.jar" basedir="${build}">
            <fileset dir="${depen}" casesensitive="yes" >
                        <include name="**/*.jar"/>

Is there any way to do this or do I have to create the Manifest file and use
it on the jar task as a properity?
ie. (like i'm currently doing):
<jar jarfile="${dist}/lib/${project}.jar" basedir="${build}"

Manifest-Version: 1.0
Main-Class: com.somethingDriver
Class-Path:  ./jar1.jar ./jar2.jar

I basicly want to be able to drop any dependent jars into the depen
directory and have them coppied into the lib directory on my dist and
included in the classpath automaticly.

Robert Upshall
Professional Software of Amarillo
(806) 358-8928

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message