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.
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?
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.
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.