Russel Winder | 5 Aug 16:00
Unfortunately there is a problem using Commons CLI 1.2 for Groovy --
with any luck though it might be my minor amendments, but I doubt it.

Using 1.0:

|> groovy -e "println 'hello'"
hello
|> 

Using 1.2-SNAPSHOT

|> groovy -e "println 'hello'"
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
failed, script_from_command_line: 1: unexpected token: null @ line 1,
column 3.
1 error

|>

which indicates the -e is not being processed correctly.

--

-- 
Russel.
====================================================
Dr Russel Winder                 Partner

Concertant LLP                   t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,              f: +44 8700 516 084
London SW11 1EN, UK.             m: +44 7770 465 077
(Continue reading)

Jochen Theodorou | 5 Aug 17:31
Russel Winder schrieb:
> Unfortunately there is a problem using Commons CLI 1.2 for Groovy --
> with any luck though it might be my minor amendments, but I doubt it.
> 
> Using 1.0:
> 
> |> groovy -e "println 'hello'"
> hello
> |> 
> 
> Using 1.2-SNAPSHOT
> 
> |> groovy -e "println 'hello'"
> org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
> failed, script_from_command_line: 1: unexpected token: null @ line 1,
> column 3.
> 1 error
> 
> |>
> 
> which indicates the -e is not being processed correctly.

which is a bit strange... don't you think? Are you fancy to find out why?

bye blackdrag

--

-- 
Jochen "blackdrag" Theodorou
The Groovy Project Tech Lead (http://groovy.codehaus.org)
http://blackdragsview.blogspot.com/
(Continue reading)

Russel Winder | 6 Sep 12:30
On Tue, 2008-08-05 at 17:31 +0200, Jochen Theodorou wrote:
> Russel Winder schrieb:
> > Unfortunately there is a problem using Commons CLI 1.2 for Groovy --
> > with any luck though it might be my minor amendments, but I doubt it.
> > 
> > Using 1.0:
> > 
> > |> groovy -e "println 'hello'"
> > hello
> > |> 
> > 
> > Using 1.2-SNAPSHOT
> > 
> > |> groovy -e "println 'hello'"
> > org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
> > failed, script_from_command_line: 1: unexpected token: null @ line 1,
> > column 3.
> > 1 error
> > 
> > |>
> > 
> > which indicates the -e is not being processed correctly.
> 
> which is a bit strange... don't you think? Are you fancy to find out why?

Sorry it has taken me so long to get to this, and I still cannot really
get onto it until next month.  However Emmanuel Bourg is going to issue
a release candidate for Commons CLI 1.2 next week, so doing something
now is of the essence.

(Continue reading)


Gmane