I've succeeded in getting an IDEA-based Tellurium testNG test case to
compile and run, using a Groovy 1.6.3 facet (as well as a 1.6.0 facet,
doesn't seem to matter). Other dependencies include Junit-4.6,
tellurium-core-0.6.0, json_simple-r1, selenium-grid-tools-1.0.2,
selenium-java-client-driver-1.0.1, selenium-server-1.0.1-te and
stringtree-json-2.0.10 - consistent with the dependencies I found
listed in the tellurium-0.6.0-dependencies.zip downloaded from
http://code.google.com/p/aost/downloads/list. All is well (and I'm
favorably impressed with your framework, btw) but then, when I move
this from my IDE to our nightly build environment, my Groovy modules
don't compile. I'm assuming I have the same dependencies and etc; but
clearly I'm missing something, since I get this compile error:

com.mybiz.groovy.module.MyUiModule is not abstract and does not
override abstract method setMetaClass(groovy.lang.MetaClass) in
groovy.lang.GroovyObject
........ etc ..........

So I see that my UiModule extends DslContext which extends
BaseDslContext which implements groovy.lang.GroovyObject, in which the
setMetaClass method is defined. So somehow the implementation of this
method is instrumented when I run in my IDE, but not when I build from
the command line.

I see that some Groovy magic is used to register setMetaClass as
described in 
http://groups.google.com/group/tellurium-users/web/groovy-patterns-used-in-aost?version=6
... and I'm guessing that the IDEA Groovy facet is helping this along
somehow (just a guess). In either event, I'm missing "something" when
trying things outside of IDEA - I wonder if anyone has any insights
that can help us out?

Thanks very much. We'd like to use your framework, but of course we
need to first get past this roadblock. I have btw blogged about
Tellurium at http://lokibear.blogspot.com/2009/08/quick-look-at-tellurium.html.

Best,
Gary Horton

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to