summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2011-02-24 10:37:10 +0100
committerJoachim Lingner <jl@openoffice.org>2011-02-24 10:37:10 +0100
commit7eb98986f55c1eda30442a2fae60bc422f47861d (patch)
tree66ff2ac2e4b0a165e8d3efd5ed08f4f949ad37e5 /xmlhelp
parent1e65d22b7ce7d3f65f730dbd788fc4423b707a5e (diff)
jl164 #i109096# java help indexer service did not work with long file paths
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/com/sun/star/help/HelpIndexer.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/xmlhelp/source/com/sun/star/help/HelpIndexer.java b/xmlhelp/source/com/sun/star/help/HelpIndexer.java
index bd09982daa3e..abb866804b43 100644
--- a/xmlhelp/source/com/sun/star/help/HelpIndexer.java
+++ b/xmlhelp/source/com/sun/star/help/HelpIndexer.java
@@ -40,6 +40,14 @@ import java.io.IOException;
import java.util.Date;
import java.util.zip.ZipOutputStream;
+/**
+ When this tool is used with long path names on Windows, that is paths which start
+ with \\?\, then the caller must make sure that the path is unique. This is achieved
+ by removing '.' and '..' from the path. Paths which are created by
+ osl_getSystemPathFromFileURL fulfill this requirement. This is necessary because
+ lucene is patched to not use File.getCanonicalPath. See long_path.patch in the lucene
+ module.
+ */
public class HelpIndexer extends WeakBase
implements XServiceInfo, XInvocation
{