Issue Details (XML | Word | Printable)

Key: GRAILS-3359
Type: Bug Bug
Status: Open Open
Priority: Blocker Blocker
Assignee: Graeme Rocher
Reporter: Phil Fresle
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Grails

Installation on XP where CLASSPATH environment variable contains quotes

Created: 04/Sep/08 03:46 AM   Updated: 04/Sep/08 03:46 AM
Component/s: None
Affects Version/s: 1.0.3
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Windows XP


 Description  « Hide

After installing java, grails and groovy on my Windows XP laptop, grails would not work, although the same setup on my desktop workled fine.

"grails help" would report a "C:\grails does not appear to be part of a Grails application" problem.

Investigation by putting echos to report the content of variables in the startGrails.bat file revealed that the CLASSPATH environment variable on my PC contained double quotes, i.e.

"C:\Program Files\Java\jre1.5.0_09\QTJava.zip"

Removing the double quotes from the environment variable fixed the problem. It is suggested that the startGrails.bat file is enhanced so that double quotes are stripped when putting together the %CP% variable, or that the java scripts that are called handle double quotes within the CP string.



There are no comments yet on this issue.