Skip to content

Commit

Permalink
Update project to be buildable from Maven (#428)
Browse files Browse the repository at this point in the history
Updates the plugin to be cleanly buildable from maven, and updated to
support recent versions of both Eclipse and GWT. This is an
uncharacteristically large commit, owing to the fact that the
repository has been out of date for a while in several regards.

Co-authored-by: Stanislav Spiridonov <[email protected]>
Co-authored-by: Luca Piccarreta <[email protected]>

Fixes #407 
Fixes #414
  • Loading branch information
niloc132 authored Jan 30, 2023
1 parent 0aa0e6c commit e8a933a
Show file tree
Hide file tree
Showing 114 changed files with 1,078 additions and 609 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ gwt-2.8.1/
gwt-2.8.2/
gwt-2.7.0.zip
gwt-2.8*.zip
*.jar
gwt-2.9*.zip
gwt-2.9.0/

Expand Down
36 changes: 36 additions & 0 deletions eclipse/2022-09/gwt-eclipse-2022-09.target
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde?>
<!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl --><target name="GWT Eclipse Plugin for 2022-09" sequenceNumber="1664701810">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.license.feature.group" version="2.0.2.v20181016-2210"/>
<repository location="https://download.eclipse.org/cbi/updates/license"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.sdk.feature.group" version="4.25.0.v20220831-1800"/>
<unit id="org.eclipse.jdt.feature.group" version="3.18.1300.v20220831-1800"/>
<unit id="org.eclipse.m2e.feature.feature.group" version="2.0.4.20220904-1703"/>
<unit id="org.eclipse.m2e.sdk.feature.feature.group" version="2.0.4.20220904-1703"/>
<unit id="org.eclipse.m2e.wtp.feature.feature.group" version="1.5.2.20220906-1452"/>
<unit id="org.eclipse.m2e.wtp.sdk.feature.feature.group" version="1.5.2.20220906-1452"/>
<unit id="org.eclipse.jpt.jpa.feature.feature.group" version="3.6.1.v202204060305"/>
<unit id="org.eclipse.datatools.sdk.feature.feature.group" version="1.14.102.201911250848"/>
<unit id="org.eclipse.swtbot.eclipse.feature.group" version="4.0.0.202206011610"/>
<unit id="org.eclipse.jetty.http" version="10.0.11"/>
<unit id="org.eclipse.jetty.servlet" version="10.0.11"/>
<unit id="org.eclipse.jetty.server" version="10.0.11"/>
<unit id="org.eclipse.jetty.util" version="10.0.11"/>
<repository location="https://download.eclipse.org/releases/2022-09/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.jst.web_sdk.feature.feature.group" version="3.27.0.v202206160204"/>
<unit id="org.eclipse.jst.server_sdk.feature.feature.group" version="3.4.600.v202206110154"/>
<unit id="org.eclipse.jst.common.fproj.enablement.jdt.sdk.feature.group" version="3.27.0.v202208260526"/>
<unit id="org.eclipse.wst.common.fproj.sdk.feature.group" version="3.7.2.v202007142017"/>
<unit id="org.eclipse.wst.web_sdk.feature.feature.group" version="3.27.0.v202206160209"/>
<unit id="org.eclipse.jst.enterprise_sdk.feature.feature.group" version="3.27.0.v202206160204"/>
<unit id="org.eclipse.wst.server_adapters.sdk.feature.feature.group" version="3.2.700.v201910252115"/>
<repository location="https://download.eclipse.org/webtools/repository/2022-09/"/>
</location>
</locations>
</target>
48 changes: 48 additions & 0 deletions eclipse/2022-09/gwt-eclipse-2022-09.tpd
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/*
* Target Platform Definition created using Mikael Barbero's TPD editor
* <https://github.com/mbarbero/fr.obeo.releng.targetplatform/>
*
* If you make changes to this file, either:
*
* * Right-click in the editor and choose 'Create Target Definition File'
* to update the corresponding .target file.
* * Right-lick in the editor and choose 'Set as Target Platform'
* to update your IDE's target platform (regenerates the .target too)
*/
target "GWT Eclipse Plugin for 2022-09" with source requirements

location "https://download.eclipse.org/cbi/updates/license" {
org.eclipse.license.feature.group
}

location "https://download.eclipse.org/releases/2022-09/" {
org.eclipse.sdk.feature.group
org.eclipse.jdt.feature.group
org.eclipse.m2e.feature.feature.group
org.eclipse.m2e.sdk.feature.feature.group
org.eclipse.m2e.wtp.feature.feature.group
org.eclipse.m2e.wtp.sdk.feature.feature.group
org.eclipse.jpt.jpa.feature.feature.group
org.eclipse.datatools.sdk.feature.feature.group
org.eclipse.swtbot.eclipse.feature.group

org.eclipse.jetty.http
org.eclipse.jetty.servlet
org.eclipse.jetty.server
org.eclipse.jetty.util
}

// WTP SDKs aren't exposed through the main release links
// https://ci.eclipse.org/webtools/job/WTP-Publish-Repo/
location "https://download.eclipse.org/webtools/repository/2022-09/" {
org.eclipse.jst.web_sdk.feature.feature.group
org.eclipse.jst.server_sdk.feature.feature.group
org.eclipse.jst.common.fproj.enablement.jdt.sdk.feature.group
org.eclipse.wst.common.fproj.sdk.feature.group
org.eclipse.wst.web_sdk.feature.feature.group
org.eclipse.jst.enterprise_sdk.feature.feature.group
org.eclipse.wst.server_adapters.sdk.feature.feature.group
}



15 changes: 15 additions & 0 deletions eclipse/2022-09/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.gwtplugins.eclipse</groupId>
<artifactId>trunk</artifactId>
<version>3.0.0-SNAPSHOT</version>
<relativePath>../../</relativePath>
</parent>
<artifactId>gwt-eclipse-2022-09</artifactId>
<version>4.7.0-SNAPSHOT</version>
<packaging>eclipse-target-definition</packaging>
</project>
1 change: 0 additions & 1 deletion eclipse/ide-target-platform/category.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<feature id="org.eclipse.jdt" version="0.0.0"/>
<feature id="org.eclipse.m2e.feature" version="0.0.0"/>
<feature id="org.eclipse.m2e.wtp.feature" version="0.0.0"/>
<feature id="org.eclipse.mylyn.commons" version="0.0.0"/>
<feature id="org.eclipse.jpt.jpa.feature" version="0.0.0"/>
<feature id="org.eclipse.datatools.sdk.feature" version="0.0.0"/>
<feature id="org.eclipse.swtbot.eclipse" version="0.0.0"/>
Expand Down
108 changes: 54 additions & 54 deletions eclipse/mars/gwt-eclipse-mars.target
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde?>
<!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
<target name="GWT Eclipse Plugin Mars" sequenceNumber="1607124253">
<locations>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.license.feature.group" version="2.0.2.v20181016-2210"/>
<repository location="http://download.eclipse.org/cbi/updates/license"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.sdk.feature.group" version="4.5.2.v20160212-1500"/>
<unit id="org.eclipse.jdt.feature.group" version="3.11.2.v20160212-1500"/>
<unit id="org.eclipse.m2e.feature.feature.group" version="1.6.2.20150902-0002"/>
<unit id="org.eclipse.m2e.wtp.feature.feature.group" version="1.2.1.20150819-2220"/>
<unit id="org.eclipse.mylyn.commons.feature.group" version="3.18.0.v20151116-1930"/>
<unit id="org.eclipse.jpt.jpa.feature.feature.group" version="3.4.2.v201512181609"/>
<unit id="org.eclipse.datatools.sdk.feature.feature.group" version="1.12.0.v201406061321-7PB21FEpPZQXdcX0z-_yMM0Hfz0w"/>
<unit id="org.eclipse.swtbot.eclipse.feature.group" version="2.3.0.201506081302"/>
<unit id="org.eclipse.jetty.http" version="9.2.13.v20150730"/>
<unit id="org.eclipse.jetty.servlet" version="9.2.13.v20150730"/>
<unit id="org.eclipse.jetty.server" version="9.2.13.v20150730"/>
<unit id="org.eclipse.jetty.util" version="9.2.13.v20150730"/>
<repository location="http://download.eclipse.org/releases/mars/"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.jst.web_sdk.feature.feature.group" version="3.7.1.v201512021921"/>
<unit id="org.eclipse.jst.server_sdk.feature.feature.group" version="3.4.200.v201512031711"/>
<unit id="org.eclipse.jst.common.fproj.enablement.jdt.sdk.feature.group" version="3.6.3.v201501141810"/>
<unit id="org.eclipse.wst.common.fproj.sdk.feature.group" version="3.7.0.v201505072140"/>
<unit id="org.eclipse.wst.web_sdk.feature.feature.group" version="3.7.1.v201602111638"/>
<unit id="org.eclipse.wst.server_adapters.sdk.feature.feature.group" version="3.2.500.v201508271522"/>
<unit id="org.eclipse.jst.enterprise_ui.feature.feature.group" version="3.7.0.v201602161345"/>
<unit id="org.eclipse.jst.web_ui.feature.feature.group" version="3.7.1.v201512021921"/>
<unit id="org.eclipse.wst.web_ui.feature.feature.group" version="3.7.1.v201602111638"/>
<unit id="org.eclipse.jst.server_adapters.feature.feature.group" version="3.2.400.v201503102136"/>
<unit id="org.eclipse.jst.server_adapters.ext.feature.feature.group" version="3.3.401.v201508232356"/>
<unit id="org.eclipse.jst.server_ui.feature.feature.group" version="3.4.200.v201512031711"/>
<unit id="org.eclipse.wst.server_adapters.feature.feature.group" version="3.2.402.v201505042029"/>
<repository location="http://download.eclipse.org/webtools/repository/mars/"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.hamcrest" version="1.1.0.v20090501071000"/>
<repository location="http://download.eclipse.org/tools/orbit/downloads/drops/R20160221192158/repository/"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="com.google.cloud.tools.eclipse.suite.feature.feature.group" version="1.8.4.202002191941"/>
<repository location="https://dl.google.com/eclipse/google-cloud-eclipse/stable/"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="com.github.sdbg.feature.feature.group" version="1.0.10.201610081555"/>
<repository location="http://sdbg.github.io/p2/"/>
</location>
</locations>
</target>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde?>
<!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
<target name="GWT Eclipse Plugin Mars" sequenceNumber="1656237605">
<locations>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.license.feature.group" version="2.0.2.v20181016-2210"/>
<repository location="http://download.eclipse.org/cbi/updates/license"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.sdk.feature.group" version="4.5.2.v20160212-1500"/>
<unit id="org.eclipse.jdt.feature.group" version="3.11.2.v20160212-1500"/>
<unit id="org.eclipse.m2e.feature.feature.group" version="1.6.2.20150902-0002"/>
<unit id="org.eclipse.m2e.wtp.feature.feature.group" version="1.2.1.20150819-2220"/>
<unit id="org.eclipse.mylyn.commons.feature.group" version="3.18.0.v20151116-1930"/>
<unit id="org.eclipse.jpt.jpa.feature.feature.group" version="3.4.2.v201512181609"/>
<unit id="org.eclipse.datatools.sdk.feature.feature.group" version="1.12.0.v201406061321-7PB21FEpPZQXdcX0z-_yMM0Hfz0w"/>
<unit id="org.eclipse.swtbot.eclipse.feature.group" version="2.3.0.201506081302"/>
<unit id="org.eclipse.jetty.http" version="9.2.13.v20150730"/>
<unit id="org.eclipse.jetty.servlet" version="9.2.13.v20150730"/>
<unit id="org.eclipse.jetty.server" version="9.2.13.v20150730"/>
<unit id="org.eclipse.jetty.util" version="9.2.13.v20150730"/>
<repository location="http://download.eclipse.org/releases/mars/"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.jst.web_sdk.feature.feature.group" version="3.7.1.v201512021921"/>
<unit id="org.eclipse.jst.server_sdk.feature.feature.group" version="3.4.200.v201512031711"/>
<unit id="org.eclipse.jst.common.fproj.enablement.jdt.sdk.feature.group" version="3.6.3.v201501141810"/>
<unit id="org.eclipse.wst.common.fproj.sdk.feature.group" version="3.7.0.v201505072140"/>
<unit id="org.eclipse.wst.web_sdk.feature.feature.group" version="3.7.1.v201602111638"/>
<unit id="org.eclipse.wst.server_adapters.sdk.feature.feature.group" version="3.2.500.v201508271522"/>
<unit id="org.eclipse.jst.enterprise_ui.feature.feature.group" version="3.7.0.v201602161345"/>
<unit id="org.eclipse.jst.web_ui.feature.feature.group" version="3.7.1.v201512021921"/>
<unit id="org.eclipse.wst.web_ui.feature.feature.group" version="3.7.1.v201602111638"/>
<unit id="org.eclipse.jst.server_adapters.feature.feature.group" version="3.2.400.v201503102136"/>
<unit id="org.eclipse.jst.server_adapters.ext.feature.feature.group" version="3.3.401.v201508232356"/>
<unit id="org.eclipse.jst.server_ui.feature.feature.group" version="3.4.200.v201512031711"/>
<unit id="org.eclipse.wst.server_adapters.feature.feature.group" version="3.2.402.v201505042029"/>
<repository location="http://download.eclipse.org/webtools/repository/mars/"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.hamcrest" version="1.1.0.v20090501071000"/>
<repository location="http://download.eclipse.org/tools/orbit/downloads/drops/R20160221192158/repository/"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="com.google.cloud.tools.eclipse.suite.feature.feature.group" version="1.8.5.202108061424"/>
<repository location="https://dl.google.com/eclipse/google-cloud-eclipse/stable/"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="com.github.sdbg.feature.feature.group" version="1.0.10.201610081555"/>
<repository location="http://sdbg.github.io/p2/"/>
</location>
</locations>
</target>
Loading

0 comments on commit e8a933a

Please sign in to comment.