Running custom deployment scripts in WTP possible? [message #188582] |
Sun, 25 February 2007 18: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 #189603 is a reply to message #188858] |
Sun, 11 March 2007 21:54   |
Eclipse User |
|
|
|
Matthias Käppler wrote:
> Anyone? This is really important for us, any help/hints appreciated.
>
I'm not an expert here, but I can give you a hint.
You should be able to write an ant script or task to do the jar signing.
Then go to your project's properties and select the "Builder" -item in
the list. There you can add additional steps to the build process. Don't
know how to add your new ant script, but I'm hopeful you'll figure it out.
K<o>
---
Busy, supporting non technical users at Plan-B for OpenOffice.org -
http://openoffice.screencast-tutorials.com/
|
|
|
Re: Running custom deployment scripts in WTP possible? [message #189714 is a reply to message #188582] |
Mon, 12 March 2007 17: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.03118 seconds