This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I tried very carefully to follow the instructions on the web pages for building UML2MOF. Several weeks ago I succeeded. Now I cannot. I checked out netbeans modules standard_nowww and mdr. Following the instructions, everything seems to go well until I run ant in the UML2MOF directory. It cannot find any of the UML classes like UmlPackage. To fix this I changed build.xml to use: mdr/test/unit/src/org/netbeans/mdr/test/data/uml-14.jar After this problem, the build of UML2MOF complained about not being able to find crimson-1.1.3.jar. I saw in NBInstaller.java from core that crimson may have been hidden inside of rt.jar, so I commented out the crimson lines in the UML2MOF build.xml. After that problem, the ant in UML2MOF complained about xml- apis-1.ob2.jar. Not knowing what to do, I commented out those lines. Compile completed successfully, but UML2MOF won't run because: java.lang.NoClassDefFoundError: org/openide/util/Utilities How can I build UML2MOF in the mean time. It used to work. Is there some tag I can use in the cvs checkout that will get me a working UML2MOF? As I said, I used standard_nowww and mdr as the modules I checked out. Thanks, Jeff
I realize now that the UmlPackage stuff gets created in the MDRAnt process when you run the sample. However, because of the other problems, that still does not help me compile or run the tool. If someone were to help me get this tool running, I would be more than happy to update the web pages and sample.xml to ease the process for new users like myself.
The exception that you get seems to be caused by the bug in the openide build script that I just filed. What you wrote in the second note is not significant - subsequent failures of attempts to build uml2mof are caused by a wrongly initialized storage (caused by the original problem with Utilities class). There should be no problem with the MDRAnt library. I will commit an updated version of uml2mof build script (I removed dependency on crimson and xml-apis) and wait for the openide build script to be fixed (I believe it will be tomorrow). Then it should start working again. But you will have to invoke ant real-clean in the uml2mof directory before you will try to build it again to erase the wrongly initialized storage.
OK - the issue with openide-lookup was fixed. You need to update sources of openide module from CVS, then go to uml2mof directory, first invoke "ant real-clean" then "ant" and it should work.