Red Hat

In Relation To JBoss Tools

In Relation To JBoss Tools

JBoss Tools 3.1 CR2 is now available for download.

3.1 Milestone CR2: CDI, Less typing and the last polish...

Almost there

The CR1 release kicked a nerve and we saw a spike in feedback and this CR2 is our answer. A lot of bug fixes and even some requested features made it in via the 450+ issues fixed for this release.

Installation

As the previous 3.1 releases we are targeting Eclipse 3.5.x, but this time we are highly recommending using Eclipse 3.5.1 and if possible the almost to be released Eclipse 3.5.2 because of important bugfixes in core Eclipse and WTP.

Also if you use the Maven integration then we are now working with the just m2eclipse 0.10 and this require you to uninstall m2eclipse 0.9.x to make it work. You can see more about m2eclipse and installation requirements on m2eclipse team blog.

Improvements

My favorite improvements this time around are below. To see the full details and screen shots read What's New.

Contexts and Dependency Injection

We now support Contexts and Dependency Injection (CDI/JSR-299) annotations and it works on any Eclipse Java project, you simply need to go to the Configure menu and enable CDI.

When enabled this gives you nice code completion in EL for @Named beans, allows you to easily navigate to @Injection points via Ctrl+Click or use search for references finds all occurrences where a named bean are used and if you have validation enabled on the project the project will be checked for certain errors in your CDI constructs giving you instant feedback. Refactoring of methods on CDI beans will be reflected in EL expressions.

JSF Editing

You no longer need to type the namespace (i.e. f:) to get code completion to complete within a namespace. For example, code completing on <out will now show you all the <h:output* tags. Couple that together with also no longer having to type #{ to get EL code completions in attributes editing of XHTML documents are now much simpler and faster.

If you had problems in CR1 with code completion not working for your tag libraries these issues should now be gone. In CR1 we added JSF 2 support and we also moved to use dynamic scanning of the project classpath for taglib information, ensuring the code completion will be guaranteed to match what your project actually uses. This change occurred in CR1 but caused problems for users that were not used to include taglib information on their classpath at build time. In CR2 we now provide a fallback for static taglib information if we do not find it on the classpath.

Hibernate

Both the hbm.xml wizard and JPA Annotation Generation functionality now shares the same UI and allows you to specify the depth for the class graph to generate mappings for and any changes can easily be previewed before finishing the wizard.

m2eclipse 0.10

The JBoss Tools Maven integration have been updated to use m2eclipse 0.10. Remember to remove your m2eclipse 0.9 installation first!

Portal

Portal now identifies GateIn as a portal container allowing you to use the existing Portal wizards with GateIn and EPP.

SOA

Creation of ESB actions are now easily done via the New ESB Action Wizard and the ESB Editor now has direct links for creation of actions making it trivial to write custom actions.

Feedback

As always leave a comment, enter our forums, use our JIRA or visit us on IRC to learn about JBoss Tools and give feedback.

Have fun!

5th February several members of the RichFaces and JBoss Tools teams will be presenting at the Modern Java Technologies Workshop in Minsk, Belarus.

From the RichFaces team Nick Belaevski and myself will be discussing Java Server Faces 2.0, and then two topics on RichFaces 3.3.X and 4.0.X.

Full list of Topics:

  • Java Contexts and Dependency Injection for the Java EE platform (Seam 3 and Weld overviews) by Maksim Kaszynski
  • JavaServer(tm) Faces 2.0 by Ilya Shaikovsky and Nick Belaevski
  • RichFaces 3.x & JSF 1.2 by Ilya Shaikovsky
  • RichFaces 4.x & JSF 2.0 by Nick Belaevski
  • Jboss Developer studio overview by Maxim Areshkau
  • Visual Page Editor in JBoss Tools by Yahor Radtsevich
  • Hibernate Tools in JBDS by Denis Maliarevich

If you are in the area this sounds like a fantastic day of presentations and topics for anyone interested in the latest Java technologies!

When we released JBoss Developer Studio 2.1 we also announced its updatesite at https://devstudio.jboss.com/updates which is for all customers to use. If you are a 2.1 user you have been able to use it to update to JBoss Developer Studio 2.1.1 which includes some minor bug fixes.

We also started an Early Access Program for existing customers of JBoss Developer Studio 3, and this is available from https://devstudio.jboss.com/earlyaccess using the same credentials as customers use for the updatesite.

This Early Access Program gives customers the chance to try out selected milestone builds for the upcoming JBoss Developer Studio 3 and give feedback on the complete JBoss Developer Studio package and not just on the standalone plugins available through the JBoss Tools project.

At the time of writing the release available from the Early Access is JBoss Developer Studio 3 CR1 which is based on Eclipse 3.5 (Galileo), most of the JBoss Tools 3.1.CR1 plugins and supported 3rd party plugins such as TestNG.

