reset password
Author Message
melon_tech
Posts: 15
Posted 21:03 Oct 03, 2009 |

When i run the existing build.xml either from eclipse as ant build or from dos, the result window show target "int" and "build". i cant see the result of new  target"zip" i added in the result window. I did refresh and etc. If i created new buid file with only "target zip", it works. any idea?

PS: also didnt see existing target "clean" and etc in result window. see attached file

Attachments:
cysun
Posts: 2935
Posted 10:02 Oct 04, 2009 |

As we said in class, Ant does not automatically execute all targets in a build file. To run the zip target on command line, you need to do "ant zip". In Eclipse, you need to create a new "External Tool Run Configuration" with the zip target selected.

melon_tech
Posts: 15
Posted 18:57 Oct 04, 2009 |

Thank you.