Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-9538

CDK component generator not compilable with OpenJDK

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.0.Milestone4
    • Fix Version/s: 4.0.0.CR1
    • Component/s: cdk
    • Labels:
      None

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                alexsmirnov Alexander Smirnov
                Reporter:
                ppitonak Pavol Pitoňák
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: