JBoss Tools SVN: r38348 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2012-01-31 21:27:33 -0500 (Tue, 31 Jan 2012)
New Revision: 38348
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/TextNodeSplitterImpl.java
Log:
removed redundant if statement
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/TextNodeSplitterImpl.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/TextNodeSplitterImpl.java 2012-02-01 02:25:55 UTC (rev 38347)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/TextNodeSplitterImpl.java 2012-02-01 02:27:33 UTC (rev 38348)
@@ -84,8 +84,7 @@
}
private boolean isSpacing(String str){
- if("".endsWith(str.trim())) return true; //$NON-NLS-1$
- else return false;
+ return "".endsWith(str.trim());
}
private int getIndex(Node parentNode, Node child) {
12 years, 11 months
JBoss Tools SVN: r38347 - trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2012-01-31 21:25:55 -0500 (Tue, 31 Jan 2012)
New Revision: 38347
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/BrowserSim.java
Log:
Fixed exception handling
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/BrowserSim.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/BrowserSim.java 2012-02-01 01:34:33 UTC (rev 38346)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/BrowserSim.java 2012-02-01 02:25:55 UTC (rev 38347)
@@ -11,6 +11,7 @@
package org.jboss.tools.vpe.browsersim.ui;
import java.awt.Desktop;
+import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
@@ -305,9 +306,11 @@
try {
URL url = new URL(skin.getBrowser().getUrl()); // validate URL (to do not open 'about:blank' and similar)
Desktop.getDesktop().browse(url.toURI());
- } catch (Exception e1) {
+ } catch (IOException e1) {
showErrorMessage(skin.getShell(), Messages.BrowserSim_COULD_NOT_OPEN_DEFAULT_BROWSER + e1.getMessage());
- }
+ } catch (URISyntaxException e2) {
+ showErrorMessage(skin.getShell(), Messages.BrowserSim_COULD_NOT_OPEN_DEFAULT_BROWSER + e2.getMessage());
+ }
}
});
}
12 years, 11 months
JBoss Tools SVN: r38346 - in trunk/common: features/org.jboss.tools.common.feature and 9 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2012-01-31 20:34:33 -0500 (Tue, 31 Jan 2012)
New Revision: 38346
Modified:
trunk/common/features/org.jboss.tools.common.core.feature/feature.xml
trunk/common/features/org.jboss.tools.common.feature/feature.xml
trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.xml
trunk/common/features/org.jboss.tools.common.ui.feature/feature.xml
trunk/common/plugins/org.jboss.tools.common.gef/META-INF/MANIFEST.MF
trunk/common/plugins/org.jboss.tools.common.model.ui.capabilities/META-INF/MANIFEST.MF
trunk/common/plugins/org.jboss.tools.common.model.ui/META-INF/MANIFEST.MF
trunk/common/plugins/org.jboss.tools.common.model.ui/build.properties
trunk/common/plugins/org.jboss.tools.common.model/META-INF/MANIFEST.MF
trunk/common/plugins/org.jboss.tools.common.mylyn/META-INF/MANIFEST.MF
trunk/common/plugins/org.jboss.tools.common.projecttemplates/META-INF/MANIFEST.MF
Log:
=Eclipse-BundleShape: dir added
Modified: trunk/common/features/org.jboss.tools.common.core.feature/feature.xml
===================================================================
--- trunk/common/features/org.jboss.tools.common.core.feature/feature.xml 2012-01-31 23:00:25 UTC (rev 38345)
+++ trunk/common/features/org.jboss.tools.common.core.feature/feature.xml 2012-02-01 01:34:33 UTC (rev 38346)
@@ -1,13 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
-<feature id="org.jboss.tools.common.core.feature" label="%featureName" version="3.3.0.qualifier" provider-name="%providerName">
+<feature
+ id="org.jboss.tools.common.core.feature"
+ label="%featureName"
+ version="3.3.0.qualifier"
+ provider-name="%providerName">
- <description url="http://www.jboss.org/tools">%description</description>
+ <description url="http://www.jboss.org/tools">
+ %description
+ </description>
- <copyright>%copyright</copyright>
+ <copyright>
+ %copyright
+ </copyright>
- <license>%license</license>
+ <license>
+ %license
+ </license>
- <plugin id="org.jboss.tools.common" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.common.model" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.common.projecttemplates" download-size="0" install-size="0" version="0.0.0" />
+ <plugin
+ id="org.jboss.tools.common"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.common.model"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.projecttemplates"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
</feature>
Modified: trunk/common/features/org.jboss.tools.common.feature/feature.xml
===================================================================
--- trunk/common/features/org.jboss.tools.common.feature/feature.xml 2012-01-31 23:00:25 UTC (rev 38345)
+++ trunk/common/features/org.jboss.tools.common.feature/feature.xml 2012-02-01 01:34:33 UTC (rev 38346)
@@ -1,18 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
-<feature id="org.jboss.tools.common.feature" label="%featureName" version="3.3.0.qualifier" provider-name="%providerName">
+<feature
+ id="org.jboss.tools.common.feature"
+ label="%featureName"
+ version="3.3.0.qualifier"
+ provider-name="%providerName">
- <description url="http://www.jboss.org/tools">%description</description>
- <copyright>%copyright</copyright>
- <license>%license</license>
+ <description url="http://www.jboss.org/tools">
+ %description
+ </description>
- <requires>
- <import feature="org.eclipse.wst.common_core.feature" version="0.0.0" match="greaterOrEqual" />
- <import feature="org.eclipse.wst.common_ui.feature" version="0.0.0" match="greaterOrEqual" />
- </requires>
+ <copyright>
+ %copyright
+ </copyright>
- <plugin id="org.jboss.tools.common.el.core" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.common.el.ui" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.common.validation" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.common.resref.core" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.common.resref.ui" download-size="0" install-size="0" version="0.0.0" />
+ <license>
+ %license
+ </license>
+
+ <requires>
+ <import feature="org.eclipse.wst.common_core.feature" version="0.0.0" match="greaterOrEqual"/>
+ <import feature="org.eclipse.wst.common_ui.feature" version="0.0.0" match="greaterOrEqual"/>
+ </requires>
+
+ <plugin
+ id="org.jboss.tools.common.el.core"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.common.el.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.common.validation"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.common.resref.core"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.common.resref.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
</feature>
Modified: trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.xml
===================================================================
--- trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.xml 2012-01-31 23:00:25 UTC (rev 38345)
+++ trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.xml 2012-02-01 01:34:33 UTC (rev 38346)
@@ -1,16 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
-<feature id="org.jboss.tools.common.text.ext.feature" label="%featureName" version="3.3.0.qualifier" provider-name="%providerName">
+<feature
+ id="org.jboss.tools.common.text.ext.feature"
+ label="%featureName"
+ version="3.3.0.qualifier"
+ provider-name="%providerName">
- <description url="http://www.jboss.org/tools">%description</description>
- <copyright>%copyright</copyright>
- <license>%license</license>
+ <description url="http://www.jboss.org/tools">
+ %description
+ </description>
- <requires>
- <import feature="org.jboss.tools.common.core.feature" version="0.0.0" match="greaterOrEqual" />
- <import feature="org.eclipse.wst.common_core.feature" version="0.0.0" match="greaterOrEqual" />
- <import feature="org.eclipse.wst.common_ui.feature" version="0.0.0" match="greaterOrEqual" />
- </requires>
+ <copyright>
+ %copyright
+ </copyright>
- <plugin id="org.jboss.tools.common.text.ext" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.common.text.xml" download-size="0" install-size="0" version="0.0.0" />
+ <license>
+ %license
+ </license>
+
+ <requires>
+ <import feature="org.jboss.tools.common.core.feature" version="0.0.0" match="greaterOrEqual"/>
+ <import feature="org.eclipse.wst.common_core.feature" version="0.0.0" match="greaterOrEqual"/>
+ <import feature="org.eclipse.wst.common_ui.feature" version="0.0.0" match="greaterOrEqual"/>
+ </requires>
+
+ <plugin
+ id="org.jboss.tools.common.text.ext"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.common.text.xml"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
</feature>
Modified: trunk/common/features/org.jboss.tools.common.ui.feature/feature.xml
===================================================================
--- trunk/common/features/org.jboss.tools.common.ui.feature/feature.xml 2012-01-31 23:00:25 UTC (rev 38345)
+++ trunk/common/features/org.jboss.tools.common.ui.feature/feature.xml 2012-02-01 01:34:33 UTC (rev 38346)
@@ -1,17 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
-<feature id="org.jboss.tools.common.ui.feature" label="%featureName" version="3.3.0.qualifier" provider-name="%providerName">
+<feature
+ id="org.jboss.tools.common.ui.feature"
+ label="%featureName"
+ version="3.3.0.qualifier"
+ provider-name="%providerName">
- <description url="http://www.jboss.org/tools">%description</description>
- <copyright>%copyright</copyright>
- <license>%license</license>
+ <description url="http://www.jboss.org/tools">
+ %description
+ </description>
- <requires>
- <import feature="org.jboss.tools.common.core.feature" version="2.0.0" match="greaterOrEqual" />
- <import feature="org.jboss.tools.common.text.ext.feature" version="2.0.0" match="greaterOrEqual" />
- </requires>
+ <copyright>
+ %copyright
+ </copyright>
- <plugin id="org.jboss.tools.common.gef" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.common.ui" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.common.model.ui" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.common.model.ui.capabilities" download-size="0" install-size="0" version="0.0.0" />
+ <license>
+ %license
+ </license>
+
+ <requires>
+ <import feature="org.jboss.tools.common.core.feature" version="2.0.0" match="greaterOrEqual"/>
+ <import feature="org.jboss.tools.common.text.ext.feature" version="2.0.0" match="greaterOrEqual"/>
+ </requires>
+
+ <plugin
+ id="org.jboss.tools.common.gef"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.common.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.model.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.model.ui.capabilities"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
</feature>
Modified: trunk/common/plugins/org.jboss.tools.common.gef/META-INF/MANIFEST.MF
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.gef/META-INF/MANIFEST.MF 2012-01-31 23:00:25 UTC (rev 38345)
+++ trunk/common/plugins/org.jboss.tools.common.gef/META-INF/MANIFEST.MF 2012-02-01 01:34:33 UTC (rev 38346)
@@ -29,3 +29,4 @@
org.eclipse.core.resources;bundle-version="3.7.100"
Bundle-Version: 3.3.0.qualifier
Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Eclipse-BundleShape: dir
Modified: trunk/common/plugins/org.jboss.tools.common.model/META-INF/MANIFEST.MF
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/META-INF/MANIFEST.MF 2012-01-31 23:00:25 UTC (rev 38345)
+++ trunk/common/plugins/org.jboss.tools.common.model/META-INF/MANIFEST.MF 2012-02-01 01:34:33 UTC (rev 38346)
@@ -90,3 +90,4 @@
Bundle-Version: 3.3.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ClassPath: org.jboss.tools.common.model.jar
+Eclipse-BundleShape: dir
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/META-INF/MANIFEST.MF 2012-01-31 23:00:25 UTC (rev 38345)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/META-INF/MANIFEST.MF 2012-02-01 01:34:33 UTC (rev 38346)
@@ -96,3 +96,4 @@
Bundle-Version: 3.3.0.qualifier
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ClassPath: org.jboss.tools.common.model.ui.jar
+Eclipse-BundleShape: dir
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/build.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/build.properties 2012-01-31 23:00:25 UTC (rev 38345)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/build.properties 2012-02-01 01:34:33 UTC (rev 38346)
@@ -6,10 +6,7 @@
templates/,\
org.jboss.tools.common.model.ui.jar
jars.compile.order = org.jboss.tools.common.model.ui.jar
-source.. = src/,\
- resources/
output.org.jboss.tools.common.model.ui.jar = bin/
source.org.jboss.tools.common.model.ui.jar = src/,\
resources/
-source.org.jboss.tools.common.model.ui.jar = src/,\
- resources/
+
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui.capabilities/META-INF/MANIFEST.MF
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui.capabilities/META-INF/MANIFEST.MF 2012-01-31 23:00:25 UTC (rev 38345)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui.capabilities/META-INF/MANIFEST.MF 2012-02-01 01:34:33 UTC (rev 38346)
@@ -7,3 +7,4 @@
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui;bundle-version="3.7.0"
Bundle-Vendor: %providerName
+Eclipse-BundleShape: dir
Modified: trunk/common/plugins/org.jboss.tools.common.mylyn/META-INF/MANIFEST.MF
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.mylyn/META-INF/MANIFEST.MF 2012-01-31 23:00:25 UTC (rev 38345)
+++ trunk/common/plugins/org.jboss.tools.common.mylyn/META-INF/MANIFEST.MF 2012-02-01 01:34:33 UTC (rev 38346)
@@ -16,3 +16,4 @@
com.atlassian.connector.eclipse.commons.ui;bundle-version="3.0.0";resolution:=optional,
com.atlassian.connector.eclipse.jira.core;bundle-version="3.0.0";resolution:=optional,
com.atlassian.connector.eclipse.jira.ui;bundle-version="3.0.0";resolution:=optional
+Eclipse-BundleShape: dir
Modified: trunk/common/plugins/org.jboss.tools.common.projecttemplates/META-INF/MANIFEST.MF
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.projecttemplates/META-INF/MANIFEST.MF 2012-01-31 23:00:25 UTC (rev 38345)
+++ trunk/common/plugins/org.jboss.tools.common.projecttemplates/META-INF/MANIFEST.MF 2012-02-01 01:34:33 UTC (rev 38346)
@@ -12,3 +12,4 @@
Bundle-Version: 3.3.0.qualifier
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Eclipse-BundleShape: dir
12 years, 11 months