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.
JCDK3.0.2_ConnectedEditionb\samples\reference_apps\Transit\ClassicWalletApplet\nbproject\projcet.properties: attribute export.path has value with relative path "..\\WalletClassicLib\\dist". When run the applet got: error: export file wallet.exp of package com.sun.jcdemo.wallet not found. If an an absolute path is replaced, then the error is gone. export.path=C:\\dev\\samples\\reference_apps\\Transit\\WalletClassicLib\\dist
This code is part of the RI, not NetBeans. I just looked at the copy I have in a recent build of the 3.0.2 RI, and do not see export.path assigned in this file, just export.path= Several things could be wrong: 1. It should not actually be set to anything, most likely 2. The dist/ dir of the other project is almost certainly wrong, as it doesn't contain export files 3. The Ant task (or whatever writes the script "attribute export.path has value with relative path") expects an absolute path. This is an impossibility in sample projects, since we do not know where the user will install them. Whatever is producing this error simply needs to accept a relative path.
Anki, can you shed any light on where this property should point, and any ideas on how on earth it got set to the obviously wrong value the reporter describes? I am guessing this should simply be correctly set up in the example; I don't know of anything in the IDE that will transparently set it to some value, so it's really hard to figure out how this got into this configuration in the first place (or if the user was working with a pristine copy of the samples).
Part of the confusion is that the dist/ directory is almost certainly wrong for the exp file root.
As we still need the workaround for the samples. I reopen this bug for user's reference. Please work with Anki about the detail.
This sample does not exist in the current 3.0.2 RI.