Pre/post run scripting. [message #200901] |
Thu, 14 April 2005 04:45  |
Eclipse User |
|
|
|
Hi,
Firstly, thanks for Eclipse, best IDE I've ever had the pleasure of using.
My question, I have a workspace in which I have a main server style
application in one project and plugins to the server in their own
projects. I'd like to be able to call run (or some command) on the
plugins projects and have them compile, jar and install to the plugins
directory of the main project and then have the main project run. At
present I need to run a JAR build script and then run the main program, I
often forget to do this and then waste my time trying to work out why my
changes aren't taking effect.
Is it possible to automate this process? The plugin JARs are only small
and take no time to zip up. Something like VisualStudio's pre and post
compile commands would be great. I was thinking I could use an ANT script
but I would like all of the Eclipse compile options to remain current. Is
there an eclipse ANT task?
Thanks in advance,
Tom.
|
|
|
Re: Pre/post run scripting. [message #201626 is a reply to message #200901] |
Thu, 21 April 2005 11:39  |
Eclipse User |
|
|
|
Go to the project preferences and create a custom ANT builder. You can move
the created builder before or after the Java builder.
Cheers
Tobias
"Tom Rathbone" <tom.rathbone@gmail.com> wrote in message
news:11cfb834bc7507e0db220dd8875b376c$1@www.eclipse.org...
> Hi,
>
> Firstly, thanks for Eclipse, best IDE I've ever had the pleasure of using.
>
> My question, I have a workspace in which I have a main server style
> application in one project and plugins to the server in their own
> projects. I'd like to be able to call run (or some command) on the
> plugins projects and have them compile, jar and install to the plugins
> directory of the main project and then have the main project run. At
> present I need to run a JAR build script and then run the main program, I
> often forget to do this and then waste my time trying to work out why my
> changes aren't taking effect.
>
> Is it possible to automate this process? The plugin JARs are only small
> and take no time to zip up. Something like VisualStudio's pre and post
> compile commands would be great. I was thinking I could use an ANT script
> but I would like all of the Eclipse compile options to remain current. Is
> there an eclipse ANT task?
>
> Thanks in advance,
>
> Tom.
>
|
|
|
Powered by
FUDForum. Page generated in 0.02900 seconds