You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In sbt 0.13.0 when using the built in java xslt transformer (javax.xml.transform.TransformerFactory) in a unit test (in this case using scalatest) you will get the following print to output "Warning: The encoding 'UTF-8' is not supported by the Java runtime.". Tracking this down, it appears that internally (in com.sun.org.apache.xml.internal.serializer.Encodings) the java transformer is looking for a properties file as a resource "com/sun/org/apache/xml/internal/serializer/Encodings.properties".
It finds this file correctly if run through a main in sbt but not in a unit test. This problem does not exist in 0.12.0.
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
This is an update for #869
In sbt 0.13.0 when using the built in java xslt transformer (javax.xml.transform.TransformerFactory) in a unit test (in this case using scalatest) you will get the following print to output "Warning: The encoding 'UTF-8' is not supported by the Java runtime.". Tracking this down, it appears that internally (in com.sun.org.apache.xml.internal.serializer.Encodings) the java transformer is looking for a properties file as a resource "com/sun/org/apache/xml/internal/serializer/Encodings.properties".
It finds this file correctly if run through a main in sbt but not in a unit test. This problem does not exist in 0.12.0.
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
The text was updated successfully, but these errors were encountered: