JBoss Tools SVN: r32519 - in workspace/dgolovin/new-releng: target-platform and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2011-06-30 21:16:41 -0400 (Thu, 30 Jun 2011)
New Revision: 32519
Added:
workspace/dgolovin/new-releng/parent/
workspace/dgolovin/new-releng/target-platform/
workspace/dgolovin/new-releng/target-platform/jboss.tools.tp.product
workspace/dgolovin/new-releng/target-platform/pom.xml
Log:
Added: workspace/dgolovin/new-releng/target-platform/jboss.tools.tp.product
===================================================================
--- workspace/dgolovin/new-releng/target-platform/jboss.tools.tp.product (rev 0)
+++ workspace/dgolovin/new-releng/target-platform/jboss.tools.tp.product 2011-07-01 01:16:41 UTC (rev 32519)
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?pde version="3.5"?>
+
+<product name="JBossTools Target Platform" uid="org.jboss.tools.tp" id="org.eclipse.platform.ide" application="org.eclipse.ui.ide.workbench" version="1.0.0" useFeatures="true" includeLaunchers="true">
+
+ <configIni use="default">
+ </configIni>
+
+ <launcherArgs>
+ <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
+ </launcherArgs>
+
+ <windowImages/>
+
+ <launcher>
+ <solaris/>
+ <win useIco="false">
+ <bmp/>
+ </win>
+ </launcher>
+
+ <vm>
+ </vm>
+
+ <plugins>
+ <plugin id="org.eclipse.ui.workbench.compatibility" fragment="true"/>
+ </plugins>
+
+ <features>
+ <feature id="org.eclipse.epp.package.jee.feature"/>
+ <feature id="org.eclipse.swtbot"/>
+ <feature id="org.eclipse.swtbot.eclipse"/>
+ <feature id="org.eclipse.swtbot.eclipse.gef"/>
+ <feature id="org.eclipse.swtbot.eclipse.test.junit3"/>
+ <feature id="org.eclipse.swtbot.eclipse.test.junit4"/>
+ <feature id="org.eclipse.swtbot.forms"/>
+ <feature id="org.eclipse.swtbot.ide"/>
+ <feature id="org.eclipse.jpt.common.eclipselink_sdk.feature"/>
+ <feature id="org.eclipse.jpt.common_sdk.feature"/>
+ <feature id="org.eclipse.jpt.dbws.eclipselink_sdk.feature"/>
+ <feature id="org.eclipse.jpt.jaxb.eclipselink_sdk.feature"/>
+ <feature id="org.eclipse.jpt.jaxb_sdk.feature"/>
+ <feature id="org.eclipse.jpt.jpadiagrameditor_sdk.feature"/>
+ <feature id="org.eclipse.jpt.jpa.eclipselink_sdk.feature"/>
+ <feature id="org.eclipse.jpt.jpa_sdk.feature"/>
+ <feature id="org.eclipse.jsf_sdk.feature"/>
+ <feature id="org.eclipse.jst.common.fproj.enablement.jdt.sdk"/>
+ <feature id="org.eclipse.jst.enterprise_sdk.feature"/>
+ <feature id="org.eclipse.jst.jsf.apache.trinidad.tagsupport_sdk.feature"/>
+ <feature id="org.eclipse.jst.server_adapters.ext.sdk.feature"/>
+ <feature id="org.eclipse.jst.server_adapters.sdk.feature"/>
+ <feature id="org.eclipse.jst.server_sdk.feature"/>
+ <feature id="org.eclipse.jst.webpageeditor_sdk.feature"/>
+ <feature id="org.eclipse.jst.web_sdk.feature"/>
+ <feature id="org.eclipse.jst.ws.axis2tools_sdk.feature"/>
+ <feature id="org.eclipse.jst.ws.cxf_sdk.feature"/>
+ <feature id="org.eclipse.jst.ws.jaxws.dom_sdk.feature"/>
+ <feature id="org.eclipse.jst.ws.jaxws_sdk.feature"/>
+ <feature id="org.eclipse.wst.common.fproj.sdk"/>
+ <feature id="org.eclipse.wst.common_sdk.feature"/>
+ <feature id="org.eclipse.wst.jsdt_sdk.feature"/>
+ <feature id="org.eclipse.wst.server_adapters.sdk.feature"/>
+ <feature id="org.eclipse.wst.server_sdk.feature"/>
+ <feature id="org.eclipse.wst.web_sdk.feature"/>
+ <feature id="org.eclipse.wst.ws_sdk.feature"/>
+ <feature id="org.eclipse.wst.xml_sdk.feature"/>
+ <feature id="org.eclipse.wst.xsl_sdk.feature"/>
+ <feature id="org.eclipse.sdk"/>
+ <feature id="org.eclipse.equinox.p2.user.ui"/>
+ <feature id="org.eclipse.gef.all"/>
+ <feature id="org.eclipse.xsd.sdk"/>
+ <feature id="org.eclipse.emf.sdk"/>
+ <feature id="org.eclipse.m2e.feature"/>
+ <feature id="org.eclipse.m2e.sdk.feature"/>
+ <feature id="org.maven.ide.eclipse.wtp.feature"/>
+ <feature id="org.eclipse.birt.chart"/>
+ <feature id="org.eclipse.birt.chart.osgi.runtime"/>
+ <feature id="org.eclipse.birt.chart.osgi.runtime.sdk"/>
+ <feature id="org.eclipse.birt.osgi.runtime"/>
+ <feature id="org.eclipse.birt.osgi.runtime.sdk"/>
+ <feature id="org.eclipse.birt.example.source"/>
+ <feature id="org.eclipse.birt"/>
+ <feature id="org.eclipse.birt.chart.cshelp"/>
+ <feature id="org.eclipse.birt.chart.osgi.runtime.source"/>
+ <feature id="org.eclipse.birt.chart.source"/>
+ <feature id="org.eclipse.birt.chart.integration.wtp"/>
+ <feature id="org.eclipse.birt.chart.integration.wtp.source"/>
+ <feature id="org.eclipse.birt.cshelp"/>
+ <feature id="org.eclipse.birt.doc"/>
+ <feature id="org.eclipse.birt.example"/>
+ <feature id="org.eclipse.birt.doc.isv"/>
+ <feature id="org.eclipse.birt.chart.doc.isv"/>
+ <feature id="org.eclipse.birt.report.designer.editor.xml.wtp"/>
+ <feature id="org.eclipse.birt.report.designer.editor.xml.wtp.source"/>
+ <feature id="org.eclipse.birt.osgi.runtime.source"/>
+ <feature id="org.eclipse.birt.source"/>
+ <feature id="org.eclipse.birt.integration.wtp"/>
+ <feature id="org.eclipse.birt.integration.wtp.source"/>
+ </features>
+
+
+</product>
Property changes on: workspace/dgolovin/new-releng/target-platform/jboss.tools.tp.product
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/dgolovin/new-releng/target-platform/pom.xml
===================================================================
--- workspace/dgolovin/new-releng/target-platform/pom.xml (rev 0)
+++ workspace/dgolovin/new-releng/target-platform/pom.xml 2011-07-01 01:16:41 UTC (rev 32519)
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>com.jboss.tools.releng</groupId>
+ <artifactId>parent</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <relativePath>../parent/pom.xml</relativePath>
+ </parent>
+ <groupId>com.jboss.tools.releng</groupId>
+ <artifactId>target.platform</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>eclipse-repository</packaging>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>tycho-p2-publisher-plugin</artifactId>
+ <version>${tychoVersion}</version>
+ <configuration>
+ <publishArtifacts>true</publishArtifacts>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>tycho-p2-director-plugin</artifactId>
+ <version>${tychoVersion}</version>
+ <executions>
+ <execution>
+ <id>materialize-products</id>
+ <goals>
+ <goal>materialize-products</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>archive-products</id>
+ <goals>
+ <goal>archive-products</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <products>
+ <product>
+ <id>org.jboss.tools.tp</id>
+ </product>
+ </products>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Property changes on: workspace/dgolovin/new-releng/target-platform/pom.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
13 years, 6 months
JBoss Tools SVN: r32517 - trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.core/src/org/jboss/tools/cdi/seam/config/core/xml.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-06-30 20:26:38 -0400 (Thu, 30 Jun 2011)
New Revision: 32517
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.core/src/org/jboss/tools/cdi/seam/config/core/xml/SAXParser.java
Log:
JBIDE-9287
https://issues.jboss.org/browse/JBIDE-9287
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.core/src/org/jboss/tools/cdi/seam/config/core/xml/SAXParser.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.core/src/org/jboss/tools/cdi/seam/config/core/xml/SAXParser.java 2011-06-30 23:14:48 UTC (rev 32516)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.core/src/org/jboss/tools/cdi/seam/config/core/xml/SAXParser.java 2011-07-01 00:26:38 UTC (rev 32517)
@@ -2,12 +2,14 @@
import java.io.IOException;
import java.io.InputStream;
+import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.IDocument;
import org.jboss.tools.common.CommonPlugin;
+import org.jboss.tools.common.Messages;
import org.jboss.tools.common.xml.SAXValidator;
import org.jboss.tools.common.xml.XMLEntityResolverImpl;
import org.xml.sax.Attributes;
@@ -28,6 +30,11 @@
*/
public class SAXParser extends SAXValidator {
+ /**
+ *
+ * @param handler
+ * @return instanceof XMLReader or null if Apache SAX parser is not available.
+ */
XMLReader createParser1(DefaultHandler handler) {
XMLReader parserInstance = null;
@@ -58,12 +65,22 @@
return parserInstance;
}
+ private String errorMessage = null;
+
public SAXElement parse(InputStream input, IDocument document) {
InputSource s = new InputSource(input);
ConfigHanlder handler = new ConfigHanlder(document);
XMLReader reader = createParser1(handler);
try {
- reader.parse(s);
+ if(reader != null) {
+ reader.parse(s);
+ errorMessage = null;
+ } else if(errorMessage == null) {
+ //Report only the first failure.
+ errorMessage = MessageFormat.format(
+ Messages.SAXValidator_UnableToInstantiateMessage, DEFAULT_SAX_PARSER_CLASS_NAME);
+ CommonPlugin.getDefault().logError(errorMessage);
+ }
} catch (IOException e) {
CommonPlugin.getDefault().logError(e);
} catch (SAXException e) {
13 years, 6 months