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")