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 183707 - [69cat] Enabling Java Web Start in Old project won't compile
Summary: [69cat] Enabling Java Web Start in Old project won't compile
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Java Webstart (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-08 13:18 UTC by javydreamercsw
Modified: 2016-07-07 08:37 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2010-04-08 13:18:23 UTC
[ JDK VERSION : 1.6.* ]

I tried this on 6.8 and daily builds with the same behavior so is not a new
bug.

I was following the tutorial at
http://netbeans.org/kb/docs/java/javase-jws.html on an old project (Have been
updating it since 6.0 up to now) and noticed I was unable to compile due to a
missing ant import. I had to delete my
buid-imp.xml, open and close the project for it to be regenerated and add the
missing import to jnlp-impl.xml

Maybe the wizard should take care of that as well. (the jnlp-impl.xml was
generated by the wizard) Not sure if it was due to having custom stuff on my
project's build.xml file or what but it missed that.
Comment 1 javydreamercsw 2010-04-08 13:19:49 UTC
Updated fields as suggested by ifilippova.
Comment 2 Tomas Zezula 2010-04-15 13:56:45 UTC
I've tried. I created a new project in NB 6.0.1 and did a JNLP app from it in NB 6.9. The project compiles and runs fine.
The problem you have described can happen when you edit the build-impl.xml and the crc does not match. In this case project open which does the update of the build-impl.xml gives up and do not update the build-impl.xml (it does not want to delete your changes). When you delete the build-impl.xml there are no modification and it's regenerated when the project is opened.
Comment 3 javydreamercsw 2010-04-15 18:30:06 UTC
In my case the build-xml file is un-modified. Can the CRC calculation changed sometime that caused it to treat it as modified?

Or a wrong CRC file. Maybe I had an old cdr faile due to versioning of the project.

That would make sense.

Maybe the wizard should warn the user when this happens with a nice message. Enhancement?
Comment 4 Tomas Zezula 2010-04-16 07:43:01 UTC
Yes, the warning is reasonable.
Comment 5 Martin Balin 2016-07-07 08:37:37 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss