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 42751

Summary: ide mode fails on sources with space in path
Product: obsolete Reporter: Jan Chalupa <jchalupa>
Component: xtestAssignee: issues@obsolete <issues>
Status: CLOSED FIXED    
Severity: blocker Keywords: SPACE_IN_PATH
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Exception stack trace
Console log

Description Jan Chalupa 2004-05-04 07:55:39 UTC
[build of sources updated on 05/01/2004, JDK 
1.4.2_04]

I have the nb source tree checked out in a 
directory with spaces:

C:/Documents and Settings/honza/sources/nb_all

xtest seems to fail to start tests in the 'ide' 
mode properly. The IDE starts up, but a 
ZipException is thrown (attached) and the tests 
won't run. In addition, a message about 'Ignored 
unknown option: and' is printed to the console 
(log attached).

When the same source tree is copied to a 
directory without spaces, everything works fine.
Comment 1 Jan Chalupa 2004-05-04 07:56:56 UTC
Created attachment 14677 [details]
Exception stack trace
Comment 2 Jan Chalupa 2004-05-04 07:58:11 UTC
Created attachment 14678 [details]
Console log
Comment 3 Jan Chalupa 2004-05-04 07:59:22 UTC
Should have mentioned I'm trying to run the ide/test/build.xml.
Comment 4 Jiri Skrivanek 2004-05-04 15:13:33 UTC
OK, I'll look at it.
Comment 5 Jiri Skrivanek 2004-05-06 09:31:26 UTC
Fixed - all paths have to be quoted.

/cvs/xtest/plugins_src/ide/lib/ide_plugin_targets.xml,v  <-- 
ide_plugin_targets.xml

new revision: 1.18; previous revision: 1.17
Comment 6 Jan Chalupa 2004-05-08 07:06:24 UTC
Seems to work. I'm able to compile and run tests in a directory w/ 
spaces. Thanks.