-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #373 from simonjhy/IDE-5116
IDE-5116 upgrade IDE base eclipse jee version to 202312
- Loading branch information
Showing
680 changed files
with
3,662 additions
and
11,824 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
.apt_generated/ | ||
.resources/ | ||
.springBeans | ||
.tycho-consumer-pom.xml | ||
*.swp | ||
hs_err_pid*.log | ||
bin/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
build/com.liferay.ide-repository/src/main/assembly/RemoveUnusedJstujLib.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
def basedir = project.basedir.canonicalPath | ||
def targetDir = basedir + "/target/" | ||
def jarPrefixToRemove = "org.eclipse.justj.openjdk.hotspot.jre.full" | ||
|
||
def updateSiteZip = new File(targetDir).listFiles().find { it.name.startsWith("liferay-ide-updatesite") && it.name.endsWith(".zip") } | ||
|
||
if (updateSiteZip) { | ||
def tempDir = new File(targetDir, "temp-update-site") | ||
|
||
tempDir.mkdir() | ||
|
||
try { | ||
ant.unzip(src: updateSiteZip, dest: tempDir) | ||
|
||
def pluginsDir = new File(tempDir, "plugins") | ||
|
||
pluginsDir.listFiles().each { file -> | ||
if (file.isFile() && file.getName().startsWith(jarPrefixToRemove)) { | ||
if (file.delete()) { | ||
println "Removed: ${file.getName()}" | ||
} else { | ||
println "Failed to remove: ${file.getName()}" | ||
} | ||
} | ||
} | ||
|
||
updateSiteZip.delete() | ||
|
||
ant.zip(destfile: updateSiteZip, basedir: tempDir, update: true) | ||
} | ||
catch(Exception ex){ | ||
} | ||
finally { | ||
|
||
ant.delete(dir: tempDir) | ||
} | ||
} else { | ||
println "Update site zip file not found." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.