myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Myfaces Wiki] Update of "JSR-252 (JSF 1.2) Development" by StanSilvert
Date Sat, 15 Apr 2006 23:09:20 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by StanSilvert:

New page:
The MyFaces team plans to build and support a compliant, high-quality, implementation of the
JSR-252 (JSF 1.2) spec that passes the JSF 1.2 TCK.  

You can get the latest public version of the JSF 1.2 spec [

= Jira Tasks =

All tasks related to the JSF 1.2 effort have JSR-252 in the Components field.  You can view
all of the tasks [

Every issue from the JSR-252 expert group that resulted in a spec change has been entered
as a Jira task.  However, there are spec changes that don't fit neatly into a single expert
group issue number.  So, some tasks might not have an EG reference.  You can browse all of
the JSR-252 Expert Group issues [

= SVN =

At this moment we can't commit changes for JSF 1.2.  We are limited to research and coding
on our local boxes.  A few of the simpler "bug fix" type tasks that don't break JSF 1.1 compatibility
have already been committed to the main branch.  Others will need to wait until after the
MyFaces 1.1.2 release.

= New JSF 1.2 Dependencies =

 *JDK 1.5 (JSE 5)
 *JSP 2.1 (click [ here] for info and the spec)
 *JSTL 1.2 (click [ here] for info and the spec)
 *JSF 1.2 "mostly" requires Servlet 2.5.  However, there is only one minor API change in 2.5
and it shouldn't affect JSF as long as you aren't using JSP.  It has been reported that the
Sun JSF 1.2 reference implementation does work with Servlet 2.4 and Facelets. (click [
here] for info and the spec)
 *JEE 5 marks the beginning of JSF inclusion in the JEE stack.  There are some enterprise
features of JSF 1.2 that are required for JEE 5.  These features are not required to pass
the JSF stand-alone TCK but will be required for the full JEE 5 TCK.

= Dependence on Tomcat 6 =

JSF 1.2 depends heavily on the new Unified Expression Language (Unified EL) found in JSP 2.1.
 As of now, this Unified EL code has not been broken out into Apache Commons.  Therefore,
MyFaces will depend on several jars in the Tomcat 6 build. The repository is at [].

To build Tomcat 6, you will also need to get the latest version of Ant, Commons Logging, and
Eclipse ADT.  

You will need version 3.1.2 or later of ADT.  If you don't want to download all of Eclipse
to get it, it should be available [

After downloading Tomcat 6 and the dependencies above, you will need to edit
to point to the correct jars.  Then just run ant.

Tomcat 6 does not currently include a run script, so you will need to create your own.  I
was able to get it to run with this two-liner:
cd /projects/Tomcat6/trunk/build/bin (copy the ADT jar into this directory or point to it
in the classpath)
java -cp commons-logging-1.0.4.jar;bootstrap.jar;org.eclipse.jdt.core_3.1.2.jar org.apache.catalina.startup.Bootstrap

The Tomcat 6 jars known to be needed for MyFaces JSF 1.2 compilation are jasper-el.jar, el-api.jar,
jsp-api.jar, and jasper.jar.  If you are using an IDE, make sure that these jars come first
in your classpath.  Otherwise, you are likely to be compiling against an older version of
JSP, which won't work.

View raw message