Bug 180464 - Add jnlp.jar to the compile classpath when WebStart mode enabled
Add jnlp.jar to the compile classpath when WebStart mode enabled
Status: RESOLVED FIXED
Product: projects
Classification: Unclassified
Component: Java Webstart
6.x
All All
: P2 (vote)
: 6.x
Assigned To: Tomas Zezula
issues@projects
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-09 02:42 UTC by David Strupl
Modified: 2010-03-03 22:09 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Strupl 2010-02-09 02:42:21 UTC
The JNLP APIs contained in the jnlp.jar should be accessible during compilation of project when web start is enabled. BUT the jar should not be packaged with the application since the classes are contained in the javaws.jar during the deployment.
Comment 1 Tomas Zezula 2010-03-03 06:16:43 UTC
jet-main 3dda7118db91
Comment 2 Tomas Zezula 2010-03-03 06:24:23 UTC
From off line description:
Plugin will always add to bootclasspath plugin.jar, deploy.jar and javaws.jar.
However, to develop FX applet users have to add them manually if they are trying to use any of their public APIs
(e.g. JNLP services). This is unneded complication and moreover result JNLP files will include these extra .jar files
and files will be copied to the dist directory. This should not be done.

It will be much more convinient if NB will automatically add these jars to classpath as soon as user switch project properties to be applet
or webstart (for webstart mode only javaws.jar and deploy.jar need to be added). These jars should only be referenced for compile time
and should not be copied to the dist directory, attempt to execute  JNLP application or applet will pick them automatically.
They should not also be referenced from the manifest in the main jar.
Comment 3 Quality Engineering 2010-03-03 22:09:39 UTC
Integrated into 'main-golden', will be available in build *201003040200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3dda7118db91
User: Tomas Zezula <tzezula@netbeans.org>
Log: #180464:Add jnlp.jar to the compile classpath when WebStart mode enabled


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo