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

Summary: Build JNLP Application with native libraries
Product: apisupport Reporter: bryanyoung <bryanyoung>
Component: HarnessAssignee: Jesse Glick <jglick>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jglick
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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 ***