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 123858 - Space in directory name causes war:standalone:create to fail
Summary: Space in directory name causes war:standalone:create to fail
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Rails (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
: 124068 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-12 01:58 UTC by arungupta
Modified: 2008-03-05 15:45 UTC (History)
0 users

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 arungupta 2007-12-12 01:58:11 UTC
If the directory name of a Rails Project contains a space, then the war:standalone:create target throws the error shown
below:

-- cut here --
(in C:/Users/Arun Gupta/Documents/NetBeansProjects/RailsApplication2)
info: Assembling web application
info: Packing needed Java libraries ...
info:   adding Java library commons-pool-1.3
info:   adding Java library activation-1.1
info:   adding Java library jruby-complete-1.0.2
info:   adding Java library bcprov-jdk14-124
info:   adding Java library goldspike-1.3
info: Packing needed Ruby gems ...
info:   adding Ruby gem rails version 1.2.5
info:   adding Ruby gem rake version 0.7.3
info:   adding Ruby gem activesupport version 1.4.4
info:   adding Ruby gem activerecord version 1.15.5
info:   adding Ruby gem actionpack version 1.13.5
info:   adding Ruby gem actionmailer version 1.3.5
info:   adding Ruby gem actionwebservice version 1.2.5
info:   adding Ruby gem ActiveRecord-JDBC version 0.5
info: Packing needed files ...
info: Creating web archive
C:\Users\Arun\Gupta\Documents\NetBeansProjects\RailsApplication2\config\.. : no such file or directory

rake aborted!
Error: failed to create archive, error code 256

(See full trace by running task with --trace)
Click here to re-run task with tracing enabled 
-- cut here --

Notice, it looks for the incorrect "C:\Users\Arun\Gupta\Documents" instead of "C:\Users\Arun Gupta\Documents". I noticed
this problem on Windows, not sure if it exists on other O/S as well.
Comment 1 Martin Krauskopf 2008-02-07 18:28:41 UTC
*** Issue 124068 has been marked as a duplicate of this issue. ***
Comment 2 Erno Mononen 2008-02-28 16:41:54 UTC
Apparently fixed in GoldSpike 1.5 that seems to be out now. Need to upgrade the bundled zip.
Comment 3 Erno Mononen 2008-03-05 15:45:21 UTC
Fixed, upgraded the bundled Goldspike to 1.5 which fixes the issue.

http://hg.netbeans.org/main/rev/699b93aabcee