Skip to content

Commit

Permalink
Merge pull request #374 from simonjhy/IDE-5114
Browse files Browse the repository at this point in the history
IDE-5114 Adding a trusted Certificate for IDE and Dev Studio releases in MacOS
  • Loading branch information
simonjhy authored Nov 29, 2023
2 parents ee8fc3b + 896bb76 commit 9f06001
Show file tree
Hide file tree
Showing 12 changed files with 50 additions and 17 deletions.
2 changes: 1 addition & 1 deletion build/installers/components/run-java-jpm-win.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<runProgram>
<program>${java_executable}</program>
<programArguments> -jar "${installdir}${platform_path_separator}biz.aQute.jpm.run.jar" -u -b "${userHome}" -h "${jpmSettingPath}" -B "${jpmSystemPath}" init --jvmlocation "${java_bin_dir}"</programArguments>
<programArguments>${extraArgumentForJdk17} -jar "${installdir}${platform_path_separator}biz.aQute.jpm.run.jar" -u -b "${userHome}" -h "${jpmSettingPath}" -B "${jpmSystemPath}" init --jvmlocation "${java_bin_dir}"</programArguments>
<ruleList>
<platformTest>
<type>windows</type>
Expand Down
4 changes: 2 additions & 2 deletions build/installers/components/run-java-jpm.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<runProgram>
<program>${java_executable}</program>
<programArguments> -jar "${installdir}${platform_path_separator}biz.aQute.jpm.run.jar" -u -b "${userHome}" -h "${jpmSettingPath}" -B "${jpmSystemPath}" init</programArguments>
<programArguments>${extraArgumentForJdk17} -jar "${installdir}${platform_path_separator}biz.aQute.jpm.run.jar" -u -b "${userHome}" -h "${jpmSettingPath}" -B "${jpmSystemPath}" init</programArguments>
<ruleList>
<platformTest>
<negate>1</negate>
<type>windows</type>
</platformTest>
</ruleList>
</runProgram>
</runProgram>
2 changes: 1 addition & 1 deletion build/installers/components/run-jpm-install-blade-win.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<runProgram>
<program>${java_executable}</program>
<programArguments> -jar "${installdir}${platform_path_separator}biz.aQute.jpm.run.jar" install --jvmlocation "${java_bin_dir}" -fl "${bladeFilePath}"</programArguments>
<programArguments>${extraArgumentForJdk17} -jar "${installdir}${platform_path_separator}biz.aQute.jpm.run.jar" install --jvmlocation "${java_bin_dir}" -fl "${bladeFilePath}"</programArguments>
<ruleList>
<platformTest>
<type>windows</type>
Expand Down
3 changes: 2 additions & 1 deletion build/installers/components/run-jpm-install-blade.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<runProgram>
<program>${java_executable}</program>
<programArguments> -jar "${installdir}${platform_path_separator}biz.aQute.jpm.run.jar" install -fl "${bladeFilePath}"</programArguments>
<programArguments>${extraArgumentForJdk17} -jar "${installdir}${platform_path_separator}biz.aQute.jpm.run.jar" install -fl "${bladeFilePath}"</programArguments>
<ruleList>
<platformTest>
<negate>1</negate>
<type>windows</type>
</platformTest>
</ruleList>
</runProgram>

