Sorry, "header", "row", and "column" are tokens reserved by UDL, you can
change "header" to "Header" or another name.

Thanks,

Jian

On Thu, Apr 22, 2010 at 8:12 AM, dominicm <[email protected]>wrote:

> Hi,
>
> After updating to the latest build my code crashes when calling
> defineUi on the first line.
>
> Am I missing anything?
>
> Thanjs
>
>
> UI def example:
>
> public class Frames extends DslContext{
>        public void defineUi(){
>                ui.Frame(uid:'header', name:'header', id:'header'){
>                        Frame(uid:'nav', id:'Nav', name:'Nav'){}
>                }
> <snip>
>
> Maven pom has the following:
>
> <dependency>
>            <groupId>org.seleniumhq.selenium.server</groupId>
>            <artifactId>selenium-server</artifactId>
>            <version>1.0.1-te3-SNAPSHOT</version>
>            <exclusions>
>                <exclusion>
>                    <groupId>ant</groupId>
>                    <artifactId>ant</artifactId>
>                </exclusion>
>            </exclusions>
>        </dependency>
>        <dependency>
>            <groupId>org.seleniumhq.selenium.client-drivers</groupId>
>            <artifactId>selenium-java-client-driver</artifactId>
>            <version>1.0.1</version>
>            <exclusions>
>                <exclusion>
>                    <groupId>org.codehaus.gmaven.runtime</groupId>
>                    <artifactId>gmaven-runtime-default</artifactId>
>                </exclusion>
>                <exclusion>
>                    <groupId>org.seleniumhq.selenium.core</groupId>
>                    <artifactId>selenium-core</artifactId>
>                </exclusion>
>                <exclusion>
>                    <groupId>org.seleniumhq.selenium.server</groupId>
>                    <artifactId>selenium-server</artifactId>
>                </exclusion>
>            </exclusions>
>        </dependency>
>        <dependency>
>            <groupId>org.telluriumsource</groupId>
>            <artifactId>tellurium-udl</artifactId>
>            <version>0.7.0-SNAPSHOT</version>
>            <scope>compile</scope>
>        </dependency>
>        <dependency>
>            <groupId>org.telluriumsource</groupId>
>            <artifactId>tellurium-core</artifactId>
>            <version>0.7.0-SNAPSHOT</version>
>            <scope>compile</scope>
>        </dependency>
>        <dependency>
>
>
> Caused by: java.lang.NoClassDefFoundError: org/antlr/runtime/
> RecognizerSharedState
>        at org.telluriumsource.udl.UdlLexer.<init>(UdlLexer.java:46)
>        at org.telluriumsource.udl.UidParser.parse(UidParser.java:21)
>        at org.telluriumsource.udl.UidParser$parse.call(Unknown Source)
>        at
>
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:
> 40)
>        at
>
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
> 117)
>        at
>
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
> 125)
>        at
>
> org.telluriumsource.ui.builder.UiObjectBuilder.internBuild(UiObjectBuilder.groovy:
> 77)
>        at org.telluriumsource.ui.builder.UiObjectBuilder
> $internBuild.callCurrent(Unknown Source)
>        at
>
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:
> 44)
>        at
>
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:
> 143)
>        at
>
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:
> 159)
>        at
> org.telluriumsource.ui.builder.FrameBuilder.build(FrameBuilder.groovy:
> 18)
>        at org.telluriumsource.ui.builder.FrameBuilder$build.call(Unknown
> Source)
>        at
>
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:
> 40)
>        at
>
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
> 117)
>        at
>
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
> 129)
>        at
> org.telluriumsource.dsl.UiDslParser.createNode(UiDslParser.groovy:
> 150)
>        at groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:96)
>        at groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:64)
>        at
>
> org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:
> 45)
>        at
>
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:
> 40)
>        at
>
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
> 117)
>        at
>
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
> 129)
>        at com.betfair.www.website.ui.Frames.defineUi(Frames.groovy:14)
>        at
>
> com.betfair.www.website.methods.BrowserManager.initBrowserManager(BrowserManager.java:
> 218)
>
> --
> 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]<tellurium-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/tellurium-users?hl=en.
>
>

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