[JAVAEETUTORIAL-268] Copyright header in XHTML files is sometimes inserted as the first line Created: 29/Apr/14 Updated: 15/Sep/14 Resolved: 15/Sep/14
|Reporter:||Ian Evans||Assignee:||Kim Haase|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
For whatever reason, the license plugin for Maven sometimes inserts the copyright notice above the <?xml ... ?> header, which breaks JSF pages. The XML header has to be the first line of the file. The template.xhtml files appear to be affected more than others for mysterious reasons.
See, e.g., examples/persistence/address-book/src/main/webapp/template.xhtml in the latest bundle:
Out of the box, you'll get runtime errors. Removing the first copyright header allows the app to run correctly.
|Comment by Kim Haase [ 15/Sep/14 ]|
We did a sweep and fixed these problems.