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 187673 - jnlp issue -- javaws.jar becomes un-resolved
Summary: jnlp issue -- javaws.jar becomes un-resolved
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Java Webstart (show other bugs)
Version: 7.1.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 188401 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-16 17:41 UTC by emiddio
Modified: 2012-06-22 12:36 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emiddio 2010-06-16 17:41:37 UTC
after zipping up a project -- that has at some point been configured
for jnlp, java web start -- even when not currently configured to run
java web start or have enable java web start,

if the project is unzipped into a different directory then the one where
it was zipped up from -- references to <jdk-install>/jre/lib/javaws.jar

are incorrect.

the references are not listed in project/libraries -- come from
project.properties, private.properties

they can be fixed by using the resolve missing references wizard.

discovered delivering a project from windows to apple/mac customer;

this was nb6.9rc2
Comment 1 Tomas Zezula 2010-06-17 21:17:45 UTC
The <jdk-install>/jre/lib/javaws.jar is a bit special it's not a "user" library. It's automatically added by the Web Start support. The reason is that it's available for app during runtime but it should not be added into jnlp file or Class-Path attribute. So it's not a user visible libirary.
I will add a code which updates the javaws.jar location when the project is opened (possibly on other machine).
Comment 2 Tomas Zezula 2010-06-23 12:53:53 UTC
Fixed jet-main ee802f2eaec0
Comment 3 Quality Engineering 2010-06-24 03:32:09 UTC
Integrated into 'main-golden', will be available in build *201006240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ee802f2eaec0
User: Tomas Zezula <tzezula@netbeans.org>
Log: #187673:jnlp issue -- javaws.jar becomes un-resolved
Comment 4 Tomas Zezula 2010-07-07 09:00:04 UTC
*** Bug 188401 has been marked as a duplicate of this bug. ***