Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #370766 +++ Build Identifier: 3.2.maintance I am looking at the code below in the Server.ResouceChangeJob#run(). It appears to me that a publish will not happen after the structure change if there is no module file changed. A structure change can be recorded in a .XXX file in the project but it doesn't need to be a part of the module. I think it should be published. // run the visitor visit(visitor, null); if (getServerPublishInfo().hasStructureChanged(modules2)) { int newState = getServerPublishState() == IServer.PUBLISH_STATE_FULL ? IServer.PUBLISH_STATE_FULL : IServer.PUBLISH_STATE_INCREMENTAL; setServerPublishState(newState); } if (!changed[0]) return Status.OK_STATUS; if (getServerState() != IServer.STATE_STOPPED && behaviourDelegate != null) behaviourDelegate.handleResourceChange(); if (getServerState() == IServer.STATE_STARTED) autoPublish(event); return Status.OK_STATUS; Reproducible: Always
This defect is to check in changes on bug 370766 to 325P code stream.
Created attachment 210649 [details] v1.0
Changes released to HEAD
Code released to 325P
New Gerrit change created: https://git.eclipse.org/r/109093