You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/06/04 23:49:59 UTC

[Myfaces Wiki] Update of "JSR-252" by Dennis Byrne

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 Dennis Byrne:
http://wiki.apache.org/myfaces/JSR-252

------------------------------------------------------------------------------
  
  = MyFaces JSR-252 (JSF 1.2) Development 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.  
+ The MyFaces team is building a compliant, high-quality, implementation of the JSR-252 (JSF 1.2) spec that passes the JSF 1.2 TCK.  
+ 
+ You can build the implementation with the following command lines:
+ {{{
+ svn co https://svn.apache.org/repos/asf/myfaces/core/branches/jsf12
+ cd jsf12
+ mvn clean install
+ }}}
  
  You can get the latest public version of the JSF 1.2 spec [http://www.jcp.org/en/jsr/detail?id=252 here.]
  
@@ -14, +21 @@

  
  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 [https://javaserverfaces-spec-public.dev.java.net/servlets/ProjectIssues here.]
  
- = 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)
@@ -26, +29 @@

   *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 [http://java.sun.com/products/servlet/ 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 [http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/].
- 
- 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 [http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.1.2-200601181600/eclipse-JDT-3.1.2.zip here.]
- 
- After downloading Tomcat 6 and the dependencies above, you will need to edit build.properties.default 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
- java -cp commons-logging-1.0.4.jar;bootstrap.jar;jdt.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, and jsp-api.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.
-