7 Replies Latest reply on Mar 6, 2007 8:33 PM by stu2

    seam gen - which one?

    milestone

      As far as I can see, the seam-gen that comes with seam is different than the one that is available via the wiki. Is there a reason for this? Which one is the one, one should take?

      The packed one provides the following targets:


      clean
      delete-project
      deploy
      explode
      generate-entities
      new-action
      new-entity
      new-form
      new-project
      reset
      restart
      settings
      setup
      test
      undeploy
      unexplode
      update-project


      and the one available via the wiki provides

      create-folders
      create-folders-wtp
      delete-project
      deploy-project
      exploded-ear-copy
      exploded-jar-copy
      exploded-war-copy
      file-copy
      file-copy-wtp
      help
      new-action
      new-action-page
      new-bpm-action
      new-conversation
      new-entity
      new-mdb
      new-page
      new-project
      new-sfsb-action
      new-slsb-action
      new-testcase
      new-wtp-project
      scaffold-copy
      scaffold-copy-wtp
      update-project
      Default target: new-project


      Any Help is highly appreciated

      Kind regards

      Juergen


        • 1. Re: seam gen - which one?
          pmuir

          The one in Seam - it's much better and newer

          • 2. Re: seam gen - which one?
            milestone

            does it support wtp?

            • 3. Re: seam gen - which one?
              pmuir

              No, it doesn't use the wtp structure (separate projects for war, jar, ear).

              • 4. Re: seam gen - which one?
                milestone

                is support for the WTP planned?

                • 5. Re: seam gen - which one?
                  gavin.king

                   

                  is support for the WTP planned?


                  This is a subject of debate between myself and Max.

                  • 6. Re: seam gen - which one?
                    stu2

                     

                    "gavin.king@jboss.com" wrote:
                    is support for the WTP planned?


                    This is a subject of debate between myself and Max.


                    • 7. Re: seam gen - which one?
                      stu2

                      Oops! Let's try that again...

                      "gavin.king@jboss.com" wrote:
                      is support for the WTP planned?


                      This is a subject of debate between myself and Max.


                      I'm sure supporting the typical WTP project structures would make seam-gen and the build script substantially more complex, and generally be a pita for the already-busy dev team.

                      But this structure (web, java and ear projects for instance) is extremely common outside of seam projects. And trying to shoehorn current seam-gen's output into this structure is a bear - you're basically asking to spend a lot of time getting it to work again (unless you're a seam veteran). And after it works again, seam-gen's handy new-stuff tasks no longer put things in the "right" place.

                      I think the above represents an adoption barrier to seam. I've been using the current seam-gen produced structure, and it works fine. But when I later go back to my client and try to convince them to consider seam, having an only-seam-projects-look-like-this structure will make it a hard sell. Sounds silly given how fantastic seam is. But it's also true.