]
Alexander Smirnov commented on RF-9538:
---------------------------------------
Changed Guava Maps call to new TreeMap(comparator)
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
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
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: