You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2007/12/05 10:43:20 UTC

svn commit: r601277 - in /myfaces/tobago/trunk: core/pom.xml extension/fileupload/pom.xml extension/message-fix/pom.xml pom.xml sandbox/pom.xml theme/scarborough/pom.xml theme/speyside/pom.xml theme/standard/pom.xml

Author: lofwyr
Date: Wed Dec  5 01:43:16 2007
New Revision: 601277

URL: http://svn.apache.org/viewvc?rev=601277&view=rev
Log:
TOBAGO-567: Using a profile to set the name of the runtime.jar (activated by system.os)

Modified:
    myfaces/tobago/trunk/core/pom.xml
    myfaces/tobago/trunk/extension/fileupload/pom.xml
    myfaces/tobago/trunk/extension/message-fix/pom.xml
    myfaces/tobago/trunk/pom.xml
    myfaces/tobago/trunk/sandbox/pom.xml
    myfaces/tobago/trunk/theme/scarborough/pom.xml
    myfaces/tobago/trunk/theme/speyside/pom.xml
    myfaces/tobago/trunk/theme/standard/pom.xml

Modified: myfaces/tobago/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/pom.xml?rev=601277&r1=601276&r2=601277&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/pom.xml (original)
+++ myfaces/tobago/trunk/core/pom.xml Wed Dec  5 01:43:16 2007
@@ -398,7 +398,7 @@
                   <attach>true</attach>
                   <verify>true</verify>
                   <verifyClasspath>
-                     <element>${java14.home}/lib/rt.jar</element>
+                     <element>${java14.home}/${java.classes.jar}</element>
                   </verifyClasspath>
                 </configuration>
               </execution>

Modified: myfaces/tobago/trunk/extension/fileupload/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/extension/fileupload/pom.xml?rev=601277&r1=601276&r2=601277&view=diff
==============================================================================
--- myfaces/tobago/trunk/extension/fileupload/pom.xml (original)
+++ myfaces/tobago/trunk/extension/fileupload/pom.xml Wed Dec  5 01:43:16 2007
@@ -79,7 +79,7 @@
                   <attach>true</attach>
                   <verify>true</verify>
                   <verifyClasspath>
-                     <element>${java14.home}/lib/rt.jar</element>
+                    <element>${java14.home}/${java.classes.jar}</element>
                   </verifyClasspath>
                 </configuration>
               </execution>

Modified: myfaces/tobago/trunk/extension/message-fix/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/extension/message-fix/pom.xml?rev=601277&r1=601276&r2=601277&view=diff
==============================================================================
--- myfaces/tobago/trunk/extension/message-fix/pom.xml (original)
+++ myfaces/tobago/trunk/extension/message-fix/pom.xml Wed Dec  5 01:43:16 2007
@@ -62,7 +62,7 @@
                   <attach>true</attach>
                   <verify>true</verify>
                   <verifyClasspath>
-                     <element>${java14.home}/lib/rt.jar</element>
+                    <element>${java14.home}/${java.classes.jar}</element>
                   </verifyClasspath>
                 </configuration>
               </execution>

Modified: myfaces/tobago/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/pom.xml?rev=601277&r1=601276&r2=601277&view=diff
==============================================================================
--- myfaces/tobago/trunk/pom.xml (original)
+++ myfaces/tobago/trunk/pom.xml Wed Dec  5 01:43:16 2007
@@ -931,6 +931,24 @@
         <docbook.version>1.67.2</docbook.version>
       </properties>
     </profile>
+
+    <!--name of the runtime classes file-->
+    <profile>
+      <activation>
+        <os><family>!mac</family></os>
+      </activation>
+      <properties>
+        <java.classes.jar>lib/rt.jar</java.classes.jar>
+      </properties>
+    </profile>
+    <profile>
+      <activation>
+        <os><family>mac</family></os>
+      </activation>
+      <properties>
+        <java.classes.jar>../Classes/classes.jar</java.classes.jar>
+      </properties>
+    </profile>
   </profiles>
 
   <repositories>

Modified: myfaces/tobago/trunk/sandbox/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/sandbox/pom.xml?rev=601277&r1=601276&r2=601277&view=diff
==============================================================================
--- myfaces/tobago/trunk/sandbox/pom.xml (original)
+++ myfaces/tobago/trunk/sandbox/pom.xml Wed Dec  5 01:43:16 2007
@@ -349,7 +349,7 @@
                   <attach>true</attach>
                   <verify>true</verify>
                   <verifyClasspath>
-                     <element>${java14.home}/lib/rt.jar</element>
+                    <element>${java14.home}/${java.classes.jar}</element>
 <!--
 for macosx
                      <element>/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/classes.jar</element>

Modified: myfaces/tobago/trunk/theme/scarborough/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/scarborough/pom.xml?rev=601277&r1=601276&r2=601277&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/scarborough/pom.xml (original)
+++ myfaces/tobago/trunk/theme/scarborough/pom.xml Wed Dec  5 01:43:16 2007
@@ -102,7 +102,7 @@
                   <attach>true</attach>
                   <verify>true</verify>
                   <verifyClasspath>
-                     <element>${java14.home}/lib/rt.jar</element>
+                    <element>${java14.home}/${java.classes.jar}</element>
                   </verifyClasspath>
                 </configuration>
               </execution>

Modified: myfaces/tobago/trunk/theme/speyside/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/speyside/pom.xml?rev=601277&r1=601276&r2=601277&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/speyside/pom.xml (original)
+++ myfaces/tobago/trunk/theme/speyside/pom.xml Wed Dec  5 01:43:16 2007
@@ -78,7 +78,7 @@
                   <attach>true</attach>
                   <verify>true</verify>
                   <verifyClasspath>
-                     <element>${java14.home}/lib/rt.jar</element>
+                    <element>${java14.home}/${java.classes.jar}</element>
                   </verifyClasspath>
                 </configuration>
               </execution>

Modified: myfaces/tobago/trunk/theme/standard/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/standard/pom.xml?rev=601277&r1=601276&r2=601277&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/standard/pom.xml (original)
+++ myfaces/tobago/trunk/theme/standard/pom.xml Wed Dec  5 01:43:16 2007
@@ -85,7 +85,7 @@
                   <attach>true</attach>
                   <verify>true</verify>
                   <verifyClasspath>
-                     <element>${java14.home}/lib/rt.jar</element>
+                    <element>${java14.home}/${java.classes.jar}</element>
                   </verifyClasspath>
                 </configuration>
               </execution>