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.
1. Create a new J2ME application project with the 'hello world' midlet. 2. Press F6 to build and run Fails with the following error: pre-init: pre-load-properties: exists.config.active: exists.netbeans.user: exists.user.properties.file: load-properties: exists.platform.active: exists.platform.configuration: exists.platform.profile: init: D:\Temp\MobileApplication\nbproject\build-impl.xml:55: Classpath to J2ME Ant extension library (libs.j2me_ant_ext.classpath property) is not set. For example: location of mobility/modules/org-netbeans-modules-kjava-antext.jar file in the IDE installation directory. BUILD FAILED (total time: 0 seconds)
it worked for me. Could you try once more create a new Hello project and run it? Were there any special steps that you did before you created the mobile project? Any exceptions?
I tried it several times. I uninstalled and reinstalled Mobility Pack and Wireless Toolkit 2.5 Beta 2 several times. I tried rebuilding a project that worked fine in NetBeans 5.0 - they all failed. The property that NB is complaining about doesn't seem to actually be defined anywhere...
Please check ${home}/.netbeans/build.properties, especially property libs.j2me_ant_ext.classpath. It should point to valid files. You may also try to run netbeans with fresh userdir "netbeans --userdir <path>".
libs.j2me_ant_ext.classpath is completely absent from my build.properties. I have entirely removed my .netbeans directory, started afresh and the problem has gone. I suspect this might be related to the fact that I had the UML module installed at one point - it caused other wierd problems that apparently had nothing to do with UML.
c