On 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