Hi Gary,

Thanks a lot for you blog about Tellurium. Your Criticism is very
valuable
to us and there are a lot of room for us to improve the framework.

For the exception: "com.mybiz.groovy.module.MyUiModule is not abstract
and does not
 override abstract method setMetaClass(groovy.lang.MetaClass) in
groovy.lang.GroovyObject", most likely you have multiple versions of
Groovy in your
class path. From our experience, Groovy 1.5.8 or 1.5.7 is
problematic.

What do you use for your build system? Maven or Ant?

If Maven, please run

mvn dependency:tree

to look at the dependency tree and eliminate the multiple versions. We
suggest you
take a look at our sample pom file at

http://code.google.com/p/aost/wiki/TelluriumTestProjectMavenSamplePom

For ant, you can also manually run ant in verbose mode to check the
class path
and let us know what you find.

By the way, the easiest way to create a Tellurium project is to use
Tellurium Maven archetypes.

http://code.google.com/p/aost/wiki/TelluriumMavenArchetypes

Also, we have pretty detailed user guide at

http://code.google.com/p/aost/wiki/UserGuide

A PDF draft is available for downloading and the official one will be
out soon.

Thanks,

Jian
On Aug 25, 6:27 pm, lokibear <[email protected]> wrote:
> 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 
> fromhttp://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 
> inhttp://groups.google.com/group/tellurium-users/web/groovy-patterns-us...
> ... 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 athttp://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