<br><br><div class="gmail_quote">On Wed, Nov 11, 2009 at 4:03 PM, Marcus Wolschon <span dir="ltr"><<a href="mailto:marcus.wolschon@googlemail.com">marcus.wolschon@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, Nov 10, 2009 at 11:03 PM, Brett Henderson <<a href="mailto:brett@bretth.com">brett@bretth.com</a>> wrote:<br>
<br>
>>> Changing osmosis.bat is not the problem but how can I do an entry<br>
</div><div class="im">> Does<br>
> anybody know how to build a classpath list based on the jars contained in a<br>
> directory within ant?<br>
<br>
</div><a href="http://ant.apache.org/manual/CoreTasks/jar.html" target="_blank">http://ant.apache.org/manual/CoreTasks/jar.html</a><br>
That would be the <attribute> sub-element.<br></blockquote><div><br>Unless I'm misunderstanding the attribute element that's not quite what I meant.<br><br>I already have the following snippet in build.xml.<br>
<manifest file="build/binary/jar.txt"><br> <attribute name="Main-Class" value="org.openstreetmap.osmosis.core.Osmosis"/><br> <attribute name="Built-By" value="${<a href="http://user.name">user.name</a>}"/><br>
<attribute name="Implementation-Title" value="Osmosis Library"/><br> <attribute name="Implementation-Version" value="${project.version} (${TODAY})"/> <br>
<attribute name="Implementation-Vendor" value="Brett Henderson"/><br> </manifest><br><br>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.<br>
<br></div></div>