Running custom deployment scripts in WTP possible? [message #188582] |
Sun, 25 February 2007 13:22  |
Eclipse User |
|
|
|
Originally posted by: matthias.kaeppler.dfki.de
Hi,
I really like that WTP automates so much when building and deploying
webapps, but is it possible at all to tell WTP to incorporate user-defined
intermediary steps in its build/deploy-logic?
For example, we need to sign a JAR-file before deploying it in order to
not break custom security policies, but I haven't found a way to do that
before WTP deploys the WAR to the servlet container. I'd rather not have
to do that by hand each time I recompile the project!
Is that possible at all?
Thanks,
Matthias
|
|
|
|
|
Re: Running custom deployment scripts in WTP possible? [message #189714 is a reply to message #188582] |
Mon, 12 March 2007 13:59  |
Eclipse User |
|
|
|
Originally posted by: wknauf_NO_._INSIDE_hg-online.de
Hi Matthias,
take a look at the JBoss plugin, file
eclipse\plugins\org.eclipse.jst.server.generic.jboss_1.5.1.v 200609140551\buildfiles\jboss323.xml
This ant script is run when packaging and deploying the files to the server, so
you could simply modify it to include your custom tasks.
For other server types it should work the same way.
Hope this helps
Wolfgang
Matthias Käppler wrote:
> Hi,
>
> I really like that WTP automates so much when building and deploying
> webapps, but is it possible at all to tell WTP to incorporate
> user-defined intermediary steps in its build/deploy-logic?
>
> For example, we need to sign a JAR-file before deploying it in order to
> not break custom security policies, but I haven't found a way to do that
> before WTP deploys the WAR to the servlet container. I'd rather not have
> to do that by hand each time I recompile the project!
>
> Is that possible at all?
>
> Thanks,
> Matthias
>
|
|
|
Powered by
FUDForum. Page generated in 0.04658 seconds