diff --git a/ant-build/ivy-tasks.properties b/ant-build/ivy-tasks.properties new file mode 100644 index 000000000..66df5989d --- /dev/null +++ b/ant-build/ivy-tasks.properties @@ -0,0 +1,5 @@ +ivy-configure=fr.jayasoft.ivy.ant.IvyConfigure +ivy-resolve=fr.jayasoft.ivy.ant.IvyResolve +ivy-retrieve=fr.jayasoft.ivy.ant.IvyRetrieve +ivy-publish=fr.jayasoft.ivy.ant.IvyPublish +ivy-report=fr.jayasoft.ivy.ant.IvyReport diff --git a/ant-build/ivy.xml b/ant-build/ivy.xml index 764226a33..6b7b277df 100644 --- a/ant-build/ivy.xml +++ b/ant-build/ivy.xml @@ -67,11 +67,10 @@ - + - + - @@ -129,7 +128,7 @@ - + @@ -146,7 +145,7 @@ - + diff --git a/apps/showcase/src/main/webapp/WEB-INF/classes/xwork-jsf.xml b/apps/showcase/src/main/webapp/WEB-INF/classes/xwork-jsf.xml index 57eee85e5..e72d8ef8c 100644 --- a/apps/showcase/src/main/webapp/WEB-INF/classes/xwork-jsf.xml +++ b/apps/showcase/src/main/webapp/WEB-INF/classes/xwork-jsf.xml @@ -4,17 +4,17 @@ - + - - + + - index + index diff --git a/build.xml b/build.xml index d95957387..ae1ba61ff 100644 --- a/build.xml +++ b/build.xml @@ -2,8 +2,8 @@ - - + + ignoreKeys = new HashSet(Arrays.asList(_ignoreKeys)); private final static String XML_MODE = "xml"; private final static String CONSOLE_MODE = "console"; diff --git a/core/src/main/java/org/apache/struts/action2/interceptor/debugging/PrettyPrintWriter.java b/core/src/main/java/org/apache/struts/action2/interceptor/debugging/PrettyPrintWriter.java index ec4f8f501..d9e6319e1 100644 --- a/core/src/main/java/org/apache/struts/action2/interceptor/debugging/PrettyPrintWriter.java +++ b/core/src/main/java/org/apache/struts/action2/interceptor/debugging/PrettyPrintWriter.java @@ -1,10 +1,8 @@ package org.apache.struts.action2.interceptor.debugging; -import com.thoughtworks.xstream.core.util.FastStack; -import com.thoughtworks.xstream.core.util.QuickWriter; -import com.thoughtworks.xstream.io.HierarchicalStreamWriter; - +import java.io.PrintWriter; import java.io.Writer; +import java.util.Stack; /** * A simple writer that outputs XML in a pretty-printed indented stream. @@ -16,10 +14,10 @@ import java.io.Writer; *

This code was taken from the XStream project under the BSD license.

* */ -public class PrettyPrintWriter implements HierarchicalStreamWriter { +public class PrettyPrintWriter { - private final QuickWriter writer; - private final FastStack elementStack = new FastStack(16); + private final PrintWriter writer; + private final Stack elementStack = new Stack(); private final char[] lineIndenter; private boolean tagInProgress; @@ -38,7 +36,7 @@ public class PrettyPrintWriter implements HierarchicalStreamWriter { private static final char[] CLOSE = "