aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-11-28 09:32:42 -0800
committerTor Norbye <tnorbye@google.com>2012-11-28 09:32:42 -0800
commitdff325f85a136335b1263469afd2bf330b01106c (patch)
tree5755115a90ea16a966ae8d4b319d8dfea024e0d2
parent9a5288a413869219120a27ee4fb11c100b9a7a8b (diff)
downloadsdk-dff325f85a136335b1263469afd2bf330b01106c.zip
sdk-dff325f85a136335b1263469afd2bf330b01106c.tar.gz
sdk-dff325f85a136335b1263469afd2bf330b01106c.tar.bz2
3767: XML file gets compiled to out.xml in Eclipse
Change-Id: I2e4fa88e9bc2a858cca6cc21cf88c502b9594ad8
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/plugin.xml24
1 files changed, 18 insertions, 6 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/plugin.xml b/eclipse/plugins/com.android.ide.eclipse.adt/plugin.xml
index 3461516..c24ec7a 100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/plugin.xml
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/plugin.xml
@@ -386,12 +386,24 @@
<with variable="selection">
<count value="1" />
<iterate>
- <and>
- <test property="org.eclipse.jdt.launching.isContainer" />
- <test
- property="org.eclipse.jdt.launching.hasProjectNature"
- args="com.android.ide.eclipse.adt.AndroidNature" />
- </and>
+ <or>
+ <adapt type="org.eclipse.core.resources.IFile">
+ <and>
+ <test
+ property="org.eclipse.core.resources.contentTypeId"
+ value="org.eclipse.core.runtime.xml" />
+ <test
+ property="org.eclipse.core.resources.projectNature"
+ value="com.android.ide.eclipse.adt.AndroidNature" />
+ </and>
+ </adapt>
+ <and>
+ <test property="org.eclipse.jdt.launching.isContainer" />
+ <test
+ property="org.eclipse.jdt.launching.hasProjectNature"
+ args="com.android.ide.eclipse.adt.AndroidNature" />
+ </and>
+ </or>
</iterate>
</with>
</enablement>