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 111082 - Specify a way to platform descriptor on command line switch
Summary: Specify a way to platform descriptor on command line switch
Status: NEW
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: luky
URL:
Keywords: T9Y
Depends on: 101722
Blocks:
  Show dependency tree
 
Reported: 2007-07-26 10:54 UTC by Lukas Hasik
Modified: 2008-05-05 10:49 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2007-07-26 10:54:29 UTC
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.