From dave at badgers-in-foil.co.uk Wed May 16 13:59:00 2007 From: dave at badgers-in-foil.co.uk (dave at badgers-in-foil.co.uk) Date: Wed, 16 May 2007 13:59:00 +0000 Subject: [metaas-dev] [SVN metaas] update ANTLR dep version References: Message-ID: An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/metaas-dev/attachments/20070516/96cb054d/attachment.html From dave at badgers-in-foil.co.uk Sat May 19 23:14:18 2007 From: dave at badgers-in-foil.co.uk (dave at badgers-in-foil.co.uk) Date: Sat, 19 May 2007 23:14:18 +0000 Subject: [metaas-dev] [SVN ] add branches dir Message-ID: An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/metaas-dev/attachments/20070519/23e8ff80/attachment.htm From dave at badgers-in-foil.co.uk Sat May 19 23:16:57 2007 From: dave at badgers-in-foil.co.uk (dave at badgers-in-foil.co.uk) Date: Sat, 19 May 2007 23:16:57 +0000 Subject: [metaas-dev] [SVN metaas] branch at the 0.7 release so that I can cut a maintanance release using ANTLRv3 final References: Message-ID: An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/metaas-dev/attachments/20070519/c7312516/attachment.htm From dave at badgers-in-foil.co.uk Sun May 20 00:24:58 2007 From: dave at badgers-in-foil.co.uk (dave at badgers-in-foil.co.uk) Date: Sun, 20 May 2007 00:24:58 +0000 Subject: [metaas-dev] [SVN metaas] remove old grammar already removed from the trunk References: Message-ID: An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/metaas-dev/attachments/20070520/90618771/attachment-0001.htm From dave at badgers-in-foil.co.uk Sun May 20 00:26:38 2007 From: dave at badgers-in-foil.co.uk (dave at badgers-in-foil.co.uk) Date: Sun, 20 May 2007 00:26:38 +0000 Subject: [metaas-dev] [SVN metaas] Use ANTLR 3.0 (and the ANTLR plugin for Maven, while we're at it) References: Message-ID: An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/metaas-dev/attachments/20070520/ca703350/attachment.htm From dave at badgers-in-foil.co.uk Sun May 20 00:27:37 2007 From: dave at badgers-in-foil.co.uk (dave at badgers-in-foil.co.uk) Date: Sun, 20 May 2007 00:27:37 +0000 Subject: [metaas-dev] [SVN metaas] [maven-release-plugin] prepare release metaas-0.7.1 References: Message-ID: An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/metaas-dev/attachments/20070520/b68cdd43/attachment.htm From dave at badgers-in-foil.co.uk Sun May 20 00:27:43 2007 From: dave at badgers-in-foil.co.uk (dave at badgers-in-foil.co.uk) Date: Sun, 20 May 2007 00:27:43 +0000 Subject: [metaas-dev] [SVN metaas] [maven-release-plugin] prepare for next development iteration References: Message-ID: An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/metaas-dev/attachments/20070520/3ac3f4c9/attachment.htm From zjuyyl at gmail.com Tue May 22 16:07:52 2007 From: zjuyyl at gmail.com (Yuliang-Yang) Date: Wed, 23 May 2007 00:07:52 +0800 Subject: [metaas-dev] Can't create as3 source code Message-ID: HI David, I download metaas-0.7-bin, and try to create as3 source code by the code: public static void main(String[] args){ ActionScriptFactory fact = new ActionScriptFactory(); ActionScriptProject proj = fact.newEmptyASProject("."); ASCompilationUnit unit = proj.newClass("Test"); ASClassType clazz = (ASClassType)unit.getType(); ASMethod meth = clazz.newMethod("test", Visibility.PUBLIC, "void"); meth.addStmt("trace('Hello world')"); } it throw exceptions: Exception in thread "main" java.lang.NoSuchFieldError: ruleNestingLevel at org.asdt.core.internal.antlr.AS3Lexer.mCOLON(AS3Lexer.java:2131) at org.asdt.core.internal.antlr.AS3Lexer.mTokens(AS3Lexer.java:5332) at org.antlr.runtime.Lexer.nextToken(Lexer.java:109) at uk.co.badgersinfoil.metaas.impl.antlr.LinkedListTokenSource.nextToken( LinkedListTokenSource.java:20) at uk.co.badgersinfoil.metaas.impl.antlr.LinkedListTokenStream.readNextToken( LinkedListTokenStream.java:77) at uk.co.badgersinfoil.metaas.impl.antlr.LinkedListTokenStream.LT( LinkedListTokenStream.java:143) at org.asdt.core.internal.antlr.AS3Parser.typeExpression(AS3Parser.java :7344) at uk.co.badgersinfoil.metaas.impl.AS3FragmentParser.parseTypeSpec( AS3FragmentParser.java:164) at uk.co.badgersinfoil.metaas.impl.ASTBuilder.newClassMethod( ASTBuilder.java:122) at uk.co.badgersinfoil.metaas.impl.ASTASClassType.newMethod( ASTASClassType.java:29) at org.myway.Generator.main(Generator.java:124) it is cause by : ASMethod meth = clazz.newMethod("test", Visibility.PUBLIC, "void"); -- best regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/metaas-dev/attachments/20070523/763c50e2/attachment.htm From dave at badgers-in-foil.co.uk Tue May 22 23:11:56 2007 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Tue, 22 May 2007 23:11:56 +0000 Subject: [metaas-dev] Can't create as3 source code In-Reply-To: References: Message-ID: <20070522231155.GB12671@badgers-in-foil.co.uk> On Wed, May 23, 2007 at 12:07:52AM +0800, Yuliang-Yang wrote: > it throw exceptions: > > Exception in thread "main" java.lang.NoSuchFieldError: ruleNestingLevel > at org.asdt.core.internal.antlr.AS3Lexer.mCOLON(AS3Lexer.java:2131) Have you got some version of ANTLR other than the one from the download zip in your classpath? Sounds like it's not using the included antlr-20070101.jar, but an older one (or maybe a newer one, not sure). Please check, and let us know how you get on thanks! dave -- http://david.holroyd.me.uk/ From zjuyyl at gmail.com Wed May 23 15:25:53 2007 From: zjuyyl at gmail.com (Yuliang-Yang) Date: Wed, 23 May 2007 23:25:53 +0800 Subject: [metaas-dev] metaas-dev Digest, Vol 5, Issue 4 In-Reply-To: References: Message-ID: David, thanks for your advice,I have solve the problem,as you said it is caused by the ANTLR libs, it doesn't work with the ANTLR V3.07 and the newest release ANTLR V3,when I replace the jars,It works smoothly. Greate project,thanks again. 2007/5/23, metaas-dev-request at lists.badgers-in-foil.co.uk < metaas-dev-request at lists.badgers-in-foil.co.uk>: > > Send metaas-dev mailing list submissions to > metaas-dev at lists.badgers-in-foil.co.uk > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.badgers-in-foil.co.uk/mailman/listinfo/metaas-dev > or, via email, send a message with subject or body 'help' to > metaas-dev-request at lists.badgers-in-foil.co.uk > > You can reach the person managing the list at > metaas-dev-owner at lists.badgers-in-foil.co.uk > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of metaas-dev digest..." > > > Today's Topics: > > 1. Can't create as3 source code (Yuliang-Yang) > 2. Re: Can't create as3 source code (David Holroyd) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 23 May 2007 00:07:52 +0800 > From: Yuliang-Yang > Subject: [metaas-dev] Can't create as3 source code > To: metaas-dev at lists.badgers-in-foil.co.uk > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > HI David, > I download metaas-0.7-bin, > and try to create as3 source code by the code: > > public static void main(String[] args){ > ActionScriptFactory fact = new ActionScriptFactory(); > ActionScriptProject proj = fact.newEmptyASProject("."); > ASCompilationUnit unit = proj.newClass("Test"); > ASClassType clazz = (ASClassType)unit.getType(); > ASMethod meth = clazz.newMethod("test", Visibility.PUBLIC, "void"); > meth.addStmt("trace('Hello world')"); > } > it throw exceptions: > > Exception in thread "main" java.lang.NoSuchFieldError: ruleNestingLevel > at org.asdt.core.internal.antlr.AS3Lexer.mCOLON(AS3Lexer.java:2131) > at org.asdt.core.internal.antlr.AS3Lexer.mTokens(AS3Lexer.java:5332) > at org.antlr.runtime.Lexer.nextToken(Lexer.java:109) > at uk.co.badgersinfoil.metaas.impl.antlr.LinkedListTokenSource.nextToken( > LinkedListTokenSource.java:20) > at > uk.co.badgersinfoil.metaas.impl.antlr.LinkedListTokenStream.readNextToken( > LinkedListTokenStream.java:77) > at uk.co.badgersinfoil.metaas.impl.antlr.LinkedListTokenStream.LT( > LinkedListTokenStream.java:143) > at org.asdt.core.internal.antlr.AS3Parser.typeExpression(AS3Parser.java > :7344) > at uk.co.badgersinfoil.metaas.impl.AS3FragmentParser.parseTypeSpec( > AS3FragmentParser.java:164) > at uk.co.badgersinfoil.metaas.impl.ASTBuilder.newClassMethod( > ASTBuilder.java:122) > at uk.co.badgersinfoil.metaas.impl.ASTASClassType.newMethod( > ASTASClassType.java:29) > at org.myway.Generator.main(Generator.java:124) > > > > it is cause by : ASMethod meth = clazz.newMethod("test", Visibility.PUBLIC > , > "void"); > > -- > best regards, > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.badgers-in-foil.co.uk/pipermail/metaas-dev/attachments/20070523/763c50e2/attachment.html > > ------------------------------ > > Message: 2 > Date: Tue, 22 May 2007 23:11:56 +0000 > From: David Holroyd > Subject: Re: [metaas-dev] Can't create as3 source code > To: metaas-dev at lists.badgers-in-foil.co.uk > Message-ID: <20070522231155.GB12671 at badgers-in-foil.co.uk> > Content-Type: text/plain; charset=us-ascii > > On Wed, May 23, 2007 at 12:07:52AM +0800, Yuliang-Yang wrote: > > it throw exceptions: > > > > Exception in thread "main" java.lang.NoSuchFieldError: ruleNestingLevel > > at org.asdt.core.internal.antlr.AS3Lexer.mCOLON(AS3Lexer.java:2131) > > Have you got some version of ANTLR other than the one from the download > zip in your classpath? Sounds like it's not using the included > antlr-20070101.jar, but an older one (or maybe a newer one, not sure). > > Please check, and let us know how you get on > thanks! > dave > > -- > http://david.holroyd.me.uk/ > > > > ------------------------------ > > _______________________________________________ > metaas-dev mailing list > metaas-dev at lists.badgers-in-foil.co.uk > http://lists.badgers-in-foil.co.uk/mailman/listinfo/metaas-dev > > > End of metaas-dev Digest, Vol 5, Issue 4 > **************************************** > -- best regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/metaas-dev/attachments/20070523/57a515c8/attachment.htm From dave at badgers-in-foil.co.uk Wed May 23 16:32:34 2007 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Wed, 23 May 2007 16:32:34 +0000 Subject: [metaas-dev] metaas-dev Digest, Vol 5, Issue 4 In-Reply-To: References: Message-ID: <20070523163234.GA24473@badgers-in-foil.co.uk> On Wed, May 23, 2007 at 11:25:53PM +0800, Yuliang-Yang wrote: > David, thanks for your advice,I have solve the problem,as you said it is > caused by the ANTLR libs, it doesn't work with the ANTLR V3.07 and the > newest release ANTLR V3,when I replace the jars,It works smoothly. Greate > project,thanks again. I'll do a proper update that depends on ANTLR 3.0 'final' when the jars become available in the Maven repositories. Glad you got it working! dave -- http://david.holroyd.me.uk/