Have fun!

Animating JBoss projects with Gource

Posted by    |       |    Tagged as Eclipse JBoss Tools

Gource is a software version control visualization tool and one of its unique features is that its pretty darn fast and support a multitude of version control systems including SVN.

It took me less than 10 minutes to get it up and running to visualize JBoss Tools and Hibernate svn checkout.

It took a little bit of insomnia to also add in automatic fetching of user images from community.jboss.org based on the committer names in the logs and I end up with something like this:

The still shot doesn't really make Gource justice so be sure to check out some of the example videos available from Gource.

If you want to try to run this on your own then here is the script I created for it (tested on cygwin but should work on other *nix variants too).

The Script

Requirements:

  • Gource for your platform
  • svn-gource.py (place it in the root directory of Gource)
  • svn
  • curl
  • Python
  • Cygwin (if on windows)

Update the GOURCE_HOME in the following (non-optimized, but working) shell-script and save it to gourcejboss.sh:

export GOURCE_HOME=/cygdrive/c/work/products/gource
echo Fetching SVN Log
svn log --verbose --xml > gource-svn.log

echo Convert svn log to gource log
python $GOURCE_HOME/svn-gource.py --filter-dirs gource-svn.log > gource-custom.log

echo Getting unique committers from log and preparing urls
gawk -F\| '{ print $2 }' gource-custom.log > gource-all.txt
sort gource-all.txt | uniq > gource-unique.txt

gawk -F\| '{ print "curl -o " $1 ".png http://community.jboss.org/profile-image-display.jspa?username=" $1 }' gource-unique.txt > gource-urls.txt

echo Fetching committer images from community.jboss.org
mkdir gource-img
cd gource-img
sh ../gource-urls.txt 
echo Removing images for users with errors/missing
grep -l "unexpected error" *.png | xargs -n1 -i rm {}
cd ..

echo Running gource
$GOURCE_HOME/gource --log-format custom --user-image-dir ./gource-img gource-custom.log

Now go into the root of the svn checkout you want to run gource on and run sh gourcejboss.sh and see the magic unfold.

Have fun and if you have a machine with enough diskspace/cpu to record a video, post the link!

JBoss Tools 3.1 CR1 released

Posted by    |       |    Tagged as Eclipse JBoss Tools

JBoss Tools 3.1 CR1 have been made available to celebrate the new year!

3.1 Milestone CR1: Happy New Year!

Feedback, Feedback, feedback

With close to 280 issues fixed in this release since the M4 release we are really looking for feedback on this first release candidate to be sure we reach a solid GA - so speak up :)

Improvements

The improvements are many this time around and since I was on holiday during the M4 release, i'll only be able to cover some of the highlights of both M4 and CR1.

The full details and screenshots are as always available in the New and Noteworthy.

Cocoa support on Snow Leopard

The visual page editor now works on both Carbon and Cocoa 32-bit versions for Snow leopard.

JSF 2 and improved code completion

The visual page editor and our code completion now supports JSF 2 features such as composite components and the new resource lookup rules.

The code completion features now provides completion based on what TLD's and resources are available on your projects classpath instead of from a fixed set data. This means the code completion will pickup basic attributes and tags from new release of Richfaces, ICEFaces etc. where as before you had to wait for an update to JBoss Tools to get that support.

Of course not all information is available in the raw TLD's, so some completion features will still require updates - but much less than before.

The code completion also now show javadoc for methods and information about where the component is from. See the screenshots in New and Noteworthy.

Seam and Hibernate

Seam and Hibernate tooling are now even better integrated allowing them to share the same DTP connection removing the need to keeping connection information uptodate in multiple places.

Deployment via SCP

We've added a SCP Remote Server type that allows you perform deployments via scp/ssh. This makes it easy to deploy to a remote server hosted locally or in the cloud directly from within your IDE using the same tools that works for local deployments. The server supports both deploying exploded or in archived form.

Note, the SCP server is not tied to any specific application platform such as JBoss AS but can be used as a general purpose deployment over SCP.

SOA Tooling

The Smooks editor really grew up this time. Many usability issues have been fixed and we now got the possibility to execute a Smooks test run so you can easily try out the Smooks transformation on your own test data.

ESB deployment and configuration editing has now been updated to also support ESB 4.7 and its new actions.

Both ESB and BPEL are now fully WTP type projects allowing them to work the same way as WAR, EAR and ejb-jar in eclipse.

Filesets for (selected) WTP projects

One of the biggest limiting features of Eclipse WTP is that you do not have much control over how your projects are built, i.e. there is no easy way for including a set of resources from another project such as a set of .xhtml files into your WAR.

We now provide this functionality via the new Module Assembly Page on WTP based projects. This functionality we are already contributing back to WTP 3.2, but we wanted to give you a glimpse of it today on the project types we do, such as BPEL and ESB.

