forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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
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:

View the issue:

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
             Core operations
   Fix Fors:

   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

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:

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
runs fine

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message