AurelienRibon/gdx-setup-ui — pull request #5 by picomancer (2013-11-22 23:55:51+00:00)
Title: Generate projects.zip in ant task; a little template cleanup

This looks like a big patch, but really it's a very simple and straightforward set of changes that only took about 20 minutes to write.

The first commit was created by unzipping projects.zip, then I did git add the unzipped files and git rm projects.zip. In the same commit, I made a simple ant task to create projects.zip in the bin/res/ directory. The run-time behavior is the same as before.

Then I applied a few very minor style fixes to the templates, namely removing trailing whitespace from every line, ensuring each source file ends with a newline, and removing a space between the function name and parameter list in the two functions in GwtLauncher.java (making the coding style consistent with the other source files in the template).

The advantage of tracking individual source files instead of a zip file is that the template files are now individually tracked in version control. You can easily patch them and see the resulting changes with standard tools like git diff, git log with --stat or --patch options, or the Github user interface.

Casual testing with my changes (creating a single new project) seems to work.

Thanks