facebook

Issue with ant after upgrading to 6.5

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #287440 Reply

    kulkarni_ash
    Member

    Hi
    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 Workbench

    Version: 6.5.0 GA
    Build id: 6.5.0-GA-20080609

    Eclipse Platform

    Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
    Build id: M20080221-1800

    Eclipse RCP

    Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
    Build id: M20080221-1800

    Eclipse Java Development Tools

    Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
    Build id: M20080221-1800

    Eclipse Plug-in Development Environment

    Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
    Build id: M20080221-1800

    Eclipse Project SDK

    Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
    Build id: M20080221-1800

    Eclipse Graphical Editing Framework

    Version: 3.3.2.v20080129
    Build id: 20080221-1602

    Eclipse 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

    #287505 Reply

    Loyal Water
    Member

    You 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.

    #287546 Reply

    delfuego
    Member

    I’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?

    #287557 Reply

    delfuego
    Member

    Just 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.

    #287583 Reply

    Loyal Water
    Member

    FYI : I have filed this as an enhancement request.

    #287591 Reply

    delfuego
    Member

    Nipun, 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?

    #287767 Reply

    Loyal Water
    Member

    It has been filed as a regression bug.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Issue with ant after upgrading to 6.5

You must be logged in to post in the forum log in