Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Having difficulties to set up a development environment #46

Closed
rherrmann opened this issue Nov 23, 2016 · 9 comments
Closed

Having difficulties to set up a development environment #46

rherrmann opened this issue Nov 23, 2016 · 9 comments

Comments

@rherrmann
Copy link

I got stuck after cloning this repository and importing all projects into a new workspace.

There seems to be no target platform definition and I haven't found instructions how to setup the Eclipse IDE to make changes to the AWS Toolkit for Eclipse.

@zhangzhx
Copy link
Contributor

zhangzhx commented May 9, 2017

We have migrated to Tycho build in a recently release and now you can directly clone the whole repository to your Eclipse workspace. Meanwhile, you can build and test the repository using Maven in the command line. See this README file for more information.

@zhangzhx zhangzhx closed this as completed May 9, 2017
@ChiroBan
Copy link

ChiroBan commented Jul 27, 2018

Gone through all the README steps. The second MVN command inside setup.sh file is giving the following list of errors:

[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: com.amazonaws.eclipse.devide raw:1.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):1.0.0-SNAPSHOT
[ERROR] Missing requirement: com.amazonaws.eclipse.devide raw:1.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):1.0.0-SNAPSHOT requires 'org.eclipse.jst.web_sdk.feature.feature.group 0.0.0' but it could not be found
[ERROR]
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[ERROR] Cannot resolve dependencies of MavenProject: com.amazonaws.eclipse:com.amazonaws.eclipse.devide:1.0.0-SNAPSHOT @ C:\Users^^^\git\aws-toolkit-eclipse\releng\com.amazonaws.eclipse.devide\pom.xml: See log for details -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException

In need of some guidance with this.

**I have Tycho plugin installed in my Eclipse and I was able to import the entire AWS toolkit to my workspace. I just want to setup a development environment and test the custom plugin in EClipse IDE.

@lak-proddev
Copy link

To fix this problem you need to add required features or plugins to the target platform.
See the below SS

image

The highlighted features in the above SS are unresolved features.

Actually, the development setup is a little bit confusing. the suggest target definition for Photon environment is
com.amazonaws.eclipse.photon.zip

@Shinehah-Gnolaum
Copy link

@lak-proddev I don't see the same libraries.

@Shinehah-Gnolaum
Copy link

@lak-proddev What exactly are you doing in that screenshot? How do you resolve the unresolved features?

@lak-proddev
Copy link

lak-proddev commented Jun 4, 2019

@Shinehah-Gnolaum, You need to add the attached "target definition" file as a target platform. This article helps you to define a target platform.
https://www.vogella.com/tutorials/EclipseTargetPlatform/article.html
You need to create a new general project in your workspace and copy the attached target definition file.

@Shinehah-Gnolaum
Copy link

@lak-proddev What target definition file? I know nothing about a target definition file.

@Shinehah-Gnolaum
Copy link

@lak-proddev My actual issue is issue #145.

@zhangzhx
Copy link
Contributor

zhangzhx commented Jun 4, 2019

@Shinehah-Gnolaum , the target definition file is used to develop plugins, in this case the AWS Eclipse Toolkit plugin. If you just want to install and use the plugin, you don't have to understand the target definition file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants