I installed Eclipse, but it won't run.
It is possible that you do not have a Java Runtime Environment (JRE) on your system, or its version is too old. Go to the command line and type java -version to check this. You should see a version name at 1.5.0 or later. If not, you can download a JRE from Sun's website at http://java.com/en/download/manual.jsp.
I installed Eclipse and it runs ok, but the editor does not appear to be present.
Select Help - About Eclipse, and then click Plug-in Details. Are the IP‑XACT editor plugins in the list? If not, it may be the version of Java that you are using is too old. If you have an old version of Java, Eclipse may start but the plugins won't load and no information is logged as to why. Use java ‑version on a command line to check that you have version 1.5.0 or later.
I installed everything, but my IP‑XACT files don't have the IP‑XACT icon on the editor tab when I edit them.
This problem suggests that you may have opened the built-in XML editor instead. Usually this means that the editor plugins are not installed or working properly. Here are a few things you can try:
1. Check the list of plugins from Help - About Eclipse, Plug-in Details. Are all the components of the IP‑XACT editor listed?
2. If you right-click on an IP‑XACT file you should see the IP‑XACT editor offered as a choice to select. Maybe you chose a different editor?
3.
If the IP‑XACT file is badly damaged then
the editor may not be able to recognize it as an IP‑XACT file at all, and
so won't offer itself as an editor or that file. Check (in any editor) that
the XML namespace declaration at the top of the file is sensible. It should
look something like this:
xmlns:spirit=http://www.spiritconsortium.org/XMLSchema/SPIRIT/1.2
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation=http://www.spiritconsortium.org/XMLSchema/SPIRIT/1.2
http://www.spiritconsortium.org/XMLSchema/SPIRIT/1.2/index.xsd
in particular, the last item in the xsi:schemaLocation attribute should be locatable via the web. To check this, enter http://www.spiritconsortium.org/XMLSchema/SPIRIT/1.2/index.xsd
into your web browser and you should see a schema file. A missing page will
give you problems.
How do I reference the SPIRIT schemas locally for working offline?
If you have downloaded and extracted the
SPIRIT Consortium’s public release documentation (see The SPIRIT
Consortium’s Public Release Documentation), then you can reference the
schema definitions from that location. Select Window – Preferences to
display the Preferences dialog, expand the Web and XML node and
select XML Catalog. Press the Add… button and enter the catalog
information as follows:
1.
Use the button to locate the schema file index.xsd.
2. The key Type should automatically change to Namespace Name.
3. The Key is the schema identifier: http://www.spiritconsortium.org/XMLSchema/SPIRIT/1.2.
How do I add to my library of existing IP‑XACT items?
Assuming you already have a collection of IP‑XACT files somewhere on your system, you can ask the editor to catalogue them for you and present them in a form that allows easy selection and use. See the section Create a Library project for details on how to do this.
How do I see what is in the library?
From the Window menu, select Show View - Other... and expand the IP‑XACT folder. Select the IP‑XACT Library view and click OK. A new window will open containing the library items, organized by vendor, then library, then name and finally version.
How do I add a bus interface to my component?
Select the Design tab on the editor.
Open the IP‑XACT Library view and find a bus interface component (). Drag it onto the
editor window and complete the dialog box options that appear. A basic busInterface will be created in the IP‑XACT file, along with default
mapping for signals defined by the bus definition. It may be necessary for you
to edit the IP‑XACT data directly to specify any of the more specific
features associated with the new interface.
Why has Source – Format – Document (Ctrl+Shift+F) split my source lines inappropriately?
If you reformat your document, you may find that line breaks have been inserted in inappropriate places causing a data validation error (elements that should not have text content now contain a number of line feeds). This problem arises when the reformat margin is set too small (the default is 72). To fix this, display the XML Source preferences (Window – Preferences.. – expand Web and XML – expand XML Files – select XML Source), and set the Line width to 999. You may also want to indent using 2 spaces.). Now reformat the document again, and this problem should be fixed.