cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmen...@apache.org
Subject svn commit: r477488 - /incubator/cayenne/main/trunk/assembly/pom.xml
Date Tue, 21 Nov 2006 03:43:29 GMT
Author: kmenard
Date: Mon Nov 20 19:43:28 2006
New Revision: 477488

URL: http://svn.apache.org/viewvc?view=rev&rev=477488
Log:
Set up profiles for OS-specific distributions.

Modified:
    incubator/cayenne/main/trunk/assembly/pom.xml

Modified: incubator/cayenne/main/trunk/assembly/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/assembly/pom.xml?view=diff&rev=477488&r1=477487&r2=477488
==============================================================================
--- incubator/cayenne/main/trunk/assembly/pom.xml (original)
+++ incubator/cayenne/main/trunk/assembly/pom.xml Mon Nov 20 19:43:28 2006
@@ -31,10 +31,43 @@
   <packaging>pom</packaging>
   <name>Cayenne :: Assembly</name>
 
+  <!-- Build the generic distribution in all cases. -->
   <modules>
     <module>cayenne-generic</module>
-    <module>cayenne-osx</module>
-    <module>cayenne-win</module>
   </modules>
+  
+  <!-- Set up the OS-specific distributions. -->
+  <profiles>
+  
+    <!-- Only build the Mac distribution if running on a Mac. -->
+    <profile>
+      <id>mac</id>
+      
+      <activation>
+        <os>
+	  <family>mac</family>
+	</os>
+      </activation>
+      
+      <modules>
+        <module>cayenne-osx</module>
+      </modules>
+    </profile>
+    
+    <!-- Only build the Windows distribution if running on Windows. -->
+    <profile>
+      <id>windows</id>
+      
+      <activation>
+        <os>
+	  <family>windows</family>
+	</os>
+      </activation>
+      
+      <modules>
+        <module>cayenne-win</module>
+      </modules>
+    </profile>
+  </profiles>
 
 </project>



Mime
View raw message