Author: snjeza
Date: 2009-05-28 15:39:25 -0400 (Thu, 28 May 2009)
New Revision: 15587
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples.cheatsheet/
trunk/examples/plugins/org.jboss.tools.project.examples.cheatsheet/src/org/jboss/tools/project/examples/cheatsheet/actions/RunOnServer.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4180 We should have the projects featured in Seam
tutorials available in Project Examples
Property changes on: trunk/examples/plugins/org.jboss.tools.project.examples.cheatsheet
___________________________________________________________________
Name: svn:ignore
+ bin
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples.cheatsheet/src/org/jboss/tools/project/examples/cheatsheet/actions/RunOnServer.java
===================================================================
---
trunk/examples/plugins/org.jboss.tools.project.examples.cheatsheet/src/org/jboss/tools/project/examples/cheatsheet/actions/RunOnServer.java 2009-05-28
18:55:41 UTC (rev 15586)
+++
trunk/examples/plugins/org.jboss.tools.project.examples.cheatsheet/src/org/jboss/tools/project/examples/cheatsheet/actions/RunOnServer.java 2009-05-28
19:39:25 UTC (rev 15587)
@@ -34,7 +34,7 @@
}
if (params[1] != null) {
IFile file = wRoot.getFile(new Path(params[1]));
- if (file != null || file.exists()) {
+ if (file != null && file.exists()) {
try {
SingleDeployableFactory.makeDeployable(file.getFullPath());
IServer[] deployableServersAsIServers = ServerConverter