This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new 083cd5a  Further refinements
083cd5a is described below

commit 083cd5ac2dc18ca94aceb83c6c28715febc0831c
Author: remm <[email protected]>
AuthorDate: Thu Aug 29 16:04:55 2019 +0200

    Further refinements
    
    Based on putting together a demo script.
---
 res/tomcat-maven/graal-webapp.ant.xml | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/res/tomcat-maven/graal-webapp.ant.xml 
b/res/tomcat-maven/graal-webapp.ant.xml
index 41c4f70..8a0d502 100644
--- a/res/tomcat-maven/graal-webapp.ant.xml
+++ b/res/tomcat-maven/graal-webapp.ant.xml
@@ -22,16 +22,13 @@
   <typedef name="jasper" classname="org.apache.jasper.JspC">
     <classpath>
       <fileset file="${basedir}/target/tomcat-maven-1.0.jar" />
-      <fileset dir="${basedir}/webapps/${webapp.name}/WEB-INF/lib" 
includes="*.jar" />
+      <fileset dir="${basedir}/webapps/${webapp.name}/WEB-INF/lib" 
includes="*.jar" erroronmissingdir="false" />
     </classpath>
   </typedef>
 
   <target name="package">
 
     <!-- Will contain the webapp classes -->
-    <delete failonerror="false">
-        <fileset dir="${basedir}/src/main"/>
-    </delete>
     <mkdir dir="${basedir}/src/main/java" />
     <mkdir dir="${basedir}/src/main/resources" />
 
@@ -42,12 +39,12 @@
             outputDir="${basedir}/src/main/java" />
     <!-- Copy all webapp classes to the mvn compile location -->
     <copy todir="${basedir}/src/main/java">
-        <fileset dir="${basedir}/webapps/${webapp.name}/WEB-INF/classes" 
includes="**/*.java"/>
+        <fileset dir="${basedir}/webapps/${webapp.name}/WEB-INF/classes" 
includes="**/*.java" erroronmissingdir="false" />
     </copy>
     <copy todir="${basedir}/src/main/resources">
-        <fileset dir="${basedir}/webapps/${webapp.name}/WEB-INF/classes" 
includes="**/*.properties"/>
+        <fileset dir="${basedir}/webapps/${webapp.name}/WEB-INF/classes" 
includes="**/*.properties" erroronmissingdir="false" />
     </copy>
 
   </target>
 
-</project>
+</project>
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to