Help

While everyone else is having fun at JavaOne we uploaded the candidate release of JBoss Tools 2.1.0 at sourceforge and via the development update site.

This release is mainly 100+ bugfixes/enhancements based on QA and feedback from the last release.

A few new features did make it into 2.1.x and you can see those at new and noteworthy.

To upgrade safely to this release please read the following.

Existing Seam projects

Existing Seam projects will work fine in this new release, except EAR projects with an application.xml should be updated to have something like the following modules:

<module>
 <web>
  <web-uri>myprj.war</web-uri>
  <context-root>/myprj</context-root>
 </web>
</module>

<module>
 <ejb>myprj-ejb.jar</ejb>
</module>

<module>
 <ejb>jboss-seam.jar</ejb>
</module>

..and nothing else. The <java> elements we generated previously are unnecessary and breaks WTP 2.0.2. The details about why that is are in the following.

Less rigid WTP 2.0.2

We are now targeting WTP 2.0.2+Patches to get some of its important bugfixes.

Unfortunately WTP 2.0.2 introduced a bad regression bug concerning deployment and another bug which makes WTP 2.0.2 very rigid about deploying jar's listed in application.xml via <java> or <ejb> tags unless they have xml descriptors (which is not required in JEE 5).

This affects Seam 1.2 projects and any other projects using binary jars with EJB's in them and projects that uses <java> or <ejb> in application.xml for jars without descriptors which is the case for projects created with previous version of JBoss Tools

To get around these various bugs/features of WTP 2.0.2 we had to do two things:

  1. application.xml in new Seam projects no longer lists jar's in <java> elements to work with WTP 2.0.2. Besides being more correct and standard compliant it also makes the application.xml much smaller so in overall this is a Good thing. Unfortunately existing JBoss Seam projects that uses <java> in application.xml can run into files not being deployed thus we added a EAR validator that will put warnings/errors on offending elements we know can cause problems and with instructions on how to fix it.
  2. We provide a cumulative feature patch to WTP 2.0.2 which removes the rigidness in WTP with respect to JEE jars without descriptors. It is a hack, but it at least allows JEE 5 compliant jars to work instead of causing a exception stacktraces and random behavior in Eclipse.

We had hoped this rigidness could be removed in an update to WTP 2.x, but that does not seem to happen within a decent time frame so we decided to release the patch on our own. Note: WTP 2.0.2+WTP provided patches will work for most users, but we do recommend running with our patch to avoid publishing issues.

Feedback

We plan on going GA within the next few weeks so we encourage you to provide feedback on our forum and jira in case you find something bad or good ;).

p.s. This version of JBoss Tools (sans the experimental parts) will be available in a JBoss Developer Studio 1.1.0.CR1 for JBDS customers soon.

10 comments:
 
07. May 2008, 09:52 CET | Link
Tony

did you manage to get the tools (seam) to work with MyEclipse? I reported this as a problem last release. I will try this set of tools again and see.

 
07. May 2008, 13:02 CET | Link

If MyEclipse works with Eclipse WTP 2.0.2 it should work.

Otherwise there is not much I can do since I do not have access to MyEclipse source code to see what is going on. Contributions are welcome to fix any such issue.

 

--max

07. May 2008, 18:41 CET | Link
Ido

Hi, I installed a new dl of x86.64.

dl

Then I updated with the given development update site link. Then I added the patches.

Bundle org.mozilla.xulrunner.gtk.linux.x86_64 is not found.

eclipse.buildId=M20080221-1800

