Search in sources :

Example 1 with ServerBehaviourDelegate

use of org.eclipse.wst.server.core.model.ServerBehaviourDelegate in project liferay-ide by liferay.

the class ServerCoreBase method publishToServer.

protected void publishToServer(IProject project) {
    ServerBehaviourDelegate delegate = (ServerBehaviourDelegate) server.loadAdapter(ServerBehaviourDelegate.class, null);
    Module[] moduleTree = { new Module(null, project.getName(), project.getName(), "jst.web", "3.0", project) };
    LiferayPublishHelper.prePublishModule(delegate, 1, 1, moduleTree, null, null);
}
Also used : ServerBehaviourDelegate(org.eclipse.wst.server.core.model.ServerBehaviourDelegate) Module(org.eclipse.wst.server.core.internal.Module)

Aggregations

Module (org.eclipse.wst.server.core.internal.Module)1 ServerBehaviourDelegate (org.eclipse.wst.server.core.model.ServerBehaviourDelegate)1