Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2905
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail |
|---|---|
| From | "Thomas Kellerer" <thomas.kellerer@THRWHITE.remove-dii-this> |
| Subject | Re: Swing Gui / Ant |
| Message-ID | <5t42hdF1asu7uU1@mid.individual.net> (permalink) |
| X-Comment-To | comp.lang.java.gui |
| Newsgroups | comp.lang.java.gui |
| In-Reply-To | <676cf21c-f5c3-49b3-b030-a2b4f6b3ae21@x29g2000prg.googlegroups.com> |
| References | <676cf21c-f5c3-49b3-b030-a2b4f6b3ae21@x29g2000prg.googlegroups.com> |
| Content-Type | text/plain; charset=IBM437 |
| Content-Transfer-Encoding | 8bit |
| X-Gateway | time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] |
| Lines | 24 |
| Date | Wed, 27 Apr 2011 15:41:49 GMT |
| NNTP-Posting-Host | 96.60.20.240 |
| X-Complaints-To | news@tds.net |
| X-Trace | newsreading01.news.tds.net 1303918909 96.60.20.240 (Wed, 27 Apr 2011 10:41:49 CDT) |
| NNTP-Posting-Date | Wed, 27 Apr 2011 10:41:49 CDT |
| Organization | TDS.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.gui:2905 |
Show key headers only | View raw
To: comp.lang.java.gui Daniel Gee wrote on 22.12.2007 09:36: > On Dec 21, 6:40 am, Emmanuel Ayanrinola <tos...@gmail.com> wrote: >> I have a question, how can i trigger an ant job from swing. I will >> like ant to pull it values from the swing and build based on selected >> value from the swing GUI. Is there any jar file that will make the >> process easier? Has anyone done anything like this? The other part is >> can one trigger a Macro from swing > > well based on your swing components you just run the desired command > line eg: > > String desiredCommandLine = "ant "+ myGUI.figureArgsString(); > Runtime.getRuntime().exec(desiredCommandLine); No need to run an external process. Ant is just a Java program/class and can be called directly if the libraries are on the classpath of the calling app. --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Swing Gui / Ant "Daniel Gee" <daniel.gee@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000 Re: Swing Gui / Ant "Thomas Kellerer" <thomas.kellerer@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
csiph-web