Author: bbrodt
Date: 2012-05-18 09:21:32 -0400 (Fri, 18 May 2012)
New Revision: 41151
Modified:
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/module/JBTBPELPublisher.java
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/ui/wizards/NewBPELProjectWizardPage1.java
Log:
https://issues.jboss.org/browse/JBIDE-9789 - for autopublish to work, incremental must be
treated like full publish.
Modified:
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/module/JBTBPELPublisher.java
===================================================================
---
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/module/JBTBPELPublisher.java 2012-05-18
13:14:09 UTC (rev 41150)
+++
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/module/JBTBPELPublisher.java 2012-05-18
13:21:32 UTC (rev 41151)
@@ -99,8 +99,9 @@
status = publish(module, delta, publishType, monitor);
publishState = IServer.PUBLISH_STATE_NONE;
} else if( publishType == INCREMENTAL_PUBLISH ) {
- // Do nothing. This is intentional
- publishState = IServer.PUBLISH_STATE_INCREMENTAL;
+ // Incremental is treated like Full Publish
+ status = publish(module, delta, publishType, monitor);
+ publishState = IServer.PUBLISH_STATE_NONE;
}
//
https://issues.jboss.org/browse/JBDS-1573
// hack: display a warning dialog.
Modified:
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/ui/wizards/NewBPELProjectWizardPage1.java
===================================================================
---
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/ui/wizards/NewBPELProjectWizardPage1.java 2012-05-18
13:14:09 UTC (rev 41150)
+++
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/ui/wizards/NewBPELProjectWizardPage1.java 2012-05-18
13:21:32 UTC (rev 41151)
@@ -16,6 +16,7 @@
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.PlatformUI;
import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
+import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
import org.eclipse.wst.web.ui.internal.wizards.DataModelFacetCreationWizardPage;
import org.jboss.tools.bpel.runtimes.IBPELModuleFacetConstants;
import org.jboss.tools.bpel.runtimes.IRuntimesUIConstants;
@@ -52,6 +53,7 @@
createProjectGroup(top);
createServerTargetComposite(top);
// createPrimaryFacetComposite(top);
+ primaryProjectFacet = ProjectFacetsManager.getProjectFacet( getModuleFacetID() );
createPresetPanel(top);
return top;
}