How to get Eclipse to publish somewhere else? [message #176401] |
Mon, 07 August 2006 20:56  |
Eclipse User |
|
|
|
Originally posted by: ssl.radium.jvb.tudelft.nl
Hi,
I'm just starting out with WTP, and I have a question. When Eclipse
publishes my web project, it puts it in the
eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server. core\tmp0
folder, which is also what it tells tomcat to use as CATALINA_BASE.
I'd like to know how I can change that directory to something else, say,
TOMCAT_HOME, where I've got my manager app installed etc.
Regards,
Maarten
|
|
|
|
Re: How to get Eclipse to publish somewhere else? [message #176423 is a reply to message #176409] |
Tue, 08 August 2006 09:38   |
Eclipse User |
|
|
|
Maarten,
Darryl is correct that unchecking "Run modules directly from the
workspace" will make catalina.base == catalina.home. However, be aware
that in this configuration, the Tomcat files found under the Servers
project in your workspace will overwrite those in your Tomcat
installation each time the Tomcat server is started in Eclipse. They
effectively become the "master" files. This means that your Tomcat
installation may no longer be "manageable" in the way you expect.
Cheers,
Larry
Darryl L. Miles wrote:
> Maarten wrote:
>> I'm just starting out with WTP, and I have a question. When Eclipse
>> publishes my web project, it puts it in the
>> eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server. core\tmp0
>> folder, which is also what it tells tomcat to use as CATALINA_BASE.
>> I'd like to know how I can change that directory to something else,
>> say, TOMCAT_HOME, where I've got my manager app installed etc.
>
> Does Unticking "Run modules directly from workspace" do this ?
>
>
> Right click the Server runtime (from servers tab), select "Open".
>
> You might need to make sure the tomcat installation is writable by your
> eclipse userid.
>
>
> Darryl
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.25511 seconds