Feedback

Remember, if you want to ensure that JBoss Tools are useful for you too - leave a comment on this blog or use our forums and/or JIRA or to let us know what you think!

Have fun!

Daniel Azarov have been busy the last few months improving our Find references and Refactoring support for JSF and Seam Expression Language (EL) references.

During that work Daniel created a few movies showing of the features and they are added to the individual jira's about the subject. I thought it would be nice to also get these shown to a broader audience - so here they are, for you to see.

If you want to try this use the M3 release or nightly builds of JBoss Tools.

Searching/Find references

Standard search (Ctrl+Shift+G) finds method references in EL

By using the standard Find references functionality EL expressions that refer to the method shows up next to java references.

Refactoring

Refactoring Demo - renaming the booking component to cooking. Shows how the rename of a component takes effect in both Java, components.xml, pages.xml and .xhtml files.

Notice how it handles changing default injection to explicit naming, i.e.

@In Booking booking;
needs to be changed to
@In(value\="cooking") booking;
to continue to work.

The following movies show a similar rename, just initiated from the components view instead and an example of what happens for read only files.

Rename Seam Component in Seam Components View

Rename component in read-only files

Renaming of EL variables used in Strings

These are for code that refers to EL inside Strings, for example

log.log("${user.name} did something")
. The demo shows this applied in various locations:

...in java editor

...in xml editor

...in properties editor

...in VPE editor

Have fun!

Just a quick note to inform that JBoss Developer Studio 2.1 are now available from the JBoss CSP and what i'm very happy to announce, it is also available from our new update site.

Official Update Site

Until now upgrading JBoss Developer Studio required a full install, but we can now finally remove that obstacle (at least for 2.x releases).

The update site is from now on the official supported way of upgrading JBoss Developer Studio 2.x.

The site to use when upgrading from 2.0 to 2.1 is available at http://devstudio.jboss.com/updates/2.1 (customers has or will receive the username/password).

Instructions on how to use it can be found here.

JBoss Enterprise Application Platform 5

The major new functionality in this release is the support for JBoss EAP 5 incl. Seam 2.2. This means you can add the EAP 5 server and start, stop and deploy your applications directly from Developer Studio.

Those who uses EAP 4.x, Developer Studio continues to support previous releases of EAP and any of your JBDS 2.0 projects will also continue to work.

Note, for now we provide only the stand alone JBoss Developer Studio 2.1. You need to install the EAP separately and just use the Installer or the JBoss Server view to add your EAP server.

JBoss Tools 3.0.2

This release contains JBoss Tools 3.0.2 which beyond the changes for EAP 5 and AS 5 support has 47 issues fixed.

Have fun!

JBoss Tools 3.1 M3 -

Posted by    |       |    Tagged as Eclipse JBoss Tools

The JBoss Tools 3.1 M3 release are now available!

3.1 Milestone 3: The Summer Edition!

Improvements

This time around we got 250+ issues fixed and a couple of new features added over the Summer. As always you can see the major highlights with screenshots in What's New!

Maven

We continue pushing our integration with m2eclipse further. Now if you import an existing pom.xml and that pom.xml has a dependency to Seam artifacts we will enable the Seam tooling on that project. Making it even easier to get started without having to mess with the Eclipse configuration. Going forward we will explore doing the same for JSF, Portlet and other framework dependencies.

Furthermore we added support for using Maven dependencies as a WTP 3.1 Library provider, first for JSF Facets but going forward we will open it more up and allow it for others possibly any facet. Stay tuned for that.

Hibernate

We have improved the Dali JPA integration for Hibernate and the visual diagram of Hibernate mappings. The Dali JPA integration is visible when you have setup your project to use the JPA Facet and chosen to use the Hibernate Platform as opposed to the Generic Platform.

We added more support for Hibernate specific annotations so the JPA Details pane now can be used to edit/view them plus the JPA Validator understands more of Hibernate's added flexibility compared to plain JPA and stop giving false warning/errors. Similarly we added support for projects that uses a custom Naming Strategy for table and columns, again making the JPA Validator aware of the Hibernate specific support correcting the validation concerning missing table and columns.

Visual Page Editor

The visual page editor received updates to its supported component set for Richfaces 3.3.1 and for latest JSTL. It also introduces a new CSS Editing perspective to give easier access to the CSS specific views we have introduced over the last few milestones.

SOA

This release also brings updates to the SOA components in the tools, i.e. we now include jbpm4 tooling in addition to the jbpm3 version, there is an updated Drools 5 plugin, the Smooks plugin have been greatly enhanced and we also provide updated bits of our experimental work with using Eclipse BPMN project together with Riftsaw the new bpmn project at JBoss.

SDK Downloads

