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.
Created attachment 108541 [details] Screenshot of the issue When viewing the contents of a Java Card project within the Projects Window, the Java source files included in the project are not listed under their corresponding package. In the "Projects" window for a Java Card project: 1. Expand the contents of the project 2. Expand the contents of "Source Packages" 3. Try to expand the contents of the specific package listed there. The problem lies here: The source files are not listed within the package they are in. In order to see the classes included in a package, the "Files" window must be used instead. The attachment shows a screenshot of the problem. The source file, "ClassecApplet5.java" is seen in the Files window: ClassicApplet5 -> src -> classicapplet5 -> ClassicApplet5.java. However, it is not seen in the Projects window as it should be under: ClassicApplet5 -> Source Packages -> classicapplet5 This problem occurs anytime a Java Card project is open. Product Version: NetBeans IDE 7.0 (Build 201104080000) (I have the latest updates from May 26th, 2011.) Java: 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) This issue is not seen in NetBeans 6.9.1.
fixed http://hg.netbeans.org/jet-main/rev/449d5849cb0b Please beware what fix is applied only for creating new java card project. For existing projects you should edit your projectdir/nbproject/project.properties: 1. change "includes=**/*" to "includes=" 2. add "build.classes.excludes=**/*.java" so properties file should look like: ==== active.device=Default Device applet.descriptor=APPLET-INF/applet.xml applet.inf.dir=APPLET-INF build.applet.inf.dir=${build.dir}/APPLET-INF build.classes.dir=${build.dir}/APPLET-INF/classes build.classes.excludes=**/*.java build.dir=build build.meta.inf.dir=${build.dir}/META-INF class.path= compile.on.save=false; display.name=ClassicApplet3 dist.bundle=${dist.dir}/${dist.bundle.name} dist.bundle.name=${display.name}.cap dist.bundle.sig=${dist.dir}/${dist.bundle.sig.name} dist.bundle.sig.name=${display.name}.signature dist.dir=dist dist.jar=${basedir}/${dist.dir}/${dist.bundle.name} excludes= includes=**/* javac.args= javac.debug=true javac.deprecation=true javac.source=1.6 javac.target=1.6 meta.inf.dir=META-INF package.aid=//aid/8B00D40A08/02 platform.active=javacard_default proxy.generation.dir=${dist.dir}/generated_proxies_src run.apdutool=true run.script=${scripts.dir}/classicapplet3.scr runtime.descriptor=META-INF/MANIFEST.MF scripts.dir=scripts sign.alias=ri sign.bundle=true sign.keystore=${javacard.home}/samples/keystore/a.keystore source.encoding=UTF-8 src.dir=src ====