Subversion is a source-code version management tool. If you are not familier with Subversion, read the instruction described here.
Since utgb-shell-1.1.5, svn-add command is supported, which automatically adds files to the Subvresion repository, and set svn:ignore property to temporary folders such as 'target', 'gwt-home', etc.
> utgb svn-add
[SVNAdd] svn add .
[SVNAdd] svn add config
[SVNAdd] svn add eclipse
[SVNAdd] svn add src
[SVNAdd] svn add README
[SVNAdd] svn add pom.xml
[SVNAdd] set svn:ignore on directory =., targets = target gwt-home www .project .classpath
[SVNAdd] svn add db
[SVNAdd] set svn:ignore on directory =db, targets = *.db
[SVNAdd] svn add tomcat
[SVNAdd] svn add tomcat/conf
[SVNAdd] svn add tomcat/webapps
[SVNAdd] set svn:ignore on directory =tomcat, targets = work
Here is the initial folder strucrture of the web application generated by UTGB shell:
README Instruction file
config configuration folder
db database folder
eclipse eclipse launch file folder
src source codes
pom.xml project description
tomcat Tomcat temporary folder for debugging with Eclipse
www GWT temporary directory for javascript codes
db/(your database files) if your data is confidential or too large (more than 10M) target temporary files generated in compilation time www temporary files generated when compiling GWT codes tomcat/work temporary files generated by Tomcat web server. .project Eclipse project file .classpath Eclipse classpath setting file
All files except listed above are suited to the version control with Subversion.