Spock plugin not compiling on Grails 1.2-M3

View: New views
8 Messages — Rating Filter:   Alert me  

Spock plugin not compiling on Grails 1.2-M3

by Scott Ryan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I recently tried to download and implement the new spock plugin for  
Grails.  I followed the installation instructions using

grails install-plugin spock 0.3-SNAPSHOT

When I ran grails test-app --unit

I get the following

[groovyc]  
org.codehaus.groovy.control.MultipleCompilationErrorsException:  
startup failed, /Users/scottryan/.grails/1.2-M3/projects/om5/plugins/
spock-0.3-SNAPSHOT/src/groovy/grails/plugin/spock/build/test/adapter/
SuiteAdapter.groovy: 19: unable to resolve class  
org.spockframework.runtime.SpecUtil
   [groovyc]  @ line 19, column 1.
   [groovyc]    import org.spockframework.runtime.SpecUtil
   [groovyc]    ^
   [groovyc]
   [groovyc] 1 error
Error executing script TestApp: : Compilation Failed
gant.TargetExecutionException: : Compilation Failed
        at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:331)
        at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
        at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
        at gant.Gant.withBuildListeners(Gant.groovy:344)
        at gant.Gant.this$2$withBuildListeners(Gant.groovy)
        at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
        at gant.Gant.dispatch(Gant.groovy:334)
        at gant.Gant.this$2$dispatch(Gant.groovy)
        at gant.Gant.invokeMethod(Gant.groovy)
        at gant.Gant.processTargets(Gant.groovy:495)
        at gant.Gant.processTargets(Gant.groovy:480)
Caused by: : Compilation Failed
        at org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:807)
        at org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:541)
        at  
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at _GrailsCompile_groovy
$_run_closure3_closure9.doCall(_GrailsCompile_groovy:103)
        at _GrailsCompile_groovy
$_run_closure3_closure9.doCall(_GrailsCompile_groovy)
        at _GrailsSettings_groovy
$_run_closure10.doCall(_GrailsSettings_groovy:273)
        at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
        at _GrailsCompile_groovy$_run_closure3.doCall(_GrailsCompile_groovy:90)
        at _GrailsCompile_groovy$_run_closure2.doCall(_GrailsCompile_groovy:57)
        at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:78)
        at TestApp$_run_closure1.doCall(TestApp.groovy:66)
        at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
        ... 10 more


Do I need to install an external jar or is it included in the plugin  
like most other plugins?


Scott Ryan
President/CTO
Soaring Eagle L.L.C.
scott@...
(303) 263-3044


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Spock plugin not compiling on Grails 1.2-M3

by Luke Daley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Please try clearing your ivy cache by deleting ~/.ivy2

You have an old version of Spock somehow.

--

LD.

On 30/10/2009, at 5:24 AM, Scott Ryan <sryan737@...> wrote:

> I recently tried to download and implement the new spock plugin for  
> Grails.  I followed the installation instructions using
>
> grails install-plugin spock 0.3-SNAPSHOT
>
> When I ran grails test-app --unit
>
> I get the following
>
> [groovyc]  
> org.codehaus.groovy.control.MultipleCompilationErrorsException:  
> startup failed, /Users/scottryan/.grails/1.2-M3/projects/om5/plugins/
> spock-0.3-SNAPSHOT/src/groovy/grails/plugin/spock/build/test/adapter/
> SuiteAdapter.groovy: 19: unable to resolve class  
> org.spockframework.runtime.SpecUtil
>  [groovyc]  @ line 19, column 1.
>  [groovyc]    import org.spockframework.runtime.SpecUtil
>  [groovyc]    ^
>  [groovyc]
>  [groovyc] 1 error
> Error executing script TestApp: : Compilation Failed
> gant.TargetExecutionException: : Compilation Failed
>    at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:331)
>    at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
>    at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
>    at gant.Gant.withBuildListeners(Gant.groovy:344)
>    at gant.Gant.this$2$withBuildListeners(Gant.groovy)
>    at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
>    at gant.Gant.dispatch(Gant.groovy:334)
>    at gant.Gant.this$2$dispatch(Gant.groovy)
>    at gant.Gant.invokeMethod(Gant.groovy)
>    at gant.Gant.processTargets(Gant.groovy:495)
>    at gant.Gant.processTargets(Gant.groovy:480)
> Caused by: : Compilation Failed
>    at org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:807)
>    at org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:541)
>    at org.apache.tools.ant.dispatch.DispatchUtils.execute
> (DispatchUtils.java:106)
>    at org.apache.tools.ant.Task.perform(Task.java:348)
>    at _GrailsCompile_groovy$_run_closure3_closure9.doCall
> (_GrailsCompile_groovy:103)
>    at _GrailsCompile_groovy$_run_closure3_closure9.doCall
> (_GrailsCompile_groovy)
>    at _GrailsSettings_groovy$_run_closure10.doCall
> (_GrailsSettings_groovy:273)
>    at _GrailsSettings_groovy$_run_closure10.call
> (_GrailsSettings_groovy)
>    at _GrailsCompile_groovy$_run_closure3.doCall
> (_GrailsCompile_groovy:90)
>    at _GrailsCompile_groovy$_run_closure2.doCall
> (_GrailsCompile_groovy:57)
>    at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:78)
>    at TestApp$_run_closure1.doCall(TestApp.groovy:66)
>    at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
>    ... 10 more
>
>
> Do I need to install an external jar or is it included in the plugin  
> like most other plugins?
>
>
> Scott Ryan
> President/CTO
> Soaring Eagle L.L.C.
> scott@...
> (303) 263-3044
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Spock plugin not compiling on Grails 1.2-M3

