From d1d6bd9d26a950e31fdcc979eb2ae32edfcce900 Mon Sep 17 00:00:00 2001 From: Martin Lippert Date: Sat, 20 Apr 2019 12:25:28 +0200 Subject: [PATCH] added missing e4.12 product definition --- .../category.xml | 211 ++++++++++ .../org.springframework.boot.ide.product | 120 ++++++ .../p2.inf | 30 ++ .../pom.xml | 388 ++++++++++++++++++ .../spring-tool-suite-4-dmg-config-e4.12.json | 10 + 5 files changed, 759 insertions(+) create mode 100644 eclipse-distribution/org.springframework.boot.ide.product.e412/category.xml create mode 100644 eclipse-distribution/org.springframework.boot.ide.product.e412/org.springframework.boot.ide.product create mode 100644 eclipse-distribution/org.springframework.boot.ide.product.e412/p2.inf create mode 100644 eclipse-distribution/org.springframework.boot.ide.product.e412/pom.xml create mode 100644 eclipse-distribution/org.springframework.boot.ide.product.e412/spring-tool-suite-4-dmg-config-e4.12.json diff --git a/eclipse-distribution/org.springframework.boot.ide.product.e412/category.xml b/eclipse-distribution/org.springframework.boot.ide.product.e412/category.xml new file mode 100644 index 000000000..5373cae79 --- /dev/null +++ b/eclipse-distribution/org.springframework.boot.ide.product.e412/category.xml @@ -0,0 +1,211 @@ + + + + Spring Tool Suite 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/eclipse-distribution/org.springframework.boot.ide.product.e412/org.springframework.boot.ide.product b/eclipse-distribution/org.springframework.boot.ide.product.e412/org.springframework.boot.ide.product new file mode 100644 index 000000000..ad80282d3 --- /dev/null +++ b/eclipse-distribution/org.springframework.boot.ide.product.e412/org.springframework.boot.ide.product @@ -0,0 +1,120 @@ + + + + + + + + + -product org.springframework.boot.ide.branding.sts4 +--launcher.defaultAction openFile + + -Dosgi.requiredJavaVersion=1.8 +-Xms256m +-Xmx1024m +-XX:+UseG1GC +-XX:+UseStringDeduplication +--add-modules=ALL-SYSTEM + + + + -XstartOnFirstThread +-Dorg.eclipse.swt.internal.carbon.smallFonts -Xdock:icon=../Resources/sts4.icns + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/eclipse-distribution/org.springframework.boot.ide.product.e412/p2.inf b/eclipse-distribution/org.springframework.boot.ide.product.e412/p2.inf new file mode 100644 index 000000000..0e4c36737 --- /dev/null +++ b/eclipse-distribution/org.springframework.boot.ide.product.e412/p2.inf @@ -0,0 +1,30 @@ +instructions.configure=\ + org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:0,location:https${#58}//download.eclipse.org/releases/2019-06,name:2019-06);\ + org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:1,location:https${#58}//download.eclipse.org/releases/2019-06,name:2019-06);\ + org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:0,location:https${#58}//download.springsource.com/release/TOOLS/sts4/update/latest,name:Spring Tool Suite 4);\ + org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:1,location:https${#58}//download.springsource.com/release/TOOLS/sts4/update/latest,name:Spring Tool Suite 4);\ + org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:0,location:https${#58}//download.springsource.com/release/TOOLS/sts4-language-server-integrations,name:Spring Tools 4 Language Servers for Eclipse);\ + org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:1,location:https${#58}//download.springsource.com/release/TOOLS/sts4-language-server-integrations,name:Spring Tools 4 Language Servers for Eclipse);\ + org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(type:0,location:http${#58}//download.eclipse.org/releases/2019-06);\ + org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(type:1,location:http${#58}//download.eclipse.org/releases/2019-06);\ + org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(type:0,location:http${#58}//download.springsource.com/release/TOOLS/sts4/update/latest);\ + org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(type:1,location:http${#58}//download.springsource.com/release/TOOLS/sts4/update/latest);\ + org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(type:0,location:http${#58}//download.springsource.com/release/TOOLS/sts4-language-server-integrations);\ + org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(type:1,location:http${#58}//download.springsource.com/release/TOOLS/sts4-language-server-integrations);\ + org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/dropins); + +instructions.unconfigure=\ + org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(type:0,location:https${#58}//download.eclipse.org/releases/2019-06);\ + org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(type:1,location:https${#58}//download.eclipse.org/releases/2019-06);\ + org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(type:0,location:https${#58}//download.springsource.com/release/TOOLS/sts4/update/latest);\ + org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(type:1,location:https${#58}//download.springsource.com/release/TOOLS/sts4/update/latest);\ + org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(type:0,location:https${#58}//download.springsource.com/release/TOOLS/sts4-language-server-integrations);\ + org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(type:1,location:https${#58}//download.springsource.com/release/TOOLS/sts4-language-server-integrations); + + # Bug 530093: make sure we have latest version of a.jre.javase included with product + requires.3.namespace=org.eclipse.equinox.p2.iu + requires.3.name=a.jre.javase + requires.3.range=[9.0.0,9.0.0] + requires.4.namespace=org.eclipse.equinox.p2.iu + requires.4.name=config.a.jre.javase + requires.4.range=[9.0.0,9.0.0] diff --git a/eclipse-distribution/org.springframework.boot.ide.product.e412/pom.xml b/eclipse-distribution/org.springframework.boot.ide.product.e412/pom.xml new file mode 100644 index 000000000..e8a196d82 --- /dev/null +++ b/eclipse-distribution/org.springframework.boot.ide.product.e412/pom.xml @@ -0,0 +1,388 @@ + + + 4.0.0 + + + org.springframework.boot.ide + org.springframework.boot.ide + 4.2.2-SNAPSHOT + ../pom.xml + + + org.springframework.boot.ide.product + + eclipse-repository + + + ${accessKey} + ${secretKey} + + + + + + + org.apache.maven.plugins + maven-install-plugin + 2.5.2 + + + default-install + none + + + + + + org.eclipse.tycho + tycho-p2-repository-plugin + ${tycho-version} + + false + + + + + org.eclipse.tycho + tycho-p2-publisher-plugin + ${tycho-version} + + true + + + + + org.eclipse.tycho + target-platform-configuration + ${tycho-version} + + JavaSE-9 + + + + + org.eclipse.tycho + tycho-p2-director-plugin + ${tycho-version} + + + materialize-products + + materialize-products + + package + + + archive-products + + archive-products + + verify + + + + + + org.springframework.boot.ide.branding.sts4 + sts-${unqualifiedVersion}.${p2.qualifier} + + SpringToolSuite4.app + + spring-tool-suite-4-${unqualifiedVersion}.${p2.qualifier}-${dist.target} + + + + tar.gz + tar.gz + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.6.0 + + + package + + exec + + + java + + -jar + ${project.build.directory}/../../common/eclipse-distribution-license-file-generator.jar + ${project.build.directory}/products/org.springframework.boot.ide.branding.sts4/macosx/cocoa/x86_64/SpringToolSuite4.app/Contents/Eclipse/plugins/ + ${project.build.directory}/products/org.springframework.boot.ide.branding.sts4/macosx/cocoa/x86_64/SpringToolSuite4.app/Contents/Eclipse/open-source-licenses.txt + ${project.build.directory}/products/org.springframework.boot.ide.branding.sts4/linux/gtk/x86_64/sts-${unqualifiedVersion}.${p2.qualifier}/plugins/ + ${project.build.directory}/products/org.springframework.boot.ide.branding.sts4/linux/gtk/x86_64/sts-${unqualifiedVersion}.${p2.qualifier}/open-source-licenses.txt + ${project.build.directory}/products/org.springframework.boot.ide.branding.sts4/win32/win32/x86_64/sts-${unqualifiedVersion}.${p2.qualifier}/plugins/ + ${project.build.directory}/products/org.springframework.boot.ide.branding.sts4/win32/win32/x86_64/sts-${unqualifiedVersion}.${p2.qualifier}/open-source-licenses.txt + + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + 1.7 + + + + osx-app-signing + package + + ${skip.osx.signing} + + + + + + + + + + + + + + + + + run + + + + + osx-dmg-creation + verify + + + + + + + + + + + + + + run + + + + + osx-dmg-signing + verify + + ${skip.osx.signing} + + + + + + + + + + + + + + + + + + + run + + + + + upload-product-bundles + deploy + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + run + + + + + update-nightly-downloads + deploy + + ${skip.update-nightly-download-page} + + + + + + + + + + + + + + + + + + run + + + + + zip-sts-repository + install + + + + + + + + + + + + + + + + + + + + + + + run + + + + + upload-sts-repository + deploy + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + run + + + + + + + org.springframework.build + org.springframework.build.aws.ant + 3.1.0.RELEASE + + + net.java.dev.jets3t + jets3t + 0.8.1 + + + ant-contrib + ant-contrib + 20020829 + + + + + + + + diff --git a/eclipse-distribution/org.springframework.boot.ide.product.e412/spring-tool-suite-4-dmg-config-e4.12.json b/eclipse-distribution/org.springframework.boot.ide.product.e412/spring-tool-suite-4-dmg-config-e4.12.json new file mode 100644 index 000000000..c86b0023f --- /dev/null +++ b/eclipse-distribution/org.springframework.boot.ide.product.e412/spring-tool-suite-4-dmg-config-e4.12.json @@ -0,0 +1,10 @@ +{ + "title": "Spring Tool Suite 4", + "icon": "../org.springframework.boot.ide.branding/sts4.icns", + "contents": [ + { "x": 192, "y": 100, "type": "file", "path": "target/products/org.springframework.boot.ide.branding.sts4/macosx/cocoa/x86_64/SpringToolSuite4.app" }, + { "x": 448, "y": 100, "type": "link", "path": "/Applications" }, + { "x": 1000, "y": 2000, "type": "file", "path": "../org.springframework.boot.ide.branding/sts4.icns", "name": ".VolumeIcon.icns" } + ], + "format": "UDZO" +}