Thanks . That took a long time to figure out since I did not see a proper
error message :-) For a change I find the windows machine better than the
Ubuntu box that I normally use as a build system

Regards
Hari

On Thu, May 14, 2009 at 8:04 PM, Jian Fang <[email protected]> wrote:

> That means you do not have the json_simple-r1.jar and
> stringtree-json-2.0.10.jar files. You should have the following jars
>
> [j...@dt-acalhoun toJohn]$ ls -alh lib
> total 12M
> -rw-rw-r-- 1  4.2M 2009-05-14 10:15 groovy-all-1.6.0.jar
> -rw-rw-r-- 1  15K 2009-05-14 10:15 json_simple-r1.jar
> -rw-rw-r-- 1 158K 2009-05-14 10:15 junit-4.4.jar
> -rw-rw-r-- 1  2.3K 2009-05-14 10:15 selenium-grid-tools-1.0.2.jar
> -rw-rw-r-- 1  51K 2009-05-14 10:15 selenium-java-client-driver.jar
> -rw-rw-r-- 1 5.1M 2009-05-14 10:15 selenium-server.jar
> -rw-rw-r-- 1 14K 2009-05-14 10:15 stringtree-json-2.0.10.jar
> -rw-rw-r-- 1 1.2M 2009-05-14 10:16 tellurium-core-0.6.0.RC1-SNAPSHOT.jar
>
> (optional)
> -rw-rw-r-- 1 805K 2009-05-14 10:15 testng-5.7-jdk15.jar
>
>
>
> On Thu, May 14, 2009 at 10:29 AM, Harihara Vinayakaram 
> <[email protected]>wrote:
>
>> Hi
>>    I moved to a windows system where I am finally getting a proper error.
>> :-) It says java.lan.NoClassDefFoundError: org/stringtree/json/JSONReader
>>
>> Regards
>> Hari
>>
>>
>> On Thu, May 14, 2009 at 7:51 PM, Harihara Vinayakaram 
>> <[email protected]>wrote:
>>
>>> I am not very familiar with maven but when I tried to run the command
>>> that u specified then i get an error that says failed to resolve artifact
>>>
>>> Regards
>>> Hari
>>>
>>>
>>> On Thu, May 14, 2009 at 7:48 PM, Harihara Vinayakaram 
>>> <[email protected]>wrote:
>>>
>>>> Hi
>>>>   I created a small project which gives the same error .  Attached (I
>>>> did not attach the lib directory ). These are the same files I picked up
>>>> from the source
>>>>
>>>>    U can extract the tar file and then create the lib directory under
>>>> that . you can copy the jars
>>>> groovy-all-1.6.0.jar  selenium-java-client-driver.jar
>>>> tellurium-0.6.0.jar
>>>> junit-4.4.jar         selenium-server.jar
>>>> testng-5.7-jdk15.jar
>>>>
>>>> and run ant which will give  compilation error
>>>>
>>>> Regards
>>>> Hari
>>>>
>>>>
>>>> On Thu, May 14, 2009 at 7:13 PM, Jian Fang <[email protected]>wrote:
>>>>
>>>>> Hari,
>>>>>
>>>>> As a quick test, could you do the following steps?
>>>>>
>>>>> 1) Create a new Tellurium Maven test project "demo"
>>>>>
>>>>>  mvn archetype:create -DgroupId=example -DartifactId=demo
>>>>> -DarchetypeArtifactId=tellurium-junit-archetype 
>>>>> -DarchetypeGroupId=tellurium
>>>>> -DarchetypeVersion=1.0.RC1-SNAPSHOT -DarchetypeRepository=
>>>>> http://kungfuters.org/nexus/content/repositories/snapshots
>>>>>
>>>>> 2) run the tests
>>>>>
>>>>> cd demo/
>>>>>
>>>>> mvn test
>>>>>
>>>>>
>>>>> Please let me know if you could run the tests successfully or not.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Jian
>>>>>
>>>>>
>>>>>
>>>>> On Thu, May 14, 2009 at 8:18 AM, Harihara Vinayakaram <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> I am sorry if the problem has been misunderstood. I am able to build
>>>>>> the latest Tellurium-0.6.0 . What I am unable to do is to compile my 
>>>>>> tests
>>>>>> with that. I still get the same error even after updating,
>>>>>>
>>>>>> I picked the tellurium-0.6.0-RC1.jar from the website and even then I
>>>>>> am not able to compile my tests . It specifically fails with groovyc . 
>>>>>> (I am
>>>>>> using groovy 1.6.0) . I tried with JDK 1.5 and with JDK 1.6
>>>>>>
>>>>>>
>>>>>> Regards
>>>>>> Hari
>>>>>>
>>>>>>
>>>>>> On Thu, May 14, 2009 at 1:01 AM, John <[email protected]>wrote:
>>>>>>
>>>>>>>
>>>>>>> I merged in RC1 changes into trunk and run both
>>>>>>>
>>>>>>> ant dist
>>>>>>>
>>>>>>> and
>>>>>>>
>>>>>>> mvn install
>>>>>>>
>>>>>>> without any problems. Please update the code and see if you still
>>>>>>> have
>>>>>>> the problem.
>>>>>>>
>>>>>>> Also, I would recommend you to use RC1 artifacts instead of building
>>>>>>> the jars from source.
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Jian
>>>>>>>
>>>>>>> On May 13, 10:19 am, John <[email protected]> wrote:
>>>>>>> > I need to merge the changes in RC1 branch back to trunk and will
>>>>>>> look
>>>>>>> > into it to see
>>>>>>> > if there is any problem there.
>>>>>>> >
>>>>>>> > Thanks,
>>>>>>> >
>>>>>>> > Jian
>>>>>>> >
>>>>>>> > On May 13, 9:58 am, Harihara Vinayakaram <[email protected]> wrote:
>>>>>>> >
>>>>>>> > > One update :
>>>>>>> > >    When I tried to compile I got an error that said
>>>>>>> core/src/main/resources
>>>>>>> > > not found. So I just created an empty directory
>>>>>>> >
>>>>>>> > > Regards
>>>>>>> > > Hari
>>>>>>> >
>>>>>>> > > On Wed, May 13, 2009 at 7:24 PM, Harihara Vinayakaram <
>>>>>>> [email protected]>wrote:
>>>>>>> >
>>>>>>> > > > Hi
>>>>>>> > > >    I returned back after a short break and did an svn update
>>>>>>> from the
>>>>>>> > > > source tree and built the tellurium-0.6.0.jar .
>>>>>>> > > >    I did cd core
>>>>>>> > > >    ant
>>>>>>> >
>>>>>>> > > >     When I tried to compile with it I am getting a strange
>>>>>>> error. When I
>>>>>>> > > > restore the older version of tellurium-0.6.0.jar then things
>>>>>>> work properly .
>>>>>>> > > > There does not seem to be any particular file / line number
>>>>>>> >
>>>>>>> > > > Let me know if this is an issue
>>>>>>> >
>>>>>>> > > > Regards
>>>>>>> > > > Hari
>>>>>>> >
>>>>>>> > > >    I have a mixture of groovy and java files.
>>>>>>> >
>>>>>>> > > > /home/hari/CRMS/trunk/CRMSTest/build.xml:132: Compilation
>>>>>>> Failed
>>>>>>> > > >     at
>>>>>>> org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:807)
>>>>>>> > > >     at
>>>>>>> org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:540)
>>>>>>> > > >     at
>>>>>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>>>>>>> > > >     at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown
>>>>>>> Source)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>>> > > >     at java.lang.reflect.Method.invoke(Method.java:585)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>>>>>>> > > >     at org.apache.tools.ant.Task.perform(Task.java:348)
>>>>>>> > > >     at org.apache.tools.ant.Target.execute(Target.java:357)
>>>>>>> > > >     at
>>>>>>> org.apache.tools.ant.Target.performTasks(Target.java:385)
>>>>>>> > > >     at
>>>>>>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
>>>>>>> > > >     at
>>>>>>> org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>>>>>>> > > >     at
>>>>>>> org.apache.tools.ant.Project.executeTargets(Project.java:1189)
>>>>>>> > > >     at org.apache.tools.ant.Main.runBuild(Main.java:758)
>>>>>>> > > >     at org.apache.tools.ant.Main.startAnt(Main.java:217)
>>>>>>> > > >     at
>>>>>>> org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>>>>>>> > > >     at
>>>>>>> org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>>>>>>> > > > Caused by: java.lang.NullPointerException:
>>>>>>> > > >     at
>>>>>>> org.codehaus.groovy.ast.ClassHelper.make(ClassHelper.java:144)
>>>>>>> > > >     at
>>>>>>> org.codehaus.groovy.ast.ClassHelper.make(ClassHelper.java:137)
>>>>>>> > > >     at
>>>>>>> org.codehaus.groovy.vmplugin.v5.Java5.makeClassNode(Java5.java:316)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.vmplugin.v5.Java5.configureClassNode(Java5.java:263)
>>>>>>> > > >     at
>>>>>>> org.codehaus.groovy.ast.ClassNode.lazyClassInit(ClassNode.java:253)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassNode.getDeclaredMethods(ClassNode.java:746)
>>>>>>> > > >     at
>>>>>>> org.codehaus.groovy.ast.ClassNode.getMethods(ClassNode.java:761)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassNode.hasPossibleMethod(ClassNode.java:1060)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.control.StaticImportVisitor.transformMethodCallExpression(StaticImportVisitor.java:129)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.control.StaticImportVisitor.transform(StaticImportVisitor.java:68)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitExpressionStatement(ClassCodeExpressionTransformer.java:148)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:38)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:129)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:52)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.control.StaticImportVisitor.transformClosureExpression(StaticImportVisitor.java:162)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.control.StaticImportVisitor.transform(StaticImportVisitor.java:71)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.expr.Expression.transformExpressions(Expression.java:49)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.expr.ArgumentListExpression.transformExpression(ArgumentListExpression.java:67)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.control.StaticImportVisitor.transform(StaticImportVisitor.java:77)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.control.StaticImportVisitor.transformMethodCallExpression(StaticImportVisitor.java:107)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.control.StaticImportVisitor.transform(StaticImportVisitor.java:68)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitExpressionStatement(ClassCodeExpressionTransformer.java:148)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:38)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:129)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:52)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClassCodeContainer(ClassCodeVisitorSupport.java:73)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitConstructorOrMethod(ClassCodeVisitorSupport.java:80)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitConstructorOrMethod(ClassCodeExpressionTransformer.java:53)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.control.StaticImportVisitor.visitConstructorOrMethod(StaticImportVisitor.java:55)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitMethod(ClassCodeVisitorSupport.java:88)
>>>>>>> > > > --- Nested Exception ---
>>>>>>> > > > java.lang.NullPointerException:
>>>>>>> > > >     at
>>>>>>> org.codehaus.groovy.ast.ClassHelper.make(ClassHelper.java:144)
>>>>>>> > > >     at
>>>>>>> org.codehaus.groovy.ast.ClassHelper.make(ClassHelper.java:137)
>>>>>>> > > >     at
>>>>>>> org.codehaus.groovy.vmplugin.v5.Java5.makeClassNode(Java5.java:316)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.vmplugin.v5.Java5.configureClassNode(Java5.java:263)
>>>>>>> > > >     at
>>>>>>> org.codehaus.groovy.ast.ClassNode.lazyClassInit(ClassNode.java:253)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassNode.getDeclaredMethods(ClassNode.java:746)
>>>>>>> > > >     at
>>>>>>> org.codehaus.groovy.ast.ClassNode.getMethods(ClassNode.java:761)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassNode.hasPossibleMethod(ClassNode.java:1060)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.control.StaticImportVisitor.transformMethodCallExpression(StaticImportVisitor.java:129)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.control.StaticImportVisitor.transform(StaticImportVisitor.java:68)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitExpressionStatement(ClassCodeExpressionTransformer.java:148)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:38)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:129)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:52)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.control.StaticImportVisitor.transformClosureExpression(StaticImportVisitor.java:162)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.control.StaticImportVisitor.transform(StaticImportVisitor.java:71)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.expr.Expression.transformExpressions(Expression.java:49)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.expr.ArgumentListExpression.transformExpression(ArgumentListExpression.java:67)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.control.StaticImportVisitor.transform(StaticImportVisitor.java:77)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.control.StaticImportVisitor.transformMethodCallExpression(StaticImportVisitor.java:107)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.control.StaticImportVisitor.transform(StaticImportVisitor.java:68)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitExpressionStatement(ClassCodeExpressionTransformer.java:148)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:38)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:129)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:52)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClassCodeContainer(ClassCodeVisitorSupport.java:73)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitConstructorOrMethod(ClassCodeVisitorSupport.java:80)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitConstructorOrMethod(ClassCodeExpressionTransformer.java:53)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.control.StaticImportVisitor.visitConstructorOrMethod(StaticImportVisitor.java:55)
>>>>>>> > > >     at
>>>>>>> > > >
>>>>>>> org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitMethod(ClassCodeVisitorSupport.java:88)
>>>>>>> >
>>>>>>> > > > Total time: 2 seconds
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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