Skip to main content

[webtier] Versioning of Mojarra jar files?

2 replies [Last post]
Anonymous

Hello,

I have a question regarding the filenames of jsf-api.jar and
jsf-impl.jar. Can you add version numbers to these files, e.g.
jsf-impl-2.0.0.jar? This would help to prevent errors like accidentally
using Mojarra 2.0 in a setup where 1.2 would have been required.

Best regards

Uwe

--
-----------------------------------------------------------------------
Dr. Uwe Seimet http://www.seimet.de/

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Ryan Lubke

On 10/14/09 10:44 AM, Uwe Seimet wrote:
> Hello,
>
> I have a question regarding the filenames of jsf-api.jar and
> jsf-impl.jar. Can you add version numbers to these files, e.g.
> jsf-impl-2.0.0.jar? This would help to prevent errors like accidentally
> using Mojarra 2.0 in a setup where 1.2 would have been required.
>
I would recommend you obtain the 2.0.0 jars from maven. They include
the version string
in the jar file name.

RC2:


com.sun.faces
jsf-api
2.0.0-b22


com.sun.faces
jsf-impl
2.0.0-b22

Nightly:


com.sun.faces
jsf-api
2.0.0-SNAPSHOT


com.sun.faces
jsf-impl
2.0.0-SNAPSHOT

You can download directly from here:
http://download.java.net/maven/2/com/sun/faces/

> Best regards
>
> Uwe
>
>

[att1.html]

Ed Burns

>>>>> On Wed, 14 Oct 2009 11:12:55 -0700, Ryan Lubke said:

RL> On 10/14/09 10:44 AM, Uwe Seimet wrote:
>> Hello,
>>
>> I have a question regarding the filenames of jsf-api.jar and
>> jsf-impl.jar. Can you add version numbers to these files, e.g.
>> jsf-impl-2.0.0.jar? This would help to prevent errors like accidentally
>> using Mojarra 2.0 in a setup where 1.2 would have been required.
>>
RL> I would recommend you obtain the 2.0.0 jars from maven. They include
RL> the version string
RL> in the jar file name.

I'd like to point out that if you are using JSF in a container that
already supports it, your compile time dependencies should be satisified
with the following:

repository: http://download.java.net/maven/2

javax.faces
jsf-api
2.0
provided

This jar is a special "signature only" jar that ensures that whetever
JSF impl you have in your container, that's the one that will get used
at runtime.

Ed

--
| ed.burns@sun.com | office: 408 884 9519 OR x31640
| homepage: | http://ridingthecrest.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net