diff options
author | Tor Norbye <tnorbye@google.com> | 2012-11-28 09:32:42 -0800 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-11-28 09:32:42 -0800 |
commit | dff325f85a136335b1263469afd2bf330b01106c (patch) | |
tree | 5755115a90ea16a966ae8d4b319d8dfea024e0d2 | |
parent | 9a5288a413869219120a27ee4fb11c100b9a7a8b (diff) | |
download | sdk-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.xml | 24 |
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> |