geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r393866 - in /geronimo/branches/1.1/applications/jmxdebug: maven.xml src/webapp/WEB-INF/geronimo-web.xml
Date Thu, 13 Apr 2006 17:47:15 GMT
Author: dain
Date: Thu Apr 13 10:47:14 2006
New Revision: 393866

URL: http://svn.apache.org/viewcvs?rev=393866&view=rev
Log:
Jar up the WEB-INF/classes into WEB-INF/lib/classes.jar

Modified:
    geronimo/branches/1.1/applications/jmxdebug/maven.xml
    geronimo/branches/1.1/applications/jmxdebug/src/webapp/WEB-INF/geronimo-web.xml

Modified: geronimo/branches/1.1/applications/jmxdebug/maven.xml
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/applications/jmxdebug/maven.xml?rev=393866&r1=393865&r2=393866&view=diff
==============================================================================
--- geronimo/branches/1.1/applications/jmxdebug/maven.xml (original)
+++ geronimo/branches/1.1/applications/jmxdebug/maven.xml Thu Apr 13 10:47:14 2006
@@ -14,4 +14,19 @@
     <goal name="jar:deploy">
         <attainGoal name="war:deploy"/>
     </goal>
+
+    <postGoal name="war:webapp">
+        <attainGoal name="jarWebInfClasses"/>
+    </postGoal>
+
+    <goal name="jarWebInfClasses">
+        <j:set var="webroot"  value="${basedir}/target/${pom.artifactId}/WEB-INF"/>
+
+        <ant:mkdir dir="${webroot}/lib"/>
+        <ant:jar destfile="${webroot}/lib/classes.jar" basedir="${webroot}/classes"/>
+
+        <ant:delete includeemptydirs="true">
+            <ant:fileset dir="${webroot}/classes" includes="**/*"/>
+        </ant:delete>
+    </goal>
 </project>

Modified: geronimo/branches/1.1/applications/jmxdebug/src/webapp/WEB-INF/geronimo-web.xml
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/applications/jmxdebug/src/webapp/WEB-INF/geronimo-web.xml?rev=393866&r1=393865&r2=393866&view=diff
==============================================================================
--- geronimo/branches/1.1/applications/jmxdebug/src/webapp/WEB-INF/geronimo-web.xml (original)
+++ geronimo/branches/1.1/applications/jmxdebug/src/webapp/WEB-INF/geronimo-web.xml Thu Apr
13 10:47:14 2006
@@ -1,19 +1,23 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<web-app
-    xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.0"
-    configId="geronimo/debug-console/1.0/car"
-    parentId="geronimo/j2ee-server/1.0/car"
-    >
-<!--
-    configId="geronimo/debug-console/${pom.currentVersion}/car"
-    parentId="geronimo/j2ee-server/${pom.currentVersion}/car"
--->
-
-    <dependency>
-        <uri>commons-collections/commons-collections/3.1/jar</uri>
-<!--        <uri>commons-collections/commons-collections/${commons_collections_version}/jar</uri>-->
-    </dependency>
-
+<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.0">
+    <environment>
+        <configId>
+            <groupId>geronimo</groupId>
+            <artifactId>jmxdebug</artifactId>
+            <version>1.1-SNAPSHOT</version>
+            <type>car</type>
+        </configId>
+        <dependencies>
+            <dependency>
+                <groupId>commons-collections</groupId>
+                <artifactId>commons-collections</artifactId>
+                <version>3.1</version>
+                <type>jar</type>
+            </dependency>
+        </dependencies>
+        <hidden-classes/>
+        <non-overridable-classes/>
+    </environment>
     <context-root>/debug-tool</context-root>
     <context-priority-classloader>false</context-priority-classloader>
-</web-app>
+</web-app>
\ No newline at end of file



Mime
View raw message