2 Replies Latest reply on Mar 26, 2008 11:39 AM by Pete Muir

    JBoss Tools, using an external components jar?

    Eric H Novice

      I'm getting into JBoss Tools at the moment.  I've gotten things configured and installed.


      Here's the difficulty: the EJBs and Seam components are being developed outside of Eclipse, by a separate team.  Eclipse is going to be used mainly to develop the visual side of things, by web designers.


      I notice that I can create a Seam project as an EAR.  That's great.  But it comes with its own entity packages.


      How can I get it to get all of its entities, and Seam components, from some separate JAR file?


      I'm quite new to all of this.


      Thanks

        • 1. Re: JBoss Tools, using an external components jar?
          Eric H Novice

          I found out more about this.


          JBoss Tools should use Seam's JAR scanner to scan for Seam components, just like Seam itself does.  But it doesn't.  It looks at the

          .metadata/.plugins/org.jboss.tools.seam.core/projects/project-name

          file to get a list of Seam components.  That list is automatically managed when Seam entities are added to the project.


          So, to get auto-complete etc working with external JARs, you need to add the components by hand to the metadata file.


          If I'm understanding correctly what is going on, I don't think this is the right way to do it.  Why not use Seam's own jar scanner and components.xml parser to detect components?

          • 2. Re: JBoss Tools, using an external components jar?
            Pete Muir Master

            Wrong forum, please ask on the JBoss Tools forum.