[mdr-users] Accessing the NBMDR from the NetBeans IDE
"ludger goeke" <[email protected]> Fri, 22 Jul 2005 02:42:24 +0200 (MEST)
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Martin,
I tried to access the NBMDR with the following simple application, that I
started in the NetBeans IDE.
MDRManager manager =MDRAccess.getDefault().getDefaultManager();
MDRepository repository =manager.getDefaultRepository();
String allNames[] =repository.getExtentNames();
for(int i=0;i<allNames.length;i++){
System.out.println(allNames[i]);
}
But it is just the name "MOF" of the MOF-Extent printed,although there are
more extents in the MDR, as I can see in the MDR-Explorer. After "MOF" is
printed a StorageBadRequestException is thrown. Is it possible that I
access the wrong storage-files ?
------------------------------------------------------------------------
Another question I have, is about adding a module to to netbeans.
I added the jar-File with my generated Interface to the $nbdir/modules
directory. In the manifest for that jar-file I only wrote the classpathes
and OpenIDE-Module: uml2module/1 . Is this sufficient ? I didn`t understand
what the OpenIDE-Module-Localizing-Bundle-attribute means.
Regards,
Ludger
--
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse f�r Mail, Message, More +++