Before setting up the development environment:
- GitHub should correctly be set up regarding SSH keys (in order to check out the repository using SSH).
- Instructions for generating new SSH keys and adding them to your GitHub account can be found here.
- Alternatively, you can generate an SSH key using the Eclipse installer by following the instructions in the subsection below.
The following steps can be used to generate an SSH key using the Eclipse installer, instead of, e.g., using Git Bash:
- After step 3 of the setup instructions below, click on the small round key-shaped icon on the bottom-left of the Eclipse installer.
- Go to the 'Key Management' tab.
- Click 'Generate RSA Key...'.
- Add the public key that is displayed to your GitHub account using these instructions. Select 'Authentication Key' as the key type.
- Enter a passphrase, which is optional, but recommended.
- Click 'Save Private Key...' and save the SSH key.
- It would be easiest to save the key as 'id_rsa' in the '.ssh' directory, potentially overwriting any existing such key, as is suggested by the 'Save As' dialog.
- If you don't do that and choose a different name instead, then git might not automatically find the generated key and some extra configuration may be required to fix that.
Open or create the file
~/.ssh/config, and add the following two lines to it, thereby replacingXXXwith the name you've chosen.Host github.com IdentityFile ~/.ssh/XXX
Use the following steps to set up an Eclipse development environment for SynthML development:
- Download the Eclipse Installer, from https://eclipse.org/downloads.
- Run the Eclipse Installer.
- Switch to Advanced mode, using the hamburger menu.
- In case you haven't yet configured SSH keys, consider following the steps described above in the prerequisites, for generating SSH keys within the Eclipse installer.
- Select
Eclipse Platform,2024-09andJRE 21.* - https://download.eclipse.org/justj/jres/21/updates/release/latest. - Click
Next. - Use the green plus button to add
https://raw.githubusercontent.com/TNO/SynthML/main/com.github.tno.synthml.setup. ChooseCatalog: Eclipse Projectsin the dropdown box. - Select
SynthMLand pressNext. - Enable
Show all variablesand configureRoot install folder,Installation folder name,GitHub account full nameandGitHub account email address. - Click
Nextand then clickFinish. - When the installer asks trusting licenses and content, accept all licenses and trust all content from all authorities. (Multiple such popups may appear.)
- Once the installer is done, and a new development environment is launched, click
Finishin the installer to close it.