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.

Bug 92251 - Mobility pack is unusable
Summary: Mobility pack is unusable
Status: CLOSED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: Build System (show other bugs)
Version: 5.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Adam Sotona
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-10 18:04 UTC by alanbur
Modified: 2007-03-21 14:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alanbur 2007-01-10 18:04:35 UTC
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)
Comment 1 Lukas Hasik 2007-01-10 18:55:13 UTC
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?
Comment 2 alanbur 2007-01-10 20:47:20 UTC
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...
Comment 3 Martin Ryzl 2007-01-10 22:15:13 UTC
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>".


Comment 4 alanbur 2007-01-12 11:27:40 UTC
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.
Comment 5 Lukas Hasik 2007-03-21 14:11:40 UTC
c