On 3/30/07, Kevin Stembridge <[EMAIL PROTECTED]> wrote:


Hi Jerome,
Thanks for the reply.

You're right, I still want the $dependencies to generate the jar elements
for me.

Sorry, my previous example wasn't quite correct. I would like the full jar
name, including the version number, and a separate version attribute:

E.G. <jar href="some-1.0.0.jar" version="1.0.1" />


You want a different number in the href and version ?

Not sure how you want this to work ยง If the maven identifies the version for
you, it will write the same version number in the file name and in the
version field. If you provide a version number in a separate config, yuo'd
better then remove the $dependencies completely.

Am I missing something ?

I'm fairly new to JNLP so forgive me if I get this wrong. As I understand
it, incremental updates will only work if I explicitly provide the version
number.

Hope this makes sense.

Cheers,
Kevin






 *"Jerome Lacoste" <[EMAIL PROTECTED]>*

30/03/2007 14:09  Please respond to
[email protected]

  To
[email protected]  cc

 Subject
Re: [mojo-user] maven-webstart: How do I include a version attribute in
jar element of jnlp






On 3/30/07, Kevin Stembridge <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I'd like to be able to include the version attribute in each jar element
of
> the generated JNLP but I'm not sure how to make this happen. Is this
> supported at the moment?
>
> Something like this:
>    ...
>     <resources>
>         <jar href="some.jar" version="1.0.0" />
>     </resources>

Hi Kevin,

I am trying to get an idea of what you want here.

You can achieve this is you don't use the $dependencies in the
template.vm and write the entry yourself.... but that's I think
something you don't really want.

Today the $dependencies will use the exact jar name so you should get
something like:

<jar href="somejar-theversion.jar" />

Do you mean you prefer to have:

<jar href="somejar.jar" version="theversion" /> ??

What is the advantage ?

Do you want the plugin to automatically use version ranges whenever it
finds one defined in the POM ?

Can you please explain a little bit more why you need/want to have the
version defined outside of the href !

Cheers,

Jerome

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email




---

This e-mail may contain confidential and/or privileged information. If you

are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.




--
Jerome Lacoste

Reply via email to