ant script for build file

This topic contains 3 replies, has 3 voices, and was last updated by  Riyad Kalla 12 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #251845 Reply

    kanika
    Member

    Hi Scott
    I m using MyEclipse and i’ve written a build file (packaging-build.xml). But on right-clicking the file name, i m not getting the option to run it as an ant script. Why is that and what shud i do ..? plz help.

    #251877 Reply

    Riyad Kalla
    Member

    Navigate to your Window > Preferences > General > Content Types, drill down to Text > XML > Ant Buildfild, then click Add… and add your build file name.

    #260877 Reply

    sarank
    Member

    Tried but didn’t work for me as well..I am using MyEclipse5.0/J2sdk1.4.2_12

    #260892 Reply

    Riyad Kalla
    Member

    sarank,
    Alternatives you can go to Window > Prefs > General > Editors > File Associations and add an explicit mapping for your file and the Ant Buildfile Editor.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: ant script for build file

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