-
Notifications
You must be signed in to change notification settings - Fork 1
start developing with eclipse
-
Download and install Maven.
For Windows users: follow the instructions on the website
For Ubuntu users: you will find it in the ubuntu software center -
Install Egit and m2e (v>=1.2) eclipse plugins. The update site may depend on your Eclipse version, this are suitable for Eclipse v3.8 (Indigo), they should work also for older versions, not sure for v.4.2 (Juno)
http://download.eclipse.org/technology/m2e/releases
http://download.eclipse.org/egit/updates
-
With Eclipse go to File>Import>From Git, select URI and paste the project clone URI (https://github.com/vispax/kd-cloud.git), chose the branches you need (master should be fine), select the folder where to place the code. Then select
Import as general projectand under working directory choseweka-stripped. -
Right click on the new project>Configure>Convert to maven project. Then againg right click>Run as>Maven install
-
Repeat 3 and 4, but this time import from local repo and not from URI, choosing
kdcloud-libandkdcloud-engine -
Finally import
kdcloud-webservicein the same way but run it as maven build. In the goal section putgae:unpack. This will download the GAE SDK -
Go to Run>Run configurations, duplicate the kdcloud-webservice configuration changing the goal.
gae:runwill run the development server,gae:deploywill deploy the application. Name the application properly. -
To be able to deploy the application set application id and version in the properties section in kdcloud-webservice/pom.xml. You must also place your gae user credential in the maven settings.xml file, located under
/home/<your-user>/.m2(hidden directory). On windows it should be underC:\\Users\<your-user>\.m2. Under the servers section put the following snippet<server> <id>appengine.google.com</id> <username>MyEmail@gmail.com</username> <password>MyPassword</password> </server>
Troubleshooting
If you experience build path issues try right click on the project>maven>update project.