Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2904 > unrolled thread
| Started by | "Daniel Gee" <daniel.gee@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:41 +0000 |
| Last post | 2011-04-27 15:41 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.java.gui
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | "Daniel Gee" <daniel.gee@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:41 +0000 |
| Subject | Re: Swing Gui / Ant |
| Message-ID | <676cf21c-f5c3-49b3-b030-a2b4f6b3ae21@x29g2000prg.googlegroups.com> |
To: comp.lang.java.gui 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); --- * 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
[toc] | [next] | [standalone]
| From | "Thomas Kellerer" <thomas.kellerer@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:41 +0000 |
| Message-ID | <5t42hdF1asu7uU1@mid.individual.net> |
| In reply to | #2904 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.gui
csiph-web