Working with JBI Descriptors

compared with
Current by Vincent Zurczak
on Feb 12, 2012 19:59.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (6)

View Page History

When you create a [Service-Unit project|Working with Service Unit projects], a [Service Assembly project|Working with Service Assembly projects] or a [Component project|Working with Component projects], a jbi.xml will be created automatically.
If you need to create one by hand, it is possible by selecting *File > New > Petals > JBI Descriptor*.

!petals-studio-editing-jbi-1.jpg!

\\
Click *Next*.
On the next page, select the location where this file should be created.
If necessary, check the *Overwrite* option to overwrite an existing jbi.xml.

!petals-studio-editing-jbi-2.jpg!

\\
Click *Finish*.
The newly created jbi.xml is open in the _JBI editor_, ready to be completed.

h1. Edition of jbi.xml files

h2. With other projects

For any project, the JBI editor shows a *Source* tab.
For other kinds of project, there is the *Petals Source Editor*.

!petals-studio-editing-jbi-14.jpg|width=700pxpx!

\\
This tab editor extends the Eclipse XML editor, and provides some additional features:

* Content assistance, based on the XML Schemas of Petals.
!petals-studio-editing-jbi-15.jpg!

\\
When other tabs are visible in the editor, the source and the other tabs are generally synchronized in memory (no need to save the file to switch between tabs).

h1. Validation of jbi.xml files