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.
In Nov 13th dev builds all attempts to execute ant scripts fail with the following error: XML parser factory has not been configured correctly: Provider org.apache.crimson.jaxp.SAXParserFactoryImpl not found
Works for me (and nothing changed in the module recently). What is the first build in which you can reproduce this? Also run Ant with -debug (config'd in the GUI) and attach the output. Also run the module with -J-Dorg.apache.tools.ant.modules=0 and attach the log file.
Created attachment 12144 [details] log
Created attachment 12145 [details] ant script output with -debug options on
Need -J-Dorg.apache.tools.ant.modules=0 not -J-Dorg.netbeans.modules.javahelp=0
Created attachment 12146 [details] log with javahelp switch removed
Had Patrick test this on his WinXP box and it works fine. I have tried another continuous build (post-win sys merge) and it doesn't work. I tried a build from before the windowing system merge and ant scripts work fine there. Sorry about the unhelpful log output - I have run several builds with the ant switch you recommended and none of them produced different output than what's in new.ide.log.txt.
I heard Radko talking about similar problems with ant. Radko?
Yes, that's exectly what I got today (build #200311130740, WinXP) With -J-Dorg.apache.tools.ant.modules=0 there is nothing in log file but when I set Verbosity Level in options to Debugging I got the attached exception in the Output window.
Created attachment 12151 [details] output window exception
Well, I'll try to put in some debugging code maybe, assuming I can't reproduce myself.
Same problem (Linux, redhat 9, jdk 1.4.2_02 )
I can only confirm a described behaviour. I've got the same exception like Radko at build 200311131900.
*** Issue 37230 has been marked as a duplicate of this issue. ***
Oops, mistyped the switch, should be -J-Dorg.apache.tools.ant.module=0 (no final 's'). Please send me a log.
Never mind, I can reproduce it with a fresh user dir (not in my normal user dir). Will look at it.
I knew this looked familiar. The bug is actually in the web/jspparser module which illegally uses ant.jar in its classpath, but it can be worked around in the ant module. I never saw it since I don't run with web modules enabled normally - only occurs when that module is enabled. *** This issue has been marked as a duplicate of 35460 ***
closed