geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r279742 - in /geronimo/devtools/trunk/modules/eclipse-plugin/assembly: ./ maven.xml project.properties project.xml
Date Fri, 09 Sep 2005 10:07:39 GMT
Author: geirm
Date: Fri Sep  9 03:07:34 2005
New Revision: 279742

URL: http://svn.apache.org/viewcvs?rev=279742&view=rev
Log:
GERONIMODEVTOOLS-9

Added:
    geronimo/devtools/trunk/modules/eclipse-plugin/assembly/
    geronimo/devtools/trunk/modules/eclipse-plugin/assembly/maven.xml
    geronimo/devtools/trunk/modules/eclipse-plugin/assembly/project.properties
    geronimo/devtools/trunk/modules/eclipse-plugin/assembly/project.xml

Added: geronimo/devtools/trunk/modules/eclipse-plugin/assembly/maven.xml
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/assembly/maven.xml?rev=279742&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/assembly/maven.xml (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/assembly/maven.xml Fri Sep  9 03:07:34
2005
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project default="default"
+    xmlns:j="jelly:core"
+    xmlns:ant="jelly:ant">
+
+    <goal name="default">
+        <attainGoal name="build"/>
+    </goal>
+
+    <goal name="build">
+        <attainGoal name="copyjars"/>
+        <attainGoal name="zipdistribution"/>
+        <attainGoal name="deploy"/>
+    </goal>
+
+    <goal name="rebuild">
+        <attainGoal name="clean"/>
+        <attainGoal name="build"/>
+    </goal>
+
+    <goal name="copyjars">      
+        <ant:echo>Creating deployable feature</ant:echo>  
+        <j:forEach var="artifact" items="${pom.artifacts}">        
+            <j:set var="dependency" value="${artifact.dependency}"/>           
+            
+            <j:if test="${dependency.getProperty('feature') == 'true'}">  
+                <ant:unjar src="${artifact.path}" dest="${feature.assembly.distributions.dir}/features/${dependency.artifactId}_${dependency.version}"/>
+            </j:if> 
+            
+            <j:if test="${dependency.getProperty('jar') == 'true'}">  
+                <ant:copy file="${artifact.path}" tofile="${feature.assembly.distributions.dir}/plugins/${dependency.artifactId}_${dependency.version}.jar"/>
+            </j:if> 
+            
+            <j:if test="${dependency.getProperty('jar') == 'false'}">  
+                <ant:unjar src="${artifact.path}" dest="${feature.assembly.distributions.dir}/plugins/${dependency.artifactId}_${dependency.version}"/>
+            </j:if>                        
+        </j:forEach>                 
+    </goal>  
+    
+    <goal name="zipdistribution">
+       <ant:echo>Packaging deployable feature</ant:echo>  
+       <ant:zip destfile="${maven.build.dir}/geronimo-server-adapter_${pom.currentVersion}.zip"
basedir="${feature.assembly.distributions.dir}"/>           
+    </goal>
+    
+    <goal name="deploy">
+       <ant:echo>Deploying binary zip distribution</ant:echo>  
+    </goal>
+     
+</project>

Added: geronimo/devtools/trunk/modules/eclipse-plugin/assembly/project.properties
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/assembly/project.properties?rev=279742&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/assembly/project.properties (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/assembly/project.properties Fri Sep  9
03:07:34 2005
@@ -0,0 +1 @@
+feature.assembly.distributions.dir=${maven.build.dir}/eclipse
\ No newline at end of file

Added: geronimo/devtools/trunk/modules/eclipse-plugin/assembly/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/assembly/project.xml?rev=279742&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/assembly/project.xml (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/assembly/project.xml Fri Sep  9 03:07:34
2005
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+  <pomVersion>3</pomVersion>
+  <groupId>geronimo</groupId>
+  <id>feature-assembly</id>
+  <name>feature-assembly</name>
+  <currentVersion>1.0</currentVersion>
+  <dependencies>
+    <dependency>
+      <groupId>geronimo</groupId>
+      <artifactId>org.apache.geronimo.core</artifactId>
+      <version>1.0</version>
+      <properties>
+        <jar>true</jar>
+      </properties>
+    </dependency>
+    <dependency>
+      <groupId>geronimo</groupId>
+      <artifactId>org.apache.geronimo.deployment.model</artifactId>
+      <version>1.0</version>
+      <properties>
+        <jar>true</jar>
+      </properties>
+    </dependency>
+    <dependency>
+      <groupId>geronimo</groupId>
+      <artifactId>org.apache.geronimo.feature</artifactId>
+      <version>1.0</version>
+      <properties>
+        <feature>true</feature>
+      </properties>
+    </dependency>
+    <dependency>
+      <groupId>geronimo</groupId>
+      <artifactId>org.apache.geronimo.runtime.v1</artifactId>
+      <version>1.0</version>
+      <properties>
+        <jar>false</jar>
+      </properties>
+    </dependency>
+    <dependency>
+      <groupId>geronimo</groupId>
+      <artifactId>org.apache.geronimo.ui</artifactId>
+      <version>1.0</version>
+      <properties>
+        <jar>true</jar>
+      </properties>
+    </dependency>
+  </dependencies>
+</project>
+
+



Mime
View raw message