I debugged inside the flexmojos maven plugin and graniteds generator
code. If I examine the classloader that is passed to the GroovyShell
and I try to load the custom annotation class it will ALWAYS find it.
Nevertheless SOMETIMES the GroovyShell.parse function throws an error
that he cannot resolve the annotation class??? At this point I have
the impression that the weird behaviour is coming from the
GroovyShell?

Following reports are related I think:

https://issues.sonatype.org/browse/FLEXMOJOS-126
http://www.graniteds.org/jira/browse/GDS-450

Kind Regards,

Niels

On Oct 21, 7:57 am, nsoeffers <[email protected]> wrote:
> Yes it is.
> The strange thing is that the build sometimes succeeds and sometimes
> it fails. I really can't figure out why it has this behaviour. But in
> both cases (success & failed build) the jar of the annotation is in
> the dependency tree.
>
> Kind Regards,
>
> Niels
>
> On Oct 16, 2:16 pm, Marvin Froeder <[email protected]> wrote:
>
>
>
> > Is the annotation on dependency tree?
>
> > On Fri, Oct 16, 2009 at 6:45 AM, nsoeffers <[email protected]> wrote:
>
> > > When I try to call the jProperty.isAnnotationPresent function with a
> > > custom annotation class inside an entityBase template. I get the
> > > following error:
>
> > > Caused by:
> > > org.codehaus.groovy.control.MultipleCompilationErrorsException:
> > > startup failed, Script1.groovy: 2: unable to resolve class
> > > be.aca.backoffice.graniteds.RequiredAtInitialisation
> > >  @ line 2, column 2.
> > > 1 error
>
> > > I'm using flexmojos-3.3.0 and use the graniteds2 generator. Can anyone
> > > help me with this?
>
> > > Thanks in advance,
> > > Kind Regards,
>
> > > Niels
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" 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/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to