A JBoss Project
Red Hat

Latest posts

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

In this article I’m happy to introduce you a brand new HTML Preview without XULRunner.

Basically, HTML Preview could be treated as a possible XULRunner substitution for plain HTML pages (JSF/xhtml still requires XULRunner). The point is that when XULRunner is unavailable, HTML Preview will be used in "Visual/Source" and "Preview" tabs of the VPE. It will be also available as a separate view and won’t be coupled with a paticular editor.

Overview

HTML Preview has several cool features like:

  • automatic refresh (enabled by default)

  • refresh on save

  • navigation from source to view and vice versa

Here is a short demo video, which covers basic use case :

How can I try it?

HTML Preview is not in production yet. It will be a part of JBoss Tools and Developer Studio Beta2 release for Eclipse Luna. However, you can today access to the "nightly" build of JBoss Tools VPE update site at:

http://download.jboss.org/jbosstools/builds/staging/jbosstools-vpe_master/all/

On this update site you find "HTML Preview" when unselecting "Show categorized". Once installed and you have restarted Eclipse you should have a "HTML Preview" view available.

Conclusion

We are trying our best to make HTML Preview as good as possible. Users feedback is what we are seeking for now. We are looking forward to hearing your comments / remarks!
Have fun!

Ilya Buziuk
@ilyabuziuk

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