4 changes: 2 additions & 2 deletions build/installers/components/run-jpm-install-bnd-win.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<runProgram>
<program>${java_executable}</program>
<programArguments> -jar "${installdir}${platform_path_separator}biz.aQute.jpm.run.jar" install --jvmlocation "${java_bin_dir}" -fl "${bndFilePath}"</programArguments>
<programArguments>${extraArgumentForJdk17} -jar "${installdir}${platform_path_separator}biz.aQute.jpm.run.jar" install --jvmlocation "${java_bin_dir}" -fl "${bndFilePath}"</programArguments>
<ruleList>
<platformTest>
<type>windows</type>
</platformTest>
</platformTest>
</ruleList>
</runProgram>
6 changes: 3 additions & 3 deletions build/installers/components/run-jpm-install-bnd.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<runProgram>
<program>${java_executable}</program>
<programArguments> -jar "${installdir}${platform_path_separator}biz.aQute.jpm.run.jar" install -fl "${bndFilePath}"</programArguments>
<programArguments>${extraArgumentForJdk17} -jar "${installdir}${platform_path_separator}biz.aQute.jpm.run.jar" install -fl "${bndFilePath}"</programArguments>
<ruleList>
<platformTest>
<negate>1</negate>
<type>windows</type>
</platformTest>
</platformTest>
</ruleList>
</runProgram>
</runProgram>
2 changes: 1 addition & 1 deletion build/installers/components/run-jpm-install-gw-win.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<runProgram>
<program>${java_executable}</program>
<programArguments> -jar "${installdir}${platform_path_separator}biz.aQute.jpm.run.jar" install --jvmlocation "${java_bin_dir}" -fl "${gwFilePath}"</programArguments>
<programArguments>${extraArgumentForJdk17} -jar "${installdir}${platform_path_separator}biz.aQute.jpm.run.jar" install --jvmlocation "${java_bin_dir}" -fl "${gwFilePath}"</programArguments>
<ruleList>
<platformTest>
<type>windows</type>
Expand Down
6 changes: 3 additions & 3 deletions build/installers/components/run-jpm-install-gw.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<runProgram>
<program>${java_executable}</program>
<programArguments> -jar "${installdir}${platform_path_separator}biz.aQute.jpm.run.jar" install -fl "${gwFilePath}"</programArguments>
<programArguments>${extraArgumentForJdk17} -jar "${installdir}${platform_path_separator}biz.aQute.jpm.run.jar" install -fl "${gwFilePath}"</programArguments>
<ruleList>
<platformTest>
<negate>1</negate>
<type>windows</type>
</platformTest>
</platformTest>
</ruleList>
</runProgram>
</runProgram>
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,21 @@ ${java_executable}
</if>
</elseActionList>
</if>
<if>
<actionList>
<setInstallerVariable name="extraArgumentForJdk17" value="--add-opens java.prefs/java.util.prefs=ALL-UNNAMED"/>
</actionList>
<conditionRuleList>
<compareText>
<logic>contains</logic>
<text>${java_version}</text>
<value>17</value>
</compareText>
</conditionRuleList>
<elseActionList>
<setInstallerVariable name="extraArgumentForJdk17" value=""/>
</elseActionList>
</if>
<if>
<actionList>
<include>
Expand Down Expand Up @@ -794,8 +809,10 @@ ${java_executable}
<startMenuGroupName></startMenuGroupName>
<vendor>Liferay, Inc</vendor>
<width>600</width>
<!-- <windowsSigningPkcs12File>${build_project_directory}/liferay.pfx</windowsSigningPkcs12File>
<windowsSigningPkcs12Password>${env(WINDOWS_SIGNING_PASSWORD)}</windowsSigningPkcs12Password> -->
<!-- windowsSigningPkcs12File>${build_project_directory}/liferay.pfx</windowsSigningPkcs12File>
<windowsSigningPkcs12Password>${env(WINDOWS_SIGNING_PASSWORD)}</windowsSigningPkcs12Password>
<<osxSigningPkcs12File>${build_project_directory}/osx-signing.p12</osxSigningPkcs12File>
<osxSigningPkcs12Password>${env(OSX_SIGNING_PASSWORD)}</osxSigningPkcs12Password>-->
<parameterList>
<fileParameter>
<name>java_executable</name>
Expand Down
Binary file not shown.
15 changes: 15 additions & 0 deletions build/installers/liferay-workspace/liferay-workspace.xml
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,21 @@
<path>${java_executable}/..</path>
<variable>java_bin_dir</variable>
</pathManipulation>
<if>
<actionList>
<setInstallerVariable name="extraArgumentForJdk17" value="--add-opens java.prefs/java.util.prefs=ALL-UNNAMED"/>
</actionList>
<conditionRuleList>
<compareText>
<logic>contains</logic>
<text>${java_version}</text>
<value>17</value>
</compareText>
</conditionRuleList>
<elseActionList>
<setInstallerVariable name="extraArgumentForJdk17" value=""/>
</elseActionList>
</if>
<include>
<file>../components/run-java-jpm-win.xml</file>
</include>
Expand Down
2 changes: 1 addition & 1 deletion build/parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<upgrade-plan-content-zip-url>https://us-east-1.linodeobjects.com/devtools-s3.liferay.com/liferay-ide-files/docs/code-upgrade-docs-20210312.zip</upgrade-plan-content-zip-url>
<upgrade-plan-content-zip-md5>c4bce64c362ecffcce300f31e88b2e63</upgrade-plan-content-zip-md5>
<bndtools-site>https://bndtools.jfrog.io/artifactory/update-latest/org/bndtools/org.bndtools.p2/7.0.0/org.bndtools.p2-7.0.0.jar!</bndtools-site>
<eclipse-site>https://download.eclipse.org/releases/2023-12/202311171000/</eclipse-site>
<eclipse-site>https://download.eclipse.org/releases/2023-12/202311241000/</eclipse-site>
<eclipse-xml-search-site>https://us-east-1.linodeobjects.com/devtools-s3.liferay.com/eclipse/eclipse-wtp-xml-search/</eclipse-xml-search-site>
<gradle-site>https://download.eclipse.org/buildship/updates/e427/releases/3.x/3.1.8.v20231117-1658/</gradle-site>
<liferay-ide-swtbot-testing-site>https://files.liferay.org.es/staged/public-files/liferay-ide/unstable/build/com.liferay.ide.testing-repository/target/repository/</liferay-ide-swtbot-testing-site>
Expand Down

0 comments on commit 9f06001

Please sign in to comment.