 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
|
Post subject: ant script for build file
Posted: 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. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 10, 2006 - 08:19 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23855
|
|
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
|
| |
|
|
|
 |
|
|
Post subject:
Posted: 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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Oct 25, 2006 - 04:34 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23855
|
|
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
|
| |
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |