Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 861e2b043d0ec623da7c5df4181ecfa4 > files > 2

struts-1.2.9-6mdv2009.0.src.rpm

--- build-webapp.xml	Sun Feb 10 08:38:52 2002
+++ build-webapp.xml.new	Wed Mar 27 01:09:51 2002
@@ -213,6 +213,7 @@
   <mkdir   dir="${webapp.target}" />
   <mkdir   dir="${webapp.target}/WEB-INF" />
   <mkdir   dir="${webapp.target}/WEB-INF/classes" />
+  <mkdir   dir="${webapp.target}/WEB-INF/lib" />
   <mkdir   dir="${webapp.target}" />
 </target>
 
@@ -272,7 +272,7 @@
         The "static" target copies the static web resources portion of your
         web application source into the build target area.
 -->
-<target name="static" depends="prepare,source,libs,struts"
+<target name="static" depends="prepare,source,libs"
         description="Copy static files">
   <echo    message="Processing webapp ${webapp.name}"/>
   <copy  todir="${webapp.target}">
@@ -301,6 +301,10 @@
       <exclude name="**/*.java"/>
     </fileset>
   </copy>
+  <jar jarfile="${webapp.target}/WEB-INF/lib/classes.jar"
+        basedir="${webapp.target}/WEB-INF/classes"/>
+  <delete dir="${webapp.target}/WEB-INF/classes" />
+  <delete dir="${webapp.target}/WEB-INF/src" />
 </target>