RE: [xml-dev] contradictory loader ordering in 3.5
"Richard Unger" <[email protected]> Thu, 20 Mar 2003 16:07:19 -0800
| Newsgroups | gmane.comp.java.netbeans.modules.xml.devel |
|---|---|
| Message-ID | <[email protected]> |
> I can see one problem here and it is that your loader
> produces the same DataObject class as XMLDataLoader. And
> loaders order is _surprisingly_ keyed by DataObject classes.
> You may need to introduce artificial DataLodaer and
> DataObject classes to resolve it.
>=20
> Cc.
>=20
Ah, I seem to have found the problem. I had neglected to make the =
change:
public VoiceXMLDataLoader() {
//super(org.netbeans.modules.xml.core.XMLDataObject.class);
super("org.netbeans.modules.xml.core.XMLDataObject");
}
That makes the TopologicalSortException go away, even when I specify in =
my manifest:
Name: com/nuance/tools/voicexml/VoiceXMLDataLoader.class
OpenIDE-Module-Class: Loader
Install-Before: org.netbeans.modules.xml.core.XMLDataObject
However, The Install-Before directive still seems not to work. It still =
gets loaded after the XMLDataObject.
Rich