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.
Unlike the main project targets (jar/compile/test/etc.) the jnlp generation process doesn't provide any extension points that people can use for pre/post processing. Please add these. The main targets (jnlp. generate-jnlp, generate-html-preview) should be renamed as -do-* and replaced with ones that depend on those + corresponding empty -pre-* & -post-* "extension hook" targets, in similar fashion to the compile & dist targets in build-impl.xml. Possibly sign-jars too, since that's also a kind of compile/build step. But probably not jws-run & jws-debug - the main run & debug targets don't include any pre & post hooks.
I am in a case where this feature is missing and I have no way to workaround it. I want the user to clean/build and have these post-jnlp hooks to be called: 1) Handle native libraries by patching the generated jnlp file. 2) Do some replacement of $$$codebase Currently I need to call a target manually.