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 129749 - Build JNLP action depends on jar placed in samples folder
Summary: Build JNLP action depends on jar placed in samples folder
Status: VERIFIED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-11 11:25 UTC by Tomas Danek
Modified: 2008-03-11 16:43 UTC (History)
0 users

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 Tomas Danek 2008-03-11 11:25:56 UTC
Product Version: NetBeans IDE Dev (Build 20080311052047)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-120
System: Mac OS X version 10.4.11 running on i386; MacRoman; en_US (nb)
Userdir: /tmp/ud1
----------------
- created feedreader suite
- invoked build jnlp
- build fails because of missing file $JDK_HOME/sample/jnlp/servlet/jnlp-servlet.jar. Mac JDK does not seem to contain
such JAR. The same is reproducible on windows, if user does not install "Samples" during JDK installation. Why Build
JNLP needs to depend on something from samples?
Comment 1 Jesse Glick 2008-03-11 16:07:46 UTC
Sorry but that's just where the Sun JDK puts the file in question, and without it you cannot build a JNLP WAR. (You
should be able to Run JNLP without it.) The build should be failing with an appropriate explanatory message, namely

"Point -Djnlp.servlet.jar to your jnlp-servlet.jar, usually in $JDK_HOME/sample/jnlp/servlet/jnlp-servlet.jar"

which is the best NB can do, unless in the future we can obtain legal permission to distribute this file, or the JDK
starts putting it somewhere else.
Comment 2 Tomas Danek 2008-03-11 16:43:28 UTC
yup, running jnlp works, but war cannot be build in such a case. Message is also shown, however it would be nice to
bundle this jar with ide in the future to avoid such a problem. verified.