Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Context files
Context files [message #128586] Mon, 01 August 2005 20:20 Go to next message
Eclipse UserFriend
Originally posted by: dberkowicz.mac.com

I am using Eclipse 3.1 with the 0.7 WTP release. Prior to this I used
the Sysdeo Tomcat plug-in to manage my web-server. I enabled the use of
context files which simplified the management of my development files.
I notice that when I use the wtp tools to generate and run a
web-service Tomcat is run using a set of configuration files local to
my web-module directory and it modifies the server.xml file. Is there a
way to change this as I often need to add environment properties to my
applications?
Thanks David.
Re: Context files [message #128856 is a reply to message #128586] Tue, 02 August 2005 12:46 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
David,

If you place a META-INF/context.xml under your project's WebContent
folder, the child elements of the <Context> element in that file will be
included in the server.xml used by Tomcat at runtime. If you want to
check, the default is to place this server.xml under
"<workspace>/.metadata/.plugins/org.eclipse.wst.server.core/tmp?/conf ",
where '?' is a number.

Cheers,
Larry

David Berkowicz wrote:
> I am using Eclipse 3.1 with the 0.7 WTP release. Prior to this I used
> the Sysdeo Tomcat plug-in to manage my web-server. I enabled the use of
> context files which simplified the management of my development files. I
> notice that when I use the wtp tools to generate and run a web-service
> Tomcat is run using a set of configuration files local to my web-module
> directory and it modifies the server.xml file. Is there a way to change
> this as I often need to add environment properties to my applications?
> Thanks David.
>
Previous Topic:Where is the cached file?
Next Topic:stopping CVS files getting into .deployables
Goto Forum:
  


Current Time: Thu Dec 26 14:39:53 GMT 2024

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

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

Back to the top