简体   繁体   中英

How can I automate a sequence of actions involving Eclipse Ant builds, Run configuration and a batch file?

During a normal day I run the following sequence lots of times, would love to automate it to be able to run it in single click/keyboard key combination .

  1. Ant build X
  2. Ant build Y
  3. Starting a batch file (which starts up Jboss if it matters )
  4. Waiting for a specific line to show up in the command line output.
  5. Starting a specific Debug configuration in Eclipse
  6. Starting a specific Run configuration in Eclipse

Batch file already runs with keyboard shortcut, I think I can automate the next one as well- but how can I tie them to the Eclipse parts ?

Thanks !

(I'm using Windows 7, Eclipse Juno)

I don't think that it is possible by default (a custom plugin might help you though).

1-4 can be done by creating an External Run Configuration that executes a batch file which encapsulates these tasks.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM