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 180127 - Clean & Build does not work
Summary: Clean & Build does not work
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 180048 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-02 00:57 UTC by Peter Nabbefeld
Modified: 2010-02-08 04:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Nabbefeld 2010-02-02 00:57:08 UTC
When I'm trying to rebuild a Java project using "Clean and build" I'm getting the following error:

javac: invalid flag: Einstellungen\pna\Eigene
Usage: javac <options> <source files>
use -help for a list of possible options
C:\Dokumente und Einstellungen\pna\Eigene Dateien\NetBeansProjects\MyProject\nbproject\build-impl.xml:447: The following error occurred while executing this line:
C:\Dokumente und Einstellungen\pna\Eigene Dateien\NetBeansProjects\MyProject\nbproject\build-impl.xml:203: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 1 second)


The problem is obviously my windows home directory containing spaces.
Comment 1 Peter Nabbefeld 2010-02-02 01:08:57 UTC
Building impossible. Reason seems to be the usage of the project's path in build/built-jar as a key value - very suspicious, IMHO.
Comment 2 Tomas Zezula 2010-02-02 02:55:16 UTC
Annotation processors integration.
Comment 3 Tomas Zezula 2010-02-03 08:25:51 UTC
*** Bug 180048 has been marked as a duplicate of this bug. ***
Comment 4 Jan Lahoda 2010-02-08 04:50:46 UTC
Should be fixed by:
http://hg.netbeans.org/main/rev/b0946bc11c81

Please verify. Thanks.