- This topic has 6 replies, 3 voices, and was last updated 16 years, 4 months ago by Loyal Water.
-
AuthorPosts
-
kulkarni_ashMemberHi
I have an issue with using ant after i migrated to 6.5,
Normally in previous version, i could Right click on any XML file and then go to Run As Menu option and could see Ant Build as one of the options,
But in this version, if the XML file is named build.xml then only i get this option, other wise i dont get this option,
I have plain eclipse 3.3 also installed, and i can run any XML file with <project as root element and i get Run As Ant Build option
Why wont this work in 6.5
here is my system info*** Date:
Wednesday, July 23, 2008 1:51:24 PM EDT** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.5.0 GA
Build id: 6.5.0-GA-20080609*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 6.5.0 GA
Build id: 6.5.0-GA-20080609Eclipse Platform
Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
Build id: M20080221-1800Eclipse RCP
Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
Build id: M20080221-1800Eclipse Java Development Tools
Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
Build id: M20080221-1800Eclipse Plug-in Development Environment
Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
Build id: M20080221-1800Eclipse Project SDK
Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
Build id: M20080221-1800Eclipse Graphical Editing Framework
Version: 3.3.2.v20080129
Build id: 20080221-1602Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\MyEclipse 6.5\eclipse\eclipse.exe
-name
Eclipse
–launcher.library
C:\Program Files\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
-startup
C:\Program Files\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
-exitdata
17d4_4c
-clean
-vm
C:\Program Files\MyEclipse 6.5\jre\bin\javaw.exe
Loyal WaterMemberYou will have to go to Windows > Preferences > General > Content Type > Text > XML > Ant Build file and add the name of the build file if its not build.xml.
delfuegoMemberI’m having the same issue, and that only partly works.
If I go to that pref pane, and add my filename explicitly (build-fat-jar.xml), then I can once again run it as a Ant build.
But looking at that pref pane, there’s already an entry in the list for *.xml — meaning that I should be getting the “Ant build” option on any and all .xml files, right? Clearly, not.
Finally, that pref pane doesn’t let me add an entry to the list like “build-*.xml” — it says that wildcards aren’t welcome at that position in the filename string. Why is that?
delfuegoMemberJust to make sure that this is a MyEclipse issue, I just opened my workspace in Eclipse 3.3.2 (without MyEclipse installed), and all .xml files present the option to run them as Ant builds. So this appears to be MyEclipse steppign on that ability, which is a regression.
Loyal WaterMemberFYI : I have filed this as an enhancement request.
delfuegoMemberNipun, it’s not exactly an “enhancement” — it’s a bug, given that MyEclipse is both breaking the known and expected behavior of the underlying version of Eclipse and breaking the known and expected behavior of prior versions of MyEclipse. Can you verify that this is being filed as an actual regression bug?
Loyal WaterMemberIt has been filed as a regression bug.
-
AuthorPosts