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 192648 - Build JNLP Application with native libraries
Summary: Build JNLP Application with native libraries
Status: RESOLVED DUPLICATE of bug 76196
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-29 22:17 UTC by bryanyoung
Modified: 2011-04-13 17:06 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bryanyoung 2010-11-29 22:17:32 UTC
Currently, when developing a platform application which depends on native libraries (JOGL, for example), the native libraries can be copied to the release/modules/lib directory and the project can be built as a Zip Distribution or Installer Package. Unfortunately, there is no straightforward way to build such a project as a JNLP Application.

The Netbeans build system should be enhanced to detect the presence of native libraries in the release/modules/lib directory and generate <nativelib> tags in jnlp files.
Comment 1 Jaroslav Tulach 2011-04-13 16:05:40 UTC
I let Jesse comment on this, but I believe a solution exists. There should be some section in harness/README to guide you.
Comment 2 Jesse Glick 2011-04-13 17:06:25 UTC
You would need to override the jnlp target in the relevant module's build script. I cannot think of a straightforward mechanical construction of the module fragment *.jnlp since JNLP requests that you specify the platform architecture for each native lib, and this information cannot generally be reconstructed from file structure in release/modules/lib.

*** This bug has been marked as a duplicate of bug 76196 ***