Skip to main content

version.xml and directory per version

1 reply [Last post]
colebatchd
Offline
Joined: 2004-06-29
Points: 0

Hi all,

I'd like to have two versions of a library under the following structure:

thirdparty/jaxb-2.0.1/jaxb-impl.jar
thirdparty/jaxb-2.0.3/jaxb-impl.jar

ideally I could then configure this as:

and have a version.xml as:

jaxb-impl.jar
2.0.1

jaxb-2.0.1/jaxb-impl.jar

jaxb-impl.jar
2.0.3

jaxb-2.0.3/jaxb-impl.jar

But I get a cannot find resource error when doing this. Does anyone have any ideas on how to handle this? Putting everything in one directory feels dirty to me.

cheers
dim

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
evickroy
Offline
Joined: 2004-07-23
Points: 0

I believe the JnlpDownloadServlet expands the href of your jar file to include the codebase. Therefore, it would be looking in $$codebase/thirdparty for jaxb-impl.jar, which doesn't exist. Try your jar resource entry like this:

[code]

[/code]

It also could be related to the mappings that you have setup for the JnlpDownloadServlet.

Erik