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 - Add extension "hooks" to jnlp targets
Summary: Add extension "hooks" to jnlp targets
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC All
: P3 blocker with 2 votes (vote)
Assignee: Tomas Zezula
Depends on:
Reported: 2009-02-05 07:35 UTC by ats37
Modified: 2011-08-31 14:08 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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.