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 157967

Summary: Add extension "hooks" to jnlp targets
Product: java Reporter: ats37 <ats37>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description ats37 2009-02-05 07:35:07 UTC
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.
Comment 1 Jean-francois Denise 2009-03-06 16:58:07 UTC
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.