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 fb63c77  Add properties bundles from the webapp classes
fb63c77 is described below

commit fb63c77116f0797d8a623710754f025e3be58d5f
Author: remm <r...@apache.org>
AuthorDate: Thu Aug 29 09:28:17 2019 +0200

    Add properties bundles from the webapp classes
---
 res/tomcat-maven/graal-webapp.ant.xml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/res/tomcat-maven/graal-webapp.ant.xml 
b/res/tomcat-maven/graal-webapp.ant.xml
index 559b046..41c4f70 100644
--- a/res/tomcat-maven/graal-webapp.ant.xml
+++ b/res/tomcat-maven/graal-webapp.ant.xml
@@ -29,10 +29,11 @@
   <target name="package">
 
     <!-- Will contain the webapp classes -->
-    <mkdir dir="${basedir}/src/main/java" />
     <delete failonerror="false">
-        <fileset dir="${basedir}/src/main/java"/>
+        <fileset dir="${basedir}/src/main"/>
     </delete>
+    <mkdir dir="${basedir}/src/main/java" />
+    <mkdir dir="${basedir}/src/main/resources" />
 
     <!-- JSP precompilation -->
     <jasper validateXml="false" package="${webapp.name}.org.apache.jsp"
@@ -43,6 +44,9 @@
     <copy todir="${basedir}/src/main/java">
         <fileset dir="${basedir}/webapps/${webapp.name}/WEB-INF/classes" 
includes="**/*.java"/>
     </copy>
+    <copy todir="${basedir}/src/main/resources">
+        <fileset dir="${basedir}/webapps/${webapp.name}/WEB-INF/classes" 
includes="**/*.properties"/>
+    </copy>
 
   </target>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to