marc1s/marytts — pull request #3 by psibre (2011-12-29 20:39:00+00:00)
Title: 3 different fixes for missing MARYBASE/installed NPE

On a fresh clone, the unversioned **MARYBASE/installed** directory is not present, which triggers a NPE in
https://github.com/marc1s/marytts/blob/565d2e5ffeac3ebe40773c6a34756e366eeaab56/java/marytts/server/Mary.java#L258

This appears only now, because subversion allowed the empty **installed** directory to be versioned and checked out, while git does not version empty directories.

This can also affect a Mary installation from the standalone jar if the InstallerGUI was never run (user quit after installing marybase package).

Three possible solutions:
1. create the missing directory then and there
2. trick git into versioning the empty directory by placing an empty .gitignore file there
3. create the missing directory during the **init** ant task

This pull request adds all three solutions, feel free to pick any or all.