Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Building the STEM RCP Application"

(Run Maven)
(Run Maven)
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
[[Image:STEM TOP BAR.gif|800px]]
 
[[Image:STEM TOP BAR.gif|800px]]
  
 
+
{| align="right"
{| align="left"
+
 
   | __TOC__
 
   | __TOC__
 
   |}
 
   |}
 +
 +
 +
 +
  
  
Line 10: Line 13:
 
== Weekly Build ==
 
== Weekly Build ==
 
Weekly STEM builds are regularly posted on the STEM website (about weekly).  
 
Weekly STEM builds are regularly posted on the STEM website (about weekly).  
 
 
Please see the category '''Weekly Integration Builds''' on the STEM [http://www.eclipse.org/stem/downloads.php download site]
 
Please see the category '''Weekly Integration Builds''' on the STEM [http://www.eclipse.org/stem/downloads.php download site]
  
== deprecated ==
+
== Set up the STEM Development Environment ==
If you are a developer and have already installed and run from the development environment,
+
you can create your own build for supported platforms.  After first following the instructions
+
for [[Running STEM from the Development Environment]]:
+
  
# please go to the ''project''  org.eclipse.stem.ui
+
Before starting the instructions below visit the page [[STEM Eclipse Setup]] to set up your environment.
# Open the file stem.product
+
# On the right hand side click the link: "Eclipse Product export wizard"
+
# select a destination directory
+
# click finish
+
  
  
Line 74: Line 69:
 
# enter '''''clean verify''''' in the '''Goals''' field then click run  
 
# enter '''''clean verify''''' in the '''Goals''' field then click run  
 
# click ''Apply'', and ''Run''
 
# click ''Apply'', and ''Run''
 +
# When complete, the runtime artifact (jar file) will appear in  .../org.eclipse.stem/core/org.eclipse.stem.runtime/target/
  
 
== URLS for the Global Earth Science Climate data ==
 
== URLS for the Global Earth Science Climate data ==
Line 83: Line 79:
 
  https://git.eclipse.org/r/stem/org.eclipse.stem.data.earthscience.git
 
  https://git.eclipse.org/r/stem/org.eclipse.stem.data.earthscience.git
 
  ssh://user_id@git.eclipse.org:29418/stem/org.eclipse.stem.data.earthscience.git
 
  ssh://user_id@git.eclipse.org:29418/stem/org.eclipse.stem.data.earthscience.git
 +
 +
 +
 +
== (deprecated)  instructions for building STEM 3.0.0M1 and earlier ==
 +
If you are a developer and have already installed and run from the development environment,
 +
you can create your own build for supported platforms.  After first following the instructions
 +
for [[Running STEM from the Development Environment]]:
 +
 +
# please go to the ''project''  org.eclipse.stem.ui
 +
# Open the file stem.product
 +
# On the right hand side click the link: "Eclipse Product export wizard"
 +
# select a destination directory
 +
# click finish

Revision as of 18:24, 8 January 2019

STEM TOP BAR.gif




Weekly Build

Weekly STEM builds are regularly posted on the STEM website (about weekly). Please see the category Weekly Integration Builds on the STEM download site

Set up the STEM Development Environment

Before starting the instructions below visit the page STEM Eclipse Setup to set up your environment.


New since STEM 4.0.0

With the introduction of STEM 4.0, Stem is structured as a maven project containing two subprojects:

  - org.eclipse.stem
  - org.eclipse.stem.data.

Both of them are maven projects. Project source code can be imported:

import >>>> Git >>>>> project 
from Git using
git://git.eclipse.org/gitroot/stem/org.eclipse.stem.git

Or for committers by SSH

ssh://<commitername>@git.eclipse.org:29418/stem/org.eclipse.stem.git

be sure to upload your public key to: https://git.eclipse.org/r/#/dashboard/self

  1. click your name
  2. go to settings
  3. click on SSH keys
  4. add your public key


Or for committers by HTTPS

https://<<commitername>>@git.eclipse.org/r/stem/org.eclipse.stem.git
  1. NOTE: for HTTPS the password is different than for the rest of eclipse. You can generate a password here: https://git.eclipse.org/r/#/settings/http-password

Stem as a Maven project is using Tycho to make its build "pomless" (meaning it is not required to have a pom.xml file for each Java project).


this will open another window to define which command can be used to run the build normally it is enough to write ?clean verify? in the Goals field then click run

STEM data is still built using Ant as described previously see STEM_Eclipse_Setup#Build_the_STEM_Denominator_Data

Run Maven

To build the STEM product

  1. right click on org.eclipse.stem.general
  2. select Run as >>>> Maven build ... >>>
    STEMrunMaven2.png
  3. enter clean verify in the Goals field then click run
  4. click Apply, and Run
  5. When complete, the runtime artifact (jar file) will appear in .../org.eclipse.stem/core/org.eclipse.stem.runtime/target/

URLS for the Global Earth Science Climate data

users

git://git.eclipse.org/gitroot/stem/org.eclipse.stem.data.earthscience.git

committers

https://git.eclipse.org/r/stem/org.eclipse.stem.data.earthscience.git
ssh://user_id@git.eclipse.org:29418/stem/org.eclipse.stem.data.earthscience.git


(deprecated) instructions for building STEM 3.0.0M1 and earlier

If you are a developer and have already installed and run from the development environment, 
you can create your own build for supported platforms.  After first following the instructions 
for Running STEM from the Development Environment: 
# please go to the project  org.eclipse.stem.ui
# Open the file stem.product
# On the right hand side click the link: "Eclipse Product export wizard"
# select a destination directory
# click finish

Back to the top