JBoss Tools SVN: r24437 - branches/jbosstools-3.2.0.M2/build.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-08-25 12:52:12 -0400 (Wed, 25 Aug 2010)
New Revision: 24437
Modified:
branches/jbosstools-3.2.0.M2/build/publish.sh
Log:
backport from trunk
Modified: branches/jbosstools-3.2.0.M2/build/publish.sh
===================================================================
--- branches/jbosstools-3.2.0.M2/build/publish.sh 2010-08-25 16:34:32 UTC (rev 24436)
+++ branches/jbosstools-3.2.0.M2/build/publish.sh 2010-08-25 16:52:12 UTC (rev 24437)
@@ -108,6 +108,7 @@
# generate list of zips in this job
METAFILE=zip.list.txt
+mkdir -p ${STAGINGDIR}/logs
echo "ALL_ZIPS = \\" >> ${STAGINGDIR}/logs/${METAFILE}
for z in $(find ${STAGINGDIR} -name "*Update*.zip") $(find ${STAGINGDIR} -name "*Sources*.zip"); do
# list zips in staging dir
@@ -175,3 +176,8 @@
fi
date
+# purge org.jboss.tools metadata from local m2 repo (assumes job is configured with -Dmaven.repo.local=${WORKSPACE}/m2-repo)
+if [[ -d ${WORKSPACE}/m2-repo/org/jboss/tools ]]; then
+ rm -rf ${WORKSPACE}/m2-repo/org/jboss/tools
+fi
+
15 years, 4 months
JBoss Tools SVN: r24436 - in trunk/esb/plugins: org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: bfitzpat
Date: 2010-08-25 12:34:32 -0400 (Wed, 25 Aug 2010)
New Revision: 24436
Added:
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_49.java
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.core/plugin.xml
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBFacetInstallationPage.java
Log:
OPEN - issue JBIDE-6908: Can't create an ESB project with ESB 4.9 specified
https://jira.jboss.org/browse/JBIDE-6908
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.core/plugin.xml
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.core/plugin.xml 2010-08-25 16:30:47 UTC (rev 24435)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.core/plugin.xml 2010-08-25 16:34:32 UTC (rev 24436)
@@ -118,6 +118,24 @@
</and>
</constraint>
</project-facet-version>
+ <project-facet-version
+ facet="jst.jboss.esb"
+ version="4.9">
+ <group-member
+ id="modules">
+ </group-member>
+ <constraint>
+ <and>
+ <conflicts
+ group="modules">
+ </conflicts>
+ <requires
+ facet="jst.java"
+ version="[5.0">
+ </requires>
+ </and>
+ </constraint>
+ </project-facet-version>
<action
facet="jst.jboss.esb"
id="jst.jboss.esb.install"
@@ -147,7 +165,7 @@
<supported>
<facet
id="jst.jboss.esb"
- version="4.2,4.3,4.4,4.5,4.6,4.7">
+ version="4.2,4.3,4.4,4.5,4.6,4.7,4.9">
</facet>
<runtime-component
id="org.jboss.ide.eclipse.as.runtime.component"
@@ -157,7 +175,7 @@
<supported>
<facet
id="jst.jboss.esb"
- version="4.2,4.3,4.4,4.5,4.6,4.7">
+ version="4.2,4.3,4.4,4.5,4.6,4.7,4.9">
</facet>
<runtime-component
id="org.jboss.ide.eclipse.eap.runtime.component"
@@ -200,7 +218,7 @@
projects="true">
<moduleType
types="jst.jboss.esb"
- versions="4.2,4.3,4.4,4.5,4.6,4.7">
+ versions="4.2,4.3,4.4,4.5,4.6,4.7,4.9">
</moduleType>
</moduleFactory>
</extension>
@@ -282,6 +300,23 @@
id="org.jboss.ide.eclipse.as.runtime.51">
</supportedRuntimeType>
</Resolver>
+ <Resolver
+ class="org.jboss.tools.esb.core.runtime.ESBRuntimeResolver_49"
+ esbVersion="4.9"
+ name="ESB runtime resolver">
+ <supportedRuntimeType
+ id="org.jboss.ide.eclipse.as.runtime.eap.51">
+ </supportedRuntimeType>
+ <supportedRuntimeType
+ id="org.jboss.ide.eclipse.as.runtime.50">
+ </supportedRuntimeType>
+ <supportedRuntimeType
+ id="org.jboss.ide.eclipse.as.runtime.51">
+ </supportedRuntimeType>
+ <supportedRuntimeType
+ id="org.jboss.ide.eclipse.as.runtime.60">
+ </supportedRuntimeType>
+ </Resolver>
</extension>
</plugin>
Added: trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_49.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_49.java (rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_49.java 2010-08-25 16:34:32 UTC (rev 24436)
@@ -0,0 +1,60 @@
+/*******************************************************************************
+ * Copyright (c) 2009 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.esb.core.runtime;
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.Path;
+import org.jboss.ide.eclipse.as.core.util.IJBossRuntimeResourceConstants;
+
+public class ESBRuntimeResolver_49 extends AbstractESBRuntimeResolver implements
+ IESBRuntimeResolver {
+
+ private final static String CONFIG_MODEL_JAR_12 = "jbossesb-config-model-1.2.0.jar";
+ private final static String CONFIG_MODEL_JAR_13 = "jbossesb-config-model-1.3.0.jar";
+
+
+ public boolean isValidESBRuntime(String location, String version, String configuration){
+ List<String> jarNames = new ArrayList<String>();
+
+ for(File file : getAllRuntimeJars(location, configuration)){
+ jarNames.add(file.getName());
+ }
+
+ return jarNames.contains(ROSETTA_JAR)
+ && jarNames.contains(CONFIG_MODEL_JAR_12)
+ && jarNames.contains(CONFIG_MODEL_JAR_13);
+ }
+
+
+ public List<IPath> getJarDirectories(String runtimeLocation, String configuration) {
+ List<IPath> directories = super.getJarDirectories(runtimeLocation, configuration);
+ IPath rtHome = new Path(runtimeLocation);
+ IPath soapDeployPath = rtHome.append(SOAP_AS_LOCATION)
+ .append(IJBossRuntimeResourceConstants.SERVER).append(configuration)
+ .append(IJBossRuntimeResourceConstants.DEPLOYERS)
+ .append("esb.deployer").append("lib");
+
+ IPath deployPath = rtHome
+ .append(IJBossRuntimeResourceConstants.SERVER).append(configuration)
+ .append(IJBossRuntimeResourceConstants.DEPLOYERS)
+ .append("esb.deployer").append("lib");
+ directories.add(soapDeployPath);
+ directories.add(deployPath);
+
+ return directories;
+ }
+
+
+}
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_49.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBFacetInstallationPage.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBFacetInstallationPage.java 2010-08-25 16:30:47 UTC (rev 24435)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBFacetInstallationPage.java 2010-08-25 16:34:32 UTC (rev 24436)
@@ -636,6 +636,9 @@
if(versionNumber >= 4.7){
cmVersions.add("1.2.0"); //$NON-NLS-1$
}
+ if(versionNumber >= 4.9){
+ cmVersions.add("1.3.0"); //$NON-NLS-1$
+ }
int index = cmVersions.getItemCount() - 1;
String convigVersionName = cmVersions.getItem(index);
cmVersions.select(index);
15 years, 4 months
JBoss Tools SVN: r24435 - in branches/jbosstools-3.2.0.M2/esb/plugins: org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: bfitzpat
Date: 2010-08-25 12:30:47 -0400 (Wed, 25 Aug 2010)
New Revision: 24435
Added:
branches/jbosstools-3.2.0.M2/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_49.java
Modified:
branches/jbosstools-3.2.0.M2/esb/plugins/org.jboss.tools.esb.project.core/plugin.xml
branches/jbosstools-3.2.0.M2/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBFacetInstallationPage.java
Log:
OPEN - issue JBIDE-6908: Can't create an ESB project with ESB 4.9 specified
https://jira.jboss.org/browse/JBIDE-6908
Modified: branches/jbosstools-3.2.0.M2/esb/plugins/org.jboss.tools.esb.project.core/plugin.xml
===================================================================
--- branches/jbosstools-3.2.0.M2/esb/plugins/org.jboss.tools.esb.project.core/plugin.xml 2010-08-25 15:44:48 UTC (rev 24434)
+++ branches/jbosstools-3.2.0.M2/esb/plugins/org.jboss.tools.esb.project.core/plugin.xml 2010-08-25 16:30:47 UTC (rev 24435)
@@ -118,6 +118,24 @@
</and>
</constraint>
</project-facet-version>
+ <project-facet-version
+ facet="jst.jboss.esb"
+ version="4.9">
+ <group-member
+ id="modules">
+ </group-member>
+ <constraint>
+ <and>
+ <conflicts
+ group="modules">
+ </conflicts>
+ <requires
+ facet="jst.java"
+ version="[5.0">
+ </requires>
+ </and>
+ </constraint>
+ </project-facet-version>
<action
facet="jst.jboss.esb"
id="jst.jboss.esb.install"
@@ -147,7 +165,7 @@
<supported>
<facet
id="jst.jboss.esb"
- version="4.2,4.3,4.4,4.5,4.6,4.7">
+ version="4.2,4.3,4.4,4.5,4.6,4.7,4.9">
</facet>
<runtime-component
id="org.jboss.ide.eclipse.as.runtime.component"
@@ -157,7 +175,7 @@
<supported>
<facet
id="jst.jboss.esb"
- version="4.2,4.3,4.4,4.5,4.6,4.7">
+ version="4.2,4.3,4.4,4.5,4.6,4.7,4.9">
</facet>
<runtime-component
id="org.jboss.ide.eclipse.eap.runtime.component"
@@ -200,7 +218,7 @@
projects="true">
<moduleType
types="jst.jboss.esb"
- versions="4.2,4.3,4.4,4.5,4.6,4.7">
+ versions="4.2,4.3,4.4,4.5,4.6,4.7,4.9">
</moduleType>
</moduleFactory>
</extension>
@@ -282,6 +300,23 @@
id="org.jboss.ide.eclipse.as.runtime.51">
</supportedRuntimeType>
</Resolver>
+ <Resolver
+ class="org.jboss.tools.esb.core.runtime.ESBRuntimeResolver_49"
+ esbVersion="4.9"
+ name="ESB runtime resolver">
+ <supportedRuntimeType
+ id="org.jboss.ide.eclipse.as.runtime.eap.51">
+ </supportedRuntimeType>
+ <supportedRuntimeType
+ id="org.jboss.ide.eclipse.as.runtime.50">
+ </supportedRuntimeType>
+ <supportedRuntimeType
+ id="org.jboss.ide.eclipse.as.runtime.51">
+ </supportedRuntimeType>
+ <supportedRuntimeType
+ id="org.jboss.ide.eclipse.as.runtime.60">
+ </supportedRuntimeType>
+ </Resolver>
</extension>
</plugin>
Added: branches/jbosstools-3.2.0.M2/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_49.java
===================================================================
--- branches/jbosstools-3.2.0.M2/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_49.java (rev 0)
+++ branches/jbosstools-3.2.0.M2/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_49.java 2010-08-25 16:30:47 UTC (rev 24435)
@@ -0,0 +1,60 @@
+/*******************************************************************************
+ * Copyright (c) 2009 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.esb.core.runtime;
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.Path;
+import org.jboss.ide.eclipse.as.core.util.IJBossRuntimeResourceConstants;
+
+public class ESBRuntimeResolver_49 extends AbstractESBRuntimeResolver implements
+ IESBRuntimeResolver {
+
+ private final static String CONFIG_MODEL_JAR_12 = "jbossesb-config-model-1.2.0.jar";
+ private final static String CONFIG_MODEL_JAR_13 = "jbossesb-config-model-1.3.0.jar";
+
+
+ public boolean isValidESBRuntime(String location, String version, String configuration){
+ List<String> jarNames = new ArrayList<String>();
+
+ for(File file : getAllRuntimeJars(location, configuration)){
+ jarNames.add(file.getName());
+ }
+
+ return jarNames.contains(ROSETTA_JAR)
+ && jarNames.contains(CONFIG_MODEL_JAR_12)
+ && jarNames.contains(CONFIG_MODEL_JAR_13);
+ }
+
+
+ public List<IPath> getJarDirectories(String runtimeLocation, String configuration) {
+ List<IPath> directories = super.getJarDirectories(runtimeLocation, configuration);
+ IPath rtHome = new Path(runtimeLocation);
+ IPath soapDeployPath = rtHome.append(SOAP_AS_LOCATION)
+ .append(IJBossRuntimeResourceConstants.SERVER).append(configuration)
+ .append(IJBossRuntimeResourceConstants.DEPLOYERS)
+ .append("esb.deployer").append("lib");
+
+ IPath deployPath = rtHome
+ .append(IJBossRuntimeResourceConstants.SERVER).append(configuration)
+ .append(IJBossRuntimeResourceConstants.DEPLOYERS)
+ .append("esb.deployer").append("lib");
+ directories.add(soapDeployPath);
+ directories.add(deployPath);
+
+ return directories;
+ }
+
+
+}
Property changes on: branches/jbosstools-3.2.0.M2/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/ESBRuntimeResolver_49.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: branches/jbosstools-3.2.0.M2/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBFacetInstallationPage.java
===================================================================
--- branches/jbosstools-3.2.0.M2/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBFacetInstallationPage.java 2010-08-25 15:44:48 UTC (rev 24434)
+++ branches/jbosstools-3.2.0.M2/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBFacetInstallationPage.java 2010-08-25 16:30:47 UTC (rev 24435)
@@ -636,6 +636,9 @@
if(versionNumber >= 4.7){
cmVersions.add("1.2.0"); //$NON-NLS-1$
}
+ if(versionNumber >= 4.9){
+ cmVersions.add("1.3.0"); //$NON-NLS-1$
+ }
int index = cmVersions.getItemCount() - 1;
String convigVersionName = cmVersions.getItem(index);
cmVersions.select(index);
15 years, 4 months
JBoss Tools SVN: r24434 - in trunk/documentation/whatsnew/bpel: images and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2010-08-25 11:44:48 -0400 (Wed, 25 Aug 2010)
New Revision: 24434
Added:
trunk/documentation/whatsnew/bpel/bpel-news-1.1.0.M2.html
trunk/documentation/whatsnew/bpel/images/NamespacesPropertyTab.png
Log:
https://jira.jboss.org/browse/JBIDE-6905
New & Noteworthy for M2
Added: trunk/documentation/whatsnew/bpel/bpel-news-1.1.0.M2.html
===================================================================
--- trunk/documentation/whatsnew/bpel/bpel-news-1.1.0.M2.html (rev 0)
+++ trunk/documentation/whatsnew/bpel/bpel-news-1.1.0.M2.html 2010-08-25 15:44:48 UTC (rev 24434)
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css" />
+<title>BPEL Tools 1.0.0.CR1 What's New</title>
+</head>
+<body>
+<h1>JBoss Eclipse BPEL Editor 1.1.0.M2 What's New</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a></p>
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>General</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>BPEL
+ Editor</b></td>
+ <td valign="top">The following issues were fixed.
+ <ol>
+ <a href="https://jira.jboss.org/jira/browse/JBIDE-6607">JBIDE-6607</a>
+ <br></br>
+ <a href="https://jira.jboss.org/jira/browse/JBIDE-6609">JBIDE-6609</a>
+ <br></br>
+ <a href="https://jira.jboss.org/jira/browse/JBIDE-6613">JBIDE-6613</a>
+ <br></br>
+ <a href="https://jira.jboss.org/jira/browse/JBIDE-6617">JBIDE-6617</a>
+ <br></br>
+ <a href="https://jira.jboss.org/jira/browse/JBIDE-6697">JBIDE-6697</a>
+ <br></br>
+ <a href="https://jira.jboss.org/jira/browse/JBIDE-6784">JBIDE-6784</a>
+ <br></br>
+ <a href="https://jira.jboss.org/jira/browse/JBIDE-6785">JBIDE-6785</a>
+ <br></br>
+ <a href="https://jira.jboss.org/jira/browse/JBIDE-6786">JBIDE-6786</a>
+ <br></br>
+ <a href="https://jira.jboss.org/jira/browse/JBIDE-6736">JBIDE-6736</a>
+ <br></br>
+ <a href="https://jira.jboss.org/jira/browse/JBIDE-6766">JBIDE-6766</a>
+ <br></br>
+ <a href="https://jira.jboss.org/jira/browse/JBIDE-6825">JBIDE-6825</a>
+ <br></br>
+ </ol>
+ We have also begun merging the codebase at the
+ <a
+ href="http://eclipse.org/bpel">eclipse BPEL project</a>
+ and contributing bug fixes and enhancements back to the open source community.
+ The goal is to push the entire BPEL Designer code back upstream for general consumption.
+ </tr>
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>
+ BPEL Perspective
+ </b></td>
+ <td valign="top">A new Eclipse IDE Perspective has been added for BPEL development and deployment.
+ See <a href="https://jira.jboss.org/browse/JBIDE-6736">JBIDE-6736</a>.
+ <p></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>Editor</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>
+ Namespaces Property Tab
+ </b></td>
+ <td valign="top">A new Property Sheet Tab has been added for the Process and Activities. This tab displays a list of all
+ namespaces and namespace prefixes that are in-scope. Missing namespace prefixes can also be assigned here.
+ See
+ <a href="https://jira.jboss.org/browse/JBIDE-6765">JBIDE-6765</a> for details.
+ <p></p>
+ <img src="images/NamespacesPropertyTab.png" style="width : 968px; height : 322px;"/>
+ </td>
+ </tr>
+
+</table>
+
+</body>
+
+</html>
Added: trunk/documentation/whatsnew/bpel/images/NamespacesPropertyTab.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/bpel/images/NamespacesPropertyTab.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
15 years, 4 months
JBoss Tools SVN: r24433 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-08-25 11:07:53 -0400 (Wed, 25 Aug 2010)
New Revision: 24433
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamPreferencesMessages.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamPreferencesMessages.properties
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamValidatorConfigurationBlock.java
Log:
https://jira.jboss.org/browse/JBIDE-6360
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamPreferencesMessages.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamPreferencesMessages.java 2010-08-25 15:07:12 UTC (rev 24432)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamPreferencesMessages.java 2010-08-25 15:07:53 UTC (rev 24433)
@@ -140,6 +140,10 @@
public static String SeamValidatorConfigurationBlock_section_variable;
public static String SeamValidatorConfigurationBlock_pb_unknownVariableName_label;
+ //Section pages.xml
+ public static String SeamValidatorConfigurationBlock_section_pages_xml;
+ public static String SeamValidatorConfigurationBlock_pb_unresolvedViewID_label;
+
//Invalid seam project settings
public static String SeamValidatorConfigurationBlock_section_settings;
public static String SeamValidatorConfigurationBlock_pb_invalidSeamProjectSettings_label;
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamPreferencesMessages.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamPreferencesMessages.properties 2010-08-25 15:07:12 UTC (rev 24432)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamPreferencesMessages.properties 2010-08-25 15:07:53 UTC (rev 24433)
@@ -54,6 +54,10 @@
SeamValidatorConfigurationBlock_section_variable=Context variables
SeamValidatorConfigurationBlock_pb_unknownVariableName_label=Unknown variable name:
+##Section pages.xml
+SeamValidatorConfigurationBlock_section_pages_xml=pages.xml
+SeamValidatorConfigurationBlock_pb_unresolvedViewID_label=Unresolved view-id in redirects:
+
##Invalid seam project settings
SeamValidatorConfigurationBlock_section_settings=Project Settings
SeamValidatorConfigurationBlock_pb_invalidSeamProjectSettings_label=Invalid seam project settings:
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamValidatorConfigurationBlock.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamValidatorConfigurationBlock.java 2010-08-25 15:07:12 UTC (rev 24432)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamValidatorConfigurationBlock.java 2010-08-25 15:07:53 UTC (rev 24433)
@@ -115,6 +115,14 @@
SeamCorePlugin.PLUGIN_ID
);
+ private static SectionDescription SECTION_PAGES_XML = new SectionDescription(
+ SeamPreferencesMessages.SeamValidatorConfigurationBlock_section_pages_xml,
+ new String[][]{
+ {SeamPreferences.UNRESOLVED_VIEW_ID, SeamPreferencesMessages.SeamValidatorConfigurationBlock_pb_unresolvedViewID_label},
+ },
+ SeamCorePlugin.PLUGIN_ID
+ );
+
private static SectionDescription[] ALL_SECTIONS = new SectionDescription[]{
SECTION_COMPONENT,
SECTION_ENTITY,
@@ -122,6 +130,7 @@
SECTION_FACTORY,
SECTION_BIJECTION,
SECTION_VARIABLE,
+ SECTION_PAGES_XML,
SECTION_SETTINGS
};
15 years, 4 months
JBoss Tools SVN: r24432 - in trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam: internal/core and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-08-25 11:07:12 -0400 (Wed, 25 Aug 2010)
New Revision: 24432
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamPreferences.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamPreferenceInitializer.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamValidationMessages.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/messages.properties
Log:
https://jira.jboss.org/browse/JBIDE-6360
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamPreferences.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamPreferences.java 2010-08-25 14:53:53 UTC (rev 24431)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamPreferences.java 2010-08-25 15:07:12 UTC (rev 24432)
@@ -102,6 +102,10 @@
// If @In uses a unknown context variable name then mark it.
public static final String UNKNOWN_VARIABLE_NAME = INSTANCE.createSeverityOption("unknownVariableName"); //$NON-NLS-1$
+ //pages.xml
+
+ public static final String UNRESOLVED_VIEW_ID = INSTANCE.createSeverityOption("unresolvedViewID"); //$NON-NLS-1$
+
// Seam project settings
// Mark seam project if it has any invalid seam setting.
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamPreferenceInitializer.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamPreferenceInitializer.java 2010-08-25 14:53:53 UTC (rev 24431)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamPreferenceInitializer.java 2010-08-25 15:07:12 UTC (rev 24432)
@@ -36,7 +36,9 @@
defaultPreferences.put(SeamPreferences.UNKNOWN_VARIABLE_NAME, SeamPreferences.WARNING);
defaultPreferences.put(SeamPreferences.STATEFUL_COMPONENT_DOES_NOT_CONTENT_DESTROY, SeamPreferences.WARNING);
defaultPreferences.put(SeamPreferences.INVALID_XML_VERSION, SeamPreferences.WARNING);
-
+
+ defaultPreferences.put(SeamPreferences.UNRESOLVED_VIEW_ID, SeamPreferences.WARNING);
+
//JBIDE-2958 temporary until JBIDE-2957 solved //TODO solve JBIDE-2957
defaultPreferences.put(SeamPreferences.UNKNOWN_COMPONENT_CLASS_NAME_GUESS, SeamPreferences.WARNING);
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java 2010-08-25 14:53:53 UTC (rev 24431)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java 2010-08-25 15:07:12 UTC (rev 24432)
@@ -48,6 +48,7 @@
import org.jboss.tools.jst.web.kb.validation.IValidationContext;
import org.jboss.tools.jst.web.kb.validation.IValidator;
import org.jboss.tools.jst.web.kb.validation.ValidationUtil;
+import org.jboss.tools.jst.web.model.project.ext.store.XMLValueInfo;
import org.jboss.tools.seam.core.BijectedAttributeType;
import org.jboss.tools.seam.core.IBijectedAttribute;
import org.jboss.tools.seam.core.ISeamAnnotatedFactory;
@@ -251,6 +252,7 @@
for (IPath linkedResource : resources) {
validateComponent(linkedResource, checkedComponents, newResources);
validateFactory(linkedResource, markedDuplicateFactoryNames);
+ validatePageXML(filesToValidate[i]);
validateXMLVersion(filesToValidate[i++]);
}
@@ -959,4 +961,41 @@
}
return true;
}
-}
\ No newline at end of file
+
+ private void validatePageXML(IFile f) {
+ if(f.getName().equals("pages.xml")) {
+ XModelObject object = EclipseResourceUtil.createObjectForResource(f);
+ if(object == null) return;
+ if(object.getModelEntity().getName().startsWith("FileSeamPage")) {
+ validatePageRedirects(object, f);
+ }
+ }
+ }
+
+ private void validatePageRedirects(XModelObject o, IFile f) {
+ if(o.getModelEntity().getName().startsWith("SeamPageRedirect")) {
+ validatePageRedirect(o, f);
+ } else {
+ XModelObject[] cs = o.getChildren();
+ for (XModelObject c: cs) {
+ validatePageRedirects(c, f);
+ }
+ }
+ }
+
+ private void validatePageRedirect(XModelObject redirect, IFile f) {
+ String path = redirect.getAttributeValue("view id");
+ if(path == null || path.length() == 0 || path.indexOf('*') >= 0) return;
+ path = path.replace('\\', '/');
+ if(path.indexOf('?') >= 0) {
+ path = path.substring(0, path.indexOf('?'));
+ }
+ XModelObject target = redirect.getModel().getByPath(path);
+ if(target == null) {
+ XMLValueInfo i = new XMLValueInfo(redirect, "view id");
+ addError(NLS.bind(SeamValidationMessages.UNRESOLVED_VIEW_ID, path), SeamPreferences.UNRESOLVED_VIEW_ID, i, f);
+ }
+
+ }
+
+}
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamValidationMessages.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamValidationMessages.java 2010-08-25 14:53:53 UTC (rev 24431)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamValidationMessages.java 2010-08-25 15:07:12 UTC (rev 24432)
@@ -45,6 +45,8 @@
public static String UNKNOWN_VARIABLE_NAME;
+ public static String UNRESOLVED_VIEW_ID;
+
public static String INVALID_PARENT_PROJECT;
public static String INVALID_SEAM_RUNTIME;
public static String INVALID_WEBFOLDER;
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/messages.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/messages.properties 2010-08-25 14:53:53 UTC (rev 24431)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/messages.properties 2010-08-25 15:07:12 UTC (rev 24432)
@@ -40,6 +40,8 @@
#Context variables
UNKNOWN_VARIABLE_NAME=Unknown context variable name: "{0}"
+#pages.xml
+UNRESOLVED_VIEW_ID=Cannot find target resource: "{0}"
#Invalid seam project settings
INVALID_PARENT_PROJECT=Main Seam project "{0}" specified for Seam project "{1}" does not exist
INVALID_SEAM_RUNTIME=Seam Runtime "{0}" specified for Seam project "{1}" does not exist
15 years, 4 months
JBoss Tools SVN: r24431 - trunk/documentation/whatsnew/core.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2010-08-25 10:53:53 -0400 (Wed, 25 Aug 2010)
New Revision: 24431
Modified:
trunk/documentation/whatsnew/core/core-news-3.2.0.M2.html
Log:
https://jira.jboss.org/browse/JBIDE-6886 Create "New and Noteworthy" for 3.2.0.M2
Modified: trunk/documentation/whatsnew/core/core-news-3.2.0.M2.html
===================================================================
--- trunk/documentation/whatsnew/core/core-news-3.2.0.M2.html 2010-08-25 14:51:19 UTC (rev 24430)
+++ trunk/documentation/whatsnew/core/core-news-3.2.0.M2.html 2010-08-25 14:53:53 UTC (rev 24431)
@@ -41,7 +41,7 @@
<td valign="top" align="left"><a name="itemname2" id="itemname2"></a><b>Runtime detection</b></td>
<td valign="top">
<p><img src="../images/jbide6119.png"/></p>
- <p>The "Search" action recognizes JBoss AS server, JBoss EAP/EPP/SOA, Seam a standalone Seam, JBPM and Drools runtime.
+ <p>The "Search" action recognizes JBoss AS server, JBoss EAP/EPP/SOA, Seam, a standalone Seam, JBPM and Drools runtime.
There is a filter to export JBoss Runtime preferences that can be used within the standard Eclipse Export wizard.
The standard Eclipse Export wizard doesn't export any JBPM and WTP server configurations. The Export/Import action within the Runtime preference page will export/import those configurations too.</p>
<p><small><a
15 years, 4 months
JBoss Tools SVN: r24430 - in trunk/documentation/whatsnew: images and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2010-08-25 10:51:19 -0400 (Wed, 25 Aug 2010)
New Revision: 24430
Added:
trunk/documentation/whatsnew/images/jbide6119.png
Modified:
trunk/documentation/whatsnew/core/core-news-3.2.0.M2.html
Log:
https://jira.jboss.org/browse/JBIDE-6886 Create "New and Noteworthy" for 3.2.0.M2
Modified: trunk/documentation/whatsnew/core/core-news-3.2.0.M2.html
===================================================================
--- trunk/documentation/whatsnew/core/core-news-3.2.0.M2.html 2010-08-25 14:34:54 UTC (rev 24429)
+++ trunk/documentation/whatsnew/core/core-news-3.2.0.M2.html 2010-08-25 14:51:19 UTC (rev 24430)
@@ -29,6 +29,25 @@
href="https://jira.jboss.org/browse/JBIDE-6376">Related Jira</a></small></p>
</td>
</tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+
+ <tr>
+
+ <td valign="top" align="left"><a name="itemname2" id="itemname2"></a><b>Runtime detection</b></td>
+ <td valign="top">
+ <p><img src="../images/jbide6119.png"/></p>
+ <p>The "Search" action recognizes JBoss AS server, JBoss EAP/EPP/SOA, Seam a standalone Seam, JBPM and Drools runtime.
+There is a filter to export JBoss Runtime preferences that can be used within the standard Eclipse Export wizard.
+The standard Eclipse Export wizard doesn't export any JBPM and WTP server configurations. The Export/Import action within the Runtime preference page will export/import those configurations too.</p>
+ <p><small><a
+ href="https://jira.jboss.org/browse/JBIDE-6119">Related Jira</a></small></p>
+ </td>
+ </tr>
</table>
</body>
Added: trunk/documentation/whatsnew/images/jbide6119.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/jbide6119.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
15 years, 4 months
JBoss Tools SVN: r24429 - trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke.
by jbosstools-commits@lists.jboss.org
Author: vpakan(a)redhat.com
Date: 2010-08-25 10:34:54 -0400 (Wed, 25 Aug 2010)
New Revision: 24429
Modified:
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/DecisionTableTest.java
Log:
Fixes for JBT 3.2.0.M2
Modified: trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/DecisionTableTest.java
===================================================================
--- trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/DecisionTableTest.java 2010-08-25 14:21:42 UTC (rev 24428)
+++ trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/DecisionTableTest.java 2010-08-25 14:34:54 UTC (rev 24429)
@@ -48,6 +48,6 @@
assertTrue(decisionTableFileName + " didn't run properly.\n" +
"Console Text was: " + consoleText + "\n" +
"Expected console text is: Hello World\nGoodbye cruel world\n",
- "Hello World\nGoodbye cruel world\n".equals(consoleText));
+ consoleText.endsWith("Hello World\nGoodbye cruel world\n"));
}
}
\ No newline at end of file
15 years, 4 months
JBoss Tools SVN: r24428 - trunk/build/component.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-08-25 10:21:42 -0400 (Wed, 25 Aug 2010)
New Revision: 24428
Modified:
trunk/build/component/all.xml
Log:
fix paths to submodules
Modified: trunk/build/component/all.xml
===================================================================
--- trunk/build/component/all.xml 2010-08-25 14:20:04 UTC (rev 24427)
+++ trunk/build/component/all.xml 2010-08-25 14:21:42 UTC (rev 24428)
@@ -7,53 +7,53 @@
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
- <module>build/parent</module>
- <module>build/libs</module>
+ <module>../parent</module>
+ <module>../libs</module>
<!-- this order is important! make sure you've run genpom.xml first! -->
<!-- dgolovin's order -->
- <module>tests</module>
- <module>freemarker</module>
- <module>jmx</module>
- <module>archives</module>
- <module>as</module>
- <module>common</module>
- <module>jst</module>
+ <module>../../tests</module>
+ <module>../../freemarker</module>
+ <module>../../jmx</module>
+ <module>../../archives</module>
+ <module>../../as</module>
+ <module>../../common</module>
+ <module>../../jst</module>
<!-- Built as external Hudson job, http://hudson.qa.jboss.com/hudson/view/DevStudio_Tycho/job/xulrunner-1.9.2/,
so not needed here <module>xulrunner</module> -->
- <module>vpe</module>
- <module>jsf</module>
+ <module>../../vpe</module>
+ <module>../../jsf</module>
- <module>hibernatetools</module>
- <module>portlet</module>
- <module>workingset</module>
+ <module>../../hibernatetools</module>
+ <module>../../portlet</module>
+ <module>../../workingset</module>
- <module>struts</module>
+ <module>../../struts</module>
- <module>profiler</module>
- <module>smooks</module>
- <module>cdi</module>
- <module>birt</module>
- <module>bpel</module>
- <module>esb</module>
- <module>seam</module>
- <module>examples</module>
- <module>maven</module>
- <module>tptp</module>
- <module>ws</module>
- <module>modeshape</module>
- <module>flow</module>
- <module>jbpm</module>
- <module>gwt</module>
- <module>deltacloud</module>
+ <module>../../profiler</module>
+ <module>../../smooks</module>
+ <module>../../cdi</module>
+ <module>../../birt</module>
+ <module>../../bpel</module>
+ <module>../../esb</module>
+ <module>../../seam</module>
+ <module>../../examples</module>
+ <module>../../maven</module>
+ <module>../../tptp</module>
+ <module>../../ws</module>
+ <module>../../modeshape</module>
+ <module>../../flow</module>
+ <module>../../jbpm</module>
+ <module>../../gwt</module>
+ <module>../../deltacloud</module>
<!-- NOTE: To build drools, must first bootstrap with ant script: cd drools;
ant -q -->
<!-- IF YOU REMOVE A MODULE, be sure to also remove it from site/site.xml
and build/aggregate/site/site.xml or the build will break! -->
<!-- module>drools</module -->
- <module>runtime</module>
- <module>usage</module>
- <module>site</module>
+ <module>../../runtime</module>
+ <module>../../usage</module>
+ <module>../../site</module>
</modules>
<profiles>
<profile>
15 years, 4 months