maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r405764 - /maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext.java
Date Wed, 10 May 2006 13:47:24 GMT
Author: brett
Date: Wed May 10 06:46:01 2006
New Revision: 405764

URL: http://svn.apache.org/viewcvs?rev=405764&view=rev
Log:
[MSITE-127] allow 'welcome file' substitute, so that http://localhost:8080/ works

Modified:
    maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext.java

Modified: maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext.java
URL: http://svn.apache.org/viewcvs/maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext.java?rev=405764&r1=405763&r2=405764&view=diff
==============================================================================
--- maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext.java
(original)
+++ maven/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/module/xhtml/decoration/render/RenderingContext.java
Wed May 10 06:46:01 2006
@@ -45,7 +45,7 @@
     {
         this.basedir = basedir;
 
-        this.outputName = document.substring( 0, document.lastIndexOf( "." ) ) + ".html";
+        this.outputName = document.substring( 0, document.lastIndexOf( "." ) ).replace( '\\',
'/' ) + ".html";
 
         this.relativePath = PathTool.getRelativePath( basedir.getPath(), new File( basedir,
document ).getPath() );
 



Mime
View raw message