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 182670 - Build procedure for classic applets and libs doesn't take into account proxy sources
Summary: Build procedure for classic applets and libs doesn't take into account proxy ...
Status: RESOLVED FIXED
Alias: None
Product: javacard
Classification: Unclassified
Component: Java Card (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: msmirnov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-24 14:21 UTC by msmirnov
Modified: 2010-04-01 09:59 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 msmirnov 2010-03-24 14:21:00 UTC
For using classic libraries and classic applets in other connected applications like extended applets and web applications SIO Proxy classes are used. These sources for these classes could be generated by the plugin. However after generation of these sources with "Generate SIO Proxies" menu item classic applet project cannot be built anymore. This is because generated Proxy classes use Java Card Connected API and can't be compiled with Classic API bootclasspath.

I suggest to fix build procedure for classic applets and libraries so that they compile their classes in two steps: 

1. All classic sources (excludes="**/proxy/*) are compiled with Classic API bootclasspath.

2. Optional: if use.my.proxies=true then proxy sources (includes="**/proxy/*) are compiled with Connected API classpath.
Comment 1 _ tboudreau 2010-04-01 07:08:40 UTC
Should be easy enough to do - the property javacard.bootclasspath is available in the environment and contains the Connected API classes.
Comment 2 msmirnov 2010-04-01 09:58:55 UTC
This issue is fixed.