summaryrefslogtreecommitdiff
path: root/l10ntools
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
commitb2a5985ba263eb1c2ce567c5ecadfdfbe8f2c9d0 (patch)
tree3b00defe89d47171d528855cbe6aa7a9dcc5a80c /l10ntools
parentce5f1dd187c3a7d8113c7653fa887b98fd50aaf6 (diff)
jl164 #i109096# java help indexer service did not work with long file paths
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/help/HelpIndexerTool.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/l10ntools/source/help/HelpIndexerTool.java b/l10ntools/source/help/HelpIndexerTool.java
index a39b5399e38d..c20d9f108ced 100644
--- a/l10ntools/source/help/HelpIndexerTool.java
+++ b/l10ntools/source/help/HelpIndexerTool.java
@@ -45,6 +45,15 @@ import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Date;
+
+/**
+ 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 HelpIndexerTool
{
public HelpIndexerTool()