adding eclipse/GWT/app engine project to version control (git)

2012-05-25 Thread Michael
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

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: adding eclipse/GWT/app engine project to version control (git)

2012-05-25 Thread Nuno R
Take a look at a maven setup.

Don't need to keep in the repository any files related with IDE 
configuration or project dependencies.
http://maven.apache.org/plugins/maven-eclipse-plugin/ 
http://mojo.codehaus.org/gwt-maven-plugin/ 
After cloning a repo running *maven eclipse:eclipse* generates all the 
configuration files needed by eclipse for a successful import.

Example:
https://github.com/dankurka/mgwt/blob/master/pom.xml 

On Friday, May 25, 2012 10:54:51 PM UTC+1, Michael wrote:

 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 



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/2b7kh38jmLEJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.