-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve target platform and update site management (#293)
* improve targetplatform and update site management - use https in updatesite when possible - add tpd new version * reintroduce the use of tpd dsl file as source for targetplatform * use tpd as source for the gemoc_studio_dev.target
- Loading branch information
Showing
9 changed files
with
367 additions
and
2,044 deletions.
There are no files selected for viewing
25 changes: 24 additions & 1 deletion
25
gemoc_studio/releng/org.eclipse.gemoc.gemoc_studio.targetplatform/README.md
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 |
---|---|---|
@@ -1,4 +1,27 @@ | ||
Please install `m2e PDE integration` feature in order to correctly edit the target file (in order to open the dependecies coming from maven central) | ||
|
||
# Editing the target platform | ||
|
||
|
||
we both need m2e PDE integration and targetplatform-dsl to correctly edit these files | ||
|
||
|
||
## m2e PDE | ||
|
||
Please install `m2e PDE integration` feature in order to correctly edit the target file (in order to open the dependencies coming from maven central) | ||
(this feature is available in the http://download.eclipse.org/releases/2022-06 update site ) | ||
|
||
|
||
## targetplatform-dsl | ||
2/ Please install TP DSL to edit the `gemoc_studio.tpd` file | ||
|
||
Source/User guide: | ||
https://github.com/eclipse-cbi/targetplatform-dsl | ||
|
||
Update-site: | ||
https://download.eclipse.org/cbi/updates/tpd/nightly/ | ||
|
||
Never edit the `gemoc_studio.target` directly, generate it from the `gemoc_studio.tpd` (right-click on the file -> Create Target Definition File) | ||
|
||
Optional: you should be able to use the `update_target.sh` script to achieve the same headless | ||
|
||
|
4 changes: 3 additions & 1 deletion
4
...udio/releng/org.eclipse.gemoc.gemoc_studio.targetplatform/dev_version/README.md
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
This target platform uses GEMOC nightly update site. | ||
|
||
This allows to build some GEMOC components without opening all the plugins in your workspace | ||
This allows to build some GEMOC components without opening all the plugins in your workspace | ||
|
||
Edit the `.tpd` file then generate the `.target` file from it. |
1,919 changes: 60 additions & 1,859 deletions
1,919
.../releng/org.eclipse.gemoc.gemoc_studio.targetplatform/dev_version/gemoc_studio_dev.target
Large diffs are not rendered by default.
Oops, something went wrong.
68 changes: 68 additions & 0 deletions
68
...dio/releng/org.eclipse.gemoc.gemoc_studio.targetplatform/dev_version/gemoc_studio_dev.tpd
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,68 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2022 Inria | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* Contributors: see AUTHORS file | ||
*******************************************************************************/ | ||
target "GEMOCStudio Target platform" | ||
|
||
with source requirements | ||
environment JavaSE-11 | ||
|
||
location eclipse "https://download.eclipse.org/releases/2022-06" { | ||
// features | ||
|
||
// individual plugins | ||
|
||
} | ||
|
||
|
||
location gemoc "https://download.eclipse.org/gemoc/updates/nightly/" { | ||
org.eclipse.gemoc.gemoc_studio.additions.feature.feature.group | ||
org.eclipse.gemoc.gemoc_studio.branding.feature.feature.group | ||
org.eclipse.gemoc.gemoc_studio.headless.feature.feature.group | ||
} | ||
|
||
maven MavenDependencies scope=compile,test dependencyDepth=infinite missingManifest=generate includeSources { | ||
dependency { | ||
groupId="org.eclipse.jetty.osgi" | ||
artifactId="jetty-osgi-boot" | ||
version="10.0.6" | ||
} | ||
dependency { | ||
groupId="org.apache.aries.spifly" | ||
artifactId="org.apache.aries.spifly.dynamic.bundle" | ||
version="1.3.4" | ||
} | ||
dependency { | ||
groupId="com.ibm.icu" | ||
artifactId="icu4j" | ||
version="70.1" | ||
} | ||
dependency { | ||
groupId="javax.servlet" | ||
artifactId="javax.servlet-api" | ||
version="3.1.0" | ||
} | ||
dependency { | ||
groupId="org.eclipse.jetty.websocket" | ||
artifactId="websocket-javax-server" | ||
version="10.0.6" | ||
} | ||
dependency { | ||
groupId="org.eclipse.jetty.toolchain" | ||
artifactId="jetty-javax-websocket-api" | ||
version="1.1.2" | ||
} | ||
dependency { | ||
groupId="org.mapstruct" | ||
artifactId="mapstruct" | ||
version="1.4.2.Final" | ||
} | ||
} | ||
|
||
|
||
|
299 changes: 140 additions & 159 deletions
299
gemoc_studio/releng/org.eclipse.gemoc.gemoc_studio.targetplatform/gemoc_studio.target
Large diffs are not rendered by default.
Oops, something went wrong.
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