Lately I’ve been focused on JavaScript and Node.JS so I installed the Eclipse for JavaScript. The Eclipse JavaScript IDE does not have the required dependencies for the AWS Toolkit for Eclipse as it’s designed for Java Developers. If you’ve attempt to install the AWS Toolkit for Eclipse and get errors it’s probably because you did not install the Java Eclipse build and the dependencies aren’t installed. However, you can still use the toolkit. Before you can install the AWS toolkit the Maven Integration for Eclipse (M2E) and JUnit tools for Eclipse need to be installed. There’s a few steps that need to be performed to prepare your Eclipse environment.
The following steps will add the Eclipse IDE dependencies and the AWS Toolkit for Eclipse.
Add Dependency Repositories
Windows > Preferences > Install/Update > Available Software Site
- Enable the Latest Eclipse Release site
- Add > Name: AWS Location: https://aws.amazon.com/eclipse (This is the AWS toolkit for Eclipse)
- Add > Name: M2E Location: http://download.eclipse.org/technology/m2e/releases
- Add > Name JUnit Location: http://junit-tools.org/updates
Install Maven Integration for Eclipse (M2E)
Help > Install New Software
- Uncheck “Contact all update sites during install to find required software”
- Work with the M2U URL
- Select Maven Integration for Eclipse
- On the “Install Remediation Page” click the radio button for “Update my installation to be compatible with the items being installed”
- Install and Restart IDE
Install JUnit Tools
Help > Install New Software
- Uncheck “Contact all update sites during install to find required software”
- Work with the JUnit URL
- Select JUnit Tools
- On the “Install Remediation Page” click the radio button for “Update my installation to be compatible with the items being installed”
- Install and Restart IDE
Install the AWS Toolkit for Eclipse
Help > Install New Software
- Work with AWS URL
- Select AWS Core and additional Management Tools
- On the Install Remediation Page click the radio button for “Update my installation to be compatible with the items being installed”
- Security Warning > Install anyways
- Install and Restart IDE
AWS Toolkit for Eclipse Projects
Being that the AWS Toolkit for Eclipse is Java focuses there’s build in Java application projects you can create. You can also utilize the built in AWS explorer to interact with resources or the CloudFormation JSON Template Editor. YAML formatted CloudFormation templates are not supported.