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.
[#200910130201, jdk1.6, Win Vista, GF v3, J2EE 6] to reproduce: ------------- 1) install Nb into the default location ("C:\Program Files\NetBeans Dev 200910130201") 2) create a new Web Project with a Servlet 3) clean and build the project ERROR: build fails due: ... Compiling 1 source file to C:\Users\felipee\Documents\NetBeansProjects\WebApplication2\build\web\WEB-INF\classes javac: invalid flag: Files\NetBeans Usage: javac <options> <source files> use -help for a list of possible options ... Java SE project is working fine.
This may be related to David's recent changes for endorsed dirs etc. Martin, could you please switch Ant to verbose mode and run it again, and attach the output? That may contain some more diagnostic information. Thanks.
Yes, filenames with spaces are not handled properly.
*** Issue 174568 has been marked as a duplicate of this issue. ***
*** Issue 174577 has been marked as a duplicate of this issue. ***
49624dc91b87 If NetBeans is installed in folder with a space in the name then JEE6 projects will fail to build because endorsed jars were not handled properly in build script.
Integrated into 'main-golden', will be available in build *200910150201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/49624dc91b87 User: David Konecny <dkonecny@netbeans.org> Log: #174527 - spaces in path name were not properly handled