maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1641261 - /maven/plugins/trunk/maven-ear-plugin/src/it/descriptor-encoding/verify.groovy
Date Sun, 23 Nov 2014 21:58:32 GMT
Author: hboutemy
Date: Sun Nov 23 21:58:31 2014
New Revision: 1641261

URL: http://svn.apache.org/r1641261
Log:
added debug output

Modified:
    maven/plugins/trunk/maven-ear-plugin/src/it/descriptor-encoding/verify.groovy

Modified: maven/plugins/trunk/maven-ear-plugin/src/it/descriptor-encoding/verify.groovy
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ear-plugin/src/it/descriptor-encoding/verify.groovy?rev=1641261&r1=1641260&r2=1641261&view=diff
==============================================================================
--- maven/plugins/trunk/maven-ear-plugin/src/it/descriptor-encoding/verify.groovy (original)
+++ maven/plugins/trunk/maven-ear-plugin/src/it/descriptor-encoding/verify.groovy Sun Nov
23 21:58:31 2014
@@ -19,12 +19,14 @@
 
 def latin1File = new File( basedir, "latin-1/target/application.xml" )
 assert latin1File.exists()
+println "latin-1/target/application.xml: " + latin1File.getText( 'ISO-8859-1' )
 def latin1Chars = new XmlParser().parse( latin1File ).description.text()
 println "Latin-1: " + latin1Chars
 assert "TEST-CHARS: \u00C4\u00D6\u00DC\u00E4\u00F6\u00FC\u00DF".equals( latin1Chars )
 
 def utf8File = new File( basedir, "utf-8/target/application.xml" )
 assert utf8File.exists()
+println "utf-8/target/application.xml: " + utf8File.getText( 'UTF-8' )
 def utf8Chars = new XmlParser().parse( utf8File ).description.text()
 println "UTF-8: " + utf8Chars
 assert "TEST-CHARS: \u00C4\u00D6\u00DC\u00E4\u00F6\u00FC\u00DF".equals( utf8Chars )



Mime
View raw message