JBoss Tools SVN: r26637 - in trunk/deltacloud/plugins: org.jboss.tools.deltacloud.ui and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-11-16 14:30:38 -0500 (Tue, 16 Nov 2010)
New Revision: 26637
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudManager.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudPersistedConnectionsException.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/Deltacloud Tools.launch
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVRootElement.java
Log:
[JBIDE-7597] removed implicit loading of persisted connections. moved to explicit loading. Collecting exceptions and returning them as errors that occurred. Reporting them to the user.
This is an initial non-optimal but working implementation (kinda POC)
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudManager.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudManager.java 2010-11-16 18:49:18 UTC (rev 26636)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudManager.java 2010-11-16 19:30:38 UTC (rev 26637)
@@ -43,7 +43,7 @@
private DeltaCloudManager() {
}
- public DeltaCloudPersistedConnectionsException loadClouds() {
+ public void loadClouds() throws DeltaCloudPersistedConnectionsException {
DeltaCloudPersistedConnectionsException connectionException = new DeltaCloudPersistedConnectionsException();
IPath stateLocation = Activator.getDefault().getStateLocation();
File cloudFile = stateLocation.append(CLOUDFILE_NAME).toFile();
@@ -68,7 +68,9 @@
} catch (Exception e) {
connectionException.addError(e);
}
- return connectionException;
+ if (!connectionException.isEmpty()) {
+ throw connectionException;
+ }
}
private void loadCloud(String name, Node n) throws StorageException, MalformedURLException, DeltaCloudException {
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudPersistedConnectionsException.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudPersistedConnectionsException.java 2010-11-16 18:49:18 UTC (rev 26636)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudPersistedConnectionsException.java 2010-11-16 19:30:38 UTC (rev 26637)
@@ -35,4 +35,8 @@
public List<Throwable> getErrors() {
return throwables;
}
+
+ public boolean isEmpty() {
+ return throwables.size() == 0;
+ }
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/Deltacloud Tools.launch
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/Deltacloud Tools.launch 2010-11-16 18:49:18 UTC (rev 26636)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/Deltacloud Tools.launch 2010-11-16 19:30:38 UTC (rev 26637)
@@ -23,8 +23,8 @@
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx1024m"/>
<stringAttribute key="pde.version" value="3.3"/>
<stringAttribute key="product" value="org.eclipse.sdk.ide"/>
-<stringAttribute key="selected_target_plugins" value="org.eclipse.equinox.p2.core@default:default,org.jboss.ide.eclipse.archives.ui@default:default,org.eclipse.jdt.compiler.tool@default:false,org.eclipse.update.core@default:default,org.eclipse.jst.server.ui@default:default,org.apache.commons.httpclient*3.1.0.v201005080502@default:default,org.eclipse.jdt.junit@default:default,org.sat4j.pb@default:default,org.eclipse.emf.ecore.edit@default:default,org.jboss.ide.eclipse.as.wtp.core@default:default,org.eclipse.swt.gtk.linux.x86_64@default:false,org.eclipse.wst.common.project.facet.ui@default:default,org.eclipse.compare.core@default:default,javax.xml@default:default,org.eclipse.help@default:default,org.eclipse.ui.views@default:default,org.jboss.ide.eclipse.as.core@default:default,org.eclipse.ecf.filetransfer@default:default,org.eclipse.ui.workbench.texteditor@default:default,org.jboss.ide.eclipse.as.ui@default:default,org.eclipse.equinox.http.servlet@default:default,org.eclipse.!
core.commands@default:default,org.eclipse.ui.editors@default:default,org.eclipse.wst.common.emfworkbench.integration@default:default,org.eclipse.equinox.p2.director.app@default:default,org.eclipse.core.expressions@default:default,org.eclipse.jdt.compiler.apt@default:false,org.eclipse.wst.xml.ui@default:default,org.eclipse.jst.j2ee@default:default,org.eclipse.jst.common.frameworks@default:default,org.eclipse.rse.subsystems.shells.core@default:default,org.eclipse.equinox.app@default:default,org.eclipse.equinox.preferences@default:default,org.eclipse.cdt.core.linux.x86_64@default:false,org.eclipse.jdt.debug@default:default,org.eclipse.rse.services@default:default,org.jboss.ide.eclipse.archives.core@default:default,org.eclipse.wst.common.project.facet.core@default:default,org.eclipse.jdt.junit.runtime@default:default,org.eclipse.rse.services.local@default:default,org.eclipse.emf.ecore@default:default,org.eclipse.equinox.p2.artifact.repository@default:default,org.eclipse.ui.ide@!
default:default,org.eclipse.jst.common.annotations.core@defaul!
t:defaul
t,org.eclipse.jdt.ui@default:default,org.apache.xml.resolver@default:default,org.eclipse.wst.server.discovery@default:default,org.mortbay.jetty.server@default:default,org.eclipse.equinox.registry@default:default,org.eclipse.ui@default:default,org.eclipse.ecf@default:default,org.eclipse.ltk.ui.refactoring@default:default,org.eclipse.rse.ui@default:default,org.eclipse.equinox.p2.publisher@default:default,org.eclipse.help.ui@default:default,org.eclipse.pde.core@default:default,org.eclipse.core.resources@default:default,org.eclipse.jdt.core.manipulation@default:default,org.apache.lucene@default:default,org.junit4@default:default,org.eclipse.equinox.p2.operations@default:default,org.eclipse.ui.console@default:default,org.eclipse.wst.html.core@default:default,org.jboss.ide.eclipse.archives.webtools@default:default,org.mortbay.jetty.util@default:default,org.eclipse.jst.j2ee.ejb.annotation.model@default:default,org.eclipse.wst.common.uriresolver@default:default,org.eclipse.wst.web.u!
i@default:default,org.apache.lucene.analysis@default:default,org.eclipse.equinox.common@2:true,org.eclipse.ui.views.log@default:default,org.eclipse.jst.jee@default:default,org.eclipse.ui.browser@default:default,org.eclipse.jst.common.ui@default:default,org.eclipse.jdt.debug.ui@default:default,org.eclipse.team.ui@default:default,org.eclipse.equinox.p2.garbagecollector@default:default,org.sat4j.core@default:default,org.eclipse.ecf.identity@default:default,org.eclipse.emf.edit.ui@default:default,org.eclipse.core.filesystem@default:default,org.eclipse.core.databinding.observable@default:default,org.eclipse.jst.j2ee.ui@default:default,org.eclipse.wst.css.core@default:default,org.eclipse.equinox.frameworkadmin.equinox@default:default,org.eclipse.wst.css.ui@default:default,org.eclipse.jface.databinding@default:default,org.eclipse.ecf.ssl@default:false,org.eclipse.ltk.core.refactoring@default:default,org.eclipse.emf.common@default:default,org.eclipse.swt@default:default,org.eclipse!
.wst.validation@default:default,org.eclipse.wst.jsdt.core@defa!
ult:defa
ult,org.eclipse.equinox.p2.jarprocessor@default:default,org.eclipse.equinox.p2.repository.tools@default:default,org.eclipse.ui.cheatsheets@default:default,org.eclipse.wst.common.frameworks@default:default,org.eclipse.search@default:default,org.eclipse.jst.jee.ui@default:default,org.eclipse.wst.common.modulecore.ui@default:default,org.eclipse.rse.core@default:default,org.eclipse.equinox.p2.repository@default:default,org.eclipse.rse.services.ssh@default:default,org.eclipse.jst.server.core@default:default,org.eclipse.wst.common.ui@default:default,org.eclipse.wst.internet.monitor.core@default:default,org.eclipse.equinox.p2.director@default:default,org.eclipse.jst.j2ee.navigator.ui@default:default,org.eclipse.wst.web@default:default,com.instantiations.designer.jdt.fragment@default:false,org.eclipse.equinox.concurrent@default:default,org.apache.ant@default:default,org.eclipse.equinox.security@default:default,org.eclipse.wst.server.core@default:default,org.eclipse.jst.common.projec!
t.facet.core@default:default,org.jboss.tools.jmx.ui@default:default,org.eclipse.equinox.simpleconfigurator.manipulator@default:default,org.eclipse.ecf.provider.filetransfer.ssl@default:false,org.eclipse.core.net.linux.x86_64@default:false,org.apache.xerces@default:default,org.eclipse.swtbot.ant.optional.junit3@default:false,org.eclipse.cdt.core.linux@default:false,org.eclipse.ui.views.properties.tabbed@default:default,org.apache.commons.el@default:default,org.eclipse.core.net@default:default,org.eclipse.team.core@default:default,org.eclipse.core.runtime.compatibility@default:default,org.eclipse.core.databinding.beans@default:default,org.eclipse.jface@default:default,org.eclipse.equinox.simpleconfigurator@1:true,org.eclipse.compare@default:default,org.eclipse.jdt@default:default,org.eclipse.wst.sse.core@default:default,org.eclipse.wst.common.environment@default:default,org.jboss.tools.jmx.core@default:default,org.eclipse.rse.files.ui@default:default,javax.servlet@default:def!
ault,org.eclipse.jdt.launching@default:default,org.eclipse.cor!
e.runtim
e@default:true,org.eclipse.cdt.ui@default:default,org.eclipse.core.runtime.compatibility.registry@default:false,org.eclipse.wst.server.ui@default:default,org.eclipse.jst.common.annotations.controller@default:default,org.eclipse.emf.ecore.change@default:default,org.eclipse.equinox.security.ui@default:default,org.apache.xml.serializer@default:default,org.eclipse.wst.jsdt.ui@default:default,org.eclipse.swtbot.ant.optional.junit4@default:false,org.jboss.tools.xulrunner.initializer@default:false,org.eclipse.wst.jsdt.manipulation@default:default,com.ibm.icu@default:default,org.eclipse.jem.workbench@default:default,org.eclipse.jem.util@default:default,org.eclipse.cdt.core@default:default,org.eclipse.pde.build@default:default,org.eclipse.jdt.junit.core@default:default,org.eclipse.equinox.http.jetty@default:default,org.eclipse.ui.navigator@default:default,org.eclipse.emf.common.ui@default:default,org.eclipse.core.filebuffers@default:default,org.eclipse.equinox.p2.metadata.repository@!
default:default,org.eclipse.jst.j2ee.ejb@default:default,org.eclipse.equinox.p2.ui@default:default,org.eclipse.jst.common.project.facet.ui@default:default,org.eclipse.core.contenttype@default:default,org.eclipse.wst.common.core@default:default,org.eclipse.jst.servlet.ui@default:default,org.eclipse.equinox.p2.engine@default:default,org.apache.commons.logging*1.0.4.v201005080501@default:default,org.eclipse.jdt.core@default:default,org.eclipse.ui.intro@default:default,org.eclipse.core.databinding.property@default:default,org.hamcrest.core@default:default,org.eclipse.debug.ui@default:default,org.eclipse.wst.sse.ui@default:default,org.eclipse.equinox.p2.metadata@default:default,org.eclipse.help.base@default:default,javax.servlet.jsp@default:default,org.eclipse.core.filesystem.linux.x86_64@default:false,org.eclipse.ecf.provider.filetransfer@default:default,org.eclipse.core.databinding@default:default,org.eclipse.equinox.frameworkadmin@default:default,org.eclipse.equinox.p2.touchp!
oint.eclipse@default:default,org.eclipse.osgi.util@default:def!
ault,org
.eclipse.core.variables@default:default,org.eclipse.emf.edit@default:default,org.junit*4.8.1.v4_8_1_v20100427-1100@default:default,org.eclipse.osgi@-1:true,org.eclipse.jst.j2ee.core@default:default,org.eclipse.sdk@default:default,org.jboss.ide.eclipse.as.wtp.ui@default:default,com.jcraft.jsch@default:default,org.eclipse.ui.ide.application@default:default,org.eclipse.rse.services.files.ftp@default:default,org.eclipse.jem@default:default,org.eclipse.rse.subsystems.files.core@default:default,org.apache.commons.net@default:default,org.eclipse.ui.navigator.resources@default:default,org.jboss.ide.eclipse.as.rse.ui@default:default,org.eclipse.jst.j2ee.jca@default:default,org.eclipse.wst.common.modulecore@default:default,org.eclipse.core.jobs@default:default,org.eclipse.equinox.p2.updatesite@default:default,org.eclipse.wst.html.ui@default:default,org.eclipse.wst.common.frameworks.ui@default:default,org.eclipse.jface.text@default:default,org.eclipse.jst.j2ee.jca.ui@default:default,or!
g.eclipse.jem.proxy@default:default,org.eclipse.core.runtime.compatibility.auth@default:default,org.eclipse.emf.ecore.xmi@default:default,org.apache.jasper@default:default,org.eclipse.wst.xml.core@default:default,org.eclipse.jst.j2ee.web@default:default,org.eclipse.ant.core@default:default,org.eclipse.wst.server.ui.doc.user@default:default,org.eclipse.text@default:default,org.eclipse.emf.codegen@default:default,org.jboss.ide.eclipse.as.rse.core@default:default,org.eclipse.ui.workbench@default:default,org.apache.commons.codec*1.3.0.v20100518-1140@default:default,org.eclipse.wst.common.emf@default:default,org.eclipse.ui.forms@default:default,org.eclipse.update.configurator@3:true,org.eclipse.debug.core@default:default,org.eclipse.osgi.services@default:default"/>
-<stringAttribute key="selected_workspace_plugins" value="org.jboss.tools.usage@default:default,org.jboss.tools.deltacloud.ui@default:default,org.jboss.tools.common@default:default,org.jboss.tools.deltacloud.core@default:default"/>
+<stringAttribute key="selected_target_plugins" value="org.eclipse.wst.common.environment@default:default,org.eclipse.update.core@default:default,org.eclipse.wst.css.core@default:default,org.eclipse.jdt@default:default,org.eclipse.cdt.core.linux.x86_64@default:false,org.eclipse.ui.cheatsheets@default:default,org.eclipse.equinox.app@default:default,org.eclipse.swt@default:default,org.eclipse.jst.j2ee.navigator.ui@default:default,org.eclipse.wst.xml.ui@default:default,org.eclipse.ltk.ui.refactoring@default:default,org.eclipse.rse.services.ssh@default:default,org.eclipse.ui.console@default:default,org.eclipse.jface.text@default:default,org.eclipse.ui@default:default,org.eclipse.jst.common.annotations.core@default:default,org.eclipse.rse.files.ui@default:default,org.eclipse.core.net@default:default,org.eclipse.rse.services@default:default,org.eclipse.equinox.p2.updatesite@default:default,org.apache.commons.httpclient*3.1.0.v201005080502@default:default,org.eclipse.wst.common.pro!
ject.facet.core@default:default,org.eclipse.core.runtime.compatibility.auth@default:default,org.apache.commons.el@default:default,org.jboss.ide.eclipse.as.rse.core@default:default,org.eclipse.ui.navigator@default:default,org.eclipse.help.ui@default:default,org.eclipse.jem.util@default:default,org.eclipse.swtbot.ant.optional.junit3@default:false,org.eclipse.cdt.ui@default:default,org.eclipse.jst.j2ee.ejb@default:default,org.mortbay.jetty.server@default:default,org.eclipse.jdt.compiler.apt@default:false,org.eclipse.rse.ui@default:default,org.eclipse.wst.common.frameworks.ui@default:default,org.eclipse.jdt.junit.core@default:default,org.eclipse.equinox.p2.artifact.repository@default:default,org.eclipse.wst.server.core@default:default,org.apache.commons.net@default:default,org.eclipse.jdt.core@default:default,org.eclipse.jst.server.ui@default:default,org.eclipse.ui.intro@default:default,org.eclipse.wst.sse.core@default:default,org.eclipse.wst.web@default:default,org.eclipse.equ!
inox.http.servlet@default:default,org.eclipse.osgi.util@defaul!
t:defaul
t,org.eclipse.ecf.provider.filetransfer.ssl@default:false,org.eclipse.ecf.identity@default:default,org.eclipse.ui.workbench@default:default,org.eclipse.equinox.simpleconfigurator@1:true,org.sat4j.core@default:default,org.mortbay.jetty.util@default:default,javax.xml@default:default,org.eclipse.equinox.p2.ui@default:default,org.eclipse.equinox.simpleconfigurator.manipulator@default:default,org.eclipse.jem.beaninfo@default:default,javax.servlet.jsp@default:default,org.eclipse.jdt.debug@default:default,org.eclipse.ecf.ssl@default:false,org.eclipse.jst.j2ee.core@default:default,org.eclipse.core.net.linux.x86_64@default:false,org.eclipse.cdt.core@default:default,org.eclipse.core.filesystem.linux.x86_64@default:false,org.eclipse.emf.common.ui@default:default,org.eclipse.swtbot.ant.optional.junit4@default:false,org.eclipse.jem@default:default,org.eclipse.core.databinding@default:default,org.eclipse.jem.proxy@default:default,org.eclipse.core.variables@default:default,org.eclipse.core!
.commands@default:default,org.eclipse.equinox.p2.publisher@default:default,org.eclipse.equinox.p2.repository.tools@default:default,org.eclipse.ltk.core.refactoring@default:default,org.eclipse.rse.subsystems.files.core@default:default,org.eclipse.osgi@-1:true,org.eclipse.jst.server.core@default:default,org.eclipse.emf.edit.ui@default:default,org.eclipse.equinox.p2.repository@default:default,org.eclipse.wst.jsdt.manipulation@default:default,org.eclipse.emf.ecore.xmi@default:default,org.jboss.ide.eclipse.archives.ui@default:default,org.eclipse.core.runtime@default:true,org.jboss.ide.eclipse.archives.core@default:default,org.eclipse.wst.common.frameworks@default:default,org.apache.commons.codec*1.3.0.v20100518-1140@default:default,org.eclipse.update.configurator@3:true,org.eclipse.rse.services.files.ftp@default:default,org.eclipse.jst.j2ee@default:default,org.eclipse.equinox.common@2:true,org.jboss.ide.eclipse.as.rse.ui@default:default,org.eclipse.equinox.p2.core@default:defaul!
t,org.eclipse.jem.workbench@default:default,org.eclipse.jst.j2!
ee.jca.u
i@default:default,org.eclipse.equinox.p2.operations@default:default,org.eclipse.ui.ide@default:default,org.eclipse.equinox.frameworkadmin.equinox@default:default,org.eclipse.wst.common.modulecore.ui@default:default,org.apache.xml.resolver@default:default,org.eclipse.equinox.preferences@default:default,org.eclipse.search@default:default,org.eclipse.compare.core@default:default,com.jcraft.jsch@default:default,org.hamcrest.core@default:default,org.eclipse.jem.beaninfo.vm.common@default:default,org.eclipse.debug.ui@default:default,org.eclipse.jst.j2ee.ui@default:default,org.apache.ant@default:default,org.eclipse.jdt.compiler.tool@default:false,org.eclipse.equinox.p2.metadata@default:default,org.eclipse.jdt.launching@default:default,org.eclipse.jst.jee@default:default,org.eclipse.rse.services.local@default:default,org.eclipse.jst.common.project.facet.ui@default:default,org.eclipse.osgi.services@default:default,org.eclipse.wst.common.project.facet.ui@default:default,javax.servlet@!
default:default,org.apache.jasper@default:default,org.eclipse.core.resources@default:default,org.eclipse.equinox.frameworkadmin@default:default,org.apache.xerces@default:default,org.eclipse.core.databinding.property@default:default,org.apache.commons.logging*1.0.4.v201005080501@default:default,org.eclipse.equinox.p2.engine@default:default,org.eclipse.wst.validation@default:default,org.eclipse.wst.jsdt.core@default:default,org.jboss.ide.eclipse.as.ui@default:default,org.eclipse.ui.views.log@default:default,org.eclipse.emf.ecore@default:default,org.eclipse.cdt.core.linux@default:false,org.eclipse.jst.j2ee.jca@default:default,org.eclipse.ui.navigator.resources@default:default,org.eclipse.rse.core@default:default,org.eclipse.jst.common.frameworks@default:default,org.eclipse.help.base@default:default,org.eclipse.help@default:default,org.eclipse.wst.common.core@default:default,org.eclipse.wst.common.ui@default:default,org.eclipse.wst.common.emf@default:default,org.eclipse.wst.ser!
ver.discovery@default:default,org.eclipse.jdt.core.manipulatio!
n@defaul
t:default,org.eclipse.jst.common.annotations.controller@default:default,org.eclipse.ecf.provider.filetransfer@default:default,org.eclipse.jem.beaninfo.vm@default:default,org.eclipse.team.core@default:default,org.eclipse.jdt.ui@default:default,org.eclipse.ecf.filetransfer@default:default,org.eclipse.ecf@default:default,org.eclipse.core.databinding.observable@default:default,org.eclipse.text@default:default,org.eclipse.wst.jsdt.ui@default:default,org.eclipse.wst.common.uriresolver@default:default,org.eclipse.team.ui@default:default,org.eclipse.emf.ecore.change@default:default,org.eclipse.equinox.p2.director@default:default,org.eclipse.jst.common.ui@default:default,org.apache.lucene@default:default,org.eclipse.jst.jee.ui@default:default,org.eclipse.jdt.junit.runtime@default:default,org.junit4@default:default,org.eclipse.equinox.p2.metadata.repository@default:default,org.eclipse.wst.common.emfworkbench.integration@default:default,org.eclipse.core.expressions@default:default,org.!
eclipse.equinox.security@default:default,org.jboss.ide.eclipse.as.core@default:default,org.eclipse.jface.databinding@default:default,org.eclipse.jst.j2ee.ejb.annotation.model@default:default,org.eclipse.wst.html.ui@default:default,org.jboss.ide.eclipse.as.wtp.core@default:default,org.eclipse.jst.servlet.ui@default:default,org.eclipse.wst.html.core@default:default,org.eclipse.equinox.registry@default:default,org.eclipse.ui.views.properties.tabbed@default:default,org.eclipse.core.runtime.compatibility@default:default,org.jboss.tools.jmx.ui@default:default,org.eclipse.swt.gtk.linux.x86_64@default:false,org.eclipse.ui.workbench.texteditor@default:default,org.eclipse.core.databinding.beans@default:default,org.eclipse.wst.web.ui@default:default,org.eclipse.equinox.p2.touchpoint.eclipse@default:default,org.eclipse.sdk@default:default,org.eclipse.core.jobs@default:default,org.eclipse.emf.codegen@default:default,org.apache.xml.serializer@default:default,org.eclipse.pde.core@default:!
default,org.jboss.tools.xulrunner.initializer@default:false,or!
g.sat4j.
pb@default:default,org.eclipse.jdt.debug.ui@default:default,org.eclipse.equinox.p2.jarprocessor@default:default,org.jboss.ide.eclipse.archives.webtools@default:default,org.eclipse.jdt.junit@default:default,com.instantiations.designer.jdt.fragment@default:false,org.eclipse.equinox.p2.director.app@default:default,org.eclipse.ui.ide.application@default:default,org.eclipse.emf.common@default:default,org.eclipse.wst.common.modulecore@default:default,org.eclipse.equinox.p2.garbagecollector@default:default,com.ibm.icu@default:default,org.eclipse.wst.internet.monitor.core@default:default,org.eclipse.wst.xml.core@default:default,org.eclipse.pde.build@default:default,org.apache.lucene.analysis@default:default,org.jboss.ide.eclipse.as.wtp.ui@default:default,org.eclipse.equinox.security.ui@default:default,org.eclipse.wst.server.ui@default:default,org.eclipse.core.contenttype@default:default,org.eclipse.jst.j2ee.web@default:default,org.eclipse.ant.core@default:default,org.eclipse.emf.edi!
t@default:default,org.eclipse.equinox.concurrent@default:default,org.junit*4.8.1.v4_8_1_v20100427-1100@default:default,org.eclipse.wst.sse.ui@default:default,org.eclipse.ui.browser@default:default,org.eclipse.compare@default:default,org.eclipse.debug.core@default:default,org.eclipse.jst.common.project.facet.core@default:default,org.eclipse.rse.subsystems.shells.core@default:default,org.eclipse.wst.css.ui@default:default,org.eclipse.ui.views@default:default,org.eclipse.core.filesystem@default:default,org.eclipse.wst.server.ui.doc.user@default:default,org.eclipse.ui.editors@default:default,org.eclipse.emf.ecore.edit@default:default,org.eclipse.jface@default:default,org.eclipse.ui.forms@default:default,org.eclipse.core.filebuffers@default:default,org.eclipse.equinox.http.jetty@default:default,org.jboss.tools.jmx.core@default:default,org.eclipse.core.runtime.compatibility.registry@default:false"/>
+<stringAttribute key="selected_workspace_plugins" value="org.jboss.tools.common@default:default,org.jboss.tools.deltacloud.ui@default:default,org.jboss.tools.usage@default:default,org.jboss.tools.deltacloud.core@default:default"/>
<booleanAttribute key="show_selected_only" value="false"/>
<stringAttribute key="templateConfig" value="${target_home}/configuration/config.ini"/>
<booleanAttribute key="tracing" value="false"/>
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVRootElement.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVRootElement.java 2010-11-16 18:49:18 UTC (rev 26636)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVRootElement.java 2010-11-16 19:30:38 UTC (rev 26637)
@@ -27,11 +27,18 @@
public CVRootElement(TreeViewer viewer) {
super(DeltaCloudManager.getDefault(), "root"); //$NON-NLS-1$
this.viewer = viewer;
- DeltaCloudPersistedConnectionsException loadCloudsErrors = DeltaCloudManager.getDefault().loadClouds();
- ErrorUtils.openErrorDialog(
+ loadClouds();
+ }
+
+ private void loadClouds() {
+ try {
+ DeltaCloudManager.getDefault().loadClouds();
+ } catch (DeltaCloudPersistedConnectionsException e) {
+ ErrorUtils.openErrorDialog(
"Error",
- "Colud load clouds",
- loadCloudsErrors.getErrors(), Display.getDefault().getActiveShell());
+ "Could not load all clouds",
+ e.getErrors(), Display.getDefault().getActiveShell());
+ }
}
@Override
15 years, 5 months
JBoss Tools SVN: r26636 - in trunk/hibernatetools/plugins: org.hibernate.eclipse.console/src/org/hibernate/eclipse/console and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2010-11-16 13:49:18 -0500 (Tue, 16 Nov 2010)
New Revision: 26636
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/EclipseLaunchConsoleConfigurationPreferences.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenXMLFactory.java
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationFactory.java
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConnectionProfileUtil.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateInitWizardPage.java
Log:
https://jira.jboss.org/browse/JBIDE-7619 - fixed
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationFactory.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationFactory.java 2010-11-16 18:41:31 UTC (rev 26635)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationFactory.java 2010-11-16 18:49:18 UTC (rev 26636)
@@ -42,7 +42,6 @@
import org.dom4j.io.DOMWriter;
import org.eclipse.datatools.connectivity.IConnectionProfile;
import org.eclipse.datatools.connectivity.ProfileManager;
-import org.eclipse.datatools.connectivity.drivers.DriverInstance;
import org.eclipse.datatools.connectivity.drivers.jdbc.IJDBCDriverDefinitionConstants;
import org.eclipse.osgi.util.NLS;
import org.hibernate.HibernateException;
@@ -375,18 +374,15 @@
IConnectionProfile profile = ProfileManager.getInstance().getProfileByName(
connProfileName);
if (profile != null) {
- DriverInstance driverInstance = ConnectionProfileUtil.getDriverDefinition(connProfileName);
final Properties cpProperties = profile.getProperties(profile.getProviderId());
final Properties invokeProperties = localCfg.getProperties();
// set this property to null!
invokeProperties.remove(Environment.DATASOURCE);
localCfg.setProperties(invokeProperties);
// seems we should not setup dialect here
- // String dialect =
- // "org.hibernate.dialect.HSQLDialect";//cpProperties.getProperty(IJDBCDriverDefinitionConstants.DRIVER_CLASS_PROP_ID);
- // invoke.setProperty(Environment.DIALECT, dialect);
- String driverClass = driverInstance != null ?
- driverInstance.getProperty(IJDBCDriverDefinitionConstants.DRIVER_CLASS_PROP_ID) : ""; //$NON-NLS-1$
+ //String dialect = "org.hibernate.dialect.HSQLDialect";
+ //invoke.setProperty(Environment.DIALECT, dialect);
+ String driverClass = ConnectionProfileUtil.getDriverClass(connProfileName);
localCfg.setProperty(Environment.DRIVER, driverClass);
//String driverJarPath = driverInstance != null ?
// driverInstance.getJarList() : ""; //$NON-NLS-1$
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConnectionProfileUtil.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConnectionProfileUtil.java 2010-11-16 18:41:31 UTC (rev 26635)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConnectionProfileUtil.java 2010-11-16 18:49:18 UTC (rev 26636)
@@ -25,6 +25,7 @@
import org.eclipse.datatools.connectivity.IConnectionProfile;
import org.eclipse.datatools.connectivity.ProfileManager;
import org.eclipse.datatools.connectivity.drivers.DriverInstance;
+import org.eclipse.datatools.connectivity.drivers.jdbc.IJDBCDriverDefinitionConstants;
/**
* @author Vitali Yemialyanchyk
@@ -64,4 +65,10 @@
return di.getJarList();
}
+ public static String getDriverClass(String connectionProfile) {
+ DriverInstance di = getDriverDefinition(connectionProfile);
+ String driverClass = di != null ?
+ di.getProperty(IJDBCDriverDefinitionConstants.DRIVER_CLASS_PROP_ID) : ""; //$NON-NLS-1$
+ return driverClass;
+ }
}
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/EclipseLaunchConsoleConfigurationPreferences.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/EclipseLaunchConsoleConfigurationPreferences.java 2010-11-16 18:41:31 UTC (rev 26635)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/EclipseLaunchConsoleConfigurationPreferences.java 2010-11-16 18:49:18 UTC (rev 26636)
@@ -15,14 +15,12 @@
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
-import org.eclipse.datatools.connectivity.IConnectionProfile;
-import org.eclipse.datatools.connectivity.ProfileManager;
-import org.eclipse.datatools.connectivity.drivers.jdbc.IJDBCDriverDefinitionConstants;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
import org.eclipse.jpt.core.JpaDataSource;
import org.eclipse.jpt.core.JpaProject;
import org.eclipse.osgi.util.NLS;
+import org.hibernate.console.ConnectionProfileUtil;
import org.hibernate.console.HibernateConsoleRuntimeException;
import org.hibernate.console.preferences.ConsoleConfigurationPreferences;
import org.hibernate.eclipse.console.utils.ClassLoaderHelper;
@@ -210,9 +208,7 @@
String dialect = getAttribute( IConsoleConfigurationLaunchConstants.DIALECT, null );
// determine dialect when connection profile is used
if (dialect == null && getConnectionProfileName() != null) {
- IConnectionProfile profile = ProfileManager.getInstance().getProfileByName(getConnectionProfileName());
- if (profile == null) return null;
- String driver = profile.getProperties(profile.getProviderId()).getProperty(IJDBCDriverDefinitionConstants.DRIVER_CLASS_PROP_ID);
+ String driver = ConnectionProfileUtil.getDriverClass(getConnectionProfileName());
dialect = new DriverClassHelpers().getDialect(driver);
}
return dialect;
@@ -232,10 +228,10 @@
JpaProject jpaProject = (JpaProject) project.getAdapter(JpaProject.class);
if (jpaProject != null) {
if (jpaProject.getUserOverrideDefaultCatalog() != null){
- prop.put("hibernate.default_catalog", jpaProject.getUserOverrideDefaultCatalog());
+ prop.put("hibernate.default_catalog", jpaProject.getUserOverrideDefaultCatalog()); //$NON-NLS-1$
}
if (jpaProject.getUserOverrideDefaultSchema() != null){
- prop.put("hibernate.default_schema", jpaProject.getUserOverrideDefaultSchema());
+ prop.put("hibernate.default_schema", jpaProject.getUserOverrideDefaultSchema()); //$NON-NLS-1$
}
}
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenXMLFactory.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenXMLFactory.java 2010-11-16 18:41:31 UTC (rev 26635)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenXMLFactory.java 2010-11-16 18:49:18 UTC (rev 26636)
@@ -33,7 +33,6 @@
import org.eclipse.core.runtime.Path;
import org.eclipse.datatools.connectivity.IConnectionProfile;
import org.eclipse.datatools.connectivity.ProfileManager;
-import org.eclipse.datatools.connectivity.drivers.DriverInstance;
import org.eclipse.datatools.connectivity.drivers.jdbc.IJDBCDriverDefinitionConstants;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.hibernate.cfg.Environment;
@@ -415,20 +414,9 @@
}
return profile;
}
-
- public DriverInstance getDriverInstance(String connProfileName) {
- DriverInstance driverInstance = null;
- if (!isEmpty(connProfileName)) {
- driverInstance = ConnectionProfileUtil.getDriverDefinition(connProfileName);
- }
- return driverInstance;
- }
public String getDriverClass(String connProfileName) {
- DriverInstance driverInstance = getDriverInstance(connProfileName);
- String driverClass = driverInstance != null ?
- driverInstance.getProperty(IJDBCDriverDefinitionConstants.DRIVER_CLASS_PROP_ID) : ""; //$NON-NLS-1$
- return driverClass;
+ return ConnectionProfileUtil.getDriverClass(connProfileName);
}
public String getVar(String str) {
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateInitWizardPage.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateInitWizardPage.java 2010-11-16 18:41:31 UTC (rev 26635)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateInitWizardPage.java 2010-11-16 18:49:18 UTC (rev 26636)
@@ -40,6 +40,7 @@
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Group;
+import org.hibernate.console.ConnectionProfileUtil;
import org.hibernate.console.ConsoleConfiguration;
import org.hibernate.console.KnownConfigurations;
import org.hibernate.console.preferences.ConsoleConfigurationPreferences;
@@ -340,8 +341,7 @@
return helper.getDialectClass(dialectName.getText());
}
if (!selectMethod.getSelection()){
- IConnectionProfile profile = ProfileManager.getInstance().getProfileByName(getConnectionProfileName());
- String driver = profile.getProperties(profile.getProviderId()).getProperty(IJDBCDriverDefinitionConstants.DRIVER_CLASS_PROP_ID);
+ String driver = ConnectionProfileUtil.getDriverClass(getConnectionProfileName());
return helper.getDialect(driver);
}
return null;
15 years, 5 months
JBoss Tools SVN: r26635 - trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/module.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2010-11-16 13:41:31 -0500 (Tue, 16 Nov 2010)
New Revision: 26635
Modified:
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/module/JBTBPELPublisher.java
Log:
OPEN - issue JBIDE-7620: Server view throws an NPE if process no longer exists in app server
https://jira.jboss.org/browse/JBIDE-7620
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 2010-11-16 18:41:13 UTC (rev 26634)
+++ trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/module/JBTBPELPublisher.java 2010-11-16 18:41:31 UTC (rev 26635)
@@ -86,7 +86,9 @@
IModule last = module[module.length-1];
IStatus status = null;
if(publishType == REMOVE_PUBLISH){
- removeAll(server, last.getProject());
+ // https://jira.jboss.org/browse/JBIDE-7620
+ if (last.getProject()!=null)
+ removeAll(server, last.getProject());
} else if( publishType == FULL_PUBLISH ){
// Publish a new version forced
status = publish(module, delta, publishType, monitor);
15 years, 5 months
JBoss Tools SVN: r26634 - workspace/rstryker/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/module.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2010-11-16 13:41:13 -0500 (Tue, 16 Nov 2010)
New Revision: 26634
Modified:
workspace/rstryker/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/module/JBTBPELPublisher.java
Log:
OPEN - issue JBIDE-7620: Server view throws an NPE if process no longer exists in app server
https://jira.jboss.org/browse/JBIDE-7620
Modified: workspace/rstryker/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/module/JBTBPELPublisher.java
===================================================================
--- workspace/rstryker/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/module/JBTBPELPublisher.java 2010-11-16 18:35:07 UTC (rev 26633)
+++ workspace/rstryker/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/module/JBTBPELPublisher.java 2010-11-16 18:41:13 UTC (rev 26634)
@@ -90,7 +90,9 @@
IModule last = module[module.length-1];
IStatus status = null;
if(publishType == REMOVE_PUBLISH){
- removeAll(server, last.getProject());
+ // https://jira.jboss.org/browse/JBIDE-7620
+ if (last.getProject()!=null)
+ removeAll(server, last.getProject());
} else if( publishType == FULL_PUBLISH ){
// Publish a new version forced
status = publish(module, delta, publishType, monitor);
15 years, 5 months
JBoss Tools SVN: r26633 - in trunk/build: results and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-11-16 13:35:07 -0500 (Tue, 16 Nov 2010)
New Revision: 26633
Modified:
trunk/build/publish.sh
trunk/build/results/build.xml
Log:
rename download-snippet.txt to download-snippet.html
Modified: trunk/build/publish.sh
===================================================================
--- trunk/build/publish.sh 2010-11-16 18:33:24 UTC (rev 26632)
+++ trunk/build/publish.sh 2010-11-16 18:35:07 UTC (rev 26633)
@@ -146,12 +146,12 @@
done
echo "" >> ${STAGINGDIR}/logs/${METAFILE}
-# generate HTML snippet, download-snippet.txt, for inclusion on jboss.org
+# generate HTML snippet, download-snippet.html, for inclusion on jboss.org
#if [[ ${RELEASE} == "Yes" ]]; then
mkdir -p ${STAGINGDIR}/logs
ANT_PARAMS="-v -DZIPSUFFIX=${ZIPSUFFIX} -DJOB_NAME=${JOB_NAME} -Dinput.dir=${STAGINGDIR} -Doutput.dir=${STAGINGDIR}/logs -DWORKSPACE=${WORKSPACE}"
if [[ ${JOB_NAME/.aggregate} != ${JOB_NAME} ]]; then # reuse snippet from upstream build
- ANT_PARAMS="${ANT_PARAMS} -Dtemplate.file=http://download.jboss.org/jbosstools/builds/staging/${JOB_NAME/.aggregate/.continuous}/logs/download-snippet.txt"
+ ANT_PARAMS="${ANT_PARAMS} -Dtemplate.file=http://download.jboss.org/jbosstools/builds/staging/${JOB_NAME/.aggregate/.continuous}/logs/download-snippet.html"
fi
for buildxml in ${WORKSPACE}/build/results/build.xml ${WORKSPACE}/sources/build/results/build.xml ${WORKSPACE}/sources/results/build.xml; do
if [[ -f ${buildxml} ]]; then
Modified: trunk/build/results/build.xml
===================================================================
--- trunk/build/results/build.xml 2010-11-16 18:33:24 UTC (rev 26632)
+++ trunk/build/results/build.xml 2010-11-16 18:35:07 UTC (rev 26633)
@@ -92,7 +92,7 @@
<target name="build.results" depends="init">
<!--
1. resolve variables in download-template.xml to produce download.xml
- 2. XSL transform download.xml to produce download-snippet.txt
+ 2. XSL transform download.xml to produce download-snippet.html
3. manually copy the contents of this file into a page under
http://www.jboss.org/tools/downloads/
-->
@@ -170,7 +170,7 @@
<expandproperties />
</filterchain>
</copy>
- <xslt in="${output.dir}/download.xml" out="${output.dir}/download-snippet.txt" style="download.xsl" />
+ <xslt in="${output.dir}/download.xml" out="${output.dir}/download-snippet.html" style="download.xsl" />
<xslt in="${output.dir}/download.xml" out="${output.dir}/buildResults.html" style="buildResults.xsl" />
<copy todir="${output.dir}" file="buildResults.css"/>
<delete file="${output.dir}/download.xml" />
@@ -191,7 +191,7 @@
<!-- use pre-existing snippet file -->
<copy todir="${output.dir}" overwrite="true">
<fileset dir="${output.dir}" file="${template.file.cleaned}.in" />
- <mapper type="merge" to="download-snippet.txt" />
+ <mapper type="merge" to="download-snippet.html" />
<filterchain>
<expandproperties />
</filterchain>
@@ -208,7 +208,7 @@
<expandproperties />
</filterchain>
</copy>
- <xslt in="${output.dir}/download.xml" out="${output.dir}/download-snippet.txt" style="download.xsl" />
+ <xslt in="${output.dir}/download.xml" out="${output.dir}/download-snippet.html" style="download.xsl" />
<delete file="${output.dir}/download.xml" />
</else>
</if>
15 years, 5 months
JBoss Tools SVN: r26632 - in trunk/bpel/plugins/org.eclipse.bpel.common.ui: src/org/eclipse/bpel/common/ui and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2010-11-16 13:33:24 -0500 (Tue, 16 Nov 2010)
New Revision: 26632
Added:
trunk/bpel/plugins/org.eclipse.bpel.common.ui/src/org/eclipse/bpel/common/ui/ResourceMarkerDecorator.java
Modified:
trunk/bpel/plugins/org.eclipse.bpel.common.ui/plugin.xml
Log:
OPEN - issue JBIDE-6016: Error markers are not removed after correcting BPEL
https://jira.jboss.org/browse/JBIDE-6016
Modified: trunk/bpel/plugins/org.eclipse.bpel.common.ui/plugin.xml
===================================================================
--- trunk/bpel/plugins/org.eclipse.bpel.common.ui/plugin.xml 2010-11-16 17:28:30 UTC (rev 26631)
+++ trunk/bpel/plugins/org.eclipse.bpel.common.ui/plugin.xml 2010-11-16 18:33:24 UTC (rev 26632)
@@ -59,5 +59,28 @@
name="BPEL Process"
priority="normal"/>
</extension>
+
+ <!-- https://jira.jboss.org/browse/JBIDE-6016 -->
+ <extension
+ point="org.eclipse.ui.decorators">
+ <decorator
+ adaptable="true"
+ location="BOTTOM_LEFT"
+ lightweight="true"
+ label="BPEL File Decorator"
+ state="true"
+ class="org.eclipse.bpel.common.ui.ResourceMarkerDecorator"
+ id="org.eclipse.bpel.ui.decorators">
+ <enablement>
+ <and>
+ <objectClass name="org.eclipse.core.resources.IFile"/>
+ <objectState
+ name="contentTypeId"
+ value="org.eclipse.bpel.contenttype">
+ </objectState>
+ </and>
+ </enablement>
+ </decorator>
+ </extension>
</plugin>
Added: trunk/bpel/plugins/org.eclipse.bpel.common.ui/src/org/eclipse/bpel/common/ui/ResourceMarkerDecorator.java
===================================================================
--- trunk/bpel/plugins/org.eclipse.bpel.common.ui/src/org/eclipse/bpel/common/ui/ResourceMarkerDecorator.java (rev 0)
+++ trunk/bpel/plugins/org.eclipse.bpel.common.ui/src/org/eclipse/bpel/common/ui/ResourceMarkerDecorator.java 2010-11-16 18:33:24 UTC (rev 26632)
@@ -0,0 +1,86 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.eclipse.bpel.common.ui;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IMarker;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IResourceChangeEvent;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.jface.viewers.IDecoration;
+import org.eclipse.jface.viewers.ILabelProviderListener;
+import org.eclipse.jface.viewers.ILightweightLabelDecorator;
+
+/**
+ * Lightweight icon decorator for error/warning/info icons in Navigator view
+ *
+ * @see https://jira.jboss.org/browse/JBIDE-6016
+ * @author Bob Brodt
+ * @date Nov 16, 2010
+ */
+public class ResourceMarkerDecorator implements ILightweightLabelDecorator, ICommonUIConstants {
+
+ private static ImageDescriptor img_error;
+ private static ImageDescriptor img_warning;
+ private static ImageDescriptor img_info;
+
+ public ResourceMarkerDecorator()
+ {
+ super();
+
+ img_error = CommonUIPlugin.getDefault().getImageRegistry().getDescriptor(ICommonUIConstants.ICON_ERROR);
+ img_warning = CommonUIPlugin.getDefault().getImageRegistry().getDescriptor(ICommonUIConstants.ICON_WARNING);
+ img_info = CommonUIPlugin.getDefault().getImageRegistry().getDescriptor(ICommonUIConstants.ICON_INFO);
+ }
+
+ public void addListener(ILabelProviderListener listener) {
+ }
+
+ public void dispose() {
+ }
+
+ public boolean isLabelProperty(Object arg0, String arg1) {
+ return false;
+ }
+
+ public void removeListener(ILabelProviderListener listener) {
+ }
+
+ public void decorate(Object element, IDecoration decoration) {
+ try {
+ int severity = ((IResource)element).findMaxProblemSeverity(IMarker.PROBLEM, true, IResource.DEPTH_ONE);
+ switch (severity) {
+ case IMarker.SEVERITY_ERROR:
+ decoration.addOverlay(img_error);
+ break;
+ case IMarker.SEVERITY_WARNING:
+ decoration.addOverlay(img_warning);
+ break;
+ case IMarker.SEVERITY_INFO:
+ decoration.addOverlay(img_info);
+ break;
+ }
+ }
+ catch(Exception e) {
+ }
+ }
+}
15 years, 5 months
JBoss Tools SVN: r26631 - in trunk/deltacloud/plugins: org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-11-16 12:28:30 -0500 (Tue, 16 Nov 2010)
New Revision: 26631
Added:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudPersistedConnectionsException.java
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudManager.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/ErrorUtils.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVInstancesCategoryElement.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVRootElement.java
Log:
[JBIDE-7597] removed implicit loading of persisted connections. moved to explicit loading. Collecting exceptions and returning them as errors that occurred. Reporting them to the user.
This is an initial non-optimal but working implementation (kinda POC)
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog 2010-11-16 17:21:41 UTC (rev 26630)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog 2010-11-16 17:28:30 UTC (rev 26631)
@@ -1,5 +1,9 @@
2010-11-16 André Dietisheim <adietish(a)redhat.com>
+ * src/org/jboss/tools/deltacloud/core/DeltaCloudManager.java (DeltaCloudManager):
+ [JBIDE-7597] removed implicit loading of persisted connections. moved to explicit loading.
+ (loadClouds):
+ [JBIDE-7597] collecting exceptions are returning them as errors.
* src/org/jboss/tools/deltacloud/core/client/Image.java:
* src/org/jboss/tools/deltacloud/core/DeltaCloudImage.java:
* src/org/jboss/tools/deltacloud/core/DeltaCloudInstance.java
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudManager.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudManager.java 2010-11-16 17:21:41 UTC (rev 26630)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudManager.java 2010-11-16 17:28:30 UTC (rev 26631)
@@ -15,36 +15,36 @@
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
+import java.net.MalformedURLException;
import java.util.ArrayList;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.ListenerList;
import org.eclipse.equinox.security.storage.ISecurePreferences;
import org.eclipse.equinox.security.storage.SecurePreferencesFactory;
+import org.eclipse.equinox.security.storage.StorageException;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
-import org.xml.sax.SAXException;
public class DeltaCloudManager {
+ private static final DeltaCloudManager INSTANCE = new DeltaCloudManager();
+
public final static String CLOUDFILE_NAME = "clouds.xml"; //$NON-NLS-1$
-
- private static DeltaCloudManager cloudManager;
private ArrayList<DeltaCloud> clouds = new ArrayList<DeltaCloud>();
private ListenerList cloudManagerListeners;
private DeltaCloudManager() {
- loadClouds();
}
- private void loadClouds() {
+ public DeltaCloudPersistedConnectionsException loadClouds() {
+ DeltaCloudPersistedConnectionsException connectionException = new DeltaCloudPersistedConnectionsException();
IPath stateLocation = Activator.getDefault().getStateLocation();
File cloudFile = stateLocation.append(CLOUDFILE_NAME).toFile();
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
@@ -52,26 +52,27 @@
DocumentBuilder db = dbf.newDocumentBuilder();
if (cloudFile.exists()) {
Document d = db.parse(cloudFile);
- Element e = d.getDocumentElement();
+ Element element = d.getDocumentElement();
// Get the stored configuration data
- NodeList cloudNodes = e.getElementsByTagName("cloud"); // $NON-NLS-1$
+ NodeList cloudNodes = element.getElementsByTagName("cloud"); // $NON-NLS-1$
for (int x = 0; x < cloudNodes.getLength(); ++x) {
Node n = cloudNodes.item(x);
- loadCloud(n);
+ try {
+ String name = getCloudName(n);
+ loadCloud(name, n);
+ } catch (StorageException e) {
+ connectionException.addError(e);
+ }
}
}
- } catch (ParserConfigurationException e) {
- Activator.log(e);
- } catch (SAXException e) {
- Activator.log(e);
- } catch (IOException e) {
- Activator.log(e);
+ } catch (Exception e) {
+ connectionException.addError(e);
}
+ return connectionException;
}
- private void loadCloud(Node n) {
+ private void loadCloud(String name, Node n) throws StorageException, MalformedURLException, DeltaCloudException {
NamedNodeMap attrs = n.getAttributes();
- String name = attrs.getNamedItem("name").getNodeValue(); // $NON-NLS-1$
String url = attrs.getNamedItem("url").getNodeValue(); // $NON-NLS-1$
String username = attrs.getNamedItem("username").getNodeValue(); // $NON-NLS-1$
String type = attrs.getNamedItem("type").getNodeValue(); // $NON-NLS-1$
@@ -82,20 +83,20 @@
String lastImageId = getLastKeyName(attrs.getNamedItem("lastimage")); // $NON-NLS-1$
ISecurePreferences root = SecurePreferencesFactory.getDefault();
ISecurePreferences node = root.node(key);
- try {
- String password = node.get("password", null); //$NON-NLS-1$
- DeltaCloud cloud = new DeltaCloud(name, url, username, password, type,
- false, imageFilterRules, instanceFilterRules);
- cloud.setLastImageId(lastImageId);
- cloud.setLastKeyname(lastKeyName);
- cloud.loadChildren();
- clouds.add(cloud);
- } catch (Exception e1) {
- Activator.log(e1);
- return;
- }
+ String password = node.get("password", null); //$NON-NLS-1$
+ DeltaCloud cloud = new DeltaCloud(
+ name, url, username, password, type, false, imageFilterRules, instanceFilterRules);
+ cloud.setLastImageId(lastImageId);
+ cloud.setLastKeyname(lastKeyName);
+ cloud.loadChildren();
+ clouds.add(cloud);
}
+ private String getCloudName(Node n) {
+ String name = n.getAttributes().getNamedItem("name").getNodeValue(); // $NON-NLS-1$
+ return name;
+ }
+
private String getLastKeyName(Node lastKeyNameNode) {
String lastKeyName = "";
if (lastKeyNameNode != null) {
@@ -160,9 +161,7 @@
}
public static DeltaCloudManager getDefault() {
- if (cloudManager == null)
- cloudManager = new DeltaCloudManager();
- return cloudManager;
+ return INSTANCE;
}
public DeltaCloud[] getClouds() {
@@ -204,9 +203,11 @@
/**
* Checks if any cloud uses the given url and username
- *
- * @param url the url
- * @param userName the user name
+ *
+ * @param url
+ * the url
+ * @param userName
+ * the user name
* @return true, if is checks for any cloud
*/
private boolean isHasAnyCloud(String url, String userName) {
Added: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudPersistedConnectionsException.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudPersistedConnectionsException.java (rev 0)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudPersistedConnectionsException.java 2010-11-16 17:28:30 UTC (rev 26631)
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.deltacloud.core;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * An exception that holds all errors that occured when loading persisted
+ * connections to deltacloud servers.
+ */
+public class DeltaCloudPersistedConnectionsException extends Exception {
+
+ private static final long serialVersionUID = 1L;
+
+ private ArrayList<Throwable> throwables;
+
+ public DeltaCloudPersistedConnectionsException() {
+ super();
+ this.throwables = new ArrayList<Throwable>();
+ }
+
+ public void addError(Throwable throwable) {
+ throwables.add(throwable);
+ }
+
+ public List<Throwable> getErrors() {
+ return throwables;
+ }
+}
Property changes on: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudPersistedConnectionsException.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-11-16 17:21:41 UTC (rev 26630)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-11-16 17:28:30 UTC (rev 26631)
@@ -1,5 +1,7 @@
2010-11-16 André Dietisheim <adietish(a)redhat.com>
+ * src/org/jboss/tools/deltacloud/ui/views/CVRootElement.java (CVRootElement):
+ [JBIDE-7597] removed implicit loading of persisted connections. moved to explicit loading.
* src/org/jboss/tools/deltacloud/ui/views/InstanceViewLabelAndContentProvider.java (inputChanged):
* src/org/jboss/tools/deltacloud/ui/views/InstancePropertySource.java (getKey):
[JBIDE-7597] errors while loading images/instances are now reported (exceptions are not swallowed any longer)
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/ErrorUtils.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/ErrorUtils.java 2010-11-16 17:21:41 UTC (rev 26630)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/ErrorUtils.java 2010-11-16 17:28:30 UTC (rev 26631)
@@ -10,14 +10,17 @@
******************************************************************************/
package org.jboss.tools.deltacloud.ui;
+import java.util.Collection;
+
import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.MultiStatus;
import org.eclipse.jface.dialogs.ErrorDialog;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.jboss.tools.common.log.StatusFactory;
public class ErrorUtils {
- public static IStatus openErrorDialog(final String title, final String message, Exception e, final Shell shell) {
+ public static IStatus openErrorDialog(final String title, final String message, Throwable e, final Shell shell) {
final IStatus status = StatusFactory.getInstance(IStatus.ERROR, Activator.PLUGIN_ID, e.getMessage(), e);
Display.getDefault().syncExec(new Runnable() {
public void run() {
@@ -26,4 +29,25 @@
});
return status;
}
+
+ public static IStatus openErrorDialog(final String title, final String message, Collection<Throwable> throwables, final Shell shell) {
+ final IStatus status = createMultiStatus(message, throwables);
+ Display.getDefault().syncExec(new Runnable() {
+ public void run() {
+ ErrorDialog.openError(shell, title, message, status);
+ }
+ });
+ return status;
+ }
+
+ // TODO: move to appropriate util class
+ private static IStatus createMultiStatus(String message, Collection<Throwable> throwables) {
+ MultiStatus multiStatus = new MultiStatus(Activator.PLUGIN_ID, 0, message, null);
+ for(Throwable e : throwables) {
+ IStatus childStatus = StatusFactory.getInstance(IStatus.ERROR, Activator.PLUGIN_ID, e.getMessage(), e);
+ multiStatus.add(childStatus );
+ }
+ return multiStatus;
+ }
+
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVInstancesCategoryElement.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVInstancesCategoryElement.java 2010-11-16 17:21:41 UTC (rev 26630)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVInstancesCategoryElement.java 2010-11-16 17:28:30 UTC (rev 26631)
@@ -76,6 +76,7 @@
initialized = true;
cloud.addInstanceListListener(this);
} catch (Exception e) {
+ // TODO: internationalize strings
ErrorUtils.openErrorDialog(
"Error",
"Colud not get instances from cloud " + cloud.getName(),
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVRootElement.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVRootElement.java 2010-11-16 17:21:41 UTC (rev 26630)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVRootElement.java 2010-11-16 17:28:30 UTC (rev 26631)
@@ -15,7 +15,9 @@
import org.eclipse.ui.views.properties.IPropertySource;
import org.jboss.tools.deltacloud.core.DeltaCloud;
import org.jboss.tools.deltacloud.core.DeltaCloudManager;
+import org.jboss.tools.deltacloud.core.DeltaCloudPersistedConnectionsException;
import org.jboss.tools.deltacloud.core.ICloudManagerListener;
+import org.jboss.tools.deltacloud.ui.ErrorUtils;
public class CVRootElement extends CloudViewElement implements ICloudManagerListener {
@@ -25,8 +27,13 @@
public CVRootElement(TreeViewer viewer) {
super(DeltaCloudManager.getDefault(), "root"); //$NON-NLS-1$
this.viewer = viewer;
+ DeltaCloudPersistedConnectionsException loadCloudsErrors = DeltaCloudManager.getDefault().loadClouds();
+ ErrorUtils.openErrorDialog(
+ "Error",
+ "Colud load clouds",
+ loadCloudsErrors.getErrors(), Display.getDefault().getActiveShell());
}
-
+
@Override
public IPropertySource getPropertySource() {
// no property source for the root element
@@ -54,7 +61,7 @@
DeltaCloudManager.getDefault().removeCloudManagerListener(this);
super.finalize();
}
-
+
public void changeEvent(int type) {
DeltaCloudManager m = DeltaCloudManager.getDefault();
m.removeCloudManagerListener(this);
@@ -69,7 +76,7 @@
Display.getDefault().asyncExec(new Runnable() {
@Override
public void run() {
- ((TreeViewer)viewer).refresh(this, false);
+ ((TreeViewer) viewer).refresh(this, false);
}
});
}
15 years, 5 months
JBoss Tools SVN: r26630 - trunk/build/aggregate/site.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-11-16 12:21:41 -0500 (Tue, 16 Nov 2010)
New Revision: 26630
Modified:
trunk/build/aggregate/site/pom.xml
Log:
add jmx repo to agg
Modified: trunk/build/aggregate/site/pom.xml
===================================================================
--- trunk/build/aggregate/site/pom.xml 2010-11-16 17:15:24 UTC (rev 26629)
+++ trunk/build/aggregate/site/pom.xml 2010-11-16 17:21:41 UTC (rev 26630)
@@ -21,7 +21,10 @@
<inputRepo3>http://download.jboss.org/jbosstools/builds/staging/jbosstools-teiid-desi...</inputRepo3>
<inputRepo4>http://download.jboss.org/jbosstools/builds/staging/jbosstools-drools-5.2</inputRepo4>
<inputRepo5>http://download.jboss.org/jbosstools/builds/staging/jbosstools-savara-1.1.x</inputRepo5>
- <inputRepos>1,2,3,4,5</inputRepos>
+ <inputRepo6>http://download.jboss.org/jbosstools/builds/staging/jbosstools-tests</inputRepo6>
+ <inputRepo7>http://download.jboss.org/jbosstools/builds/staging/jbosstools-common</inputRepo7>
+ <inputRepo8>http://download.jboss.org/jbosstools/builds/staging/jbosstools-jmx</inputRepo8>
+ <inputRepos>1,2,3,4,5,6,7,8</inputRepos>
</properties>
<build>
@@ -42,6 +45,9 @@
<property name="inputRepo3" value="${inputRepo3}" />
<property name="inputRepo4" value="${inputRepo4}" />
<property name="inputRepo5" value="${inputRepo5}" />
+ <property name="inputRepo6" value="${inputRepo6}" />
+ <property name="inputRepo7" value="${inputRepo7}" />
+ <property name="inputRepo8" value="${inputRepo8}" />
<property name="inputRepos" value="${inputRepos}" />
<!-- called AFTER generating update site + zip to add in extra content -->
@@ -123,6 +129,30 @@
<enabled>true</enabled>
</snapshots>
</repository>
+ <repository>
+ <id>inputRepo6</id>
+ <url>${inputRepo6}/tools/</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>inputRepo7</id>
+ <url>${inputRepo7}/tools/</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>inputRepo8</id>
+ <url>${inputRepo8}/tools/</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
</repositories>
<profiles>
15 years, 5 months
JBoss Tools SVN: r26629 - in trunk/jmx: plugins/org.jboss.tools.jmx.ui and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-11-16 12:15:24 -0500 (Tue, 16 Nov 2010)
New Revision: 26629
Added:
trunk/jmx/plugins/org.jboss.tools.jmx.core/.gitignore
trunk/jmx/plugins/org.jboss.tools.jmx.ui/.gitignore
trunk/jmx/tests/org.jboss.tools.jmx.core.test/.gitignore
trunk/jmx/tests/org.jboss.tools.jmx.ui.test/.gitignore
Log:
gitignore
Added: trunk/jmx/plugins/org.jboss.tools.jmx.core/.gitignore
===================================================================
--- trunk/jmx/plugins/org.jboss.tools.jmx.core/.gitignore (rev 0)
+++ trunk/jmx/plugins/org.jboss.tools.jmx.core/.gitignore 2010-11-16 17:15:24 UTC (rev 26629)
@@ -0,0 +1 @@
+bin
Added: trunk/jmx/plugins/org.jboss.tools.jmx.ui/.gitignore
===================================================================
--- trunk/jmx/plugins/org.jboss.tools.jmx.ui/.gitignore (rev 0)
+++ trunk/jmx/plugins/org.jboss.tools.jmx.ui/.gitignore 2010-11-16 17:15:24 UTC (rev 26629)
@@ -0,0 +1 @@
+bin
Added: trunk/jmx/tests/org.jboss.tools.jmx.core.test/.gitignore
===================================================================
--- trunk/jmx/tests/org.jboss.tools.jmx.core.test/.gitignore (rev 0)
+++ trunk/jmx/tests/org.jboss.tools.jmx.core.test/.gitignore 2010-11-16 17:15:24 UTC (rev 26629)
@@ -0,0 +1 @@
+bin
Added: trunk/jmx/tests/org.jboss.tools.jmx.ui.test/.gitignore
===================================================================
--- trunk/jmx/tests/org.jboss.tools.jmx.ui.test/.gitignore (rev 0)
+++ trunk/jmx/tests/org.jboss.tools.jmx.ui.test/.gitignore 2010-11-16 17:15:24 UTC (rev 26629)
@@ -0,0 +1 @@
+bin
15 years, 5 months
JBoss Tools SVN: r26628 - trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-11-16 11:39:11 -0500 (Tue, 16 Nov 2010)
New Revision: 26628
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamEARTest.java
Log:
JBIDE-7615
https://jira.jboss.org/browse/JBIDE-7615
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamEARTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamEARTest.java 2010-11-16 16:27:02 UTC (rev 26627)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamEARTest.java 2010-11-16 16:39:11 UTC (rev 26628)
@@ -86,8 +86,6 @@
c = seamProject.getComponent("org.jboss.seam.core.interpolator");
assertNotNull("War project must see component 'org.jboss.seam.core.interpolator' declared in ejb project", c);
- c = seamProject.getComponent("org.jboss.seam.security.credentials");
- assertNotNull("War project must see component 'org.jboss.seam.security.credentials' declared in ejb project", c);
}
/**
15 years, 5 months