Add JRE path as parameter

This commit is contained in:
Antonin Delpeuch 2018-10-14 22:01:29 +01:00
parent 900d78e891
commit f66181327c

View File

@ -21,6 +21,7 @@
<webapp.dir>../main/webapp</webapp.dir> <webapp.dir>../main/webapp</webapp.dir>
<webapp.target>../main/target</webapp.target> <webapp.target>../main/target</webapp.target>
<icon.path>../graphics/icon/openrefine.icns</icon.path> <icon.path>../graphics/icon/openrefine.icns</icon.path>
<mac.jre.path>/opt/jre1.8.0_181.jre</mac.jre.path>
</properties> </properties>
<build> <build>
@ -144,7 +145,7 @@
<generateDiskImageFile>true</generateDiskImageFile> <generateDiskImageFile>true</generateDiskImageFile>
<diskImageFile>${project.build.directory}/${project.build.finalName}-mac-${project.version}.dmg</diskImageFile> <diskImageFile>${project.build.directory}/${project.build.finalName}-mac-${project.version}.dmg</diskImageFile>
<jvmVersion>1.8</jvmVersion> <jvmVersion>1.8</jvmVersion>
<jrePath>/opt/jre1.8.0_181.jre</jrePath> <jrePath>${mac.jre.path}</jrePath>
<jvmOptions> <jvmOptions>
<param>-Xms512M</param> <param>-Xms512M</param>
<param>-Xmx2048M</param> <param>-Xmx2048M</param>