2 Replies Latest reply on Feb 9, 2010 9:24 PM by swenvogel

    Components in WAR archive.

    swenvogel

      Hi,


      i have create a new Seam project (testProj) with the jboss tools in Eclipse:



      1. testProj

      2. testProj-ear

      3. testProj-ejb

      4. testProj-test



      All components in the source directory of the ejb project testProj/ejbModule/...
      are create fine.


      But components from the WAR archivetestProj/src/... are not created at all.
      For example i created the following simple test class in the WAR source folder:


      @Name("testClass")
      @Scope(ScopeType.APPLICATION)
      @Startup
      public class Test {
      
          @Create
          public void create() {
              System.out.println("testClass create() called");
          }
      }



      This component is not created, but when i put this component in the ejb source folder everyhing works.