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.
We let Eclipse's compiler compile the classes that we package into the deployment - that way hotswap has a chance to work.
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?