Based on your other post (and my results), it doesn't seem to be working.
I've read somewhere that qdox has problems with java 1.5 syntax, but
we're not even using 1.5 right?
Any other ideas?
Where can I get more info on qdox and how its tied into the xbean system?
Is there any other way I could help? I'm a little stuck.

On 8/28/06, Fateev, Maxim <[EMAIL PROTECTED]> wrote:
The following helped me to fix my local build:

[EMAIL PROTECTED]:/workplace/fateev/activemq-head/trunk> svn diff
Index: pom.xml
===================================================================
--- pom.xml     (revision 437779)
+++ pom.xml     (working copy)
@@ -495,17 +495,20 @@
             <dependency>
                 <groupId>xmlbeans</groupId>
                 <artifactId>xbean</artifactId>
-                <version>${xmlbeans-version}</version>
+                <!--version>${xmlbeans-version}</version-->
+                <version>2.0.0-beta1</version>
             </dependency>
             <dependency>
                 <groupId>xmlbeans</groupId>
                 <artifactId>xmlpublic</artifactId>
-                <version>${xmlbeans-version}</version>
+                <version>2.0.0-beta1</version>
+                <!--version>${xmlbeans-version}</version-->
             </dependency>
             <dependency>
                 <groupId>xmlbeans</groupId>
                 <artifactId>xbean_xpath</artifactId>
-                <version>${xmlbeans-version}</version>
+                <version>2.0.0-beta1</version>
+                <!--version>${xmlbeans-version}</version-->
             </dependency>

             <!-- For Stax -->
[EMAIL PROTECTED]:/workplace/fateev/activemq-head/trunk>


-----Original Message-----
From: Sepand M [mailto:[EMAIL PROTECTED]
Sent: Monday, August 28, 2006 12:22 PM
To: [email protected]
Subject: Re: [jira] Created: (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

I'm getting the same thing on a clean checkout (as well as every other checkout 
I have).
Anyone know what's going on?

On 8/28/06, Maxim Fateev (JIRA) <[EMAIL PROTECTED]> wrote:
> 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/J
> msConnector.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.
> [EMAIL PROTECTED]:/workplace/fateev/activemq-head> ls trunk/
> [EMAIL PROTECTED]:/workplace/fateev/activemq-head> cd trunk/activemq-core
> [EMAIL PROTECTED]:/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-incuba
> tor-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/xb
> ean-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/xb
> ean-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]
> ----------------------------------------------------------------------
> -- [EMAIL PROTECTED]:/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
>
>
>

Reply via email to