by Scott Ryan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I deleted my grails cache and my ivy cache several times and am still  
getting compilation errors.    They are different errors than before  
but still won't run.   I guess I can check back in a few days to see  
if it is more stable.

[groovyc]  
org.codehaus.groovy.control.MultipleCompilationErrorsException:  
startup failed, /plugins/spock-0.3-SNAPSHOT/src/groovy/grails/plugin/
spock/build/test/run/SpeckRunHelper.groovy: 21: unable to resolve  
class org.spockframework.buildsupport.SpeckClassFileFinder
   [groovyc]  @ line 21, column 1.
   [groovyc]    import  
org.spockframework.buildsupport.SpeckClassFileFinder
   [groovyc]    ^
   [groovyc]
   [groovyc] 1 error


Scott Ryan
President/CTO
Soaring Eagle L.L.C.
scott@...
(303) 263-3044

On Oct 29, 2009, at 5:22 PM, Luke Daley wrote:

> Please try clearing your ivy cache by deleting ~/.ivy2
>
> You have an old version of Spock somehow.
>
> --
>
> LD.
>
> On 30/10/2009, at 5:24 AM, Scott Ryan <sryan737@...> wrote:
>
>> I recently tried to download and implement the new spock plugin for  
>> Grails.  I followed the installation instructions using
>>
>> grails install-plugin spock 0.3-SNAPSHOT
>>
>> When I ran grails test-app --unit
>>
>> I get the following
>>
>> [groovyc]  
>> org.codehaus.groovy.control.MultipleCompilationErrorsException:  
>> startup failed, /Users/scottryan/.grails/1.2-M3/projects/om5/
>> plugins/spock-0.3-SNAPSHOT/src/groovy/grails/plugin/spock/build/
>> test/adapter/SuiteAdapter.groovy: 19: unable to resolve class  
>> org.spockframework.runtime.SpecUtil
>> [groovyc]  @ line 19, column 1.
>> [groovyc]    import org.spockframework.runtime.SpecUtil
>> [groovyc]    ^
>> [groovyc]
>> [groovyc] 1 error
>> Error executing script TestApp: : Compilation Failed
>> gant.TargetExecutionException: : Compilation Failed
>>   at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:331)
>>   at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
>>   at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
>>   at gant.Gant.withBuildListeners(Gant.groovy:344)
>>   at gant.Gant.this$2$withBuildListeners(Gant.groovy)
>>   at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
>>   at gant.Gant.dispatch(Gant.groovy:334)
>>   at gant.Gant.this$2$dispatch(Gant.groovy)
>>   at gant.Gant.invokeMethod(Gant.groovy)
>>   at gant.Gant.processTargets(Gant.groovy:495)
>>   at gant.Gant.processTargets(Gant.groovy:480)
>> Caused by: : Compilation Failed
>>   at org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:807)
>>   at org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:541)
>>   at  
>> org
>> .apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
>> 106)
>>   at org.apache.tools.ant.Task.perform(Task.java:348)
>>   at _GrailsCompile_groovy
>> $_run_closure3_closure9.doCall(_GrailsCompile_groovy:103)
>>   at _GrailsCompile_groovy
>> $_run_closure3_closure9.doCall(_GrailsCompile_groovy)
>>   at _GrailsSettings_groovy
>> $_run_closure10.doCall(_GrailsSettings_groovy:273)
>>   at _GrailsSettings_groovy
>> $_run_closure10.call(_GrailsSettings_groovy)
>>   at _GrailsCompile_groovy
>> $_run_closure3.doCall(_GrailsCompile_groovy:90)
>>   at _GrailsCompile_groovy
>> $_run_closure2.doCall(_GrailsCompile_groovy:57)
>>   at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:78)
>>   at TestApp$_run_closure1.doCall(TestApp.groovy:66)
>>   at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
>>   ... 10 more
>>
>>
>> Do I need to install an external jar or is it included in the  
>> plugin like most other plugins?
>>
>>
>> Scott Ryan
>> President/CTO
>> Soaring Eagle L.L.C.
>> scott@...
>> (303) 263-3044
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>  http://xircles.codehaus.org/manage_email
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Spock plugin not compiling on Grails 1.2-M3

