2 Replies Latest reply on Mar 24, 2008 4:33 PM by svadu

    For users of JBoss Tools and WTP

      Watch out the WTP 2.0.2 update if you use it in combination with Eclipse/JBoss Tools. There is a breaking bug which does not let a seam application to be deployed if jboss-seam.jar is listed as ejb module in application.xml.


      There are two workarounds for that:



      • Downgrade WTP and JST from 2.0.2 to 2.0.1 until a WTP fix comes out

      • Remove jboss-seam.jar from ejb modules list until a WTP fix comes out



      This bug does not have effect if the seam-gen project layout is used as it doesn't use WTP for exploded deployment.


      Relative info:


      http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135187#4135187


      http://jira.jboss.org/jira/browse/JBIDE-1862


      https://bugs.eclipse.org/bugs/show_bug.cgi?id=222531



        • 1. Re: For users of JBoss Tools and WTP
          jbmadair

          I was affected by this too but found a workaround by following these instructions:


          http://wiki.eclipse.org/ClasspathEntriesPublishExportSupport



          • Add the user library to the Java build path (Properties-Java Build Path-Libraries-Add Library). This will add a classpath container entry for the user library.

          • Switch to the J2EE Module Dependencies (the Java build path changes must be applied first) and select the J2EE Modules tab.

          • A selection will be visible for the user library classpath container entry just added (will be prefixed by (Classpath))). Select this and click OK (the special dependency attribute will be added to the classpath entry and the value for the attribute will be the special value ../ indicating that the resolved JARs should be added into the parent module at the same location as the web module).



          It worked well for me, and it may even be the technically correct way with WTP. (On the other hand, who can know the mind of WTP? ;-)


          • 2. Re: For users of JBoss Tools and WTP

            Well yes this is also a workaround, another workaround is just to deploy the library separately via WTP ( I can see it as a separate module in add/remove project dialog).


            However the bug is acknowledged by eclipse... so there is no really correct way with WTP 2.0.2 afaik