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

markt 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 c475441  Move storage location for generated reflectionless code
c475441 is described below

commit c4754410f2cf0904940568fb33d4e7c2f87eac61
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jan 27 09:41:10 2021 +0000

    Move storage location for generated reflectionless code
    
    Using java.io.tmpdir was causing conflicts on CI systems when different
    users run the build as the file could no be over-written
---
 build.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index 6c9bc10..455edf9 100644
--- a/build.xml
+++ b/build.xml
@@ -94,6 +94,8 @@
   <property name="tomcat.jdbc.dir"       value="${basedir}/modules/jdbc-pool"/>
   <!-- build output directory for jdbc-pool -->
   <property name="tomcat.pool"           value="${tomcat.output}/jdbc-pool"/>
+  <!-- build output directory for generated reflectionless code -->
+  <property name="tomcat.xreflect"       value="${tomcat.output}/xreflect"/>
 
   <!-- Jakarta EE 9 specs requires Java 8+ -->
   <property name="compile.source" value="8"/>
@@ -1746,7 +1748,7 @@
            license="${tomcat.manifests}/servlet-api.jar.license"/>
 
     <!-- Leave generated code in an easy place for review -->
-    <copy todir="${java.io.tmpdir}"
+    <copy todir="${tomcat.xreflect}"
           
file="${xreflect.directory}/sources/org/apache/tomcat/util/XReflectionIntrospectionUtils.java"
           overwrite="true"/>
     <!-- Delete our temporary compilation directory -->


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

Reply via email to