by Graeme Rocher-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I can reproduce this so I've created http://jira.codehaus.org/browse/GRAILS-5289

Cheers

On Fri, Oct 30, 2009 at 3:34 PM, Scott Ryan <sryan737@...> wrote:

> I deleted my grails cache and my ivy cache several times and am still
> getting compilation errors.    They are different errors than before but
> still won't run.   I guess I can check back in a few days to see if it is
> more stable.
>
> [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException:
> startup failed,
> /plugins/spock-0.3-SNAPSHOT/src/groovy/grails/plugin/spock/build/test/run/SpeckRunHelper.groovy:
> 21: unable to resolve class
> org.spockframework.buildsupport.SpeckClassFileFinder
>  [groovyc]  @ line 21, column 1.
>  [groovyc]    import org.spockframework.buildsupport.SpeckClassFileFinder
>  [groovyc]    ^
>  [groovyc]
>  [groovyc] 1 error
>
>
> Scott Ryan
> President/CTO
> Soaring Eagle L.L.C.
> scott@...
> (303) 263-3044
>
> On Oct 29, 2009, at 5:22 PM, Luke Daley wrote:
>
>> Please try clearing your ivy cache by deleting ~/.ivy2
>>
>> You have an old version of Spock somehow.
>>
>> --
>>
>> LD.
>>
>> On 30/10/2009, at 5:24 AM, Scott Ryan <sryan737@...> wrote:
>>
>>> I recently tried to download and implement the new spock plugin for
>>> Grails.  I followed the installation instructions using
>>>
>>> grails install-plugin spock 0.3-SNAPSHOT
>>>
>>> When I ran grails test-app --unit
>>>
>>> I get the following
>>>
>>> [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException:
>>> startup failed,
>>> /Users/scottryan/.grails/1.2-M3/projects/om5/plugins/spock-0.3-SNAPSHOT/src/groovy/grails/plugin/spock/build/test/adapter/SuiteAdapter.groovy:
>>> 19: unable to resolve class org.spockframework.runtime.SpecUtil
>>> [groovyc]  @ line 19, column 1.
>>> [groovyc]    import org.spockframework.runtime.SpecUtil
>>> [groovyc]    ^
>>> [groovyc]
>>> [groovyc] 1 error
>>> Error executing script TestApp: : Compilation Failed
>>> gant.TargetExecutionException: : Compilation Failed
>>>  at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:331)
>>>  at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
>>>  at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
>>>  at gant.Gant.withBuildListeners(Gant.groovy:344)
>>>  at gant.Gant.this$2$withBuildListeners(Gant.groovy)
>>>  at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
>>>  at gant.Gant.dispatch(Gant.groovy:334)
>>>  at gant.Gant.this$2$dispatch(Gant.groovy)
>>>  at gant.Gant.invokeMethod(Gant.groovy)
>>>  at gant.Gant.processTargets(Gant.groovy:495)
>>>  at gant.Gant.processTargets(Gant.groovy:480)
>>> Caused by: : Compilation Failed
>>>  at org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:807)
>>>  at org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:541)
>>>  at
>>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>>>  at org.apache.tools.ant.Task.perform(Task.java:348)
>>>  at
>>> _GrailsCompile_groovy$_run_closure3_closure9.doCall(_GrailsCompile_groovy:103)
>>>  at
>>> _GrailsCompile_groovy$_run_closure3_closure9.doCall(_GrailsCompile_groovy)
>>>  at
>>> _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:273)
>>>  at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
>>>  at _GrailsCompile_groovy$_run_closure3.doCall(_GrailsCompile_groovy:90)
>>>  at _GrailsCompile_groovy$_run_closure2.doCall(_GrailsCompile_groovy:57)
>>>  at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:78)
>>>  at TestApp$_run_closure1.doCall(TestApp.groovy:66)
>>>  at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
>>>  ... 10 more
>>>
>>>
>>> Do I need to install an external jar or is it included in the plugin like
>>> most other plugins?
>>>
>>>
>>> Scott Ryan
>>> President/CTO
>>> Soaring Eagle L.L.C.
>>> scott@...
>>> (303) 263-3044
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>  http://xircles.codehaus.org/manage_email
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>  http://xircles.codehaus.org/manage_email
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>



--
Graeme Rocher
Head of Grails Development
SpringSource - Weapons for the War on Java Complexity
http://www.springsource.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Spock plugin not compiling on Grails 1.2-M3

by Bradley Beddoes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Confirming I have this as well LD

Bradley

On Sat, Oct 31, 2009 at 1:34 AM, Graeme Rocher
<graeme.rocher@...> wrote:

> I can reproduce this so I've created http://jira.codehaus.org/browse/GRAILS-5289
>
> Cheers
>
> On Fri, Oct 30, 2009 at 3:34 PM, Scott Ryan <sryan737@...> wrote:
>> I deleted my grails cache and my ivy cache several times and am still
>> getting compilation errors.    They are different errors than before but
>> still won't run.   I guess I can check back in a few days to see if it is
>> more stable.
>>
>> [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException:
>> startup failed,
>> /plugins/spock-0.3-SNAPSHOT/src/groovy/grails/plugin/spock/build/test/run/SpeckRunHelper.groovy:
>> 21: unable to resolve class
>> org.spockframework.buildsupport.SpeckClassFileFinder
>>  [groovyc]  @ line 21, column 1.
>>  [groovyc]    import org.spockframework.buildsupport.SpeckClassFileFinder
>>  [groovyc]    ^
>>  [groovyc]
>>  [groovyc] 1 error
>>
>>
>> Scott Ryan
>> President/CTO
>> Soaring Eagle L.L.C.
>> scott@...
>> (303) 263-3044
>>
>> On Oct 29, 2009, at 5:22 PM, Luke Daley wrote:
>>
>>> Please try clearing your ivy cache by deleting ~/.ivy2
>>>
>>> You have an old version of Spock somehow.
>>>
>>> --
>>>
>>> LD.
>>>
>>> On 30/10/2009, at 5:24 AM, Scott Ryan <sryan737@...> wrote:
>>>
>>>> I recently tried to download and implement the new spock plugin for
>>>> Grails.  I followed the installation instructions using
>>>>
>>>> grails install-plugin spock 0.3-SNAPSHOT
>>>>
>>>> When I ran grails test-app --unit
>>>>
>>>> I get the following
>>>>
>>>> [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException:
>>>> startup failed,
>>>> /Users/scottryan/.grails/1.2-M3/projects/om5/plugins/spock-0.3-SNAPSHOT/src/groovy/grails/plugin/spock/build/test/adapter/SuiteAdapter.groovy:
>>>> 19: unable to resolve class org.spockframework.runtime.SpecUtil
>>>> [groovyc]  @ line 19, column 1.
>>>> [groovyc]    import org.spockframework.runtime.SpecUtil
>>>> [groovyc]    ^
>>>> [groovyc]
>>>> [groovyc] 1 error
>>>> Error executing script TestApp: : Compilation Failed
>>>> gant.TargetExecutionException: : Compilation Failed
>>>>  at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:331)
>>>>  at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
>>>>  at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
>>>>  at gant.Gant.withBuildListeners(Gant.groovy:344)
>>>>  at gant.Gant.this$2$withBuildListeners(Gant.groovy)
>>>>  at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
>>>>  at gant.Gant.dispatch(Gant.groovy:334)
>>>>  at gant.Gant.this$2$dispatch(Gant.groovy)
>>>>  at gant.Gant.invokeMethod(Gant.groovy)
>>>>  at gant.Gant.processTargets(Gant.groovy:495)
>>>>  at gant.Gant.processTargets(Gant.groovy:480)
>>>> Caused by: : Compilation Failed
>>>>  at org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:807)
>>>>  at org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:541)
>>>>  at
>>>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>>>>  at org.apache.tools.ant.Task.perform(Task.java:348)
>>>>  at
>>>> _GrailsCompile_groovy$_run_closure3_closure9.doCall(_GrailsCompile_groovy:103)
>>>>  at
>>>> _GrailsCompile_groovy$_run_closure3_closure9.doCall(_GrailsCompile_groovy)
>>>>  at
>>>> _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:273)
>>>>  at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
>>>>  at _GrailsCompile_groovy$_run_closure3.doCall(_GrailsCompile_groovy:90)
>>>>  at _GrailsCompile_groovy$_run_closure2.doCall(_GrailsCompile_groovy:57)
>>>>  at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:78)
>>>>  at TestApp$_run_closure1.doCall(TestApp.groovy:66)
>>>>  at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
>>>>  ... 10 more
>>>>
>>>>
>>>> Do I need to install an external jar or is it included in the plugin like
>>>> most other plugins?
>>>>
>>>>
>>>> Scott Ryan
>>>> President/CTO
>>>> Soaring Eagle L.L.C.
>>>> scott@...
>>>> (303) 263-3044
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe from this list, please visit:
>>>>
>>>>  http://xircles.codehaus.org/manage_email
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>  http://xircles.codehaus.org/manage_email
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>   http://xircles.codehaus.org/manage_email
>>
>>
>>
>
>
>
> --
> Graeme Rocher
> Head of Grails Development
> SpringSource - Weapons for the War on Java Complexity
> http://www.springsource.com
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Spock plugin not compiling on Grails 1.2-M3

