adding eclipse/GWT/app engine project to version control (git)
350 views
Skip to first unread message
Michael
unread,
May 25, 2012, 5:54:51 PM5/25/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
After looking around on here and the web I found conflicting
information about what should be version controlled in a eclipse/app
engine/gwt project. So I played around a bit and wanted to share what
I found to work for us. We are using git, but this information is very
quickly transferred to any version control. I stated by using
eclipses create web application wizard. I want to share this project
and it's settings among a few developers so I source control
the .settings folder which has eclipse project settings.
My .gitignor file is (files and directories that are not version
controlled):
/gwt-unitCache
/test-classes
/war/projectname
/war/WEB-INF/deploy
/war/WEB-INF/classes
I needed the /test/projectname directory for eclipse not to give me an
error (I don't know why though) so to source control that I just put
an empty .gitignor file there. Git won't source control an empty
directory.
That's it. This has been working for us for a couple weeks now. We
don't seem to be including any files that a GWT compile and app engine
deploy create. We are also just able to clone the repo and import the
project right in to eclipse and we can compile.
I am open to other suggestions, or anything we may be missing.
Michael
Nuno R
unread,
May 25, 2012, 7:31:55 PM5/25/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
Take a look at a maven setup.
Don't need to keep in the repository any files related with IDE configuration or project dependencies.