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.
We need for our test a emulator runtime. The tests run against built IDE or unzipped one therefore the WTK isn't presented there as it is when you use installer. We needa way how to provide the runtime to the IDE. E.g. the j2ee use folllowing command line switch to specify path to the appserver -J-Dcom.sun.aas.installRoot=path It would be helpfull for testing of the Mobility Pack to have a command line switch that would enable to add Java ME platfrom to IDE easily. Otherwise we have to use a hack or workarounds (as issue 110820). Possible behaviors: 1, the switch points to installation directory of the platform (usually WTK). It detects the platform automatically and adds it into registered platforms. 2, the switch points to platform definition xml (as defined at http://www.netbeans.org/dtds/j2me-platformdefinition-1_0.dtd). The platform is again available in IDE after start. I know that we can achieve the behavior (2) by coping the xml during the test run however it would be more convenient to have both ways available.