forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iss...@cocoondev.org
Subject [JIRA] Commented: (FOR-267) spaces in project path lead to error on Windows
Date Fri, 17 Sep 2004 18:27:16 GMT
The following comment has been added to this issue:

     Author: Dave Brondsema
    Created: Fri, 17 Sep 2004 1:26 PM
       Body:
If you run in verbose mode, you can see exactly what the command line is when executing "java".
 There are lots of -Dprop=value arguments.  And as it notes the quotes surrounding them are
not part of the executing string that is built.  I am quite sure that spaces in the value
part causes a problem.  For example java ... -Dproject.temp-dir=d:\a b\temp ... is bad because
that is two arguments not one (and b\temp is not a valid argument for java).  It should be
java ... "-Dproject.temp-dir=d:\a b\temp" ... I think.  I am working on testing & verifying
this and patching ant.
---------------------------------------------------------------------
View this comment:
  http://issues.cocoondev.org//browse/FOR-267?page=comments#action_11556

---------------------------------------------------------------------
View the issue:
  http://issues.cocoondev.org//browse/FOR-267

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-267
    Summary: spaces in project path lead to error on Windows
       Type: Bug

     Status: Open
   Priority: Major

    Project: Forrest
 Components: 
             Core operations
   Fix Fors:
             0.6
   Versions:
             HEAD

   Assignee: Nicola Ken Barozzi
   Reporter: Johannes Schaefer

    Created: Fri, 27 Aug 2004 10:57 AM
    Updated: Fri, 17 Sep 2004 1:26 PM
Environment: Windows 2000 and XP

Description:
With 'forrest run' if there are spaces in the pathname then failure.

This is for Forrest-r37116, with r37072 it still worked.
'forrest run' terminates with an error saying:

run_default_jetty:
java.lang.NoClassDefFoundError: path/after/space/myproject -Dforrest/home=H:\forrest\src\core
Exception in thread "main"

removing the space from the path
d:/the path/after/space/myproject
so that it looks like
d:/the_path/after/space/myproject
runs fine


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message