You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2019/08/29 14:05:07 UTC
[tomcat] branch master updated: Further refinements
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 <re...@apache.org>
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org