geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r314965 - in /geronimo/devtools/trunk/modules/eclipse-plugin/assembly: maven.xml project.properties
Date Wed, 12 Oct 2005 17:02:48 GMT
Author: sppatel
Date: Wed Oct 12 10:02:45 2005
New Revision: 314965

URL: http://svn.apache.org/viewcvs?rev=314965&view=rev
Log:
goal for update site distro

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

Modified: 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=314965&r1=314964&r2=314965&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/assembly/maven.xml (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/assembly/maven.xml Wed Oct 12 10:02:45
2005
@@ -1,53 +1,62 @@
-<?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="jar:install">
-        <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}_${distributionjarversion}"/>
-            </j:if> 
-            
-            <j:if test="${dependency.getProperty('jar') == 'true'}">  
-                <ant:copy file="${artifact.path}" tofile="${feature.assembly.distributions.dir}/plugins/${dependency.artifactId}_${distributionjarversion}.jar"/>
-            </j:if> 
-            
-            <j:if test="${dependency.getProperty('jar') == 'false'}">  
-                <ant:unjar src="${artifact.path}" dest="${feature.assembly.distributions.dir}/plugins/${dependency.artifactId}_${distributionjarversion}"/>
-            </j:if>                        
-        </j:forEach>                 
-    </goal>  
-    
-    <goal name="zipdistribution">
-       <ant:echo>Packaging deployable feature</ant:echo>  
-       <ant:zip destfile="${maven.build.dir}/geronimo-eclipse-plugin-${pom.currentVersion}.zip"
basedir="${feature.assembly.distributions.dir}"/>           
-    </goal>
-    
-    <goal name="deploy">
-       <ant:echo>Deploying binary zip distribution</ant:echo>  
-    </goal>
-     
-</project>
+<?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="jar:install">
+        <attainGoal name="build"/>
+    </goal>
+
+    <goal name="build">
+        <attainGoal name="copyjars"/>
+        <attainGoal name="zipdisto"/>
+        <attainGoal name="sitedistro"/>
+    </goal>
+
+    <goal name="rebuild">
+        <attainGoal name="clean"/>
+        <attainGoal name="build"/>
+    </goal>
+
+    <goal name="zipdistro">   
+        <ant:echo>Packaging feature for zip distribution</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}_${distributionjarversion}"/>
+            </j:if> 
+            
+            <j:if test="${dependency.getProperty('jar') == 'true'}">  
+                <ant:copy file="${artifact.path}" tofile="${feature.assembly.distributions.dir}/plugins/${dependency.artifactId}_${distributionjarversion}.jar"/>
+            </j:if> 
+            
+            <j:if test="${dependency.getProperty('jar') == 'false'}">  
+                <ant:unjar src="${artifact.path}" dest="${feature.assembly.distributions.dir}/plugins/${dependency.artifactId}_${distributionjarversion}"/>
+            </j:if>                        
+        </j:forEach>       
+        
+         <ant:zip destfile="${maven.build.dir}/geronimo-eclipse-plugin-${pom.currentVersion}.zip"
basedir="${feature.assembly.distributions.dir}"/>           
+    </goal>  
+    
+    <goal name="sitedistro">
+       <ant:echo>Packaging feature for update site</ant:echo>  
+        <j:forEach var="artifact" items="${pom.artifacts}">        
+            <j:set var="dependency" value="${artifact.dependency}"/>           
+            
+            <j:if test="${dependency.getProperty('feature') == 'true'}">  
+                <ant:copy file="${artifact.path}" tofile="${feature.site.distributions.dir}/features/${dependency.artifactId}_${distributionjarversion}.jar"/>
+            </j:if> 
+            
+            <j:if test="${dependency.getProperty('jar') == 'true' || dependency.getProperty('jar')
== 'false'}">  
+                <ant:copy file="${artifact.path}" tofile="${feature.site.distributions.dir}/plugins/${dependency.artifactId}_${distributionjarversion}.jar"/>
+            </j:if>                      
+        </j:forEach>  
+        <ant:zip destfile="${maven.build.dir}/geronimo-sitedistro-${pom.currentVersion}.zip"
basedir="${feature.site.distributions.dir}"/>                    
+    </goal>
+     
+</project>

Modified: 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=314965&r1=314964&r2=314965&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/assembly/project.properties (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/assembly/project.properties Wed Oct 12
10:02:45 2005
@@ -1 +1,2 @@
-feature.assembly.distributions.dir=${maven.build.dir}/eclipse
\ No newline at end of file
+feature.assembly.distributions.dir=${maven.build.dir}/eclipse
+feature.site.distributions.dir=${maven.build.dir}/site
\ No newline at end of file



Mime
View raw message