Adding shortcut buttons or shortcuts for ant tasks only in Eclipse

I am working on a project that has an Ant script for all phases of the life cycle. The project, divided into small projects, is designed to be developed with Eclipse. A common option is Indigo One.

I’m mainly interested in placing a series of buttons with a shortcut for each, or at least only for a shortcut, to perform some basic tasks. Relevant Tasks:

  • Quick build: this only applies to interface classes and jsps. I easily solved this in the collectors panel by adding the Ant assembly, which invokes the task, for later viewing using the buttons problem, because there is no shortcut for "Project-> Assembly Project"
  • full assembly: sometimes I need to run a task for a complete assembly, which takes quite a lot of time in relation to a simple assembly
  • deploy: this task simply packs the war file and is deployed in the local jboss location, at the moment I am launching the jboss server manually through the shell script, but I was thinking of a convenient way to start Eclipse if it is not already running

thank

+5
source share
2 answers

You can add several "ant build" launch configurations to run the ant script with the specified goals and ant configuration.

> ... > ... "ant build" " ". "" "", , "", .

.

( ) (. "" > " ... > " ... ")

+3

Ant, Eclipse. Ctrl + 3 (cmd + 3 mac, ) Ant, . " " . Ant, , .

+2

All Articles