Our update site now includes a SDK category which you can use to get the actual plugins + the source code used to build them. This allows you to use the Eclipse PDE development environment and improve individual plugins without having to mess with importing code from JBoss Tools SVN. Making contributions even easier - hint hint!

Initially only a few of our plugins are available as SDK's, but we will add more and more as we go through updating their builds to support for SDK creation.

What's next

In the next milestone you will start to see the effect of some of the not-yet-user visible changes we have been working on over the summer. These includes CDI/JSR-299 (aka WebBeans) support, JSF 2 support, More WTP/Maven integration, Smooks and BPM and the biggest small improvement we are contributing to WTP 3.2, but will be available in JBoss Tools 3 first - better module assembly support for WTP projects.

If you want to get a first hand on the progress for these you can use our nightly build update site. See the links on our download page. We might even Twitter about the progress in there.

Feedback

Remember, if you want to ensure that JBoss Tools are useful for you too - leave a comment on this blog or use our forums and/or JIRA or to let us know what you think!

Have fun!

JBoss Tools & Developer Studio at JBoss World

Posted by    |       |    Tagged as Eclipse JBoss Tools

For those who are joining us at JBoss World in Chicago this week here are the talks that we are set to have about or touch upon JBoss Tools & Developer studio.

Wednesday we will have two labs on JBoss Developer Studio:

9:40 - 11:40 SOA and JBoss Developer Studio by Jim Tyrell

15:20 - 17:20 Seam and JBoss Developer Studio by Aaron Pestel

I and others from the team will be hanging around those labs to help out and answer questions.

We conclude Wednesday by having a BOF:

17:45 - 19:00 "Seam & JSR-299" by Dan, Pete, Gavin, Emmanuel , my self and special guests

Thursday I will be doing my main talk about current status and what is next:

10:50 - 11:50 "The JBoss Tools Project and JBoss Developer Studio"

Other talks will use JBoss Tools & Developer Studio during their main presentations, you can spot those in the full agenda.

Looking forward to meet everybody - don't be shy!

p.s. feel free to follow me and jbosstools at Twitter to get some live updates from the event.

JBoss Tools 3.1 M2 now with Maven!

Posted by    |       |    Tagged as Eclipse JBoss Tools

I'm happy to be able to announce that you can now download JBoss Tools 3.1 M2. Those who loves Maven will hopefully also love this release!

3.1 Milestone 2: Maven Allowed

Installation

Don't forget to read the installation instructions for JBoss Tools if this is the first time installing JBoss Tools (it is not so hard, you just need as a minimum Eclipse 3.5 JEE bundle).

This release works with Eclipse 3.5/Galileo which is avaliable from eclipse.org.

Please remember that this release is a milestone build hence it is not fully QA'ed and some features might not be fully implemented yet. This release is made available so you can provide feedback to the upcoming final releases of JBoss Tools.

New Features

This release have been spent on many bugfixes and making sure we worked well on Eclipse 3.5 GA, but a few new features and improvements have sneaked in. The following is the highlights and you can see the details with screenshots in What's New.

Maven

Support for Maven have been the most requested feature in JBoss Tools for a long time. I hope you find it worth the wait now that we are integrating with m2eclipse to provide a good experience where we try and treat Maven and Eclipse as equals. For this release we focused on making the Seam Wizard or rather Eclipse WTP's project wizards capable of creating Maven ready projects, upcoming releases will improve the usecase of importing existing Maven projects.

Note: shortly before M2 release, m2eclipse released a 0.9.9 on their update-dev updatesite which changed the API we dependend on. We have fixed that in M3/trunk build, so for M2 it is important to use m2eclipse stable updatesite or the latest integration build we developed M2 against. If you want to use latest development release of m2eclipse you need to use the nightly builds of JBoss Tools.

Archived Update Site

Now that P2 have matured immensly in Eclipse 3.5 we are moving away from dropin-installation zip's and instead provide an archived update site zip for local download. This archive can be used to properly install the various JBoss Tools plugins via P2 instead of via the now deprecated dropin's mechanism. This also means you can just download one .zip file for all supported platforms, instead of four.

XHTML Validation

We enabled proper XML validation of .xhtml files so you now get proper warnings for namespaced tags.

Conditional rendering in Visual Page Editor

Until now configured EL expressions in the Visual Page Editor were only used for including resources. In this release we started evaluating EL expressions in rendered attributes to allow you to hide parts of the rendering in the editor just as it would look like in your application when running. No more double-vision.

Improved incremental validation

The speed of validation of EL expressions when you save a file is now greatly improved.

Smooks

The Smooks editor have undergone massive changes in M1 and M2. This release continues adding more features and improvements to the Smooks configuration editor.

jBPM 4

We have included jBPM 4 into this release, making the tools support both jBPM 3 and 4.

Feedback

Use our forum and/or JIRA to let us know what you think and open feature requests/bug reports - we are all ears!

Have fun!

back to top