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 64989 - [JNLP] Add warning that JNLP building doesn't work on jdk 1.4.x
Summary: [JNLP] Add warning that JNLP building doesn't work on jdk 1.4.x
Status: VERIFIED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2005-09-23 13:02 UTC by pzajac
Modified: 2006-10-23 16:39 UTC (History)
1 user (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 pzajac 2005-09-23 13:02:45 UTC
It will be better to show warning dialog before the jnlp is build with samethink
like this:
JNLP Build doesn't work with jdk 1.4.x. Start IDE with jdk 1.5.

Ant's messages on JNLP building when is used jdk 1.4.2:
----
Copying 1 file to /usr/local/pzajac/tmp/feedreader-suite-4/build/jnlp
Your JNLP file is generated at
/usr/local/pzajac/tmp/feedreader-suite-4/build/jnlp/master.jnlp
build:
/usr/local/pzajac/newdev/netbeans/harness/suite.xml:152: The following error
occurred while executing this line:
/usr/local/pzajac/newdev/netbeans/harness/jnlp.xml:110: Point -Djnlp.servlet.jar
to your jnlp-servlet.jar, usually in $JDKHOME/sample/jnlp/servlet/jnlp-servlet.jar
BUILD FAILED (total time: 48 seconds)
---
Comment 1 Marian Mirilovic 2005-09-23 13:42:27 UTC
What about notice in Release notes?
Comment 2 Jesse Glick 2005-09-23 17:23:10 UTC
It *should* build correctly with JDK 1.4, but you will need to manually define
the mentioned property, since JDK 1.4 does not ship with javaws by default.

The proper behavior should be to open a filechooser to let the user find the
right servlet JAR. But I don't think we'll do this for 5.0. Better to spend time
making things work nicely on Tiger and Mustang.
Comment 3 Jaroslav Tulach 2005-09-24 08:55:42 UTC
Well, the only thing that does not work is build war file. Otherwise execution  
and debugging should work. If that is the case I believe the warning is 
sufficient and the issue is not priority at all. 
Comment 4 Jesse Glick 2005-09-24 15:51:10 UTC
A warning *is* sufficient but an error message from Ant is not very friendly;
most people will just panic and not actually read the error message.
Comment 5 Jaroslav Tulach 2006-04-13 17:50:00 UTC
Would it be good idea to reuse the servlet jar from the IDE we are running in?
Comment 6 Jesse Glick 2006-04-13 18:21:10 UTC
Different JAR. (jnlp-servlet.jar, not servlet.jar)

Since 1.4 won't be supported in the trunk, I don't think we'll bother with this.
Comment 7 pzajac 2006-04-14 07:11:25 UTC
I agree, that there is no reason to support jdk 1.4 anymore.