aspose file tools*
The moose likes Groovy and the fly likes Facing problem using Groovy a/autosplit command line switch with custom delimiter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Facing problem using Groovy a/autosplit command line switch with custom delimiter" Watch "Facing problem using Groovy a/autosplit command line switch with custom delimiter" New topic
Author

Facing problem using Groovy a/autosplit command line switch with custom delimiter

Robin Sharma
Ranch Hand

Joined: Aug 24, 2005
Posts: 76
Howdy,

I'm not able to pass a custom delimiter to the autosplit Groovy command line switch. I've tried the following but they all result in errors:


Only the default usage works:


Environment details:
Groovy: 1.7.0
JVM: 1.5.0_14
OS: Win XP Pro 2002 SP3

What could be the problem here?

Thanks,
-DW


DW
There is always a bug :-)
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16



[My Blog]
All roads lead to JavaRanch
Robin Sharma
Ranch Hand

Joined: Aug 24, 2005
Posts: 76
Christophe Verré wrote:



Still not working
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Mmmm... Sorry. It worked here with Groovy Version: 1.7.0 JVM: 1.5.0_07, WinXP.
Can you also try :
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Just in case, can you also try "groovy -v" and make sure you're using version 1.7 ?
Robin Sharma
Ranch Hand

Joined: Aug 24, 2005
Posts: 76
Christophe Verré wrote:Mmmm... Sorry. It worked here with Groovy Version: 1.7.0 JVM: 1.5.0_07, WinXP.
Can you also try :


Nope, I still get the same error.

Christophe Verré wrote:Just in case, can you also try "groovy -v" and make sure you're using version 1.7 ?

Chris, I am running Groovy 1.7.0 with JDK 1.5 b14 on Win XP Pro 2002 SP3.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Facing problem using Groovy a/autosplit command line switch with custom delimiter