Hi WinWin, Can you run other Groovy Test files? I am not sure what is the problem there without looking at your project. Please pack your whole Eclipse project and send it to my email account. I will take a look.
BTW, you can check out one of the reference projects, which include Eclipse project files. If you are familiar with Maven, you can create your Tellurium project using one of our Maven archetypes, and then load up the pom into your Eclipse IDE, all your dependencies should be automatically resolved. http://code.google.com/p/aost/wiki/TelluriumMavenArchetypes Thanks, Jian On Sep 17, 10:01 pm, WinWin <[email protected]> wrote: > Hi Jian, > > Since the groovy builder has been included, then why am i still > getting the below error when trying to run the > GoogleBookListCodeHostTest.groovy? > > Class not found GoogleBookListCodeHostTest > java.lang.ClassNotFoundException: GoogleBookListCodeHostTest > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass > (RemoteTestRunner.java:693) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses > (RemoteTestRunner.java:429) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests > (RemoteTestRunner.java:452) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests > (RemoteTestRunner.java:683) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run > (RemoteTestRunner.java:390) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main > (RemoteTestRunner.java:197) > > Your advice is highly appreciated. Thanks! > > On Sep 17, 9:24 pm, Jian Fang <[email protected]> wrote: > > > Groovy Builder in one part of the Eclipse Groovy Plugin and it is used to > > compile > > Groovy classes. If you have installed Eclipse Groovy Plugin, it should have > > already been included. Maybe Eclipse 3.5 just does not show it? > > > As long as you can compile and run Groovy project, the Groovy builder should > > have already been invoked under the hood and you don't need to worry about > > it. > > > Thanks, > > > Jian > > > On Thu, Sep 17, 2009 at 1:57 AM, WinWin <[email protected]> wrote: > > > > Hi John, > > > > If groovy builder is needed, how do i install/ configure this builder > > > into Eclipse 3.5. It was not shown in the reference link. > > > Please advice. > > > Thx. > > > > On Sep 17, 1:46 pm, WinWin <[email protected]> wrote: > > > > Hi John, > > > > > I have installed the groovy plugin and able to run the simple example > > > > NewGoogleStartPage, but i am not able to see the Groovy builder under > > > > my project. > > > > From the wiki link, I will have to configure the groovy builder. Do I > > > > need the groovy builder in order to run the project? > > > > Kindly advice. > > > > > On Sep 17, 10:39 am, Jian Fang <[email protected]> wrote: > > > > > > Have you installed the Groovy plugin for Eclipse? > > > > > > Please follow guide similar to this wiki, > > > >http://code.google.com/p/aost/wiki/TelluriumReferenceProjectEclipseSetup > > > > > > Thanks, > > > > > > Jian > > > > > > On Wed, Sep 16, 2009 at 9:39 PM, WinWin <[email protected]> wrote: > > > > > > > Hi John, > > > > > > > I'm running it in Eclipse. > > > > > > I tried to manually build and then run the > > > GoogleBookListCodeHostTest, > > > > > > but still getting the same error. > > > > > > Please advice. Thx! > > > > > > > On Sep 16, 9:37 pm, John <[email protected]> wrote: > > > > > > > How did you run the tests? In Eclipse or IntelliJ IDEA? > > > > > > > > Seems you need to rebuild the project first and then run > > > > > > > GoogleBookListCodeHostTest > > > > > > > > Thanks, > > > > > > > > Jian > > > > > > > > On Sep 16, 4:38 am, WinWin <[email protected]> wrote: > > > > > > > > > Hi, > > > > > > > > > I tried to copy the sample codes posted for data driven testing > > > as > > > > > > > > below, > > > > > > > > - GoogleBookListModule.groovy > > > > > > > > - GoogleCodeHostingModule.groovy > > > > > > > > - GoogleBookListCodeHostTest.groovy > > > > > > > > > Then, I tried to run the GoogleBookListCodeHostTest as JUnit > > > > > > > > test > > > but > > > > > > > > below error is returned: > > > > > > > > > Class not found GoogleBookListCodeHostTest > > > > > > > > java.lang.ClassNotFoundException: GoogleBookListCodeHostTest > > > > > > > > at java.net.URLClassLoader$1.run(Unknown Source) > > > > > > > > at java.security.AccessController.doPrivileged(Native > > > Method) > > > > > > > > at java.net.URLClassLoader.findClass(Unknown Source) > > > > > > > > at java.lang.ClassLoader.loadClass(Unknown Source) > > > > > > > > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown > > > Source) > > > > > > > > at java.lang.ClassLoader.loadClass(Unknown Source) > > > > > > > > at > > > > > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass > > > > > > > > (RemoteTestRunner.java:693) > > > > > > > > at > > > > > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses > > > > > > > > (RemoteTestRunner.java:429) > > > > > > > > at > > > > > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests > > > > > > > > (RemoteTestRunner.java:452) > > > > > > > > at > > > > > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests > > > > > > > > (RemoteTestRunner.java:683) > > > > > > > > at > > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run > > > > > > > > (RemoteTestRunner.java:390) > > > > > > > > at > > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main > > > > > > > > (RemoteTestRunner.java:197) > > > > > > > > > Please guide. Thanks.- Hide quoted text - > > > > > > - Show quoted text -- Hide quoted text - > > > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
