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 83675

Summary: Detecting use of APIs and provide feedback that the application might not be downgradablethis
Product: javame Reporter: bugbridge <bugbridge>
Component: Build SystemAssignee: Petr Suchomel <psuchomel>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description bugbridge 2006-08-29 10:03:53 UTC
Description:
this RFE is based on customer feedback:
Detecting use of APIs etc that are CLDC 1.1 and/or MIDP 2.0 and provide feedback
that the application might not be downgradable to CLDC 1.0 and/or MIDP 1.0.

Evaluation:
This can be easily implemented as a special Ant task that will compile the
application n-times (where n is a number of classpath elements) with exclusion
of one classpath element each time (for CLDC and MIDP with replacement of the
classpath element) and check if the application is still compilable (the element
can be excluded) or incompilable (the element is required).
Resulting report can list the required CLDC/MIDP versions and the APIs necessary
for the application execution.
This can be incorporated into J2ME project build script and available as a
special project action.