Cleanup Mac packaging and increase RAM size for Windows and Mac ports

This commit is contained in:
Antonin Delpeuch 2018-10-14 21:01:20 +01:00
parent 410f20fd73
commit aeb008244b

View File

@ -110,8 +110,8 @@
<jre> <jre>
<minVersion>1.8.0</minVersion> <minVersion>1.8.0</minVersion>
<jdkPreference>preferJre</jdkPreference> <jdkPreference>preferJre</jdkPreference>
<initialHeapSize>256</initialHeapSize> <initialHeapSize>512</initialHeapSize>
<maxHeapSize>1024</maxHeapSize> <maxHeapSize>2048</maxHeapSize>
<opts> <opts>
<opt>-Djava.library.path=server/target/lib/native/windows</opt> <opt>-Djava.library.path=server/target/lib/native/windows</opt>
</opts> </opts>
@ -145,8 +145,8 @@
<jvmVersion>1.8</jvmVersion> <jvmVersion>1.8</jvmVersion>
<jrePath>/opt/jre1.8.0_181.jre</jrePath> <jrePath>/opt/jre1.8.0_181.jre</jrePath>
<jvmOptions> <jvmOptions>
<param>-Xms256M</param> <param>-Xms512M</param>
<param>-Xmx1024M</param> <param>-Xmx2048M</param>
<param>-Drefine.version=${project.version}</param> <param>-Drefine.version=${project.version}</param>
<param>-Drefine.webapp=$APP_ROOT/Contents/Resources/webapp</param> <param>-Drefine.webapp=$APP_ROOT/Contents/Resources/webapp</param>
</jvmOptions> </jvmOptions>
@ -168,7 +168,7 @@
<fileSet> <fileSet>
<directory>${rootdir}/server/target</directory> <directory>${rootdir}/server/target</directory>
<includes> <includes>
<include>openrefine-3.1-SNAPSHOT-server.jar</include> <include>openrefine-${version}-server.jar</include>
</includes> </includes>
<excludes> <excludes>
<exclude>**/lib/**</exclude> <exclude>**/lib/**</exclude>