Author: dennyxu
Date: 2009-06-04 05:34:47 -0400 (Thu, 04 Jun 2009)
New Revision: 15704
Modified:
workspace/Denny/bpel/org.jboss.bpel.as.integration/src/org/jboss/bpel/as/integration/JBossServerBPELPublisher.java
Log:
Modified:
workspace/Denny/bpel/org.jboss.bpel.as.integration/src/org/jboss/bpel/as/integration/JBossServerBPELPublisher.java
===================================================================
---
workspace/Denny/bpel/org.jboss.bpel.as.integration/src/org/jboss/bpel/as/integration/JBossServerBPELPublisher.java 2009-06-04
08:45:55 UTC (rev 15703)
+++
workspace/Denny/bpel/org.jboss.bpel.as.integration/src/org/jboss/bpel/as/integration/JBossServerBPELPublisher.java 2009-06-04
09:34:47 UTC (rev 15704)
@@ -19,11 +19,13 @@
public boolean accepts(IServer server, IModule[] module) {
IProject project = module[0].getProject();
+ if(project == null) return false;
+
try {
IFacetedProject fp = ProjectFacetsManager.create(project);
IProjectFacet pf =
ProjectFacetsManager.getProjectFacet(IBPELModuleFacetConstants.BPEL20_PROJECT_FACET);
return fp.hasProjectFacet(pf);
- } catch (CoreException e) {
+ } catch (Exception e) {
return false;
}
Show replies by date