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 206202 - Updating JWS Ant Tasks when upgrading from 6.8 to 7.0
Summary: Updating JWS Ant Tasks when upgrading from 6.8 to 7.0
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0.1
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Tomas Zezula
Depends on:
Reported: 2011-12-09 17:05 UTC by jla
Modified: 2011-12-12 07:31 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description jla 2011-12-09 17:05:23 UTC
I have a project created with NetBeans 6.8 that is setup to "Use Dedicated Folder for Storing Libraries". When I did that CopyLibs Task was added to the lib folder. Then when I enabled Web Start in the project settings, JWS Ant Tasks was also added to the folder.

I am now upgrading the project to work with NetBeans 7.0. When I did so I noticed that in the Project settings for Web Start it said that I had old or modified settings and that to update I needed to disable web start, close the Project Properties, open them up again, and re-enable Web Start. (I had a hitch in this process due to "file in use" message on the non-opened jnlp-impl.xml after the old copy had been made. Subversion module conflict? I had to delete jnlp-impl.xml by hand before the re-enable phase worked.)

This process writes out a new nbproject/jnlp-impl.xml file that expects JWS Ant Tasks (org-netbeans-modules-javawebstart-anttasks.jar) to have a lazyJars property and a CopyTemplatePageTask class. The 61 KB version of this file in 7.0/ant/extra has these. The 38 KB version in NetBeans 6.8/java3/ant/extra and in my lib folder does not.

I think this issue is similar to bug 119363 and could be resolved with some fix for bug 133451, but I also feel that whatever happens, in this case it should be automatic.

The IDE told me my JWS settings were old and gave me a course of action to update them if I chose to. I did choose to, but the update left me with an even more broken setup [0] that it seems one must have a more intimate knowledge of how NB sets up the dedicated shared folder to fix [1].


I believe that when I told the system "yes, update my web start / jnlp settings, that update should have included updating the ide-shipped library that the ant script requires.

Thank-you for your consideration.
Product Version: NetBeans IDE 7.0.1 (Build 201107282000)
Java: 1.6.0_27; Java HotSpot(TM) Client VM 20.2-b06
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Userdir: C:\Users\jacob\.netbeans\7.0

Memory (RAM): 8.00 GB
System type: 64-bit Operating System
Comment 1 Tomas Zezula 2011-12-12 07:31:56 UTC
Yes, this happens in case of per project (shared) libraries.
The libraries holding the ant tasks should be updated.