Skip to content

Commit

Permalink
Merge branch 'liferay:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben-pulido authored Sep 19, 2024
2 parents b758401 + 975aeee commit 990438a
Show file tree
Hide file tree
Showing 2,117 changed files with 154,790 additions and 35,553 deletions.
1 change: 0 additions & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@
<classpathentry kind="lib" path="lib/portal/spring-web.jar"/>
<classpathentry kind="lib" path="lib/portal/stax-ex.jar"/>
<classpathentry kind="lib" path="lib/portal/transaction.jar"/>
<classpathentry kind="lib" path="lib/portal/wstx.jar"/>
<classpathentry kind="lib" path="lib/portal/xercesImpl.jar"/>
<classpathentry kind="lib" path="lib/portal/xml-apis.jar"/>
<classpathentry kind="output" path="bin"/>
Expand Down
2 changes: 2 additions & 0 deletions build-common-java.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@
encoding="${javac.encoding}"
includeAntRuntime="false"
nowarn="${javac.nowarn}"
source="${ant.build.javac.source}"
srcdir="${javac.srcdir}"
target="${ant.build.javac.target}"
/>

<echo file="${javac.destdir}/.touch"></echo>
Expand Down
25 changes: 6 additions & 19 deletions build-common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -300,27 +300,10 @@ Error-Prone was automatically installed. Please rerun your task.
</then>
</if>

<property name="ant.options.add.opens" value="--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-opens=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=jdk.zipfs/jdk.nio.zipfs=ALL-UNNAMED" />

<fail message=".${line.separator}Please update the environment variable ANT_OPTS to open packages for deep reflection${line.separator}&quot;${ant.options.add.opens}&quot;.">
<condition>
<and>
<not>
<equals arg1="${java.specification.version}" arg2="1.8" />
</not>
<not>
<contains string="${env.ANT_OPTS}" substring="${ant.options.add.opens}" />
</not>
</and>
</condition>
</fail>

<property name="ant.options.jvm.memory" value="-Xmx2560m" />

<fail message=".${line.separator}Please update the environment variable ANT_OPTS to allocate extra memory for the JVM${line.separator}&quot;${ant.options.jvm.memory}&quot;.">
<fail message=".${line.separator}Please set the environment variable ANT_OPTS to the recommended value of${line.separator}&quot;-Xmx2560m&quot;.">
<condition>
<not>
<contains string="${env.ANT_OPTS}" substring="-Xmx" />
<isset property="env.ANT_OPTS" />
</not>
</condition>
</fail>
Expand Down Expand Up @@ -459,7 +442,9 @@ information.
encoding="${javac.encoding}"
includeAntRuntime="false"
nowarn="${javac.nowarn}"
source="${ant.build.javac.source}"
srcdir="test/@{test.type}"
target="${ant.build.javac.target}"
/>
</then>
</if>
Expand Down Expand Up @@ -2162,6 +2147,8 @@ rerun your task.
<entry key="database.jdbc.drivers.url" value="${test.jdbc.drivers.url}" />
<entry key="database.jdbc.oracle.driver" value="${jdbc.oracle.driver}" />
<entry key="database.oracle.version" value="${database.oracle.version}" />
<entry if:set="build.java.version.override" key="java.version.override" unless:blank="${build.java.version.override}" value="${build.java.version.override}" />
<entry if:set="build.java.version.override.include.dirs" key="java.version.override.include.dirs" unless:blank="${build.java.version.override.include.dirs}" value="${build.java.version.override.include.dirs}" />
<entry if:set="build.java.version.source.compatibility" key="java.version.source.compatibility" unless:blank="${build.java.version.source.compatibility}" value="${build.java.version.source.compatibility}" />
<entry if:set="build.java.version.target.compatibility" key="java.version.target.compatibility" unless:blank="${build.java.version.target.compatibility}" value="${build.java.version.target.compatibility}" />
<entry if:set="junit.jvm.override" key="org.gradle.java.installations.paths" unless:blank="${junit.jvm.override}" value="${java.installation.paths.override}" />
Expand Down
Loading

0 comments on commit 990438a

Please sign in to comment.