Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How to set default publishing properties like Tomcat
How to set default publishing properties like Tomcat [message #217703] Wed, 16 July 2008 13:43 Go to next message
No real name is currently offline No real name
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 17:49 Go to previous message
No real name is currently offline No real name
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 Jul 23 20:33:12 EDT 2014

Powered by FUDForum. Page generated in 0.01610 seconds