Skip to content

Commit

Permalink
IDE-4950 improve installer to find libjli when java can't be detected…
Browse files Browse the repository at this point in the history
… on mac
  • Loading branch information
Ashley Yuan committed Mar 18, 2021
1 parent e83e09a commit 9a73e41
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,21 @@
<dirName>
<path>${java_executable}</path>
<variable>find_in_path</variable>
<ruleList>
<isFalse>
<value>${java_autodetected}</value>
</isFalse>
</ruleList>
</dirName>
<findFile>
<baseDirectory>${find_in_path}/../</baseDirectory>
<pattern>libjli.dylib</pattern>
<variable>libjli_path</variable>
<ruleList>
<isFalse>
<value>${java_autodetected}</value>
</isFalse>
</ruleList>
</findFile>
<addTextToFile>
<file>${installdir}/LiferayDeveloperStudio.app/Contents/Eclipse/DeveloperStudio.ini</file>
Expand Down

0 comments on commit 9a73e41

Please sign in to comment.