geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r351471 - in /geronimo/devtools/trunk/modules/eclipse-plugin/assembly: maven.xml project.properties
Date Thu, 01 Dec 2005 21:12:06 GMT
Author: sppatel
Date: Thu Dec  1 13:12:03 2005
New Revision: 351471

URL: http://svn.apache.org/viewcvs?rev=351471&view=rev
Log:
generate md5 and sha files

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=351471&r1=351470&r2=351471&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/assembly/maven.xml (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/assembly/maven.xml Thu Dec  1 13:12:03
2005
@@ -27,7 +27,8 @@
         <attainGoal name="build"/>
     </goal>
 
-    <goal name="build">
+    <goal name="build">
+        <mkdir dir="${distribution.dir}"/>
         <attainGoal name="zipdistro"/>
         <attainGoal name="sitedistro"/>
     </goal>
@@ -43,19 +44,20 @@
             <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}"/>
+                <ant:unjar src="${artifact.path}" dest="${distribution.dir.temp}/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"/>
+                <ant:copy file="${artifact.path}" tofile="${distribution.dir.temp}/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}"/>
+                <ant:unjar src="${artifact.path}" dest="${distribution.dir.temp}/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}"/>           
+        </j:forEach>               
+        <ant:zip destfile="${distribution.dir}/geronimo-eclipse-plugin-${pom.currentVersion}.zip"
basedir="${distribution.dir.temp}"/> 
+        <checksum file="${distribution.dir}/geronimo-eclipse-plugin-${pom.currentVersion}.zip"
algorithm="MD5" fileext=".md5"/>
+        <checksum file="${distribution.dir}/geronimo-eclipse-plugin-${pom.currentVersion}.zip"
algorithm="SHA" fileext=".sha"/>    
     </goal>  
     
     <goal name="sitedistro">
@@ -64,14 +66,18 @@
             <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"/>
+                <ant:copy file="${artifact.path}" tofile="${distribution.dir.updatesite}/features/${dependency.artifactId}_${distributionjarversion}.jar"/>
+                <checksum file="${distribution.dir.updatesite}/features/${dependency.artifactId}_${distributionjarversion}.jar"
algorithm="MD5" fileext=".md5"/>
+                <checksum file="${distribution.dir.updatesite}/features/${dependency.artifactId}_${distributionjarversion}.jar"
algorithm="SHA" fileext=".sha"/>
             </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"/>
+                <ant:copy file="${artifact.path}" tofile="${distribution.dir.updatesite}/plugins/${dependency.artifactId}_${distributionjarversion}.jar"/>
+                <checksum file="${distribution.dir.updatesite}/plugins/${dependency.artifactId}_${distributionjarversion}.jar"
algorithm="MD5" fileext=".md5"/>
+                <checksum file="${distribution.dir.updatesite}/plugins/${dependency.artifactId}_${distributionjarversion}.jar"
algorithm="SHA" fileext=".sha"/>
             </j:if>                      
         </j:forEach>  
-        <ant:zip destfile="${maven.build.dir}/geronimo-sitedistro-${pom.currentVersion}.zip"
basedir="${feature.site.distributions.dir}"/>                    
+        <ant:zip destfile="${distribution.dir}/geronimo-sitedistro-${pom.currentVersion}.zip"
basedir="${distribution.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=351471&r1=351470&r2=351471&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/assembly/project.properties (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/assembly/project.properties Thu Dec  1
13:12:03 2005
@@ -1,2 +1,3 @@
-feature.assembly.distributions.dir=${maven.build.dir}/eclipse
-feature.site.distributions.dir=${maven.build.dir}/site
\ No newline at end of file
+distribution.dir.temp=${maven.build.dir}/temp
+distribution.dir=${maven.build.dir}/distributions/
+distribution.dir.updatesite=${distribution.dir}/updates
\ No newline at end of file



Mime
View raw message