Moving my GWT, installing GAE into my version control project

I am using the google plugin for eclipse with the GWT and Appengine libraries. Each time I update one of the libraries, which currently includes:

  • I install the update somewhere on my HD
  • I am adding the update as an alternative SDK in eclipse with a common name
  • I am updating the project settings with a new generic name
  • I commit modified settings files (which DO NOT include the updated library) to our control source

The problem here is in unsuccessful steps 5-7: 5 Everyone else is building to stop working after the change, 6 I go from machine to machine, repeating steps 1 and 2, and 7 I think that for the nth time "I really need to find a way to automate this is".

I am here for elusive step 8: Actually automating this. I want to include the SDK in my original control, so when I switch between versions or set up a store on a new computer, the corresponding SDKs are automatically installed and downloaded. I do not want to configure eclipse settings. In my ideal situation, I am ready to install Eclipse and GPE on each machine, but after that I just want to clone my repository and leave.

I tried to do this by removing the GWT library from my build settings, copying the entire GWT installation folder to the root of my project and adding gwt-user.jar and gwt-dev.jar to the build path from there. It almost works, but eclipse complains that it cannot find gwt-servlet.jar (although it exists exactly where it claims to be looking for it!). There are other magical settings that I don’t understand.

Finally, the question is: if this is the correct track, what settings do I need for manual control? If this is the wrong way, which one is the right one?

+6
source share
1 answer

+1 is a good question. This may or may not answer your question, but I can share with you what I am doing. I also work with GAE and GWT.

I simply include the SDK.tar / .zip files in my repository, delete the version numbers from the file name and update it when I want to upgrade to a new version. If this version fails, I can easily revert to the old SDK. I also use GXT and many other GWT extensions, so my problem is even worse than yours. I do not use eclipse for GAE and GWT, so I can not relate to the problems that you have there. If you do not want to configure eclipse each time, do not use eclipse.

Disclaimer: I hate eclipse.

+1
source

Source: https://habr.com/ru/post/885910/


All Articles