|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: Re: [groovy-dev] Re: Initial annotation support is in SVN trunkPascal DeMilly schrieb:
> I am trying to use Hibernate annotation in a groovy script but I am getting > anerror > > org.codehaus.groovy.control.MultipleCompilationErrorsException: startup > failed, crs/business/cashreg/CashRegTill.groovy: 8: unexpected token: class @ > line 8, column 1. > class CashRegTill { > > The groovy file is: > package crs.business.cashreg; > > import javax.persistence.Entity > import javax.persistence.Table > > @Entity > @Table(name="CashRegTills") > class CashRegTill { > } > > I am using Groovy Version: 1.0.1-SNAPSHOT JVM: 1.5.0_08-b03 from yesterday. > > What am I missing? are you absolutly sure? The parser walks through here. please update again, clean the build, rebuild and try again bye blackdag -- Jochen "blackdrag" Theodorou Groovy Tech Lead (http://groovy.codehaus.org) http://blackdragsview.blogspot.com/ --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Re: [groovy-dev] Re: Initial annotation support is in SVN trunkJochen,
I tried again downloading groovy from SVN repo, rebuilding it and I get the same error mentionned before when testing Annotations. Note that I am trying the dynamic compilation of groovy class file. groovyc does work. Also surprisingly groovyc gives me version: groovy compiler version 1.0-rc1 Copyright 2003-2004 The Codehaus. http://groovy.codehaus.org/ while groovy version is: Groovy Version: 1.0.1-SNAPSHOT JVM: 1.5.0_08-b03 Might just be an oversight. Thanks Pascal On Tuesday 23 January 2007 10:23, Jochen Theodorou wrote: > Pascal DeMilly schrieb: > > I am trying to use Hibernate annotation in a groovy script but I am > > getting anerror > > > > org.codehaus.groovy.control.MultipleCompilationErrorsException: startup > > failed, crs/business/cashreg/CashRegTill.groovy: 8: unexpected token: > > class @ line 8, column 1. > > class CashRegTill { > > > > The groovy file is: > > package crs.business.cashreg; > > > > import javax.persistence.Entity > > import javax.persistence.Table > > > > @Entity > > @Table(name="CashRegTills") > > class CashRegTill { > > } > > > > I am using Groovy Version: 1.0.1-SNAPSHOT JVM: 1.5.0_08-b03 from > > yesterday. > > > > What am I missing? > > are you absolutly sure? The parser walks through here. please update > again, clean the build, rebuild and try again > > bye blackdag |
|
|
Re: Re: [groovy-dev] Re: Initial annotation support is in SVN trunkOn 1/24/07, Pascal DeMilly <list.groovy@...> wrote:
> Jochen, > > I tried again downloading groovy from SVN repo, rebuilding it and I get the > same error mentionned before when testing Annotations. Note that I am trying > the dynamic compilation of groovy class file. groovyc does work. > > Also surprisingly groovyc gives me version: > groovy compiler version 1.0-rc1 > Copyright 2003-2004 The Codehaus. http://groovy.codehaus.org/ > > while groovy version is: > Groovy Version: 1.0.1-SNAPSHOT JVM: 1.5.0_08-b03 > > Might just be an oversight. > Hi Pascal! Have you tried your build against the scripts in the attached jar to this thread? It is my test script together with a couple of annotations. It passes with both groovy and groovyc, so I am interested to see if on your build it does the same. In the first place I suspect there is an older groovy jar in your classpath. ./alex -- .w( the_mindstorm )p. _____________________________________ Alexandru Popescu, OSS Evangelist TestNG/Groovy/AspectJ/WebWork/more... Information Queue ~ www.InfoQ.com > Thanks > > Pascal > > On Tuesday 23 January 2007 10:23, Jochen Theodorou wrote: > > Pascal DeMilly schrieb: > > > I am trying to use Hibernate annotation in a groovy script but I am > > > getting anerror > > > > > > org.codehaus.groovy.control.MultipleCompilationErrorsException: startup > > > failed, crs/business/cashreg/CashRegTill.groovy: 8: unexpected token: > > > class @ line 8, column 1. > > > class CashRegTill { > > > > > > The groovy file is: > > > package crs.business.cashreg; > > > > > > import javax.persistence.Entity > > > import javax.persistence.Table > > > > > > @Entity > > > @Table(name="CashRegTills") > > > class CashRegTill { > > > } > > > > > > I am using Groovy Version: 1.0.1-SNAPSHOT JVM: 1.5.0_08-b03 from > > > yesterday. > > > > > > What am I missing? > > > > are you absolutly sure? The parser walks through here. please update > > again, clean the build, rebuild and try again > > > > bye blackdag > > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Re: [groovy-dev] Re: Initial annotation support is in SVN trunkMy bad! You're right. found that in my classpath I was still referring to the
1.0 groovy-all like you suspected. Thanks it works now. This is great. Now we just need some GAOP :-) Pascal On Tuesday 23 January 2007 17:40, Alexandru Popescu wrote: > On 1/24/07, Pascal DeMilly <list.groovy@...> wrote: > > Jochen, > > > > I tried again downloading groovy from SVN repo, rebuilding it and I get > > the same error mentionned before when testing Annotations. Note that I am > > trying the dynamic compilation of groovy class file. groovyc does work. > > > > Also surprisingly groovyc gives me version: > > groovy compiler version 1.0-rc1 > > Copyright 2003-2004 The Codehaus. http://groovy.codehaus.org/ > > > > while groovy version is: > > Groovy Version: 1.0.1-SNAPSHOT JVM: 1.5.0_08-b03 > > > > Might just be an oversight. > > Hi Pascal! > > Have you tried your build against the scripts in the attached jar to > this thread? It is my test script together with a couple of > annotations. It passes with both groovy and groovyc, so I am > interested to see if on your build it does the same. > > In the first place I suspect there is an older groovy jar in your > classpath. > > ./alex > -- > .w( the_mindstorm )p. > _____________________________________ > Alexandru Popescu, OSS Evangelist > TestNG/Groovy/AspectJ/WebWork/more... > Information Queue ~ www.InfoQ.com > > > Thanks > > > > Pascal > > > > On Tuesday 23 January 2007 10:23, Jochen Theodorou wrote: > > > Pascal DeMilly schrieb: > > > > I am trying to use Hibernate annotation in a groovy script but I am > > > > getting anerror > > > > > > > > org.codehaus.groovy.control.MultipleCompilationErrorsException: > > > > startup failed, crs/business/cashreg/CashRegTill.groovy: 8: > > > > unexpected token: class @ line 8, column 1. > > > > class CashRegTill { > > > > > > > > The groovy file is: > > > > package crs.business.cashreg; > > > > > > > > import javax.persistence.Entity > > > > import javax.persistence.Table > > > > > > > > @Entity > > > > @Table(name="CashRegTills") > > > > class CashRegTill { > > > > } > > > > > > > > I am using Groovy Version: 1.0.1-SNAPSHOT JVM: 1.5.0_08-b03 from > > > > yesterday. > > > > > > > > What am I missing? > > > > > > are you absolutly sure? The parser walks through here. please update > > > again, clean the build, rebuild and try again > > > > > > bye blackdag > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Re: [groovy-dev] Re: Initial annotation support is in SVN trunkHi Pascal,
I hope I'm not too demanding but... Would it be possible that you write a mini-tutorial and set up some a small code sample showing how to develop an EJB3 with Groovy? I must confess I haven't used EJB3 so far, and I think we could make a nice little article on that topic :-) On 1/24/07, Pascal DeMilly <list.groovy@...> wrote: > My bad! You're right. found that in my classpath I was still referring to the > 1.0 groovy-all like you suspected. > > Thanks it works now. This is great. Now we just need some GAOP :-) > > Pascal > > > On Tuesday 23 January 2007 17:40, Alexandru Popescu wrote: > > On 1/24/07, Pascal DeMilly <list.groovy@...> wrote: > > > Jochen, > > > > > > I tried again downloading groovy from SVN repo, rebuilding it and I get > > > the same error mentionned before when testing Annotations. Note that I am > > > trying the dynamic compilation of groovy class file. groovyc does work. > > > > > > Also surprisingly groovyc gives me version: > > > groovy compiler version 1.0-rc1 > > > Copyright 2003-2004 The Codehaus. http://groovy.codehaus.org/ > > > > > > while groovy version is: > > > Groovy Version: 1.0.1-SNAPSHOT JVM: 1.5.0_08-b03 > > > > > > Might just be an oversight. > > > > Hi Pascal! > > > > Have you tried your build against the scripts in the attached jar to > > this thread? It is my test script together with a couple of > > annotations. It passes with both groovy and groovyc, so I am > > interested to see if on your build it does the same. > > > > In the first place I suspect there is an older groovy jar in your > > classpath. > > > > ./alex > > -- > > .w( the_mindstorm )p. > > _____________________________________ > > Alexandru Popescu, OSS Evangelist > > TestNG/Groovy/AspectJ/WebWork/more... > > Information Queue ~ www.InfoQ.com > > > > > Thanks > > > > > > Pascal > > > > > > On Tuesday 23 January 2007 10:23, Jochen Theodorou wrote: > > > > Pascal DeMilly schrieb: > > > > > I am trying to use Hibernate annotation in a groovy script but I am > > > > > getting anerror > > > > > > > > > > org.codehaus.groovy.control.MultipleCompilationErrorsException: > > > > > startup failed, crs/business/cashreg/CashRegTill.groovy: 8: > > > > > unexpected token: class @ line 8, column 1. > > > > > class CashRegTill { > > > > > > > > > > The groovy file is: > > > > > package crs.business.cashreg; > > > > > > > > > > import javax.persistence.Entity > > > > > import javax.persistence.Table > > > > > > > > > > @Entity > > > > > @Table(name="CashRegTills") > > > > > class CashRegTill { > > > > > } > > > > > > > > > > I am using Groovy Version: 1.0.1-SNAPSHOT JVM: 1.5.0_08-b03 from > > > > > yesterday. > > > > > > > > > > What am I missing? > > > > > > > > are you absolutly sure? The parser walks through here. please update > > > > again, clean the build, rebuild and try again > > > > > > > > bye blackdag > > > > --------------------------------------------------------------------- > > To unsubscribe from this list please visit: > > > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > -- Guillaume Laforge Groovy Project Manager http://glaforge.free.fr/blog/groovy --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Re: [groovy-dev] Re: Initial annotation support is in SVN trunkOn 1/24/07, Guillaume Laforge <glaforge@...> wrote:
> Hi Pascal, > > I hope I'm not too demanding but... > Would it be possible that you write a mini-tutorial and set up some a > small code sample showing how to develop an EJB3 with Groovy? I must > confess I haven't used EJB3 so far, and I think we could make a nice > little article on that topic :-) > Here it is sir: http://www.infoq.com/articles/grails-ejb-tutorial. HTH, ./alex -- .w( the_mindstorm )p. _____________________________________ Alexandru Popescu, OSS Evangelist TestNG/Groovy/AspectJ/WebWork/more... Information Queue ~ www.InfoQ.com > > On 1/24/07, Pascal DeMilly <list.groovy@...> wrote: > > My bad! You're right. found that in my classpath I was still referring to the > > 1.0 groovy-all like you suspected. > > > > Thanks it works now. This is great. Now we just need some GAOP :-) > > > > Pascal > > > > > > On Tuesday 23 January 2007 17:40, Alexandru Popescu wrote: > > > On 1/24/07, Pascal DeMilly <list.groovy@...> wrote: > > > > Jochen, > > > > > > > > I tried again downloading groovy from SVN repo, rebuilding it and I get > > > > the same error mentionned before when testing Annotations. Note that I am > > > > trying the dynamic compilation of groovy class file. groovyc does work. > > > > > > > > Also surprisingly groovyc gives me version: > > > > groovy compiler version 1.0-rc1 > > > > Copyright 2003-2004 The Codehaus. http://groovy.codehaus.org/ > > > > > > > > while groovy version is: > > > > Groovy Version: 1.0.1-SNAPSHOT JVM: 1.5.0_08-b03 > > > > > > > > Might just be an oversight. > > > > > > Hi Pascal! > > > > > > Have you tried your build against the scripts in the attached jar to > > > this thread? It is my test script together with a couple of > > > annotations. It passes with both groovy and groovyc, so I am > > > interested to see if on your build it does the same. > > > > > > In the first place I suspect there is an older groovy jar in your > > > classpath. > > > > > > ./alex > > > -- > > > .w( the_mindstorm )p. > > > _____________________________________ > > > Alexandru Popescu, OSS Evangelist > > > TestNG/Groovy/AspectJ/WebWork/more... > > > Information Queue ~ www.InfoQ.com > > > > > > > Thanks > > > > > > > > Pascal > > > > > > > > On Tuesday 23 January 2007 10:23, Jochen Theodorou wrote: > > > > > Pascal DeMilly schrieb: > > > > > > I am trying to use Hibernate annotation in a groovy script but I am > > > > > > getting anerror > > > > > > > > > > > > org.codehaus.groovy.control.MultipleCompilationErrorsException: > > > > > > startup failed, crs/business/cashreg/CashRegTill.groovy: 8: > > > > > > unexpected token: class @ line 8, column 1. > > > > > > class CashRegTill { > > > > > > > > > > > > The groovy file is: > > > > > > package crs.business.cashreg; > > > > > > > > > > > > import javax.persistence.Entity > > > > > > import javax.persistence.Table > > > > > > > > > > > > @Entity > > > > > > @Table(name="CashRegTills") > > > > > > class CashRegTill { > > > > > > } > > > > > > > > > > > > I am using Groovy Version: 1.0.1-SNAPSHOT JVM: 1.5.0_08-b03 from > > > > > > yesterday. > > > > > > > > > > > > What am I missing? > > > > > > > > > > are you absolutly sure? The parser walks through here. please update > > > > > again, clean the build, rebuild and try again > > > > > > > > > > bye blackdag > > > > > > --------------------------------------------------------------------- > > > To unsubscribe from this list please visit: > > > > > > http://xircles.codehaus.org/manage_email > > > > --------------------------------------------------------------------- > > To unsubscribe from this list please visit: > > > > http://xircles.codehaus.org/manage_email > > > > > > > -- > Guillaume Laforge > Groovy Project Manager > http://glaforge.free.fr/blog/groovy > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Re: [groovy-dev] Re: Initial annotation support is in SVN trunkOn 1/24/07, Alexandru Popescu <the.mindstorm.mailinglist@...> wrote:
> [...] > Here it is sir: http://www.infoq.com/articles/grails-ejb-tutorial. That's not exactly what I had in mind :-) I'd just like the smallest example of an EJB 3 hello world-like application where we would replace the Java entity with a Groovy annotated one. -- Guillaume Laforge Groovy Project Manager http://glaforge.free.fr/blog/groovy --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Re: [groovy-dev] Re: Initial annotation support is in SVN trunkSalut Guillaume,
I am not much of a writer but I will try to write something that shows how to use Groovy instead of Java for an EJB3 application. Pascal On Wednesday 24 January 2007 01:39, Guillaume Laforge wrote: > On 1/24/07, Alexandru Popescu <the.mindstorm.mailinglist@...> wrote: > > [...] > > Here it is sir: > > http://www.infoq.com/articles/grails-ejb-tutorial. > > That's not exactly what I had in mind :-) > > I'd just like the smallest example of an EJB 3 hello world-like > application where we would replace the Java entity with a Groovy > annotated one. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Re: [groovy-dev] Re: Initial annotation support is in SVN trunkWonderful!
Thank you so much! On 1/24/07, Pascal DeMilly <list.groovy@...> wrote: > Salut Guillaume, > > I am not much of a writer but I will try to write something that shows > how to use Groovy instead of Java for an EJB3 application. > > Pascal > > On Wednesday 24 January 2007 01:39, Guillaume Laforge wrote: > > On 1/24/07, Alexandru Popescu <the.mindstorm.mailinglist@...> > wrote: > > > [...] > > > Here it is sir: > > > http://www.infoq.com/articles/grails-ejb-tutorial. > > > > That's not exactly what I had in mind :-) > > > > I'd just like the smallest example of an EJB 3 hello world-like > > application where we would replace the Java entity with a Groovy > > annotated one. > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > -- Guillaume Laforge Groovy Project Manager http://glaforge.free.fr/blog/groovy --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Re: [groovy-dev] Re: Initial annotation support is in SVN trunkSalut Pascal,
How is it progressing? :-) Do you need any help or are you facing some issues? On 1/24/07, Pascal DeMilly <list.groovy@...> wrote: > Salut Guillaume, > > I am not much of a writer but I will try to write something that shows > how to use Groovy instead of Java for an EJB3 application. > > Pascal > > On Wednesday 24 January 2007 01:39, Guillaume Laforge wrote: > > On 1/24/07, Alexandru Popescu <the.mindstorm.mailinglist@...> > wrote: > > > [...] > > > Here it is sir: > > > http://www.infoq.com/articles/grails-ejb-tutorial. > > > > That's not exactly what I had in mind :-) > > > > I'd just like the smallest example of an EJB 3 hello world-like > > application where we would replace the Java entity with a Groovy > > annotated one. > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > -- Guillaume Laforge Groovy Project Manager http://glaforge.free.fr/blog/groovy --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |