Thanks for reporting back. Yes, Eclipse Groovy support is not so good as IntelliJ. Netbeans even has better support, but It seemed cannot debug groovy files. Not know if this is improved or not.
Also some Groovy version such as 1.5.7 is problematic. Groovy 1.6 is cool. Thanks, Jian On May 7, 4:59 am, Istvan_Pamer <[email protected]> wrote: > Thank you Jian! > > The IntelliJ IDEA worked perfectly. There you can define the > standalone groovy install path so it uses the newest groovy. > But since we managed to get Eclipse working too. It was about it's > groovy support. So if you want it to work, you have to be sure to use > the latest dev groovy plugin for > Eclipse:http://dist.groovy.codehaus.org/distributions/updateDev_1.6/ > > Thank you. Best regards! > Istvan > > On May 5, 4:16 pm, Jian Fang <[email protected]> wrote: > > > Well, to create a clean project, I would recommend the Tellurium Maven > > archetypes. Please > > see > > >http://code.google.com/p/aost/wiki/TelluriumMavenArchetypes > > > I would suggest you try a different IDE first to see if this problem could > > go away, then go back to > > Eclipse. As far as I know, the Groovy support in Eclipse is not so good > > compared with IntelliJ IDEA. > > Please try to run your code in IntelliJ IDEA first. Since you are working on > > practical project using > > Tellurium, we can give you the open source IntelliJ license. Send me a > > private email if you want > > it. > > > Thanks, > > > Jian > > > On Tue, May 5, 2009 at 10:02 AM, Istvan_Pamer <[email protected]> wrote: > > > > Hello John! > > > > Thank you for the code, but it still not working for me. I'm thinking > > > that this must be some environmental / project setting problem. > > > So I tried to: > > > - run your code in my project (custom project, no maven) > > > - run your code in your in your project (maven, which you linked > > > above) > > > - run my code in your project > > > All runs have failed with the same error I posted before. > > > > Well I have some remark and question that can maybe help. > > > My Environment: WinXP 32 bit, Eclipse 3.4.1, testNG > > > I read the tutorial about the Custom Tellurium Testng project, and > > > tried some variations, so as far as I see, the fundamentals in the > > > project are: > > > - add the basic libs to the project: > > > system jre/jdk(with maven), selenium-java-client-driver.jar, > > > selenium-server.jar, tellurium-0.6.0.jar, testng-5.7(or8)-jdk15.jar, > > > groovy-1.6.0.jar > > > - you have to have the Groovy plugin installed in eclipse > > > i)Here I have a question with groovy: > > > - now if I add groovy nature to the project before I add the proper > > > jars to the project than the plugin will import its own groovy library > > > from the eclipse/plugins directory to the project, which is older than > > > 1.6.0 (it shows under: java build path/ libraries tab / expand "groovy > > > libraries") > > > This is the case also if I import the maven project you linked > > > above, because maven referenced libraries are grouped together, so the > > > groovy.1.6.0.jar is not shown amongst the java build path / libraries > > > tab, it's under the Maven Dependencies. Here the groovy nature already > > > added, but insted the Import Groovy libs into the project does the > > > same - it imports the groovy-...jar - from the eclipse/plugin dir. > > > - No problem I can workaround this: > > > In custom project import the libs before adding groovy nature. > > > With maven project, make a lib directory copy the jar there, and > > > import it as external(or internal) jar to the project and than there > > > will be groovy-1.6.0 support. > > > So this is my question if I get this right, and this type of adding > > > groovy nature to the project is good. > > > > If I'm correct than for a clean project I make a new java project, add > > > the basic jars, add groovy nature(the groovy build path is set by > > > default), copy the TelluriumConfig.groovy to the project root and > > > thats it. I should have the code running. > > > > -Maybe I'm using the wrong jars? > > > All the jars I use, are from the svn repository / core / lib > > > directory - should be good. > > > - If I make any changes I clean the project / rebuild. Or purge the > > > groovy-bin dir to recompile the groovy files. > > > - So I get the same error. Maybe some problem with testNG? or my > > > Eclipse (started from clean eclipse) or? Any suggestions? > > > > Thank you! > > > Istvan > > > > p.s.: Tho we like Tellurium's new approach to web testing here at the > > > company. Great work guys! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
