From: youngduk.hwang Date: Mon, 26 May 2014 02:05:54 +0000 (+0900) Subject: UIB: fixed the problem META tag is added when we save on source tab. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F41%2F21641%2F1;p=sdk%2Fide%2Fweb-ui-builder-eplugin.git UIB: fixed the problem META tag is added when we save on source tab. Added xalan library. HtmlWriter use it. Change-Id: I3b6bd7509f9a8cf5395c66ff4fb823f54cd15fb6 Signed-off-by: youngduk.hwang --- diff --git a/org.tizen.webuibuilder/.classpath b/org.tizen.webuibuilder/.classpath index b353d12..b25686e 100644 --- a/org.tizen.webuibuilder/.classpath +++ b/org.tizen.webuibuilder/.classpath @@ -1,5 +1,7 @@ + + @@ -15,5 +17,7 @@ + + diff --git a/org.tizen.webuibuilder/META-INF/MANIFEST.MF b/org.tizen.webuibuilder/META-INF/MANIFEST.MF index 3c7bfd1..97a3620 100644 --- a/org.tizen.webuibuilder/META-INF/MANIFEST.MF +++ b/org.tizen.webuibuilder/META-INF/MANIFEST.MF @@ -56,4 +56,6 @@ Bundle-ClassPath: ., lib/phloc-commons-4.0.8.jar, lib/nekohtml-1.9.18.jar, lib/json-simple-1.1.1.jar, - lib/js-14.jar + lib/js-14.jar, + lib/xalan.jar, + lib/serializer.jar diff --git a/org.tizen.webuibuilder/build.properties b/org.tizen.webuibuilder/build.properties index ae5a972..4ac4d94 100644 --- a/org.tizen.webuibuilder/build.properties +++ b/org.tizen.webuibuilder/build.properties @@ -8,5 +8,7 @@ bin.includes = .,\ about.properties,\ plugin.properties,\ plugin.xml,\ - lib/ + lib/,\ + lib/xalan.jar,\ + lib/serializer.jar bin.excludes = res/descriptors/ diff --git a/org.tizen.webuibuilder/lib/serializer.jar b/org.tizen.webuibuilder/lib/serializer.jar new file mode 100644 index 0000000..99f98db Binary files /dev/null and b/org.tizen.webuibuilder/lib/serializer.jar differ diff --git a/org.tizen.webuibuilder/lib/xalan.jar b/org.tizen.webuibuilder/lib/xalan.jar new file mode 100644 index 0000000..458fa73 Binary files /dev/null and b/org.tizen.webuibuilder/lib/xalan.jar differ diff --git a/org.tizen.webuibuilder/src/org/tizen/webuibuilder/model/html/io/HtmlWriter.java b/org.tizen.webuibuilder/src/org/tizen/webuibuilder/model/html/io/HtmlWriter.java index 561a33c..331c932 100644 --- a/org.tizen.webuibuilder/src/org/tizen/webuibuilder/model/html/io/HtmlWriter.java +++ b/org.tizen.webuibuilder/src/org/tizen/webuibuilder/model/html/io/HtmlWriter.java @@ -66,8 +66,8 @@ public class HtmlWriter { * a writer */ public static void writeTo(Element element, Writer writer) { - TransformerFactory transformerFactory = TransformerFactory.newInstance(); - transformerFactory.setAttribute("indent-number", new Integer(4)); //$NON-NLS-1$ + TransformerFactory transformerFactory = TransformerFactory.newInstance("org.apache.xalan.processor.TransformerFactoryImpl", null); +// transformerFactory.setAttribute("indent-number", new Integer(4)); //$NON-NLS-1$ try { // String xslt = // "