Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322304 - Outdated JSF libraries are presented when someone wants to download a JSF library from within Eclipse.
Summary: Outdated JSF libraries are presented when someone wants to download a JSF lib...
Status: CLOSED FIXED
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.2.2   Edit
Assignee: Raghunathan Srinivasan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-10 20:36 EDT by Jesse Viviano CLA
Modified: 2011-04-28 14:23 EDT (History)
1 user (show)

See Also:


Attachments
JSF 2.0 downloadable libraries catalog (1.82 KB, text/xml)
2010-10-11 20:16 EDT, Debajit Adhikary CLA
no flags Details
JSF 1.2 downloadable libraries catalog (1.86 KB, text/xml)
2010-10-11 20:16 EDT, Debajit Adhikary CLA
no flags Details
JSF 1.1 downloadable libraries catalog (2.02 KB, text/xml)
2010-10-11 20:17 EDT, Debajit Adhikary CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Viviano CLA 2010-08-10 20:36:20 EDT
Build Identifier: 20100617-1415

When someone wants to create a JSF project in Eclipse Helios, the libraries presented have almost always been superseded. Please update Eclipse to point to the newer versions. The details are listed below.

JSF 1.1:
Helios presents: JSF 1.1 (JavaServer Faces API Reference Impl. 1.1_02-b08) (latest release, but archived because Sun apparently quit supporting JSF 1.1)
Helios presetnts: JSF 1.1 (MyFaces 1.1.3)
Current release: JSF 1.1 (MyFaces 1.1.8)

JSF 1.2
Helios presents: JSF 1.2 (Apache Myfaces JSF Core-1.2 API 1.2.8)
Current release: JSF 1.2 (Apache Myfaces JSF Core-1.2 API 1.2.9)
Helios presents: JSF 1.2 (Mojarra JSF API Implementation 1.2_12-b01-FCS)
Current release: JSF 1.2 (Mojarra JSF API Implementation 1.2_14-b01-FCS)

JSF 2.0
Helios presents: JSF 2.0 (Apache Myfaces JSF Core-2.0 API 2.0.0)
Current release: JSF 2.0 (Apache Myfaces JSF Core-2.0 API 2.0.1)
Helios presents: JSF 2.0 (Mojarra 2.0.2-FCS)
Current release: JSF 2.0 (Mojarra 2.0.3-FCS)

Current versions of the Apache MyFaces libraries can be found at http://myfaces.apache.org/download.html , and the Oracle/Sun Project Mojarra libraries can be found at https://javaserverfaces.dev.java.net/download.html .

The new libraries should be added to the menu of available libraries, and a check box should be added that should be unchecked by default that needs to be checked to show the old versions of the libraries in case someone's code depends on a bug e.g. it was coded to work around a bug and correct behavior will cause the workaround to mess up the behavior exhibited.

On a related note, I think that it would be a goood idea if someone suggests to both the Apache Software Foundation and java.net that they both should create XML versions of the download pages for IDEs like Eclipse and NetBeans to parse when someone wants to download a library instead of relying on hard-coded addresses built into Eclipse if the XML pages have not already been created.

Reproducible: Always

Steps to Reproduce:
1.Install Eclipse Helios for Java EE or Java EE + BIRT.
2.Select the Java EE perspective.
3.Select File->New->Dynamic Web Project
4.Type an arbitrary string for the name of the project.
5.The target runtime should be set to none or a container that supports Servlets version 3.0 like Apache Tomcat 7 or GlassFish Server Open Source Edition 3 (Java EE 6) in order to select any of the JSF versions available with Helios. Previous versions can make later JSF versions unusable.
6.Set the dynamic web module version to 3.0.
7.Choose one:
 a. Select JavaServer Faces v2.0 Project under configuration if you want to use JSF 2.0.
 b.This is a set of multiple steps needed to choose an earlier version of JSF:
  i.Choose the custom option under Configuration.
  ii.Check the JavaServer Faces check box.
  iii.Choose the JSF version desired.
  iv.Click OK.
8.Click Next until it grays out.
9.Click the disk icon with a down arrow on top of it.
10.You will be presented with a set of libraries to download. More often than not, they have been superseded.
Comment 1 Raghunathan Srinivasan CLA 2010-08-11 00:07:34 EDT
Thanks for the detailed report. We will update the references to the latest version.
Comment 2 Debajit Adhikary CLA 2010-10-11 20:16:17 EDT
Created attachment 180624 [details]
JSF 2.0 downloadable libraries catalog
Comment 3 Debajit Adhikary CLA 2010-10-11 20:16:49 EDT
Created attachment 180625 [details]
JSF 1.2 downloadable libraries catalog
Comment 4 Debajit Adhikary CLA 2010-10-11 20:17:13 EDT
Created attachment 180626 [details]
JSF 1.1 downloadable libraries catalog
Comment 5 Debajit Adhikary CLA 2010-10-11 20:20:09 EDT
I have attached the files that need to be updated for the latest JSF libraries.

Raghu, could you update the three attached XML files at the following locations please?

* http://www.eclipse.org/webtools/jsf/jsf-library/jsf-2.0-downloadable-libraries.xml

* http://www.eclipse.org/webtools/jsf/jsf-library/jsf-1.2-downloadable-libraries.xml

* http://www.eclipse.org/webtools/jsf/jsf-library/jsf-1.1-downloadable-libraries.xml
Comment 6 Raghunathan Srinivasan CLA 2011-04-28 14:23:42 EDT
This was fixed in 3.2.2