At the same time, thank you for making me aware of this problem. I never thought about what it would do to existing projects. I was totally focused on the new project scenario.
I have reverted part of the change. Here is how it will work:
1. When running ./seam setup for the first time, it will not allow hyphen in the project name. The reason is because the project name is used in a lot of places in the templates where a hyphen would break things. We should probably fix that problem separately.
2. Any other time, it will respect your project name so that if you have existing projects that use hyphen in the name, it will be able to handle them.
THX it works now.
dan - shouldn't we just allow - where it is ok (project names), and change it to _ where its not allowed (package/class names ?) ?