3 Replies Latest reply on Oct 7, 2007 7:13 AM by maxandersen

    seam-gen changes character

    piotr.walczyszyn

      I'm running recent CVS version and I just found out (the hard way) that seam-gen when I run seam update-project command changes "-" to "_" character in my project name and all the jars and updates end up in different folder than I expected.

        • 1. Re: seam-gen changes character
          dan.j.allen

          Ah, sorry!

          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.

          • 2. Re: seam-gen changes character
            piotr.walczyszyn

            THX it works now.

            • 3. Re: seam-gen changes character
              maxandersen

              dan - shouldn't we just allow - where it is ok (project names), and change it to _ where its not allowed (package/class names ?) ?