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.
Below is the output (targets names only) of build.xml script when (Re)Load action is called: init-platform-properties: init-ri-properties: init-device-properties: init-keystore: compile: create-descriptors: create-static-pages: unpack-dependencies: do-pack: do-sign: pack: build: init-platform-properties: <- duplicated init-ri-properties: <- duplicated init-device-properties: <- duplicated init-keystore: <- duplicated build-dependencies: <- does nothing but calling -init again unpack-dependencies: <- duplicated do-pack: <- duplicated Packager: do-sign: <- duplicated pack: <- duplicated load-dependencies: load-bundle:
Suggested fix: Remove "depends" attribute from <target name="load-bundle">, because it seems that "build" target is executed before it anyway, so there's no need to run initialization and packager again. So instead of <target name="load-bundle" depends="-init,load-dependencies"> <waitfor> <http url="${javacard.device.cardmanagerurl}"/> </waitfor> <jc-delete failonerror="no"/> <jc-unload failonerror="no"/> <jc-load failonerror="yes"/> </target> build-impl.xml should contain: <target name="load-bundle"> <waitfor> <http url="${javacard.device.cardmanagerurl}"/> </waitfor> <jc-delete failonerror="no"/> <jc-unload failonerror="no"/> <jc-load failonerror="yes"/> </target> In such case there's no duplication.
Sorry for comment duplication.
Mikhail - you mentioned that this was fixed?
Right. This issues is fixed as described in Suggested Fix above.