Bug 85450 - Run Ant menu cannot be enabled for files not ending in .xml
diff --git a/ant/org.eclipse.ant.ui/plugin.xml b/ant/org.eclipse.ant.ui/plugin.xml
index ec10f19..75f7ec8 100644
--- a/ant/org.eclipse.ant.ui/plugin.xml
+++ b/ant/org.eclipse.ant.ui/plugin.xml
@@ -444,10 +444,7 @@
<iterate>
<or>
<instanceof value="org.eclipse.ant.internal.ui.model.AntElementNode"/>
- <and>
- <test property="org.eclipse.debug.ui.matchesPattern" value="*.xml"/>
- <test property="org.eclipse.debug.ui.matchesContentType" value="org.eclipse.ant.core.antBuildFile"/>
- </and>
+ <test property="org.eclipse.debug.ui.matchesContentType" value="org.eclipse.ant.core.antBuildFile"/>
</or>
</iterate>
</with>
@@ -475,10 +472,7 @@
<iterate>
<or>
<instanceof value="org.eclipse.ant.internal.ui.model.AntElementNode"/>
- <and>
- <test property="org.eclipse.debug.ui.matchesPattern" value="*.xml"/>
- <test property="org.eclipse.debug.ui.matchesContentType" value="org.eclipse.ant.core.antBuildFile"/>
- </and>
+ <test property="org.eclipse.debug.ui.matchesContentType" value="org.eclipse.ant.core.antBuildFile"/>
</or>
</iterate>
</with>