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.
-have a CDC project from Mobility Pack for CDC 5.5 update1 that has CDC TK as platform and profile s AGUI -open the 'old' project in 5.r RC builds and upgrade it -run will end with run: java.lang.NoSuchMethodException: main at java.lang.Class.getMethod0(Native Method) at java.lang.Class.getMethod(Class.java:958) at sun.misc.CVM.runMain(CVM.java:460) F:\netbeans\projectsCDC\5.5-fcs-testing\rc1\1206\modules\mobileedition\testing\projectsCDC\Cdc55up1-CDC_TK10_EA-AGUI\nbproject\build-target-impl.xml:130: Emulator execution failed! BUILD FAILED (total time: 2 seconds) -this problem is caused by wrong execution method
imo, this is valid issue. Users will expect that the upgrade should solve issues like this. I agree that it has easy workaround and this issue should be a corner case. Anyway it's worth to notice it in release notes RELNOTE: Please, set up Xlet execution method for upgraded projects using AGUI that were created with Mobility Pack for CDC 5.5 update1
i Will have a look, if it is a easy fix I will try to implement it, but I am bit suspicious that won't be that easy
the problem is caused by Mobility Pack 5.5 Update1 build. The execution is set to main althrough it creates xlet when creating project in 5.5u1.
Created attachment 36520 [details] project from CDC Pack 5.5u1 with AGUI profile
Can't really fix it. Please mention it in release notes that to run the project you must set the correct execution type in properties/run dialog
setting up the target milestone.