]
Tomaz Cerar reassigned WFLY-5428:
---------------------------------
Assignee: Tomaz Cerar (was: Paul Gier)
Xml files from wildfly don't end with "new line
character"
----------------------------------------------------------
Key: WFLY-5428
URL:
https://issues.jboss.org/browse/WFLY-5428
Project: WildFly
Issue Type: Bug
Components: Build System
Affects Versions: 10.0.0.CR2
Reporter: Marek Kopecký
Assignee: Tomaz Cerar
*Description of problem:*
* Some of xml files from *wildfly* 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:
** ./docs/examples/configs/standalone-gossip-ha.xml
** ./docs/examples/configs/standalone-ec2-ha.xml
** ./docs/examples/configs/standalone-picketlink.xml
** ./docs/examples/configs/standalone-ec2-full-ha.xml
** ./docs/examples/configs/standalone-rts.xml
** ./docs/examples/configs/standalone-jts.xml
** ./docs/examples/configs/standalone-xts.xml
** ./docs/examples/configs/standalone-genericjms.xml
** ./docs/examples/configs/standalone-gossip-full-ha.xml
** ./standalone/configuration/standalone.xml
** ./standalone/configuration/standalone-ha.xml
** ./standalone/configuration/standalone-full.xml
** ./standalone/configuration/standalone-full-ha.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}