Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Running custom deployment scripts in WTP possible?
Running custom deployment scripts in WTP possible? [message #188582] Sun, 25 February 2007 18:22 Go to next message
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 #188858 is a reply to message #188582] Thu, 01 March 2007 09:42 Go to previous messageGo to next message
Eclipse User
Originally posted by: matthias.kaeppler.dfki.de

Anyone? This is really important for us, any help/hints appreciated.
Re: Running custom deployment scripts in WTP possible? [message #189603 is a reply to message #188858] Sun, 11 March 2007 21:54 Go to previous messageGo to next message
Kaj Kandler is currently offline Kaj Kandler
Messages: 33
Registered: July 2009
Member
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 Go to previous message
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
>
Previous Topic:WSGEN : WSDL URL in axisclient.properties
Next Topic:How to convert a former web project into a utility project?
Goto Forum:
  


Current Time: Sat Oct 25 21:12:55 GMT 2014

Powered by FUDForum. Page generated in 0.02841 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software