[ 
https://issues.jboss.org/browse/RF-9538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jay Balunas updated RF-9538:
----------------------------

    Fix Version/s: 4.0.0.CR1
                       (was: 4.Future)


Alex - Please review Pavol's suggested fix and he will try to get this in cr1

> CDK component generator not compilable with OpenJDK
> ---------------------------------------------------
>
>                 Key: RF-9538
>                 URL: https://issues.jboss.org/browse/RF-9538
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: cdk
>    Affects Versions: 4.0.0.Milestone4
>         Environment: RichFaces CDK r. 19647
> Apache Maven 3.0 (r1004208; 2010-10-04 13:50:56+0200)
> Java version: 1.6.0_18
> Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.34.7-56.fc13.x86_64" arch: "amd64" Family: 
> "unix"
>            Reporter: Pavol Pitonak
>            Assignee: Alexander Smirnov
>             Fix For: 4.0.0.CR1
>
>
> https://svn.jboss.org/repos/richfaces/trunk/cdk/generator (r. 19647) cannot 
> be compiled with OpenJDK. Works fine with Sun JDK 1.6.0_21.
> [INFO] Scanning for projects...
> [INFO]                                                                        
>  
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Java Server Faces component generator 4.0.0-SNAPSHOT
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ generator ---
> [INFO] Deleting file set: 
> /data/eclipse-workspace/richfaces/cdk/generator/target (included: [**], 
> excluded: [])
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-plugin-versions) 
> @ generator ---
> [WARNING] This rule is not compatible with the current version of Maven. The 
> rule is not able to perform any checks.
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-java-version) @ 
> generator ---
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-maven-version) @ 
> generator ---
> [INFO] 
> [INFO] --- gmaven-plugin:1.0:execute (default) @ generator ---
> [INFO]  Parsing: 
> /data/eclipse-workspace/richfaces/cdk/generator/src/main/resources/META-INF/schema/xhtml-el.xsd
> [INFO]  Writing attributes XML data to: 
> /data/eclipse-workspace/richfaces/cdk/generator/target/generated-resources/META-INF/cdk/attributes/xhtml-el.xml
> [INFO] 
> [INFO] --- maven-resources-plugin:2.4.1:resources (default-resources) @ 
> generator ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 139 resources
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ generator 
> ---
> [INFO] Compiling 302 source files to 
> /data/eclipse-workspace/richfaces/cdk/generator/target/classes
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 17.329s
> [INFO] Finished at: Fri Oct 22 10:40:39 CEST 2010
> [INFO] Final Memory: 30M/233M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile 
> (default-compile) on project generator: Compilation failure
> [ERROR] 
> /data/eclipse-workspace/richfaces/cdk/generator/src/main/java/org/richfaces/cdk/templatecompiler/model/AnyElement.java:[47,59]
>  incompatible types; no instance(s) of type variable(s) K,V exist so that 
> java.util.TreeMap<K,V> conforms to 
> java.util.Map<javax.xml.namespace.QName,java.lang.Object>
> [ERROR] found   : <K,V>java.util.TreeMap<K,V>
> [ERROR] required: java.util.Map<javax.xml.namespace.QName,java.lang.Object>
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to