Issue Details (XML | Word | Printable)

Key: GROOVY-1160
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Paul King
Reporter: Mika Mäntylä
Votes: 0
Watchers: 0
Operations

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

Groovysh does not start in Windows 2000 with Java 1.5 if there are blanks in the file paths (fix included)

Created: 26/Nov/05 03:37 AM   Updated: 26/Sep/07 08:31 PM
Component/s: None
Affects Version/s: 1.0-JSR-4
Fix Version/s: 1.1-beta-2

Time Tracking:
Not Specified

File Attachments: 1. File startGroovy.bat (4 kB)
2. File startGroovy.bat (4 kB)

Environment: Windows 2000, Java 1.5.0


 Description  « Hide
If there are blanks in the file paths (of GROOVY_HOME) groovy wont start. Adding "-marks to startGroovy.bat will help.

instead of: %GROOVY_HOME -> "%GROOVY_HOME"
and %STARTER_CONF -> "%STARTER_CONF"



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Demis Bellot added a comment - 29/Dec/05 06:47 PM
This is a blocker for trying Groovy on windows.

I have attached an updated startGroovy.bat file with the fixes.
Note: When adding quotes to GROOVY_HOME and STARTER_CONF you also need to remove the quotes from this line:

set JAVA_OPTS=%JAVA_OPTS% -Dgroovy.starter.conf=%STARTER_CONF%


Paul King added a comment - 15/Jun/07 11:53 PM
Seems to be fixed by GROOVY-1683

Paul King added a comment - 26/Sep/07 08:31 PM
No further feedback, assuming fixed