You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2021/01/27 10:11:10 UTC

[tomcat] branch 9.0.x updated: Move storage location for generated reflectionless code

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

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new c61053e  Move storage location for generated reflectionless code
c61053e is described below

commit c61053e7b5fdeb0ad5d89676d41a3a687aeff781
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 a7fad4d..57bda80 100644
--- a/build.xml
+++ b/build.xml
@@ -90,6 +90,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"/>
 
   <!-- Servlet 4.0 spec requires Java 8+ -->
   <property name="compile.source" value="8"/>
@@ -1737,7 +1739,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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org