[osmosis-dev] Problem using Osmosis (PluginLifecycleException)

Brett Henderson brett at bretth.com
Wed Nov 11 11:37:27 GMT 2009


On Wed, Nov 11, 2009 at 4:03 PM, Marcus Wolschon <
marcus.wolschon at googlemail.com> wrote:

> On Tue, Nov 10, 2009 at 11:03 PM, Brett Henderson <brett at bretth.com>
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20091111/f93aa737/attachment.html>


More information about the osmosis-dev mailing list