2 Replies Latest reply on Oct 27, 2009 4:01 PM by jamesjmp

    Help with seam-gen

    asriel

      Hi everyone,
      I'm using Seam 2.2.0GA and I've used seam-gen to generate a project. Now I've renamed the project name inside Eclipse (renaming its root directory name as well), changing all the references from the old path to the new.
      The problem is that, understandably, seam-gen lost track of the project. Where seam-gen keeps its reference of the project it is managing? (so I can update the path names there as well)


      Also I'd be interested in knowing if and how seam-gen can handle multiple projects.
      Thanks to everyone willing to help.
      :)


      On a side note:
      Is there a way to do a refresh of the JBoss AS (not a restart) inside Eclipse or from the command line? By refresh I mean the action made by launching ./seam restart, and I'm asking if that could be possible even when seam-gen is not managing a project.
      For the record, in Eclipse - with JBoss Tools: SEAM Tools installed - I haven't found a command to do a ./seam restart, only a full blown restart (i.e. a stop followed by a relaunch).

        • 1. Re: Help with seam-gen
          asriel

          Nobody can give me a hint?

          • 2. Re: Help with seam-gen

            Hi, the configuration file of the project that seam-gen manages is build.properties.
            Its path is the following:


            \jboss-seam-2.0.2.GA\jboss-seam-2.0.2.GA\seam-gen\build.properties
            



            In the seam reference chapter 2 covers seam gen, and chapter 3 shows you to get started by means of JBoss tools.
            Reference is located in this path:


            \jboss-seam-2.0.2.GA\jboss-seam-2.0.2.GA\doc\reference\en-US\pdf\seam_reference.pdf
            


              (doc is in html available too)
            Hope it helps you!