details:   https://code.openbravo.com/erp/devel/pi/rev/349c4b630c6c
changeset: 35695:349c4b630c6c
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Fri Apr 19 08:38:44 2019 +0200
summary:   fixes 40649: no need to open modules for reflection in build tasks

  Reverted changeset done for #39372 as after updating jaxb this is no
  longer needed.

diffstat:

 build.xml     |  5 -----
 src/build.xml |  1 -
 2 files changed, 0 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r 298602067263 -r 349c4b630c6c build.xml
--- a/build.xml Thu Apr 18 15:42:05 2019 +0200
+++ b/build.xml Fri Apr 19 08:38:44 2019 +0200
@@ -108,10 +108,6 @@
       </or>
     </not>
   </condition>
-  
-  <condition property="jvm.arg.line" value="" else="--add-opens 
java.base/java.lang=ALL-UNNAMED">
-    <equals arg1="${ant.java.version}" arg2="1.8"/>
-  </condition>
 
   <condition property="calculate.core.rev">
    <istrue value="${calculate.core.revision}"/>
@@ -772,7 +768,6 @@
   <target name="apply.module" depends="compile.apply.module">
     <java classname="org.openbravo.erpCommon.modules.ApplyModuleTask" 
fork="true" maxmemory="${build.maxmemory}" failonerror="true">
       <arg line="'${base.src}' '${friendlyWarnings}' '${forceRefData}'" />
-      <jvmarg line="${jvm.arg.line}" />
       <classpath refid="apply.module.runtime.classpath" />
     </java>
    <delete includeEmptyDirs="true"  dir="${build.apply.module}" />
diff -r 298602067263 -r 349c4b630c6c src/build.xml
--- a/src/build.xml     Thu Apr 18 15:42:05 2019 +0200
+++ b/src/build.xml     Fri Apr 19 08:38:44 2019 +0200
@@ -212,7 +212,6 @@
   <target name="generate.entities.quick" depends="compile.src.gen">
     <java classname="org.openbravo.base.gen.GenerateEntitiesTask" fork="yes" 
jvm="${env.JAVA_HOME}/bin/java" maxmemory="${build.maxmemory}" 
failonerror="true">
       <arg line="'${base.src}' '${friendlyWarnings}'" />
-      <jvmarg line="${jvm.arg.line}" />
       <classpath refid="project.class.path" />
       <syspropertyset>
          <propertyref name="java.security.egd" />


_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to