| Summary: | Compilation of Input UI component logs 2 errors about faces-config.xml | ||
|---|---|---|---|
| Product: | [Retired] JBoss Enterprise WFK Platform 2 | Reporter: | Marek Novotny <mnovotny> |
| Component: | RichFaces | Assignee: | WFK Docs Team <wfk-docs> |
| Status: | CLOSED WONTFIX | QA Contact: | Pavol Pitonak <ppitonak> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.0.0.ER1, 2.0.0.ER2 | CC: | kpiwko, myarboro, ppenicka, ppitonak |
| Target Milestone: | --- | ||
| Target Release: | 2.2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Compiling RichFaces UI components logs two errors related to the faces-config.xml file. As the errors do not affect the functionality of the build, the issue is no longer considered a bug and will not be addressed in the future releases.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-28 07:52:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Brian Leathem <bleathem> updated the status of jira RF-12021 to Resolved Brian Leathem <bleathem> made a comment on jira RF-12021 The CDK generates a faces-config.xml using the src faces-config.xml file as a base. The CDK evaluates the xi:include statements, generating a valid faces-config.xml. It's not worth spending the time to dig into the xml parsers validation to suppress this error, given that this file producing the errors is an intermediate file, and not present in the delivered artifact. I would document this errors as technical note. This is known issue not affecting result as Brian noted, but for future questions it is important to log it. WDYT?
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Compilation of RichFaces UI Components logs errors. These errors logged by CDK does not affect functionality of the resulting build.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1 +1 @@
-Compilation of RichFaces UI Components logs errors. These errors logged by CDK does not affect functionality of the resulting build.+Compiling RichFaces UI components logs two bad faces-config.xml errors that do not affect functionality of the build.
Immanuel Gregoire <pcmaan> made a comment on jira RF-12021 So how do I work around this Won't fix bug ? How to build Richfaces ? thanks Pavol Pitonak <ppitonak> made a comment on jira RF-12021 Immanuel, this issue doesn't break build and doesn't influence functionality of RichFaces. Immanuel Gregoire <pcmaan> made a comment on jira RF-12021 Well, the build does abort on Netbeans 7.1.2 and Netbeans 7.2 when using JDK 1.7 (1.7.0_03) The build does indeed continue on JDK 1.6 (1.6.0_37) Can you reproduce it ? Upstream issue was closed as WON'T FIX, so we have no other option to handle this differently. |
Compilation of RF UI Components specifically Input UI has got 2 errors in log - related to bad faces-config.xml on line number 29 and 240. The following is snippet of log: [INFO] ------------------------------------------------------------------------ [INFO] Building RichFaces UI Components: Input UI 4.2.0.Final [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-enforcer-plugin:1.0-redhat-1:enforce (enforce-java-version) @ richfaces-ui-input-ui --- [INFO] The requirePluginVersions rule is currently not compatible with Maven3. [INFO] [INFO] --- maven-enforcer-plugin:1.0-redhat-1:enforce (enforce-maven-version) @ richfaces-ui-input-ui --- [INFO] The requirePluginVersions rule is currently not compatible with Maven3. [INFO] [INFO] --- maven-cdk-plugin:4.2.0.Final-redhat-1:generate (cdk-generate-sources) @ richfaces-ui-input-ui --- [Error] faces-config.xml:29:71: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xi:include'. One of '{"http://java.sun.com/xml/ns/javaee":property, "http://java.sun.com/xml/ns/javaee":component-extension}' is expected. [Error] faces-config.xml:240:71: cvc-complex-type.2.4.a: Invalid content was found starting with element 'xi:include'. One of '{"http://java.sun.com/xml/ns/javaee":property, "http://java.sun.com/xml/ns/javaee":component-extension}' is expected.