by Luke Daley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have pushed a new snapshot with the fix (same version number).

Apologies for the inconvenience.

On 02/11/2009, at 2:19 PM, Bradley Beddoes wrote:

> Confirming I have this as well LD
>
> Bradley
>
> On Sat, Oct 31, 2009 at 1:34 AM, Graeme Rocher
> <graeme.rocher@...> wrote:
>> I can reproduce this so I've created http://jira.codehaus.org/browse/GRAILS-5289
>>
>> Cheers
>>
>> On Fri, Oct 30, 2009 at 3:34 PM, Scott Ryan <sryan737@...>  
>> wrote:
>>> I deleted my grails cache and my ivy cache several times and am  
>>> still
>>> getting compilation errors.    They are different errors than  
>>> before but
>>> still won't run.   I guess I can check back in a few days to see  
>>> if it is
>>> more stable.
>>>
>>> [groovyc]  
>>> org.codehaus.groovy.control.MultipleCompilationErrorsException:
>>> startup failed,
>>> /plugins/spock-0.3-SNAPSHOT/src/groovy/grails/plugin/spock/build/
>>> test/run/SpeckRunHelper.groovy:
>>> 21: unable to resolve class
>>> org.spockframework.buildsupport.SpeckClassFileFinder
>>>  [groovyc]  @ line 21, column 1.
>>>  [groovyc]    import  
>>> org.spockframework.buildsupport.SpeckClassFileFinder
>>>  [groovyc]    ^
>>>  [groovyc]
>>>  [groovyc] 1 error
>>>
>>>
>>> Scott Ryan
>>> President/CTO
>>> Soaring Eagle L.L.C.
>>> scott@...
>>> (303) 263-3044
>>>
>>> On Oct 29, 2009, at 5:22 PM, Luke Daley wrote:
>>>
>>>> Please try clearing your ivy cache by deleting ~/.ivy2
>>>>
>>>> You have an old version of Spock somehow.
>>>>
>>>> --
>>>>
>>>> LD.
>>>>
>>>> On 30/10/2009, at 5:24 AM, Scott Ryan <sryan737@...> wrote:
>>>>
>>>>> I recently tried to download and implement the new spock plugin  
>>>>> for
>>>>> Grails.  I followed the installation instructions using
>>>>>
>>>>> grails install-plugin spock 0.3-SNAPSHOT
>>>>>
>>>>> When I ran grails test-app --unit
>>>>>
>>>>> I get the following
>>>>>
>>>>> [groovyc]  
>>>>> org.codehaus.groovy.control.MultipleCompilationErrorsException:
>>>>> startup failed,
>>>>> /Users/scottryan/.grails/1.2-M3/projects/om5/plugins/spock-0.3-
>>>>> SNAPSHOT/src/groovy/grails/plugin/spock/build/test/adapter/
>>>>> SuiteAdapter.groovy:
>>>>> 19: unable to resolve class org.spockframework.runtime.SpecUtil
>>>>> [groovyc]  @ line 19, column 1.
>>>>> [groovyc]    import org.spockframework.runtime.SpecUtil
>>>>> [groovyc]    ^
>>>>> [groovyc]
>>>>> [groovyc] 1 error
>>>>> Error executing script TestApp: : Compilation Failed
>>>>> gant.TargetExecutionException: : Compilation Failed
>>>>>  at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:331)
>>>>>  at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
>>>>>  at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
>>>>>  at gant.Gant.withBuildListeners(Gant.groovy:344)
>>>>>  at gant.Gant.this$2$withBuildListeners(Gant.groovy)
>>>>>  at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown  
>>>>> Source)
>>>>>  at gant.Gant.dispatch(Gant.groovy:334)
>>>>>  at gant.Gant.this$2$dispatch(Gant.groovy)
>>>>>  at gant.Gant.invokeMethod(Gant.groovy)
>>>>>  at gant.Gant.processTargets(Gant.groovy:495)
>>>>>  at gant.Gant.processTargets(Gant.groovy:480)
>>>>> Caused by: : Compilation Failed
>>>>>  at org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:807)
>>>>>  at org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:541)
>>>>>  at
>>>>> org.apache.tools.ant.dispatch.DispatchUtils.execute
>>>>> (DispatchUtils.java:106)
>>>>>  at org.apache.tools.ant.Task.perform(Task.java:348)
>>>>>  at
>>>>> _GrailsCompile_groovy$_run_closure3_closure9.doCall
>>>>> (_GrailsCompile_groovy:103)
>>>>>  at
>>>>> _GrailsCompile_groovy$_run_closure3_closure9.doCall
>>>>> (_GrailsCompile_groovy)
>>>>>  at
>>>>> _GrailsSettings_groovy$_run_closure10.doCall
>>>>> (_GrailsSettings_groovy:273)
>>>>>  at _GrailsSettings_groovy$_run_closure10.call
>>>>> (_GrailsSettings_groovy)
>>>>>  at _GrailsCompile_groovy$_run_closure3.doCall
>>>>> (_GrailsCompile_groovy:90)
>>>>>  at _GrailsCompile_groovy$_run_closure2.doCall
>>>>> (_GrailsCompile_groovy:57)
>>>>>  at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:78)
>>>>>  at TestApp$_run_closure1.doCall(TestApp.groovy:66)
>>>>>  at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
>>>>>  ... 10 more
>>>>>
>>>>>
>>>>> Do I need to install an external jar or is it included in the  
>>>>> plugin like
>>>>> most other plugins?
>>>>>
>>>>>
>>>>> Scott Ryan
>>>>> President/CTO
>>>>> Soaring Eagle L.L.C.
>>>>> scott@...
>>>>> (303) 263-3044
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe from this list, please visit:
>>>>>
>>>>>  http://xircles.codehaus.org/manage_email
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe from this list, please visit:
>>>>
>>>>  http://xircles.codehaus.org/manage_email
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>   http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>
>>
>>
>> --
>> Graeme Rocher
>> Head of Grails Development
>> SpringSource - Weapons for the War on Java Complexity
>> http://www.springsource.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Spock plugin not compiling on Grails 1.2-M3

by Robert Fletcher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm still getting an error in the dependency resolution phase saying
it can't resolve
org.spockframework#spock-core;0.3-SNAPSHOT!spock-core.jar, following
that a bunch of compilation errors presumably caused by the missing
jar. I've deleted ~/.ivy2/cache so I should be getting the latest
plugin.

Cheers,
Rob

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Spock plugin not compiling on Grails 1.2-M3

by Luke Daley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 03/11/2009, at 9:51 PM, Robert Fletcher wrote:

> I'm still getting an error in the dependency resolution phase saying
> it can't resolve
> org.spockframework#spock-core;0.3-SNAPSHOT!spock-core.jar, following
> that a bunch of compilation errors presumably caused by the missing
> jar. I've deleted ~/.ivy2/cache so I should be getting the latest
> plugin.

Sounds like Ivy is having a problem with the Spock m2 repo.

Can you bump the ivy logging up and let me know what it says please.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email