A JBoss Project
Red Hat

Latest posts

A few weeks back Eclipse launched their Java 8 Support for Eclipse Kepler.

Its a great page with links to various resources about Java 8 and how to install the various components into Eclipse.

The four components you want to install if you are doing web/java development for Eclipse are the ones covering:

  • Java core (JDT)

  • Java Web Tools (WTP)

  • Maven (m2e)

  • OSGI (PDE)

For now those need to be installed individually.

We wanted to make that even simpler.

Thus today we deployed our Java 8 packaged install and update site which does not require you to do four different installs.

There are two ways to use this. Using JBoss Central or the composite update site.

Using JBoss Central

  • Open JBoss Central

  • Click Software/Update

JBoss Central showing Java 8 Install connector
  • Choose Java 8

  • Click Install

You will then be shown a screen where you can choose to install all or select a subset.

If you have JBoss Tools installed the recommended way is that you install them all since then you get the best Java 8 coverage possible in Eclipse.

Using plain old update site

If you do not want to use JBoss Central you can also use this update site directly:

http://download.jboss.org/jbosstools/updates/stable/kepler/central/java8/

Please note that this site includes plugins for 'm2e' with "Optional" in their name which are only relevant if you are an Eclipse plugin developer. You can skip those - just there for completeness.

Limitations

We know that Java 8 support is not fully working for WildFly 8 server adapter in our Kepler based JBoss Tools version - if you want to use that try out our recent builds of JBoss Tools for Luna where this is being supported.

But otherwise you can now build and run Java 8 projects with JBoss Tools for Eclipse Kepler today.

Have fun!

Max Rydahl Andersen
@maxandersen

The last few days an error have started popping up during validation of all our existing JBoss archetypes and examples.

The error you will see in Eclipse problems view will be:

Referenced file contains errors (http://docs.jboss.org/ironjacamar/schema/datasources_1_0.xsd).
For more information, right click on the message in the Problems View and select "Show Details..."

on various *-ds.xml files.

The cause of this error is that the IronJacamar project moved their xsd’s and rest of their content to http://ironjacamar.org back in June 2013.

I’m sorry for that inconvenience, but do not despair - the solution is here.

Solution

For now we have requested that the content will be restored to make this true but annoying error to go away without you having to do anything.

But until that is fixed you can also fix it locally by using the updated ironjacamar url/namespace in your .xml files:

Change this:

<datasources xmlns="http://www.jboss.org/ironjacamar/schema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.jboss.org/ironjacamar/schema http://docs.jboss.org/ironjacamar/schema/datasources_1_0.xsd">

to

<datasources xmlns="http://www.ironjacamar.org/doc/schema"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.ironjacamar.org/doc/schema http://www.ironjacamar.org/doc/schema/datasources_1_0.xsd">

Basically replacing http://www.jboss.org/ironjacamar/schema with http://www.ironjacamar.org/doc/schema. The namespace name changes, but otherwise the content/semantics should stay the same.

Why this validation errors have not shown up before we are still looking into and I’ll let you know when we have that answer.

For now just live with the validation error for a few days or update your xsd files to use the new namespace.

Again, sorry for the inconvenience.

Despite this - do Have fun!

Max Rydahl Andersen
@maxandersen

Integration Tooling for Eclipse Oxygen

by Paul Leacu on Aug 16, 2017.

JBoss Tools 4.5.0.AM2 for Eclipse Oxygen.0

by Jeff Maury on Jul 18, 2017.

JBoss Tools 4.5.0.AM1 for Eclipse Oxygen.0

by Jeff Maury on Jun 27, 2017.

Are you a Developer User Experience lead ?

by Misha Husnain Ali on May 31, 2017.

Looking for older posts ? See the Archived entries.
back to top