Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How to deploy in tomcat webapps dir
How to deploy in tomcat webapps dir [message #186637] Sun, 21 January 2007 18:00 Go to next message
Eclipse User
Originally posted by: markusin.yahoo.de

Hi to everyone,

I am trying to change the deploy directory to the tomcat webapps
directory, but I wasn't able to do that.
The problem is, that eclipse wtp deploy always internally in
..metadata/.plugins/org.eclipse.wst.server.core/

is there a way to change that?

Thanks for any helpful answer.

Markus
Re: How to deploy in tomcat webapps dir [message #186646 is a reply to message #186637] Sun, 21 January 2007 17:01 Go to previous messageGo to next message
Eclipse User
Originally posted by: hicham.dev.menara.ma

exquisitus wrote:
> Hi to everyone,
>
> I am trying to change the deploy directory to the tomcat webapps
> directory, but I wasn't able to do that.
> The problem is, that eclipse wtp deploy always internally in
> .metadata/.plugins/org.eclipse.wst.server.core/
>
> is there a way to change that?
>
> Thanks for any helpful answer.
>
> Markus
Hello
all you need to do is "export your web application as a .war file to the
tomcat webapps dir

cheers
Hicham
Re: How to deploy in tomcat webapps dir [message #186654 is a reply to message #186646] Sun, 21 January 2007 19:02 Go to previous messageGo to next message
Eclipse User
Originally posted by: markusin.yahoo.de

hi hicham,

ok, this is something I know, but I would like to use the integrated
deploy tools of wtp, where you can publish, etc... via button click.
To create a jar every time is not so confortable.

Probably there should be another way. I was used it from myeclipse to
have such a deploy tool, and it's really useful, mainly when you
republish a lot.

Markus
Re: How to deploy in tomcat webapps dir [message #186662 is a reply to message #186654] Sun, 21 January 2007 19:53 Go to previous messageGo to next message
Eclipse User
Originally posted by: markusin.yahoo.de

Now I was able to solve that problem.
By doubleclicking on the server you can edit that configuration. There
you need only to disable the option "Run modules directly from the
workspace" and than my webapplications where deployed to the
tomcat-webapps directory.

Markus
Re: How to deploy in tomcat webapps dir [message #186734 is a reply to message #186637] Mon, 22 January 2007 15:02 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1310
Registered: July 2009
Senior Member
In the works for the Tomcat support in WTP 2.0 is the ability to specify
the deployment directory where web applications are published, relative
to catalina.base or absolute, and the ability to specify the
catalina.base. To track these changes, you can follow bugs [1] and [2],
respectively. As you mentioned in a different e-mail, the only thing
that has any impact at the moment is the "Run modules directly..." option.

Cheers,
Larry

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=145834
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=107722

exquisitus wrote:
> Hi to everyone,
>
> I am trying to change the deploy directory to the tomcat webapps
> directory, but I wasn't able to do that.
> The problem is, that eclipse wtp deploy always internally in
> .metadata/.plugins/org.eclipse.wst.server.core/
>
> is there a way to change that?
>
> Thanks for any helpful answer.
>
> Markus
Previous Topic:Problem Deleting Web App Jars
Next Topic:Strange classloading problem when using 2.0
Goto Forum:
  


Current Time: Thu Oct 23 17:52:54 GMT 2014

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

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