SMILA/Documentation/HowTo/Howto set up target platform
This page describes which steps you have to follow to manually define a target platform for SMILA.
How to manually set up the target platform
If you do not want to set up the target platform manually, please follow the instructions on Howto set up dev environment.
- Download the Eclipse SDK (if you have not already done so) from the Eclipse download page listed in the Setup Development Environment Preconditions section.
- You should use the same Eclipse version as target SDK and as the development IDE.
- Please note that it really should be the plain Eclipse SDK to prevent naughty problems when trying to start SMILA, because of conflicting bundles etc.
- Extract the Eclipse SDK to a directory you should name something like eclipse-target so you don't confuse it with your IDE's installation folder.
This directory will be referenced as "eclipse-target" in the following lines.
In your IDE do the following:
- Click Window --> Preferences --> Plug-in Development --> Target Platform.
- Rename the new target, e.g. to "Running target + SMILA.Extension".
- Click Add... --> Select "Nothing: Start with an empty target definition" for target initialization and click Next.
- Click Add... --> Select "Installation" and click Next.
- Click Browse... and navigate to your "eclipse-target" directory (SDK + delta pack) --> click OK.
- Click Finish in the Add Installation window.
- Click Add... --> Select "Directory" --> Click Next --> Select SMILA.extension/eclipse/plugins folder under local trunk as the location --> click Finish.
- The target definition dialog should now contain the following entries:
- Name: Running target + SMILA.Extension
- In page Locations the following entries:
- Installation icon with path to your eclipse-target directory, showing the number of available plug-ins
- Directory icon with path to the SMILA.extension/eclipse/plugins directory in your checked out SMILA code, showing the number of available plug-ins.
- Switch to page Environment and select "JavaSE-1.7" as Execution Environment.
- Click Finish and activate the new target platform by checking the check box on the left-hand side of its name.
- Click OK.
Doing so will trigger the compilation of your workspace.