]
Tomaz Cerar reassigned WFCORE-1021:
-----------------------------------
Assignee: Tomaz Cerar (was: Paul Gier)
Xml files from wildfly-core don't end with "new line
character"
---------------------------------------------------------------
Key: WFCORE-1021
URL:
https://issues.jboss.org/browse/WFCORE-1021
Project: WildFly Core
Issue Type: Bug
Components: Server
Affects Versions: 2.0.0.CR5
Reporter: Marek Kopecký
Assignee: Tomaz Cerar
*Description of problem:*
* Some of xml files from *wildfly-core* don't end with "new line
character".
* Each xml file should end with "new line character", because of posix
standard:
**
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#t...
* List of affected files:
** ./modules/system/layers/base/org/wildfly/security/elytron/main/module.xml
** ./domain/configuration/host.xml
** ./domain/configuration/domain.xml
** ./domain/configuration/host-slave.xml
** ./domain/configuration/host-master.xml
** ./standalone/configuration/standalone.xml
*How reproducible:*
Always
*Steps to Reproduce:*
# cd EAP_HOME
# {noformat}
for xml in `find -type f | grep xml$`; do
if [ "`cat -E $xml | tail -n 1 |grep -o '.$'`" != "$" ] ;
then
echo $xml
fi
done
{noformat}