I would hope not; as I understand that branch is just a scratchpad for
how to figure out to best create the parent POM, submodule POMs, etc.
Once figured out, then the poms move to JSPWiki trunk. Indeed the
JSPWiki webapp on MVN3_Branch might as well just be a simple "Hello
World" webapp; it's the folder structure and the POMs, not the webapp
itself, that's of importance.
Glen
On 04/21/2013 12:44 PM, Harry Metske wrote:
Should we apply all patches to the MVN3_BRANCH too ?
regards,
Harry
On 21 April 2013 18:39, <mets...@apache.org> wrote:
Author: metskem
Date: Sun Apr 21 16:39:21 2013
New Revision: 1470319
URL: http://svn.apache.org/r1470319
Log:
* 2.9.1-incubating-1
* fixed JSPWIKI-396): UTF-8 characters in wiki pages incorrectly
rendered if served by Tomcat
Modified:
incubator/jspwiki/trunk/ChangeLog
incubator/jspwiki/trunk/src/org/apache/wiki/Release.java
incubator/jspwiki/trunk/src/org/apache/wiki/util/UtilJ2eeCompat.java
incubator/jspwiki/trunk/tests/org/apache/wiki/util/UtilJ2eeCompatTest.java
Modified: incubator/jspwiki/trunk/ChangeLog
URL:
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/ChangeLog?rev=1470319&r1=1470318&r2=1470319&view=diff
==============================================================================
--- incubator/jspwiki/trunk/ChangeLog (original)
+++ incubator/jspwiki/trunk/ChangeLog Sun Apr 21 16:39:21 2013
@@ -1,3 +1,9 @@
+2013-04-21 Harry Metske <mets...@apache.org>
+
+ * 2.9.1-incubating-1
+
+ * fixed JSPWIKI-396): UTF-8 characters in wiki pages incorrectly
rendered if served by Tomcat
+
2013-04-14 Glen Mazza (glenmazza AT apache DOT org)
* Start of Selenium plugin (just testing prior to it moving into its
own module)
Modified: incubator/jspwiki/trunk/src/org/apache/wiki/Release.java
URL:
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/org/apache/wiki/Release.java?rev=1470319&r1=1470318&r2=1470319&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/org/apache/wiki/Release.java (original)
+++ incubator/jspwiki/trunk/src/org/apache/wiki/Release.java Sun Apr 21
16:39:21 2013
@@ -75,7 +75,7 @@ public final class Release
* <p>
* If the build identifier is empty, it is not added.
*/
- public static final String BUILD = "0";
+ public static final String BUILD = "1";
/**
* This is the generic version string you should use
Modified: incubator/jspwiki/trunk/src/org/apache/wiki/util/UtilJ2eeCompat.java
URL:
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/org/apache/wiki/util/UtilJ2eeCompat.java?rev=1470319&r1=1470318&r2=1470319&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/org/apache/wiki/util/UtilJ2eeCompat.java
(original)
+++ incubator/jspwiki/trunk/src/org/apache/wiki/util/UtilJ2eeCompat.java Sun
Apr 21 16:39:21 2013
@@ -111,6 +111,8 @@ public class UtilJ2eeCompat
else if( serverInfo.indexOf( TOMCAT ) >= 0 )
{
log.info( TOMCAT + " detected" );
+ // use response.getOutputStream instead of response.getWriter
+ useStream = true;
}
else if( serverInfo.indexOf( JRUN ) >= 0 )
{
Modified:
incubator/jspwiki/trunk/tests/org/apache/wiki/util/UtilJ2eeCompatTest.java
URL:
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/org/apache/wiki/util/UtilJ2eeCompatTest.java?rev=1470319&r1=1470318&r2=1470319&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/org/apache/wiki/util/UtilJ2eeCompatTest.java
(original)
+++ incubator/jspwiki/trunk/tests/org/apache/wiki/util/UtilJ2eeCompatTest.java
Sun Apr 21 16:39:21 2013
@@ -35,7 +35,7 @@ public class UtilJ2eeCompatTest extends
{
assertTrue( UtilJ2eeCompat.useOutputStream( "Oracle Containers for J2EE
10g(10.1.3.1.0 )", true ) );
// Do not reinitialize
- assertTrue( UtilJ2eeCompat.useOutputStream( "Apache Tomcat/5.5.20" ) );
+ assertTrue( UtilJ2eeCompat.useOutputStream( "Apache Tomcat/7.0.39" ) );
// Do not reinitialize
assertTrue( UtilJ2eeCompat.useOutputStream( "Sun Java System Application
Server 9.1_02" ) );
}
@@ -49,9 +49,9 @@ public class UtilJ2eeCompatTest extends
public void testTomcat()
{
- assertFalse( UtilJ2eeCompat.useOutputStream( "Apache Tomcat/5.5.20",
true ) );
+ assertTrue( UtilJ2eeCompat.useOutputStream( "Apache Tomcat/7.0.39",
true ) );
// Reinitialize
- assertFalse( UtilJ2eeCompat.useOutputStream( "Apache Tomcat/5.5.20",
true ) );
+ assertTrue( UtilJ2eeCompat.useOutputStream( "Apache Tomcat/7.0.39",
true ) );
}
public static Test suite()