Re: [aspectwerkz-user] AnnotationC Exception

Alexandre Vasseur <[email protected]>
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
what is the use case for that ?
Use Java 5 annotation, not annotationC with Java 5 sources.
Java 5 annotations are fully supported by AW 2.0
Alex


On Wed, 23 Mar 2005 11:33:56 +0100, Jonas Bonér <[email protected]> wrote:
> the current version of qdox does not parse Java 5 stuff
> -> AW does not either
> will be solved in upcoming release of qdox
> 
> On Wed, 23 Mar 2005 02:16:47 -0600, Makover, Zohar
> <[email protected]> wrote:
> >
> > Hi,
> >
> > We have encountered a problem when running the AnnotationC with java1.5
> > sources.
> >
> > The problem occurs when our source has statements like:
> >  List<String> list = new ArrayList<String>();
> >
> > Sources that don't have this kind of statements - have no problem.
> >
> > Do you know how can this problem be Solved?
> > Regards,
> > Zohar Makover
> >
> > (Our aspects are in java1.4 format but our code has some java 1.5 features
> > and we use retroweaver during compilation).
> >
> > The exception we get is:
> > AnnotationC::INFO - parsing source dirs:
> > AnnotationC::INFO -
> > D:\p4client\ctsa\tango-server\dev\tango-server\ApplicationLogic/src
> > Exception in thread "main" com.thoughtworks.qdox.parser.ParseException
> >         at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:464)
> >         at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:570)
> >         at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:448)
> >         at
> > com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:296)
> >         at
> > com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:312)
> >         at
> > com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:308)
> >         at
> > com.thoughtworks.qdox.JavaDocBuilder$1.visitFile(JavaDocBuilder.java:365)
> >         at
> > com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner
> > .java:43)
> >         at
> > com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner
> > .java:34)
> >         at
> > com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner
> > .java:34)
> >         at
> > com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner
> > .java:34)
> >         at
> > com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner
> > .java:34)
> >         at
> > com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner
> > .java:34)
> >         at
> > com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner
> > .java:34)
> >         at
> > com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner
> > .java:34)
> >         at
> > com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner
> > .java:34)
> >         at
> > com.thoughtworks.qdox.directorywalker.DirectoryScanner.scan(DirectoryScanner
> > .java:52)
> >         at
> > com.thoughtworks.qdox.JavaDocBuilder.addSourceTree(JavaDocBuilder.java:362)
> >         at
> > org.codehaus.aspectwerkz.annotation.AnnotationManager.addSourceTrees(Annotat
> > ionManager.java:74)
> >         at
> > org.codehaus.aspectwerkz.annotation.AnnotationC.compile(AnnotationC.java:204
> > )
> >         at
> > org.codehaus.aspectwerkz.annotation.AnnotationC.compile(AnnotationC.java:157
> > )
> >         at
> > org.codehaus.aspectwerkz.annotation.AnnotationC.main(AnnotationC.java:107)
> >
> >
> 
> --
> /Jonas
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.