geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ammul...@apache.org
Subject svn commit: r209989 - /geronimo/trunk/modules/assembly/maven.xml
Date Sun, 10 Jul 2005 04:09:47 GMT
Author: ammulder
Date: Sat Jul  9 21:09:46 2005
New Revision: 209989

URL: http://svn.apache.org/viewcvs?rev=209989&view=rev
Log:
Rely on OpenEJB schemas in artifacts, instead of in source tree

Modified:
    geronimo/trunk/modules/assembly/maven.xml

Modified: geronimo/trunk/modules/assembly/maven.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/assembly/maven.xml?rev=209989&r1=209988&r2=209989&view=diff
==============================================================================
--- geronimo/trunk/modules/assembly/maven.xml (original)
+++ geronimo/trunk/modules/assembly/maven.xml Sat Jul  9 21:09:46 2005
@@ -136,14 +136,24 @@
             <ant:fileset dir="${project.root}/modules/client-builder">
                 <ant:include name="src/schema/*.xsd"/>
             </ant:fileset>
-            <ant:fileset dir="${project.root}/openejb/modules/pkgen-builder">
-                <ant:include name="src/schema/*.xsd"/>
-            </ant:fileset>
-            <ant:fileset dir="${project.root}/openejb/modules/openejb-builder">
-                <ant:include name="src/schema/openejb-jar.xsd"/>
-            </ant:fileset>
             <ant:fileset dir="src/etc"/>
         </ant:copy>
+        <ant:unzip src="${maven.repo.local}/openejb/jars/openejb-pkgen-builder-${openejb_version}.jar"
dest="${distDir}">
+          <ant:patternset>
+            <ant:include name="META-INF/schema/openejb-pkgen.xsd" />
+          </ant:patternset>
+        </ant:unzip>
+        <ant:unzip src="${maven.repo.local}/openejb/jars/openejb-builder-${openejb_version}.jar"
dest="${distDir}">
+          <ant:patternset>
+            <ant:include name="META-INF/schema/openejb-jar.xsd" />
+          </ant:patternset>
+        </ant:unzip>
+        <ant:move todir="${distDir}/schema">
+          <ant:fileset dir="${distDir}/META-INF/schema">
+            <ant:include name="*.xsd" />
+          </ant:fileset>
+        </ant:move>
+        <ant:delete dir="${distDir}/META-INF" />
         <ant:fileScanner var="schemaScanner">
             <ant:fileset dir="${distDir}/schema">
                 <ant:include name="geronimo-application.xsd"/>



Mime
View raw message