• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Clarification in antform

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using antform in my application which will have swing as GUI.On clicking a button in GUI i need to fire my build.xml which should be kept seperately in a particular folder say for example d:\build.xml.

Can anyone have idea to do this?
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't come here very often so forgive the delay in responding.

I only started using AntForm yesterday but I think you have to launch your build.xml _first_ and then have the build.xml invoke your AntForm or AntMenu tasks. That's how I did it and it works quite well.

If that is not satisfactory and you need really to invoke the build.xml from an AntForm, you _may_ be able to do it by using the AntForm API. For example, if you write a Java program, I think it can probably display AntForms and those AntForms _may_ be able to launch a build.xml but I'm not really sure. There is a page on using the AnfForm API in the AntForm documentation that comes with AntForm.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic