diff options
author | Silenio Quarti <silenio> | 2008-08-08 03:55:44 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2008-08-08 03:55:44 +0000 |
commit | e4c265183429e4958328f8b47df3fa656f77f0a1 (patch) | |
tree | 83ef188574b4284203862cd726555dd20c396f7c /bundles | |
parent | 4e64580ba3040d30ac205fe496a0b9154e6fedb9 (diff) | |
download | eclipse.platform.swt-e4c265183429e4958328f8b47df3fa656f77f0a1.tar.gz eclipse.platform.swt-e4c265183429e4958328f8b47df3fa656f77f0a1.tar.xz eclipse.platform.swt-e4c265183429e4958328f8b47df3fa656f77f0a1.zip |
*** empty log message ***
Diffstat (limited to 'bundles')
-rw-r--r-- | bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/MacGenerator.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/MacGenerator.java b/bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/MacGenerator.java index f33eaf2ea5..1c99f7ff74 100644 --- a/bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/MacGenerator.java +++ b/bundles/org.eclipse.swt.tools/Mac Generation/org/eclipse/swt/tools/internal/MacGenerator.java @@ -296,7 +296,10 @@ public String[] getXmls() { private Hashtable loadExtraAttributes(String xmlPath) { Hashtable table = new Hashtable(); - Document doc = getDocument(getFileName(xmlPath) + ".extras"); + String path = getFileName(xmlPath) + ".extras"; + File file = new File(getExtraAttributesDir()); + if (file.exists()) path = new File(file, path).getAbsolutePath(); + Document doc = getDocument(path); if (doc != null) buildExtrasLookup(doc, table); return table; } |