Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0m2
-
Fix Version/s: 2.0.0RC1
-
Component/s: None
-
Labels:None
-
Environment:Mac OS 10.6.2
Eclipse Java EE 3.5 SR-1
Groovy Eclipse 2.0.0.xx-20091207-1900-M2-e35
-
Number of attachments :
Description
I cannot run Spock specifications when I'm working on the Spock codebase. The global AST transform defined in project spock-core isn't picked up when running (for example) specs in spock-example, even though spock-example has a project dependency on spock-core. When I replace the project dependency with a Jar dependency, everything works fine.
To reproduce:
check out http://spock.googlecode.com/svn/trunk/
run mvn eclipse:eclipse
import existing projects into workspace
turn spock-core and spock-example into Groovy projects, add source folders src/main/groovy and src/test/groovy
build both projects
run a spec in spock-example (output: "class xxx is not valid Spock specification")
Activity
Andy Clement
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Andy Clement [ aclement ] |
Andy Clement
made changes -
| Fix Version/s | 2.0.0RC1 [ 15956 ] | |
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
Peter Niederwieser
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Hi Peter,
would you say this is a recent regression or have you not tried this setup previously?
I made some changes to ast transforms for grails just before M2 went out you see.