On Wed, Nov 11, 2009 at 4:03 PM, Marcus Wolschon < [email protected]> wrote:
> On Tue, Nov 10, 2009 at 11:03 PM, Brett Henderson <[email protected]> > wrote: > > >>> Changing osmosis.bat is not the problem but how can I do an entry > > Does > > anybody know how to build a classpath list based on the jars contained in > a > > directory within ant? > > http://ant.apache.org/manual/CoreTasks/jar.html > That would be the <attribute> sub-element. > Unless I'm misunderstanding the attribute element that's not quite what I meant. I already have the following snippet in build.xml. <manifest file="build/binary/jar.txt"> <attribute name="Main-Class" value="org.openstreetmap.osmosis.core.Osmosis"/> <attribute name="Built-By" value="${user.name}"/> <attribute name="Implementation-Title" value="Osmosis Library"/> <attribute name="Implementation-Version" value="${project.version} (${TODAY})"/> <attribute name="Implementation-Vendor" value="Brett Henderson"/> </manifest> I could add a classpath element, but I don't know how to add it dynamically so that I don't have to hard code the list of jars.
_______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
