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.
dev build 200807170007 When I try opening the web project I get this error: "Error parsing C:\Users\Gili\Documents\blueeye\trunk\desktopbeautifier\Server\netbeans6.5\nbproject\project.xml: cvc-type.3.1.3: The value '1.6.5' of element 'minimum-ant-version' is not valid." I downloaded the JavaSE bundle of Netbeans, and installed "Web Applications" and "Tomcat" plugins after the fact. This used to work as late as last week (also 6.5 milestone 1) but fails now.
Created attachment 65023 [details] Here is my project file
Given the fact this is a regression and blocks basic usage I am raising the priority to a P1. Feel free to lower it if you disagree.
*** This issue has been marked as a duplicate of 140515 ***
This actually is not a duplicate. Sorry. Opening a project now checks validity of project.xml against XML Schema. There was a time in the past when NB generated project.xml with <minimum-ant-version>1.6.5</minimum-ant-version> which was later fix to be <minimum-ant-version>1.6</minimum-ant-version> and that's the value enforced by schema now. See issue 70913 for more details. Short term fix is to update your project.xml to have "1.6". That will work with NB6.5 and older versions. Jesse, it is question how often this problem can happen. Relaxing schema to allow both 1.6 and 1.6.5 could be a fix.
Thank you for providing a workaround. In the meantime I will modify my project file by hand.
Probably the schema should permit any valid version number. Anyway do we _really_ still generate projects which can run on Ant 1.6.0? I doubt it; very likely we are generating projects which rely on 1.6.5 features or bug fixes.
Actually issue 70913 confused me. You are right Jesse that 1.6.5 is minimum required version but issue 70913 claims that we should wait with fixing this until there is a reason to increase schema version. Which is not true - we can add 1.6.5 to schema and keep there 1.6 for now as well to make schema backward compatible and with a new version of schema we would remove 1.6 from valid values. And this is what I'm going to implement.
Now both 1.6 and 1.6.5 are acceptable values and all new projects are generated with 1.6.5. a43c189259b9
I wasn't able to open attached project because of AssertionError. See issue 143969 for more details. Product Version: NetBeans IDE Dev (Build 200809170201) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)
That's different issue. There is no relation between these two issues.
I opened it without problem. Verified in NetBeans IDE Dev (Build 200809220201).