diff options
Diffstat (limited to 'org.eclipse.help.base/src/org/eclipse/help/internal/base/IndexToolApplication.java')
-rw-r--r-- | org.eclipse.help.base/src/org/eclipse/help/internal/base/IndexToolApplication.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/org.eclipse.help.base/src/org/eclipse/help/internal/base/IndexToolApplication.java b/org.eclipse.help.base/src/org/eclipse/help/internal/base/IndexToolApplication.java index 79c694ebe..19399be57 100644 --- a/org.eclipse.help.base/src/org/eclipse/help/internal/base/IndexToolApplication.java +++ b/org.eclipse.help.base/src/org/eclipse/help/internal/base/IndexToolApplication.java @@ -15,6 +15,7 @@ import java.util.*; import java.util.zip.*; +import org.eclipse.core.internal.runtime.*; import org.eclipse.core.runtime.*; /** @@ -72,11 +73,8 @@ public class IndexToolApplication } private void preindex(String outputDir, Locale locale) throws Exception { - String helpStatePath = - HelpBasePlugin.getDefault().getStateLocation().toOSString(); - String relIndexPath = "nl" + File.separator + locale.toString(); File indexPath = - new File(helpStatePath + File.separator + relIndexPath); + InternalPlatform.getDefault().getConfigurationMetadataLocation().append(".helpIx").append(locale.toString()).toFile(); // clean if (indexPath.exists()) { delete(indexPath); |