MyEclipse Forums
This thread has been locked & this forum has been archived.
View previous topic Printable version Log in to check your private messages View next topic
Author Message
kanika
22 Post subject: ant script for build file  PostPosted: May 10, 2006 - 04:58 AM



Joined: May 08, 2006
Posts: 11

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.
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: May 10, 2006 - 08:19 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

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

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
sarank
Post subject:   PostPosted: Oct 25, 2006 - 06:11 AM



Joined: Oct 25, 2006
Posts: 1

Tried but didn't work for me as well..I am using MyEclipse5.0/J2sdk1.4.2_12
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Oct 25, 2006 - 04:34 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23818

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.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits