geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsis...@apache.org
Subject svn commit: r375188 - in /geronimo/branches/1.0: assemblies/j2ee-installer/ assemblies/j2ee-jetty-server/ assemblies/j2ee-tomcat-server/ etc/ plugins/geronimo-assembly-plugin/
Date Mon, 06 Feb 2006 05:35:56 GMT
Author: jsisson
Date: Sun Feb  5 21:35:54 2006
New Revision: 375188

URL: http://svn.apache.org/viewcvs?rev=375188&view=rev
Log:
GERONIMO-1566 - fix issue where binary distributions (both zip and tgz) contain a META-INF/manifest.mf
file under the geronimo-1.0 directory.

Modified:
    geronimo/branches/1.0/assemblies/j2ee-installer/project.xml
    geronimo/branches/1.0/assemblies/j2ee-jetty-server/project.xml
    geronimo/branches/1.0/assemblies/j2ee-tomcat-server/project.xml
    geronimo/branches/1.0/etc/project.properties
    geronimo/branches/1.0/plugins/geronimo-assembly-plugin/plugin.jelly
    geronimo/branches/1.0/plugins/geronimo-assembly-plugin/project.xml

Modified: geronimo/branches/1.0/assemblies/j2ee-installer/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.0/assemblies/j2ee-installer/project.xml?rev=375188&r1=375187&r2=375188&view=diff
==============================================================================
--- geronimo/branches/1.0/assemblies/j2ee-installer/project.xml (original)
+++ geronimo/branches/1.0/assemblies/j2ee-installer/project.xml Sun Feb  5 21:35:54 2006
@@ -467,6 +467,7 @@
             <version>${pom.currentVersion}</version>
             <properties>
                 <geronimo.assemble>unpack</geronimo.assemble>
+                <geronimo.assemble.unpack.exclude.manifest>true</geronimo.assemble.unpack.exclude.manifest>
             </properties>
         </dependency>
 

Modified: geronimo/branches/1.0/assemblies/j2ee-jetty-server/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.0/assemblies/j2ee-jetty-server/project.xml?rev=375188&r1=375187&r2=375188&view=diff
==============================================================================
--- geronimo/branches/1.0/assemblies/j2ee-jetty-server/project.xml (original)
+++ geronimo/branches/1.0/assemblies/j2ee-jetty-server/project.xml Sun Feb  5 21:35:54 2006
@@ -317,6 +317,7 @@
             <version>${pom.currentVersion}</version>
             <properties>
                 <geronimo.assemble>unpack</geronimo.assemble>
+                <geronimo.assemble.unpack.exclude.manifest>true</geronimo.assemble.unpack.exclude.manifest>
             </properties>
         </dependency>
 

Modified: geronimo/branches/1.0/assemblies/j2ee-tomcat-server/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.0/assemblies/j2ee-tomcat-server/project.xml?rev=375188&r1=375187&r2=375188&view=diff
==============================================================================
--- geronimo/branches/1.0/assemblies/j2ee-tomcat-server/project.xml (original)
+++ geronimo/branches/1.0/assemblies/j2ee-tomcat-server/project.xml Sun Feb  5 21:35:54 2006
@@ -317,6 +317,7 @@
             <version>${pom.currentVersion}</version>
             <properties>
                 <geronimo.assemble>unpack</geronimo.assemble>
+                <geronimo.assemble.unpack.exclude.manifest>true</geronimo.assemble.unpack.exclude.manifest>
             </properties>
         </dependency>
 

Modified: geronimo/branches/1.0/etc/project.properties
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.0/etc/project.properties?rev=375188&r1=375187&r2=375188&view=diff
==============================================================================
--- geronimo/branches/1.0/etc/project.properties (original)
+++ geronimo/branches/1.0/etc/project.properties Sun Feb  5 21:35:54 2006
@@ -87,7 +87,7 @@
 release_notes_version=1.0
 
 geronimo_packaging_plugin_version=1.0.2
-geronimo_assembly_plugin_version=1.0.7
+geronimo_assembly_plugin_version=1.0.8
 geronimo_deployment_plugin_version=1.0.1
 geronimo_dependency_plugin_version=1.0.1
 

Modified: geronimo/branches/1.0/plugins/geronimo-assembly-plugin/plugin.jelly
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.0/plugins/geronimo-assembly-plugin/plugin.jelly?rev=375188&r1=375187&r2=375188&view=diff
==============================================================================
--- geronimo/branches/1.0/plugins/geronimo-assembly-plugin/plugin.jelly (original)
+++ geronimo/branches/1.0/plugins/geronimo-assembly-plugin/plugin.jelly Sun Feb  5 21:35:54
2006
@@ -115,6 +115,7 @@
 
     <goal name="assemble:assemble-unpack">
         <ant:mkdir dir="${geronimo.assembly.dest}"/>
+        <j:set var="excludeManifest" value="false"/>
         <ant:unjar dest="${geronimo.assembly.dest}">
             <ant:fileset dir="${maven.repo.local}">
                 <j:set var="hasUnpack" value="false"/>
@@ -123,13 +124,26 @@
                     <j:if test="${dependency.getProperty('geronimo.assemble') == 'unpack'}">
                         <ant:include name="${dependency.getArtifactDirectory()}/${dependency.getType()}s/${dependency.getArtifact()}"/>
                         <j:set var="hasUnpack" value="true"/>
+                        <j:if test="${dependency.getProperty('geronimo.assemble.unpack.exclude.manifest')
== 'true'}">
+                            <j:set var="excludeManifest" value="true"/>
+                        </j:if>
                     </j:if>
                 </j:forEach>
                 <j:if test="${hasUnpack == 'false'}">
                     <ant:exclude name="**/*"/>
                 </j:if>
             </ant:fileset>
+            <j:if test="${excludeManifest == 'true'}">
+                <ant:patternset>
+                    <!-- this exclude leaves an empty META-INF directory 
+                         that we delete below -->
+                    <ant:exclude name="META-INF/MANIFEST.MF"/>
+                </ant:patternset>        
+            </j:if>
         </ant:unjar>
+        <j:if test="${excludeManifest == 'true'}">
+           <ant:delete dir="${geronimo.assembly.dest}/META-INF"/>
+        </j:if>
         <ant:chmod dir="${geronimo.assembly.dest}/bin" perm="ugo+x" includes="*.sh"/>
     </goal>
 

Modified: geronimo/branches/1.0/plugins/geronimo-assembly-plugin/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.0/plugins/geronimo-assembly-plugin/project.xml?rev=375188&r1=375187&r2=375188&view=diff
==============================================================================
--- geronimo/branches/1.0/plugins/geronimo-assembly-plugin/project.xml (original)
+++ geronimo/branches/1.0/plugins/geronimo-assembly-plugin/project.xml Sun Feb  5 21:35:54
2006
@@ -23,7 +23,7 @@
     <id>geronimo-assembly-plugin</id>
     <name>Geronimo :: Maven Assembly Plugin</name>
     <description>A plugin used to assemble a distribution of Geronimo</description>
-    <currentVersion>1.0.7</currentVersion>
+    <currentVersion>1.0.8</currentVersion>
 
     <dependencies>
         <dependency>



Mime
View raw message