Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonrad Kolosowski2004-01-22 00:10:54 +0000
committerKonrad Kolosowski2004-01-22 00:10:54 +0000
commite87c5196268c24b60d2f0619d560ccd71b4f837c (patch)
treecf602832cad5936182cbd21806d298801422e3fd /org.eclipse.help.base/src/org/eclipse/help/internal/base/IndexToolApplication.java
parent56583ce6e045af18162f95d417ee729690c4ae45 (diff)
downloadeclipse.platform.ua-e87c5196268c24b60d2f0619d560ccd71b4f837c.tar.gz
eclipse.platform.ua-e87c5196268c24b60d2f0619d560ccd71b4f837c.tar.xz
eclipse.platform.ua-e87c5196268c24b60d2f0619d560ccd71b4f837c.zip
index out of workspace
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.java6
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);

Back to the top