myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "Trinidad and JDK 1.4" by MartinMarinschek
Date Sat, 01 Sep 2007 09:32:55 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 MartinMarinschek:
http://wiki.apache.org/myfaces/Trinidad_and_JDK_1%2e4

------------------------------------------------------------------------------
  you need to use a bytecode weaver like [http://retroweaver.sourceforge.net/ Retroweaver].
  
  == Build Trinidad for JDK 1.4 ==
+ 
+ = Use Maven =
+ 
+ Start the Trinidad-build with -Dbuild.jdk14.compatible=true.
+ 
+ In the project where you want to use Trinidad in the 1.4 version, declare the dependencies
as such - don't forget to include the retrotranslator library:
+ 
+ {{{
+ 
+         <!-- Apache MyFaces Trinidad (backported version) -->
+         <dependency>
+             <groupId>org.apache.myfaces.trinidad</groupId>
+             <artifactId>trinidad-api</artifactId>
+             <version>1.0.2</version>
+             <classifier>jdk14</classifier>
+         </dependency>
+ 		
+ 	<dependency>
+             <groupId>org.apache.myfaces.trinidad</groupId>
+             <artifactId>trinidad-impl</artifactId>
+             <version>1.0.2</version>
+             <classifier>jdk14</classifier>
+             
+              <!-- Exclude the trinidad-api dependency as 
+             		it would include the JDK5 version -->
+             <exclusions>
+             	<exclusion>
+             		<groupId>org.apache.myfaces.trinidad</groupId>
+             		<artifactId>trinidad-api</artifactId>
+             	</exclusion>
+             </exclusions>
+         </dependency>
+ 
+ 	<!-- Retrotranslator runtime library -->
+ 	<dependency>
+ 		<groupId>net.sf.retrotranslator</groupId>
+ 		<artifactId>retrotranslator-runtime</artifactId>
+ 		<version>1.2.1</version>
+ 	</dependency>
+ 
+ }}}
+ 
+ 
+ 
+ = Alternatively, Do it yourself... =
   
   * Dowload Retroweaver 
   * Unzip Retroweaver in directory

Mime
View raw message