Difference between revisions of "Quick Development Environment Setup"
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
#* Select ''SVN Repository Exploring'' and press “OK”. Eclipse should open the “Install Connectors” dialog. | #* Select ''SVN Repository Exploring'' and press “OK”. Eclipse should open the “Install Connectors” dialog. | ||
#* Select latest “SVN Kit 1.3.x” and press “Finish”. | #* Select latest “SVN Kit 1.3.x” and press “Finish”. | ||
− | # | + | #* Proceed with the installation. Restart Eclipse after the installation. |
== Install Simantics Target Platform == | == Install Simantics Target Platform == |
Revision as of 08:27, 9 June 2011
Install Java JDK and Eclipse, and Setup the IDE for Simantics Development
- Get and install Java SE Development Kit 6 (JDK 6), you can download the package from http://www.oracle.com/technetwork/java/javase/downloads/index.html. Follow the installation instructions for your operating system. Using the latest JDK update is recommended.
- Get and install the latest Eclipse Classic IDE 3.7 (Indigo) stable stream build. You can find the package from http://download.eclipse.org/eclipse/downloads/. You can select freely the installation location for the package, e.g. under your home directory. Just unzip to install.
- After the installation of Eclipse, check that your Eclipse is set to use the right Java Runtime Edition:
- In Eclipse, open Preferences from Window - Preferences.
- Open page “Java / Installed JREs”.
- Set the JRE to point to the previously installed JDK 6.
- Install the Simantics Graph Compiler:
- In Eclipse, open “Help / Install New Software”.
- Set the installation site to "http://www.simantics.org/update/utils" in the “Work with” field and press “Add...”.
- Select from the list the latest "Ontology development / Graph feature" and proceed with the installation. Restart Eclipse after the installation.
- Install the Subversive plug-in to the Eclipse platform:
- In Eclipse, open “Help / Install New Software”
- Select installation site "Indigo - http://download.eclipse.org/releases/indigo" to the “Work with” field from the preset list.
- Click open the "Collaboration" folder and select from the list
- Subversive SVN Team Provider
- Subversive SVN JDT Ignore Extensions
- and proceed with the installation. Restart Eclipse after the installation.
- After restarting Eclipse, open the SVN Repository Exploring perspective:
- In Eclipse, open “Window / Open Perspective / Other...”.
- Select SVN Repository Exploring and press “OK”. Eclipse should open the “Install Connectors” dialog.
- Select latest “SVN Kit 1.3.x” and press “Finish”.
- Proceed with the installation. Restart Eclipse after the installation.
Install Simantics Target Platform
- In Eclipse platform, activate the Plug-in Development perspective, either from the tab on the upper right corner of the platform or from the “Window / Open Perspective / Other...” menu, and select Plug-in Development.
- Create a new general project in Eclipse by:
- Selecting “File / New / Project...” menu item.
- In the "Select a wizard", select “General / Project” and press “Next”.
- Give the project a name, e.g. "Simantics_target" and press "Finish".
- Copy the following files into your system to some temporary location:
- http://www.simantics.org/download/1.4/simantics.target
- http://www.simantics.org/download/1.4/simantics-https.target
- For THTH/Simantics registered members, source code access is available through these alternative target definitions:
- In Eclipse Package Explorer (the window on left side of Eclipse):
- Right-click your previously created project and select "Import..." from the context menu.
- In Select wizard, select “General / File System”, and press "Next".
- Select in the “From directory” the folder where the previously downloaded files are located, and select the two files from the file list. Press "Finish".
- Open “Window / Preferences” and from there the “Plug-in Development / Target Platform” folder.
- The new target definitions should be available in the list. Activate one of the following:
- “Simantics 1.4+” (for application development on Simantics platform)
- “Simantics 1.4+ (HTTPS)” (for application development on Simantics platform, if you are behind an HTTP proxy)
- “Simantics SDK 1.4+” (for platform development and application development on Simantics platform)
- “Simantics SDK 1.4+ (HTTPS)” (for platform development and application development on Simantics platform, if you are behind an HTTP proxy)
- Confirm the target platform definition by pressing "Apply" and/or "OK".
- Wait until Eclipse finishes downloading, this may take a while.
- In the Eclipse Plug-in window (the window on left side of Eclipse), there should be now several plug-ins starting with "org.simantics.*".
- Keep your platform up-to-date! Updating is as easy as reloading the target platform from Target Platform preference page:
- Open “Window / Preferences” and from there the “Plug-in Development / Target Platform” folder.
- Select the active target platform, e.g. Simantics SDK 1.4, from the list and press "Reload".
Test your installation
TODO:
- Checkout movie tutorial and try running movie.product. If that works, your development platform should be operational.
Happy Simantics developing!