Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 33892 invoked from network); 28 Aug 2006 19:46:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Aug 2006 19:46:45 -0000 Received: (qmail 91982 invoked by uid 500); 28 Aug 2006 19:46:45 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 91865 invoked by uid 500); 28 Aug 2006 19:46:45 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 91851 invoked by uid 99); 28 Aug 2006 19:46:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Aug 2006 12:46:44 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Aug 2006 12:46:44 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3886F7142D4 for ; Mon, 28 Aug 2006 19:43:23 +0000 (GMT) Message-ID: <1663115.1156794203228.JavaMail.jira@brutus> Date: Mon, 28 Aug 2006 12:43:23 -0700 (PDT) From: "Maxim Fateev (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Commented: (AMQ-899) mvn test fails with "com.thoughtworks.qdox.parser.ParseException: syntax error @[90,25] in file:.../activemq-core/src/main/java/org/apache/activemq/network/jms/JmsConnector.java In-Reply-To: <24911614.1156792124322.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ https://issues.apache.org/activemq/browse/AMQ-899?page=comments#action_36870 ] Maxim Fateev commented on AMQ-899: ---------------------------------- Apparently "qdox.JavaDocBuilder" has issues with anonymous inner classes. Converting replyToBridges field initialization to named inner class fixed the issue for JMSConnector. But it fails on the next class JournalPersistenceAdapter on "periodicCheckpointTask" field initalization that uses similar construct. Is this qdox.JavaDocBuilder something new and untested? > mvn test fails with "com.thoughtworks.qdox.parser.ParseException: syntax error @[90,25] in file:.../activemq-core/src/main/java/org/apache/activemq/network/jms/JmsConnector.java > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: AMQ-899 > URL: https://issues.apache.org/activemq/browse/AMQ-899 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 4.x > Environment: Linux (RHEL3) and Windows XP > Reporter: Maxim Fateev > > >svn co https://svn.apache.org/repos/asf/incubator/activemq/trunk > .... > A trunk/README.txt > U trunk > Checked out revision 437779. > fateev@fateev:/workplace/fateev/activemq-head> ls > trunk/ > fateev@fateev:/workplace/fateev/activemq-head> cd trunk/activemq-core > fateev@fateev:/workplace/fateev/activemq-head/trunk/activemq-core> mvn test > [INFO] Scanning for projects... > [INFO] ---------------------------------------------------------------------------- > [INFO] Building ActiveMQ :: Core > [INFO] task-segment: [test] > [INFO] ---------------------------------------------------------------------------- > [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from apache-snapshots > [INFO] snapshot org.apache.maven.plugins:maven-resources-plugin:2.3-SNAPSHOT: checking for updates from apache-snapshots > ... > ... > ... > Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/activemq/maven-gram-plugin/4.1-incubator-SNAPSHOT/maven-gram-plugin-4.1-incubator-20060803.174437-6.jar > 6K downloaded > [WARNING] While downloading javacc:javacc:3.2 > This artifact has been relocated to net.java.dev.javacc:javacc:3.2. > [INFO] [javacc:javacc {execution: default}] > Java Compiler Compiler Version 3.2 (Parser Generator) > (type "javacc" with no arguments for help) > Reading from file /workplace/fateev/activemq-head/trunk/activemq-core/src/main/grammar/SelectorParser.jj . . . > Note: UNICODE_INPUT option is specified. Please make sure you create the parser/lexer usig a Reader with the correct character encoding. > File "TokenMgrError.java" does not exist. Will create one. > File "ParseException.java" does not exist. Will create one. > File "Token.java" does not exist. Will create one. > File "SimpleCharStream.java" does not exist. Will create one. > Parser generated successfully. > Downloading: http://people.apache.org/maven-snapshot-repository/qdox/qdox/1.6/qdox-1.6.pom > [WARNING] Unable to get resource from repository apache-snapshots (http://people.apache.org/maven-snapshot-repository) > Downloading: http://repository.codehaus.org/qdox/qdox/1.6/qdox-1.6.pom > [WARNING] Unable to get resource from repository codehaus (http://repository.codehaus.org) > Downloading: http://dse.amazon.com:8081/proximity/repository/qdox/qdox/1.6/qdox-1.6.pom > 4K downloaded > [INFO] snapshot org.apache.xbean:xbean-spring:2.6-SNAPSHOT: checking for updates from apache-snapshots > [INFO] snapshot org.apache.xbean:xbean-spring:2.6-SNAPSHOT: checking for updates from codehaus-snapshots > [INFO] snapshot org.apache.xbean:xbean-spring:2.6-SNAPSHOT: checking for updates from apache.snapshots > Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/xbean/xbean-spring/2.6-SNAPSHOT/xbean-spring-2.6-20060826.135020-8.pom > 3K downloaded > Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/xbean/xbean-spring/2.6-SNAPSHOT/xbean-spring-2.6-20060826.135020-8.jar > 143K downloaded > Downloading: http://people.apache.org/maven-snapshot-repository/qdox/qdox/1.6/qdox-1.6.jar > [WARNING] Unable to get resource from repository apache-snapshots (http://people.apache.org/maven-snapshot-repository) > Downloading: http://repository.codehaus.org/qdox/qdox/1.6/qdox-1.6.jar > [WARNING] Unable to get resource from repository codehaus (http://repository.codehaus.org) > Downloading: http://dse.amazon.com:8081/proximity/repository/qdox/qdox/1.6/qdox-1.6.jar > 89K downloaded > [INFO] [xbean:mapping {execution: default}] > [INFO] ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] ------------------------------------------------------------------------ > [INFO] com.thoughtworks.qdox.parser.ParseException: syntax error @[90,25] in file:/workplace/fateev/activemq-head/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/JmsConnector.java > [INFO] ------------------------------------------------------------------------ > [INFO] Trace > com.thoughtworks.qdox.parser.ParseException: syntax error @[90,25] in file:/workplace/fateev/activemq-head/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/JmsConnector.java > at org.apache.xbean.maven.XBeanMojo.execute(XBeanMojo.java:185) > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: com.thoughtworks.qdox.parser.ParseException: syntax error @[90,25] in file:/workplace/fateev/activemq-head/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/JmsConnector.java > at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:611) > at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:719) > at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:592) > at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:300) > at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:316) > at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:312) > at org.apache.xbean.spring.generator.QdoxMappingLoader.loadNamespaces(QdoxMappingLoader.java:96) > at org.apache.xbean.maven.XBeanMojo.execute(XBeanMojo.java:153) > ... 18 more > --- Nested Exception --- > com.thoughtworks.qdox.parser.ParseException: syntax error @[90,25] in file:/workplace/fateev/activemq-head/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/JmsConnector.java > at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:611) > at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:719) > at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:592) > at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:300) > at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:316) > at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:312) > at org.apache.xbean.spring.generator.QdoxMappingLoader.loadNamespaces(QdoxMappingLoader.java:96) > at org.apache.xbean.maven.XBeanMojo.execute(XBeanMojo.java:153) > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 31 seconds > [INFO] Finished at: Mon Aug 28 12:00:40 PDT 2006 > [INFO] Final Memory: 9M/17M > [INFO] ------------------------------------------------------------------------ > fateev@fateev:/workplace/fateev/activemq-head/trunk/activemq-core> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira