Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] How to hint an IServer it should publish stuff?

Hi,

I have this bug report in m2e-wtp[1], where calling IServer.publish() [2] causes some adapter(s) (GlassFish at least) to start stopped server instances. I must say I find that behavior questionable, but I can't control how 3rd party server adapters work. Anyways, is there a recommended way to tell the stopped IServer instance it *should* publish, in a way it -most likely- wouldn't start the server?

And if you ask why I force server publication in that resource listener, it's to support dynamic war overlay [3] (changes in overlay project are automatically published in main web app)

So if you have any pointers, please let me know. Thanks,

Fred.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=413987


-- 
"Have you tried turning it off and on again" - The IT Crowd

Back to the top