diff options
author | Joachim Lingner <jl@openoffice.org> | 2011-02-24 10:37:10 +0100 |
---|---|---|
committer | Joachim Lingner <jl@openoffice.org> | 2011-02-24 10:37:10 +0100 |
commit | b2a5985ba263eb1c2ce567c5ecadfdfbe8f2c9d0 (patch) | |
tree | 3b00defe89d47171d528855cbe6aa7a9dcc5a80c | |
parent | ce5f1dd187c3a7d8113c7653fa887b98fd50aaf6 (diff) |
jl164 #i109096# java help indexer service did not work with long file paths
-rw-r--r-- | l10ntools/source/help/HelpIndexerTool.java | 9 |
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() |