myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jtigg3r <nabble....@infosysengr.com>
Subject Re: [Trinidad] plugins build broken?
Date Sat, 02 Jun 2007 04:00:06 GMT

I ran into the same problem. (JDK = 1.5.0_07; mvn = 2.0.4)

A search on Google reveals that others are having problems with QDox 1.6.1. 
Some have rolled back to 1.6.  I got the plugins to build by editing that
line on XRTSParser like so:

  private Map<String, Object> _metaHt = new HashMap();

This is equivalent to what's there because Java generics have erasure. 
Hackity-hack.


Laurie Harper wrote:
> 
> I just tried checking out the current trunk from its new home and found 
> I can't build it :-( I get a failure building the plugins, which then 
> leads to a failure to build the 'trinidad' module.
> 
> The failure is in the build for the Apache Trinidad Maven XRTS Plugin 
> and looks like either an issue with qdox or an issue with the plugin 
> code being processed by qdox.
> 
> What do I need to do to get this working? I've tried 'mvn -cpu install' 
> with no improvement; am I using too old a version of Maven?
> 
> L.
> 
> 
> [laurie@squibble]$ java -version
> java version "1.5.0_05"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-83)
> Java HotSpot(TM) Client VM (build 1.5.0_05-48, mixed mode, sharing)
> 
> [laurie@squibble]$ mvn --version
> Maven version: 2.0.4-maestro-1.0.1
> 
> [laurie@squibble]$ svn info
> Path: .
> URL: http://svn.apache.org/repos/asf/myfaces/trinidad/trunk/plugins
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 542764
> Node Kind: directory
> Schedule: normal
> Last Changed Author: mmarinschek
> Last Changed Rev: 538505
> Last Changed Date: 2007-05-16 05:53:47 -0400 (Wed, 16 May 2007)
> Properties Last Updated: 2007-05-30 02:14:05 -0400 (Wed, 30 May 2007)
> 
> [laurie@squibble]$ pwd
> /Users/laurie/Zotech/projects/projectiva/trinidad/plugins
> 
> [laurie@squibble]$ mvn install
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Apache Trinidad Maven Plugin Parent
> [INFO]   Apache Trinidad Maven Faces Plugin
> [INFO]   Apache Trinidad Maven Javacc Plugin
> [INFO]   Apache Trinidad Maven i18n Plugin
> [INFO]   Apache Trinidad Maven JDev Plugin
> [INFO]   Apache Trinidad Maven Javascript Plugin
> [INFO]   Apache Trinidad Maven XRTS Plugin
> [INFO]   Apache Trinidad Maven Tag Documentation Report
> [INFO]   Apache MyFaces Trinidad Archetype
> 
> ...
> 
> ----------------------------------------------------------------------------
> [INFO] Building Apache Trinidad Maven XRTS Plugin
> [INFO]    task-segment: [install]
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] [plugin:descriptor]
> [INFO] Using 2 extractors.
> [INFO] Applying extractor for language: java
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] syntax error @[199,67] in 
> file:/Users/laurie/src/business/agile/projects/projectiva/trinidad/plugins/maven-xrts-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/xrts/XRTSParser.java
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> com.thoughtworks.qdox.parser.ParseException: syntax error @[199,67] in 
> file:/Users/laurie/src/business/agile/projects/projectiva/trinidad/plugins/maven-xrts-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/xrts/XRTSParser.java
>          at 
> com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:504)
>          at 
> com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:610)
>          at
> com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:488)
>          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.scan(DirectoryScanner.java:52)
>          at 
> com.thoughtworks.qdox.JavaDocBuilder.addSourceTree(JavaDocBuilder.java:362)
>          at 
> org.apache.maven.tools.plugin.extractor.java.JavaMojoDescriptorExtractor.execute(JavaMojoDescriptorExtractor.java:477)
>          at 
> org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePluginDescriptor(DefaultMojoScanner.java:69)
>          at 
> org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:99)
>          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: 53 seconds
> [INFO] Finished at: Wed May 30 03:11:58 EDT 2007
> [INFO] Final Memory: 12M/34M
> [INFO] 
> ------------------------------------------------------------------------
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-Trinidad--plugins-build-broken--tf3838652.html#a10923827
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message