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 127531

Summary: Starting of grails.bat fails
Product: groovy Reporter: lucicd <lucicd>
Component: GrailsAssignee: schmidtm <schmidtm>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:

Description lucicd 2008-02-16 04:29:32 UTC
Tasks such as 'Run Application' or 'Creaate new Domain Class', i.e. those that call for 'grails.bat', immediately fail 
with the following error message:

Problem Creating Process: Cannot run program "D:\grails-1.0\grails\bin" (in directory "\grailstest\helloworld"): Create 
Process error=267, The directory name is invalid.

I think the bug is that directory name does not contain drive designation. In my case it should 
be "E:\grailstest\helloworld" instead of "\grailstest\helloworld". Can you please fix this?

Cheers!

Drazen
Comment 1 schmidtm 2008-02-16 22:13:44 UTC
Hi lucicd,

could you by any chance reproduce this issue on Win XP? Frankly, i don't have a Vista box to doublecheck.
Please get in contact with me immediatly: schmidtm at sun dot com

cheers,

Matthias

Comment 2 schmidtm 2008-02-25 11:54:15 UTC
OK - this one is fixed and verified by user:

http://hg.netbeans.org/main/contrib/rev/97e24d8fa239
Comment 3 Quality Engineering 2008-05-20 05:08:31 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #206 build
Changeset: http://hg.netbeans.org/main/rev/3dfbc9b6e41d
User: Matthias Schmidt <schmidtm@netbeans.org>
Log: Fixed #127531 Starting of grails.bat fails. Grails and Project on different drives
Comment 4 Lukas Jungmann 2008-10-03 13:06:24 UTC
v. then...