3 Replies Latest reply on Mar 25, 2007 7:06 PM by atao

    seam-gen build

    atao

      I work under Eclipse, with seam 1.2.0PATCH1

      In the build.xml of a project created by seam-gen, the targets "explode" and "buildtest" are lauched after each change of a file. But then the target "compile" is not lauched.
      So after any change in a java file, "compile" must be lauched by hand.

      Is it on purpose or did I miss something?

        • 1. Re: seam-gen build
          atao

          I change my question...

          If I use the Eclipse "clean" command for the project, I get the compilation of all the project java files... and a little more: jboss seam's class files are also compiled under test-build and then copied under exploded-archives/[project].jar

          Is it on purpose?

          I tried without copying seam class files in the [project].jar. It ran fine.

          • 2. Re: seam-gen build
            gavin.king

            We let Eclipse's compiler compile the classes that we package into the deployment - that way hotswap has a chance to work.

            • 3. Re: seam-gen build
              atao

              ok, but I don't understand why as:
              - the seam's classes compiled by Eclipse are redundant with those inside jar archive
              - is there any need to hotswap seam's class from a project?