Mozilla XPCOM For Java is there (I don't know if this is the Xulrunner)

thanks a lot.

some plugins: org.jboss.tools.jsf.vpe.adf (2.1.0.CR1) "ADF support for JBoss Visual Page Editor Plug-in" [Resolved] org.jboss.tools.jsf.vpe.ajax4jsf (2.1.0.CR1) "Ajax4jsf VPE Plug-in" [Starting] org.jboss.tools.jsf.vpe.facelets (2.1.0.CR1) "Facelets Plug-in" [Starting] org.jboss.tools.jsf.vpe.jsf (2.1.0.CR1) "JSF support for JBoss Visual Page Editor Plug-in" [Starting] org.jboss.tools.jsf.vpe.myfaces (2.1.0.CR1) "MyFaces support for JBoss Visual Page Editor Plug-in" [Starting] org.jboss.tools.jsf.vpe.richfaces (2.1.0.CR1) "Richfaces VPE Support Plug-in" [Starting] org.jboss.tools.jsf.vpe.seam (2.1.0.CR1) "Seam VPE support Plug-in" [Starting] org.jboss.tools.jsf.vpe.tomahawk (2.1.0.CR1) "Tomahawk VPE Support Plug-in" [Starting] org.jboss.tools.jst.firstrun (2.1.0.CR1) "JBoss AS Initialization Plug-in" [Active] org.jboss.tools.jst.jsp (2.1.0.CR1) "Jsp Editor Plug-in" [Active] org.jboss.tools.jst.server.jetty (2.1.0.CR1) "Jetty Generic Server Definition Plug-in" [Starting] org.jboss.tools.jst.server.jrun (2.1.0.CR1) "JRun Generic Server Definition Plug-in" [Starting] org.jboss.tools.jst.server.resin (2.1.0.CR1) "Resin Generic Server Definition Plug-in" [Starting] org.jboss.tools.jst.web (2.1.0.CR1) "Web" [Active] org.jboss.tools.jst.web.debug (2.1.0.CR1) "Web Debug" [Starting] org.jboss.tools.jst.web.debug.ui (2.1.0.CR1) "Web Debug UI" [Starting] org.jboss.tools.jst.web.tiles (2.1.0.CR1) "Web Tiles" [Active] org.jboss.tools.jst.web.tiles.ui (2.1.0.CR1) "JBoss Tools Tiles" [Starting] org.jboss.tools.jst.web.ui (2.1.0.CR1) "Web UI" [Active] org.jboss.tools.jst.web.verification (2.1.0.CR1) "WEB Verification" [Active] org.jboss.tools.seam.core (2.1.0.CR1) "Seam Core Plug-in" [Active] org.jboss.tools.seam.text.ext (2.1.0.CR1) "Seam Text Editors Extensions" [Starting] org.jboss.tools.seam.ui (2.1.0.CR1) "Seam GUI Tools" [Active] org.jboss.tools.seam.xml (2.1.0.CR1) "JBoss Tools Seam XML" [Active] org.jboss.tools.seam.xml.ui (2.1.0.CR1) "Seam XML" [Starting] org.jboss.tools.struts (2.0.0) "org.jboss.tools.struts" [Active] org.jboss.tools.struts.debug (2.1.0.CR1) "Red Hat Struts Debugger" [Starting] org.jboss.tools.struts.text.ext (2.1.0.CR1) "Struts Text Editors Extensions" [Starting] org.jboss.tools.struts.ui (2.1.0.CR1) "JBoss Tools Struts UI" [Active] org.jboss.tools.struts.validator.ui (2.1.0.CR1) "JBoss Tools Struts Validator" [Starting] org.jboss.tools.struts.verification (2.1.0.CR1) "Struts Verification" [Active] org.jboss.tools.struts.vpe.struts (2.1.0.CR1) "Struts support for JBoss Visual Page Editor Plug-in" [Resolved] org.jboss.tools.vpe (2.1.0.CR1) "Visual Page Editor" [Active] org.jboss.tools.vpe.html (2.1.0.CR1) "HTML support for JBoss Visual Page Editor Plug-in" [Starting] org.jboss.tools.vpe.jsp (2.1.0.CR1) "JSP support for JBoss Visual Page Editor Plug-in" [Starting] org.jboss.tools.vpe.ui.palette (2.1.0.CR1) "JBoss Tools Palette" [Starting] org.jboss.tools.vpe.xulrunner (2.1.0.CR1) "Browser (XULRunner) Plug-in" [Active] org.jbpm.gd.jpdl (3.1.3.CR1) "JBoss jBPM JPDL Designer Plug-in" [Starting] org.junit (3.8.2.v200706111738) "JUnit Testing Framework" [Resolved] org.junit4 (4.3.1) "JUnit Testing Framework Version 4" [Resolved] org.mortbay.jetty (5.1.11.v200706111724) "Jetty WebServer" [Resolved] org.mozilla.xpcom (1.8.1.3-20070904) "Mozilla XPCOM For Java" [Resolved] org.uddi4j (2.0.5.v200706111329) "UDDI4J" [Resolved]

In addition to this: a) you don't allow underscores as in x86xx64 in text? b) could you make this box bigger? its tiny.

07. May 2008, 19:07 CET | Link
ido

I forgot to add that I have already followed the advice on the wiki page.

/usr/lib/libstdc++.so.5
/usr/lib/libstdc++.so.5.0.7
/usr/lib64/libstdc++.so.5
/usr/lib64/libstdc++.so.5.0.7

best wishes.

07. May 2008, 21:11 CET | Link

please use the user forum or jira for this. thanks.

 

--max

 
11. May 2008, 16:34 CET | Link
GapLo

I found these lines should also be removed.

<module>
    <ejb>jboss-seam.jar</ejb>
</module>
 
12. May 2008, 00:45 CET | Link
GapLo wrote on May 11, 2008 10:34:
I found these lines should also be removed.
<module>
    <ejb>jboss-seam.jar</ejb>
</module>

huh ? That is exactly the lines that has to be in there.

Why do you find that they should be removed ?

 

--max

 
03. Jun 2008, 05:57 CET | Link
Siarhei Dudzin

Just FYI, Seam 2.0.0 in maven repo doesn't have the descriptors, which probably could have caused some confusion. Seam starting only from 2.0.1.GA in maven repo does have the descriptors.

 
22. Jul 2008, 03:57 CET | Link
Dan

How about providing the patch as an update site instead of a zip? It would be much easier for everyone to install that way.

 
22. Jul 2008, 15:10 CET | Link
How about providing the patch as an update site instead of a zip? It would be much easier for everyone to install that way.

Not sure we could do that without messing up Eclipse update manager logic. Anyhow Eclipse will be incorporating this patch soon in Eclipse 3.3.x fixes.

 

--max