Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » How to set default publishing properties like Tomcat
How to set default publishing properties like Tomcat [message #217703] Wed, 16 July 2008 17:43 Go to next message
No real name is currently offline No real nameFriend
Messages: 13
Registered: July 2009
Junior Member
I notice the Tomcat server adapter's publishing timeout default is 1. The
default for my server adapter (out of the box) is 15. How is this
configured from a server adapter plugin (vs. a user)? Can I do a similar
thing to turn off automatic publishing by default? I've had users
complain about automatic publishing, and also that saving a file in one
project triggers publishing 2 projects to the server automatically. The
solution we came up with was to disable automatic publishing, but I can't
figure out how to do that....
Re: How to set default publishing properties like Tomcat [message #217787 is a reply to message #217703] Thu, 17 July 2008 21:49 Go to previous message
No real name is currently offline No real nameFriend
Messages: 13
Registered: July 2009
Junior Member
I figured it out - override setDefaults in the server or server delegate
subclass, then call setAttribute with relevant info. The problem was
finding this because the example I was searching for (tomcat) did not use
any of the get/setAutoPublish methods, nor did it use the
PROP_AUTO_PUBLISH constants, so searching was coming up with no hits.
Previous Topic:Question about virtual component model and org.eclipse.wst.common.component
Next Topic:HTTP Preview Server?
Goto Forum:
  


Current Time: Wed Apr 24 17:01:29 GMT 2024

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

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

Back to the top