JBoss Tools SVN: r18636 - trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2009-11-12 03:18:16 -0500 (Thu, 12 Nov 2009)
New Revision: 18636
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5189
Do not forget to add id-property of RootClass as property for SingleTableSubclass(as it doesn't need the id-property and we don't want to forget the id-property)
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java 2009-11-12 02:12:28 UTC (rev 18635)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java 2009-11-12 08:18:16 UTC (rev 18636)
@@ -169,7 +169,11 @@
pc = getMappedSuperclass(project, pcCopy, (RootClass) entry.getValue());
Subclass subclass = null;
if (pc != null){
- subclass = new JoinedSubclass(pc);
+ if (pc.isAbstract()){
+ subclass = new SingleTableSubclass(pc);
+ } else {
+ subclass = new JoinedSubclass(pc);
+ }
} else {
pc = getMappedImplementedInterface(project, pcCopy, (RootClass) entry.getValue());
if (pc != null){
@@ -185,6 +189,10 @@
if (subclass instanceof JoinedSubclass) {
((JoinedSubclass) subclass).setTable(new Table(pastClass.getClassName().toUpperCase()));
((JoinedSubclass) subclass).setKey((KeyValue) pc.getIdentifierProperty().getValue());
+ } else {
+ if (pastClass.getIdentifierProperty() != null) {
+ subclass.addProperty(pastClass.getIdentifierProperty());
+ }
}
Iterator it = pastClass.getPropertyIterator();
while (it.hasNext()) {
15 years, 1 month
JBoss Tools SVN: r18635 - in trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test: wizards and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-11-11 21:12:28 -0500 (Wed, 11 Nov 2009)
New Revision: 18635
Modified:
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/ArchivesUITestSuite.java
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/NewJARWizardTest.java
Log:
empty tests for archives.ui
Modified: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/ArchivesUITestSuite.java
===================================================================
--- trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/ArchivesUITestSuite.java 2009-11-12 01:06:52 UTC (rev 18634)
+++ trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/ArchivesUITestSuite.java 2009-11-12 02:12:28 UTC (rev 18635)
@@ -4,18 +4,20 @@
import org.jboss.ide.eclipse.archives.ui.test.wizards.FilesetWizardTest;
import org.jboss.ide.eclipse.archives.ui.test.wizards.NewJARWizardTest;
import org.jboss.ide.eclipse.archives.ui.views.ProjectArchivesCommonView;
+import org.jboss.tools.test.util.ProjectImportTestSetup;
import junit.framework.Test;
import junit.framework.TestSuite;
public class ArchivesUITestSuite {
+ public static final String TEST_SUITE_BUNDLE_ID = "org.jboss.ide.eclipse.archives.ui.test";
public static Test suite() {
TestSuite suite = new TestSuite();
suite.addTestSuite(MainPreferencePageTest.class);
suite.addTestSuite(ProjectArchivesCommonView.class);
suite.addTestSuite(FilesetWizardTest.class);
suite.addTestSuite(NewJARWizardTest.class);
- return suite;
+ return new ProjectImportTestSetup(suite, TEST_SUITE_BUNDLE_ID,"projects/archive-test", "archive-test");
}
}
Modified: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/NewJARWizardTest.java
===================================================================
--- trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/NewJARWizardTest.java 2009-11-12 01:06:52 UTC (rev 18634)
+++ trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/NewJARWizardTest.java 2009-11-12 02:12:28 UTC (rev 18635)
@@ -3,15 +3,37 @@
import junit.framework.TestCase;
import org.eclipse.core.commands.IParameter;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.jface.wizard.IWizard;
import org.eclipse.jface.wizard.WizardDialog;
+import org.eclipse.ui.IPageLayout;
+import org.eclipse.ui.IViewPart;
+import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.part.ISetSelectionTarget;
import org.jboss.ide.eclipse.archives.ui.wizards.NewJARWizard;
import org.jboss.ide.eclipse.archives.ui.wizards.pages.ArchiveInfoWizardPage;
+import org.jboss.tools.test.util.ResourcesUtils;
import org.jboss.tools.test.util.WorkbenchUtils;
public class NewJARWizardTest extends TestCase {
+ IProject project = null;
+
+ @Override
+ protected void setUp() throws Exception {
+ project = ResourcesPlugin.getWorkspace().getRoot().getProject("archives-example");
+// IWorkbenchPage page= getSite().getWorkbenchWindow().getActivePage();
+// IViewPart view= page.showView(IPageLayout.ID_RES_NAV);
+// if (view instanceof ISetSelectionTarget) {
+// ISelection selection= new StructuredSelection(resource);
+// ((ISetSelectionTarget)view).selectReveal(selection);
+// }
+ }
+
public void testJarWizardIsOpened() {
IWizard
aWizard = new NewJARWizard();
@@ -20,11 +42,13 @@
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
aWizard);
dialog.setBlockOnOpen(false);
- dialog.open();
+ dialog.create();
try {
ArchiveInfoWizardPage page = (ArchiveInfoWizardPage)dialog.getSelectedPage();
+
} finally {
dialog.close();
}
+
}
}
15 years, 1 month
JBoss Tools SVN: r18634 - in trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test: projects and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-11-11 20:06:52 -0500 (Wed, 11 Nov 2009)
New Revision: 18634
Added:
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/projects/
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/projects/archives-test/
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/projects/archives-test/.classpath
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/projects/archives-test/.project
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/projects/archives-test/src/
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/ArchivesUITestSuite.java
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/FilesetWizardTest.java
Removed:
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/FIlesetWizardTest.java
Log:
empty tests for archives.ui
Added: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/projects/archives-test/.classpath
===================================================================
--- trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/projects/archives-test/.classpath (rev 0)
+++ trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/projects/archives-test/.classpath 2009-11-12 01:06:52 UTC (rev 18634)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/projects/archives-test/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/projects/archives-test/.project
===================================================================
--- trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/projects/archives-test/.project (rev 0)
+++ trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/projects/archives-test/.project 2009-11-12 01:06:52 UTC (rev 18634)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>archives-test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/projects/archives-test/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/ArchivesUITestSuite.java
===================================================================
--- trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/ArchivesUITestSuite.java (rev 0)
+++ trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/ArchivesUITestSuite.java 2009-11-12 01:06:52 UTC (rev 18634)
@@ -0,0 +1,21 @@
+package org.jboss.ide.eclipse.archives.ui.test;
+
+import org.jboss.ide.eclipse.archives.ui.test.preferences.MainPreferencePageTest;
+import org.jboss.ide.eclipse.archives.ui.test.wizards.FilesetWizardTest;
+import org.jboss.ide.eclipse.archives.ui.test.wizards.NewJARWizardTest;
+import org.jboss.ide.eclipse.archives.ui.views.ProjectArchivesCommonView;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class ArchivesUITestSuite {
+ public static Test suite() {
+ TestSuite suite = new TestSuite();
+ suite.addTestSuite(MainPreferencePageTest.class);
+ suite.addTestSuite(ProjectArchivesCommonView.class);
+ suite.addTestSuite(FilesetWizardTest.class);
+ suite.addTestSuite(NewJARWizardTest.class);
+ return suite;
+ }
+}
+
Property changes on: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/ArchivesUITestSuite.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/FIlesetWizardTest.java
===================================================================
--- trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/FIlesetWizardTest.java 2009-11-12 00:59:22 UTC (rev 18633)
+++ trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/FIlesetWizardTest.java 2009-11-12 01:06:52 UTC (rev 18634)
@@ -1,7 +0,0 @@
-package org.jboss.ide.eclipse.archives.ui.test.wizards;
-
-import junit.framework.TestCase;
-
-public class FIlesetWizardTest extends TestCase {
-
-}
Copied: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/FilesetWizardTest.java (from rev 18633, trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/FIlesetWizardTest.java)
===================================================================
--- trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/FilesetWizardTest.java (rev 0)
+++ trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/FilesetWizardTest.java 2009-11-12 01:06:52 UTC (rev 18634)
@@ -0,0 +1,7 @@
+package org.jboss.ide.eclipse.archives.ui.test.wizards;
+
+import junit.framework.TestCase;
+
+public class FilesetWizardTest extends TestCase {
+
+}
Property changes on: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/FilesetWizardTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 1 month
JBoss Tools SVN: r18633 - in trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test: src and 10 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-11-11 19:59:22 -0500 (Wed, 11 Nov 2009)
New Revision: 18633
Added:
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/preferences/
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/preferences/MainPreferencePageTest.java
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/views/
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/views/ProjectsArchiveViewTest.java
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/FIlesetWizardTest.java
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/NewJARWizardTest.java
Modified:
trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/META-INF/MANIFEST.MF
Log:
empty tests for archives.ui
Modified: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/META-INF/MANIFEST.MF 2009-11-11 21:02:02 UTC (rev 18632)
+++ trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/META-INF/MANIFEST.MF 2009-11-12 00:59:22 UTC (rev 18633)
@@ -5,3 +5,8 @@
Bundle-Version: 1.0.0
Bundle-Vendor: JBoss by RedHat
Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Require-Bundle: org.junit,
+ org.jboss.tools.tests,
+ org.jboss.ide.eclipse.archives.ui,
+ org.eclipse.jface;bundle-version="3.5.0",
+ org.eclipse.ui;bundle-version="3.5.0"
Added: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/preferences/MainPreferencePageTest.java
===================================================================
--- trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/preferences/MainPreferencePageTest.java (rev 0)
+++ trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/preferences/MainPreferencePageTest.java 2009-11-12 00:59:22 UTC (rev 18633)
@@ -0,0 +1,7 @@
+package org.jboss.ide.eclipse.archives.ui.test.preferences;
+
+import junit.framework.TestCase;
+
+public class MainPreferencePageTest extends TestCase {
+
+}
Property changes on: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/preferences/MainPreferencePageTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/views/ProjectsArchiveViewTest.java
===================================================================
--- trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/views/ProjectsArchiveViewTest.java (rev 0)
+++ trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/views/ProjectsArchiveViewTest.java 2009-11-12 00:59:22 UTC (rev 18633)
@@ -0,0 +1,7 @@
+package org.jboss.ide.eclipse.archives.ui.test.views;
+
+import junit.framework.TestCase;
+
+public class ProjectsArchiveViewTest extends TestCase {
+
+}
Property changes on: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/views/ProjectsArchiveViewTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/FIlesetWizardTest.java
===================================================================
--- trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/FIlesetWizardTest.java (rev 0)
+++ trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/FIlesetWizardTest.java 2009-11-12 00:59:22 UTC (rev 18633)
@@ -0,0 +1,7 @@
+package org.jboss.ide.eclipse.archives.ui.test.wizards;
+
+import junit.framework.TestCase;
+
+public class FIlesetWizardTest extends TestCase {
+
+}
Property changes on: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/FIlesetWizardTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/NewJARWizardTest.java
===================================================================
--- trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/NewJARWizardTest.java (rev 0)
+++ trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/NewJARWizardTest.java 2009-11-12 00:59:22 UTC (rev 18633)
@@ -0,0 +1,30 @@
+package org.jboss.ide.eclipse.archives.ui.test.wizards;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.commands.IParameter;
+import org.eclipse.jface.wizard.IWizard;
+import org.eclipse.jface.wizard.WizardDialog;
+import org.eclipse.ui.PlatformUI;
+import org.jboss.ide.eclipse.archives.ui.wizards.NewJARWizard;
+import org.jboss.ide.eclipse.archives.ui.wizards.pages.ArchiveInfoWizardPage;
+import org.jboss.tools.test.util.WorkbenchUtils;
+
+public class NewJARWizardTest extends TestCase {
+
+ public void testJarWizardIsOpened() {
+ IWizard
+ aWizard = new NewJARWizard();
+
+ WizardDialog dialog = new WizardDialog(
+ PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
+ aWizard);
+ dialog.setBlockOnOpen(false);
+ dialog.open();
+ try {
+ ArchiveInfoWizardPage page = (ArchiveInfoWizardPage)dialog.getSelectedPage();
+ } finally {
+ dialog.close();
+ }
+ }
+}
Property changes on: trunk/archives/tests/org.jboss.ide.eclipse.archives.ui.test/src/org/jboss/ide/eclipse/archives/ui/test/wizards/NewJARWizardTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 1 month
JBoss Tools SVN: r18632 - in tags/jbpm-jpdl-4.2: org.jboss.tools.jbpm4.tests.feature and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-11-11 16:02:02 -0500 (Wed, 11 Nov 2009)
New Revision: 18632
Added:
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.tests.feature/
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.tests.feature/feature.xml
Removed:
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.tests.feature/feature.xml
Log:
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.tests.feature (from rev 18327, trunk/jbpm/features/org.jboss.tools.jbpm4.tests.feature)
Deleted: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.tests.feature/feature.xml
===================================================================
--- trunk/jbpm/features/org.jboss.tools.jbpm4.tests.feature/feature.xml 2009-10-27 19:26:18 UTC (rev 18327)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.tests.feature/feature.xml 2009-11-11 21:02:02 UTC (rev 18632)
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.jbpm4.tests.feature"
- label="%featureName"
- version="4.1.0.qualifier"
- provider-name="%featureProvider">
-
- <description>
- %description
- </description>
-
- <copyright>
- %copyright
- </copyright>
-
- <license url="%licenseURL">
- %license
- </license>
-
- <!-- <plugin
- id="org.jboss.tools.flow.common.test"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
- -->
-
- <plugin
- id="org.eclipse.ant.optional.junit"
- download-size="0"
- install-size="0"
- version="0.0.0"
- fragment="true"/>
-
- <plugin
- id="org.eclipse.test"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.flow.jpdl4.multipage.test"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.flow.jpdl4.multipage.test.source"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <!--
- <plugin
- id="org.jboss.tools.flow.jpdl4.test"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.flow.jpdl4.test.source"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
- -->
-
- <plugin
- id="org.jboss.tools.jbpm.common.test"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jbpm.common.test.source"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.tests.feature/feature.xml (from rev 18328, trunk/jbpm/features/org.jboss.tools.jbpm4.tests.feature/feature.xml)
===================================================================
--- tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.tests.feature/feature.xml (rev 0)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.tests.feature/feature.xml 2009-11-11 21:02:02 UTC (rev 18632)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.jbpm4.tests.feature"
+ label="%featureName"
+ version="4.2.0.qualifier"
+ provider-name="%featureProvider">
+
+ <description>
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="%licenseURL">
+ %license
+ </license>
+
+ <plugin
+ id="org.eclipse.ant.optional.junit"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"/>
+
+ <plugin
+ id="org.eclipse.test"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.flow.jpdl4.multipage.test"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.flow.jpdl4.multipage.test.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jbpm.common.test"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jbpm.common.test.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+</feature>
15 years, 1 month
JBoss Tools SVN: r18631 - in tags/jbpm-jpdl-4.2: org.jboss.tools.jbpm4.sdk.feature and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-11-11 16:01:19 -0500 (Wed, 11 Nov 2009)
New Revision: 18631
Added:
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.sdk.feature/
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.sdk.feature/feature.xml
Removed:
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.sdk.feature/feature.xml
Log:
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.sdk.feature (from rev 18326, trunk/jbpm/features/org.jboss.tools.jbpm4.sdk.feature)
Deleted: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.sdk.feature/feature.xml
===================================================================
--- trunk/jbpm/features/org.jboss.tools.jbpm4.sdk.feature/feature.xml 2009-10-27 19:05:53 UTC (rev 18326)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.sdk.feature/feature.xml 2009-11-11 21:01:19 UTC (rev 18631)
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.jbpm4.sdk.feature"
- label="%featureName"
- version="4.1.0.qualifier"
- provider-name="%featureProvider">
-
- <description>
- %description
- </description>
-
- <copyright>
- %copyright
- </copyright>
-
- <license url="%licenseURL">
- %license
- </license>
-
- <url>
- <update label="%updateSiteName" url="http://download.jboss.org/jbosstools/updates/stable"/>
- </url>
-
- <includes
- id="org.jboss.tools.jbpm.common.feature"
- version="0.0.0"/>
-
- <includes
- id="org.jboss.tools.jbpm.common.source.feature"
- version="0.0.0"/>
-
- <includes
- id="org.jboss.tools.flow.common.feature"
- version="0.0.0"/>
-
- <includes
- id="org.jboss.tools.flow.common.source.feature"
- version="0.0.0"/>
-
- <includes
- id="org.jboss.tools.flow.jpdl4.feature"
- version="0.0.0"/>
-
- <includes
- id="org.jboss.tools.flow.jpdl4.source.feature"
- version="0.0.0"/>
-
-</feature>
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.sdk.feature/feature.xml (from rev 18327, trunk/jbpm/features/org.jboss.tools.jbpm4.sdk.feature/feature.xml)
===================================================================
--- tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.sdk.feature/feature.xml (rev 0)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm4.sdk.feature/feature.xml 2009-11-11 21:01:19 UTC (rev 18631)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.jbpm4.sdk.feature"
+ label="%featureName"
+ version="4.2.0.qualifier"
+ provider-name="%featureProvider">
+
+ <description>
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="%licenseURL">
+ %license
+ </license>
+
+ <url>
+ <update label="%updateSiteName" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ </url>
+
+ <includes
+ id="org.jboss.tools.jbpm.common.feature"
+ version="0.0.0"/>
+
+ <includes
+ id="org.jboss.tools.jbpm.common.source.feature"
+ version="0.0.0"/>
+
+ <includes
+ id="org.jboss.tools.flow.common.feature"
+ version="0.0.0"/>
+
+ <includes
+ id="org.jboss.tools.flow.common.source.feature"
+ version="0.0.0"/>
+
+ <includes
+ id="org.jboss.tools.flow.jpdl4.feature"
+ version="0.0.0"/>
+
+ <includes
+ id="org.jboss.tools.flow.jpdl4.source.feature"
+ version="0.0.0"/>
+
+</feature>
15 years, 1 month
JBoss Tools SVN: r18630 - in tags/jbpm-jpdl-4.2: org.jboss.tools.jbpm.common.feature and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-11-11 16:00:25 -0500 (Wed, 11 Nov 2009)
New Revision: 18630
Added:
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/build.properties
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/feature.properties
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/feature.xml
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/sourceTemplateFeature/feature.properties
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/sourceTemplatePlugin/plugin.properties
Removed:
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/build.properties
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/feature.xml
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/sourceTemplateFeature/feature.properties
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/sourceTemplatePlugin/plugin.properties
Log:
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature (from rev 16344, trunk/jbpm/features/org.jboss.tools.jbpm.common.feature)
Deleted: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/build.properties
===================================================================
--- trunk/jbpm/features/org.jboss.tools.jbpm.common.feature/build.properties 2009-07-02 15:15:08 UTC (rev 16344)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/build.properties 2009-11-11 21:00:25 UTC (rev 18630)
@@ -1 +0,0 @@
-bin.includes = feature.xml
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/build.properties (from rev 16437, trunk/jbpm/features/org.jboss.tools.jbpm.common.feature/build.properties)
===================================================================
--- tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/build.properties (rev 0)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/build.properties 2009-11-11 21:00:25 UTC (rev 18630)
@@ -0,0 +1,2 @@
+bin.includes = feature.xml,\
+ feature.properties
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/feature.properties (from rev 16437, trunk/jbpm/features/org.jboss.tools.jbpm.common.feature/feature.properties)
===================================================================
--- tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/feature.properties (rev 0)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/feature.properties 2009-11-11 21:00:25 UTC (rev 18630)
@@ -0,0 +1,90 @@
+featureName=Common tools for jBPM 3 and jBPM 4
+featureProvider=JBoss by Red Hat
+description=This feature includes common end-user tools for jBPM 3 and jBPM 4.
+copyright=Copyright 2009 Red Hat, Inc.
+licenseURL=http://www.eclipse.org/legal/epl-v10.html
+license= Eclipse Public License - v 1.0\n\
+\n\
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.\n\
+\n\
+\n\
+1. DEFINITIONS\n\
+\n\
+"Contribution" means:\n\
+a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and\n\
+b) in the case of each subsequent Contributor:\n\
+ i) changes to the Program, and\n\
+ ii) additions to the Program;\n\
+where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program\n\
+which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.\n\
+\n\
+"Contributor" means any person or entity that distributes the Program.\n\
+\n\
+"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.\n\
+\n\
+"Program" means the Contributions distributed in accordance with this Agreement.\n\
+\n\
+"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.\n\
+\n\
+\n\
+2. GRANT OF RIGHTS\n\
+\n\
+a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source\n\
+code and object code form.\n\
+\n\
+b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor,\n\
+such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.\n\
+\n\
+c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other\n\
+intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.\n\
+\n\
+d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.\n\
+\n\
+\n\
+3. REQUIREMENTS\n\
+\n\
+A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:\n\
+a) it complies with the terms and conditions of this Agreement; and\n\
+b) its license agreement:\n\
+i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;\n\
+ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;\n\
+iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and\n\
+iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.\n\
+\n\
+When the Program is made available in source code form:\n\
+a) it must be made available under this Agreement; and\n\
+b) a copy of this Agreement must be included with each copy of the Program.\n\
+\n\
+Contributors may not remove or alter any copyright notices contained within the Program.\n\
+\n\
+Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.\n\
+\n\
+\n\
+4. COMMERCIAL DISTRIBUTION\n\
+\n\
+Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create\n\
+potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from\n\
+claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control,and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers wa!
rranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial\n\
+Contributor must pay those damages.\n\
+\n\
+\n\
+5. NO WARRANTY\n\
+\n\
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with\n\
+its exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.\n\
+\n\
+\n\
+6. DISCLAIMER OF LIABILITY\n\
+\n\
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE\n\
+OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\
+\n\
+\n\
+7. GENERAL\n\
+\n\
+If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision\n\
+valid and enforceable. If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. Everyone is permit!
ted to copy and distribute copies of this Agreement,\n\
+but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version\n\
+number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.\n\
+\n\
+\n\
\ No newline at end of file
Deleted: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/feature.xml
===================================================================
--- trunk/jbpm/features/org.jboss.tools.jbpm.common.feature/feature.xml 2009-07-02 15:15:08 UTC (rev 16344)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/feature.xml 2009-11-11 21:00:25 UTC (rev 18630)
@@ -1,216 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.jbpm.common.feature"
- label="jBPM Common"
- version="1.0.0.qualifier"
- provider-name="JBoss by Red Hat">
-
- <description>
- [Enter Feature Description here.]
- </description>
-
- <license url="http://www.eclipse.org/legal/epl-v10.html">
- Eclipse Public License - v 1.0
-THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
-ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
-DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.
-1. DEFINITIONS
-"Contribution" means:
-a) in the case of the initial Contributor, the initial code and
-documentation distributed under this Agreement, and
-b) in the case of each subsequent Contributor:
-i) changes to the Program, and
-ii) additions to the Program;
-where such changes and/or additions to the Program originate
-from and are distributed by that particular Contributor. A Contribution
-'originates' from a Contributor if it was added to the Program
-by such Contributor itself or anyone acting on such Contributor's
-behalf. Contributions do not include additions to the Program
-which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii)
-are not derivative works of the Program.
-"Contributor" means any person or entity that distributes the
-Program.
-"Licensed Patents " mean patent claims licensable by a Contributor
-which are necessarily infringed by the use or sale of its Contribution
-alone or when combined with the Program.
-"Program" means the Contributions distributed in accordance with
-this Agreement.
-"Recipient" means anyone who receives the Program under this
-Agreement, including all Contributors.
-2. GRANT OF RIGHTS
-a) Subject to the terms of this Agreement, each Contributor hereby
-grants Recipient a non-exclusive, worldwide, royalty-free copyright
-license to reproduce, prepare derivative works of, publicly display,
-publicly perform, distribute and sublicense the Contribution
-of such Contributor, if any, and such derivative works, in source
-code and object code form.
-b) Subject to the terms of this Agreement, each Contributor hereby
-grants Recipient a non-exclusive, worldwide, royalty-free patent
-license under Licensed Patents to make, use, sell, offer to sell,
-import and otherwise transfer the Contribution of such Contributor,
-if any, in source code and object code form. This patent license
-shall apply to the combination of the Contribution and the Program
-if, at the time the Contribution is added by the Contributor,
-such addition of the Contribution causes such combination to
-be covered by the Licensed Patents. The patent license shall
-not apply to any other combinations which include the Contribution.
-No hardware per se is licensed hereunder.
-c) Recipient understands that although each Contributor grants
-the licenses to its Contributions set forth herein, no assurances
-are provided by any Contributor that the Program does not infringe
-the patent or other intellectual property rights of any other
-entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement
-of intellectual property rights or otherwise. As a condition
-to exercising the rights and licenses granted hereunder, each
-Recipient hereby assumes sole responsibility to secure any other
-intellectual property rights needed, if any. For example, if
-a third party patent license is required to allow Recipient to
-distribute the Program, it is Recipient's responsibility to acquire
-that license before distributing the Program.
-d) Each Contributor represents that to its knowledge it has sufficient
-copyright rights in its Contribution, if any, to grant the copyright
-license set forth in this Agreement.
-3. REQUIREMENTS
-A Contributor may choose to distribute the Program in object
-code form under its own license agreement, provided that:
-a) it complies with the terms and conditions of this Agreement;
-and
-b) its license agreement:
-i) effectively disclaims on behalf of all Contributors all warranties
-and conditions, express and implied, including warranties or
-conditions of title and non-infringement, and implied warranties
-or conditions of merchantability and fitness for a particular
-purpose;
-ii) effectively excludes on behalf of all Contributors all liability
-for damages, including direct, indirect, special, incidental
-and consequential damages, such as lost profits;
-iii) states that any provisions which differ from this Agreement
-are offered by that Contributor alone and not by any other party;
-and
-iv) states that source code for the Program is available from
-such Contributor, and informs licensees how to obtain it in a
-reasonable manner on or through a medium customarily used for
-software exchange.
-When the Program is made available in source code form:
-a) it must be made available under this Agreement; and
-b) a copy of this Agreement must be included with each copy of
-the Program.
-Contributors may not remove or alter any copyright notices contained
-within the Program.
-Each Contributor must identify itself as the originator of its
-Contribution, if any, in a manner that reasonably allows subsequent
-Recipients to identify the originator of the Contribution.
-4. COMMERCIAL DISTRIBUTION
-Commercial distributors of software may accept certain responsibilities
-with respect to end users, business partners and the like. While
-this license is intended to facilitate the commercial use of
-the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create
-potential liability for other Contributors. Therefore, if a Contributor
-includes the Program in a commercial product offering, such Contributor
-("Commercial Contributor") hereby agrees to defend and indemnify
-every other Contributor ("Indemnified Contributor") against any
-losses, damages and costs (collectively "Losses") arising from
-claims, lawsuits and other legal actions brought by a third party
-against the Indemnified Contributor to the extent caused by the
-acts or omissions of such Commercial Contributor in connection
-with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any
-claims or Losses relating to any actual or alleged intellectual
-property infringement. In order to qualify, an Indemnified Contributor
-must: a) promptly notify the Commercial Contributor in writing
-of such claim, and b) allow the Commercial Contributor to control,and
-cooperate with the Commercial Contributor in, the defense and
-any related settlement negotiations. The Indemnified Contributor
-may participate in any such claim at its own expense. For example,
-a Contributor might include the Program in a commercial product
-offering, Product X. That Contributor is then a Commercial Contributor.
-If that Commercial Contributor then makes performance claims,
-or offers warranties related to Product X, those performance
-claims and warranties are such Commercial Contributor's responsibility
-alone. Under this section, the Commercial Contributor would have
-to defend claims against the other Contributors related to those
-performance claims and warranties, and if a court requires any
-other Contributor to pay any damages as a result, the Commercial
-Contributor must pay those damages.
-5. NO WARRANTY
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM
-IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
-OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
-ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
-OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and
-distributing the Program and assumes all risks associated with
-its exercise of rights under this Agreement , including but not
-limited to the risks and costs of program errors, compliance
-with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations.
-6. DISCLAIMER OF LIABILITY
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
-NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE
-OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY
-OF SUCH DAMAGES.
-7. GENERAL
-If any provision of this Agreement is invalid or unenforceable
-under applicable law, it shall not affect the validity or enforceability
-of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be
-reformed to the minimum extent necessary to make such provision
-valid and enforceable. If Recipient institutes patent litigation
-against any entity (including a cross-claim or counterclaim in
-a lawsuit) alleging that the Program itself (excluding combinations
-of the Program with other software or hardware) infringes such
-Recipient's patent(s), then such Recipient's rights granted under
-Section 2(b) shall terminate as of the date such litigation is
-filed. All Recipient's rights under this Agreement shall terminate
-if it fails to comply with any of the material terms or conditions
-of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If
-all Recipient's rights under this Agreement terminate, Recipient
-agrees to cease use and distribution of the Program as soon as
-reasonably practicable. However, Recipient's obligations under
-this Agreement and any licenses granted by Recipient relating
-to the Program shall continue and survive. Everyone is permitted
-to copy and distribute copies of this Agreement,
-but in order to avoid inconsistency the Agreement is copyrighted
-and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including
-revisions) of this Agreement from time to time. No one other
-than the Agreement Steward has the right to modify this Agreement.
-The Eclipse Foundation is the initial Agreement Steward. The
-Eclipse Foundation may assign the responsibility to serve as
-the Agreement Steward to a suitable separate entity. Each new
-version of the Agreement will be given a distinguishing version
-number. The Program (including Contributions) may always be distributed
-subject to the version of the Agreement under which it was received.
-In addition, after a new version of the Agreement is published,
-Contributor may elect to distribute the Program (including its
-Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights
-or licenses to the intellectual property of any Contributor under
-this Agreement, whether expressly, by implication, estoppel or
-otherwise. All rights in the Program not expressly granted under
-this Agreement are reserved. This Agreement is governed by the
-laws of the State of New York and the intellectual property laws
-of the United States of America. No party to this Agreement will
-bring a legal action under this Agreement more than one year
-after the cause of action arose. Each party waives its rights
-to a jury trial in any resulting litigation.
- </license>
-
- <plugin
- id="org.jboss.tools.jbpm.common"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
-</feature>
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/feature.xml (from rev 18317, trunk/jbpm/features/org.jboss.tools.jbpm.common.feature/feature.xml)
===================================================================
--- tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/feature.xml (rev 0)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/feature.xml 2009-11-11 21:00:25 UTC (rev 18630)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.jbpm.common.feature"
+ label="%featureName"
+ version="1.2.0.qualifier"
+ provider-name="%featureProvider">
+
+ <description>
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="%licenseURL">
+ %license
+ </license>
+
+ <plugin
+ id="org.jboss.tools.jbpm.common"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+</feature>
Deleted: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/sourceTemplateFeature/feature.properties
===================================================================
--- trunk/jbpm/features/org.jboss.tools.jbpm.common.feature/sourceTemplateFeature/feature.properties 2009-07-02 15:15:08 UTC (rev 16344)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/sourceTemplateFeature/feature.properties 2009-11-11 21:00:25 UTC (rev 18630)
@@ -1,21 +0,0 @@
-# properties file for org.jboss.tools.jmx.source
-featureName=jBPM Common Source
-featureProvider=JBoss by Red Hat
-
-# "updateSiteName" property - label for the update site
-updateSiteName=JBossTools Update Site
-
-# "description" property - description of the feature
-description=jBPM Common Source
-
-# "licenseURL" property - URL of the "Feature License"
-# do not translate value - just change to point to a locale-specific HTML page
-licenseURL=license.html
-
-# START NON-TRANSLATABLE
-# "license" property - text of the "Feature Update License"
-# should be plain text version of license agreement pointed to be "licenseURL"
-license=ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT\nMarch 17, 2005\n\nUsage Of Content\n\nTHE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\nOTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\nUSE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\nAGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\nNOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\nAGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\nAND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\nOR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\nTERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\nOF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\nBELOW, THEN YOU MAY NOT USE THE CONTENT.\n\nApplicable Licenses\n\nUnless otherwise indicated, all Content made available by the Eclipse Foundation\nis provided to you under the terms and conditio!
ns of the Eclipse Public\nLicense Version 1.0 ("EPL"). A copy of the EPL is provided with this\nContent and is also available at http\://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.\n\nContent includes, but is not limited to, source code, object code,\ndocumentation and other files maintained in the Eclipse.org CVS\nrepository ("Repository") in CVS modules ("Modules") and made available\nas downloadable archives ("Downloads").\n\n- Content may be structured and packaged into modules to facilitate delivering,\nextending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\nplug-in fragments ("Fragments"), and features ("Features").\n- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive)\nin a directory named "plugins".\n- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\nEach Feature may be packaged as a sub-directory in a directory!
named "features".\nWithin a Feature, files named "feature.xml!
" may co
ntain a list of the names and version\nnumbers of the Plug-ins and/or Fragments associated with that Feature.\n- Features may also include other Features ("Included Features"). Within a Feature, files\nnamed "feature.xml" may contain a list of the names and version numbers of Included Features.\n\nFeatures may also include other Features ("Included Features"). Files named\n"feature.xml" may contain a list of the names and version numbers of\nIncluded Features.\n\nThe terms and conditions governing Plug-ins and Fragments should be\ncontained in files named "about.html" ("Abouts"). The terms and\nconditions governing Features and Included Features should be contained\nin files named "license.html" ("Feature Licenses"). Abouts and Feature\nLicenses may be located in any directory of a Download or Module\nincluding, but not limited to the following locations\:\n\n- The top-level (root) directory\n- Plug-in and Fragment directories\n- Inside Plug-ins and Fragments packaged as JAR!
s\n- Sub-directories of the directory named "src" of certain Plug-ins\n- Feature directories\n\nNote\: if a Feature made available by the Eclipse Foundation is installed using the\nEclipse Update Manager, you must agree to a license ("Feature Update\nLicense") during the installation process. If the Feature contains\nIncluded Features, the Feature Update License should either provide you\nwith the terms and conditions governing the Included Features or inform\nyou where you can locate them. Feature Update Licenses may be found in\nthe "license" property of files named "feature.properties". Such Abouts,\nFeature Licenses and Feature Update Licenses contain the terms and\nconditions (or references to such terms and conditions) that govern your\nuse of the associated Content in that directory.\n\nTHE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\nTO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\nSOME OF THESE OTHER LICENSE AGREEMENTS MA!
Y INCLUDE (BUT ARE NOT LIMITED TO)\:\n\n- Common Public Licens!
e Versio
n 1.0 (available at http\://www.eclipse.org/legal/cpl-v10.html)\n- Apache Software License 1.1 (available at http\://www.apache.org/licenses/LICENSE)\n- Apache Software License 2.0 (available at http\://www.apache.org/licenses/LICENSE-2.0)\n- IBM Public License 1.0 (available at http\://oss.software.ibm.com/developerworks/opensource/license10.html)\n- Metro Link Public License 1.00 (available at http\://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n- Mozilla Public License Version 1.1 (available at http\://www.mozilla.org/MPL/MPL-1.1.html)\n\nIT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\nTO USE OF THE CONTENT. If no About, Feature License or Feature Update License\nis provided, please contact the Eclipse Foundation to determine what terms and conditions\ngovern that particular Content.\n\nCryptography\n\nContent may contain encryption software. The country in which you are\ncurrently may have restrictions on the import, posse!
ssion, and use,\nand/or re-export to another country, of encryption software. BEFORE\nusing any encryption software, please check the country's laws,\nregulations and policies concerning the import, possession, or use,\nand re-export of encryption software, to see if this is permitted.\n\nJava and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.\n
-# END NON-TRANSLATABLE
-########### end of license property ##########################################
-
\ No newline at end of file
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/sourceTemplateFeature/feature.properties (from rev 16469, trunk/jbpm/features/org.jboss.tools.jbpm.common.feature/sourceTemplateFeature/feature.properties)
===================================================================
--- tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/sourceTemplateFeature/feature.properties (rev 0)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/sourceTemplateFeature/feature.properties 2009-11-11 21:00:25 UTC (rev 18630)
@@ -0,0 +1,21 @@
+# properties file for org.jboss.tools.jmx.source
+featureName=Common tools for jBPM 3 and jBPM 4 Sources
+featureProvider=JBoss by Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+# "description" property - description of the feature
+description=jBPM Common Source
+
+# "licenseURL" property - URL of the "Feature License"
+# do not translate value - just change to point to a locale-specific HTML page
+licenseURL=license.html
+
+# START NON-TRANSLATABLE
+# "license" property - text of the "Feature Update License"
+# should be plain text version of license agreement pointed to be "licenseURL"
+license=ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT\nMarch 17, 2005\n\nUsage Of Content\n\nTHE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\nOTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\nUSE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\nAGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\nNOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\nAGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\nAND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\nOR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\nTERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\nOF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\nBELOW, THEN YOU MAY NOT USE THE CONTENT.\n\nApplicable Licenses\n\nUnless otherwise indicated, all Content made available by the Eclipse Foundation\nis provided to you under the terms and conditio!
ns of the Eclipse Public\nLicense Version 1.0 ("EPL"). A copy of the EPL is provided with this\nContent and is also available at http\://www.eclipse.org/legal/epl-v10.html.\nFor purposes of the EPL, "Program" will mean the Content.\n\nContent includes, but is not limited to, source code, object code,\ndocumentation and other files maintained in the Eclipse.org CVS\nrepository ("Repository") in CVS modules ("Modules") and made available\nas downloadable archives ("Downloads").\n\n- Content may be structured and packaged into modules to facilitate delivering,\nextending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\nplug-in fragments ("Fragments"), and features ("Features").\n- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive)\nin a directory named "plugins".\n- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\nEach Feature may be packaged as a sub-directory in a directory!
named "features".\nWithin a Feature, files named "feature.xml!
" may co
ntain a list of the names and version\nnumbers of the Plug-ins and/or Fragments associated with that Feature.\n- Features may also include other Features ("Included Features"). Within a Feature, files\nnamed "feature.xml" may contain a list of the names and version numbers of Included Features.\n\nFeatures may also include other Features ("Included Features"). Files named\n"feature.xml" may contain a list of the names and version numbers of\nIncluded Features.\n\nThe terms and conditions governing Plug-ins and Fragments should be\ncontained in files named "about.html" ("Abouts"). The terms and\nconditions governing Features and Included Features should be contained\nin files named "license.html" ("Feature Licenses"). Abouts and Feature\nLicenses may be located in any directory of a Download or Module\nincluding, but not limited to the following locations\:\n\n- The top-level (root) directory\n- Plug-in and Fragment directories\n- Inside Plug-ins and Fragments packaged as JAR!
s\n- Sub-directories of the directory named "src" of certain Plug-ins\n- Feature directories\n\nNote\: if a Feature made available by the Eclipse Foundation is installed using the\nEclipse Update Manager, you must agree to a license ("Feature Update\nLicense") during the installation process. If the Feature contains\nIncluded Features, the Feature Update License should either provide you\nwith the terms and conditions governing the Included Features or inform\nyou where you can locate them. Feature Update Licenses may be found in\nthe "license" property of files named "feature.properties". Such Abouts,\nFeature Licenses and Feature Update Licenses contain the terms and\nconditions (or references to such terms and conditions) that govern your\nuse of the associated Content in that directory.\n\nTHE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\nTO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\nSOME OF THESE OTHER LICENSE AGREEMENTS MA!
Y INCLUDE (BUT ARE NOT LIMITED TO)\:\n\n- Common Public Licens!
e Versio
n 1.0 (available at http\://www.eclipse.org/legal/cpl-v10.html)\n- Apache Software License 1.1 (available at http\://www.apache.org/licenses/LICENSE)\n- Apache Software License 2.0 (available at http\://www.apache.org/licenses/LICENSE-2.0)\n- IBM Public License 1.0 (available at http\://oss.software.ibm.com/developerworks/opensource/license10.html)\n- Metro Link Public License 1.00 (available at http\://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n- Mozilla Public License Version 1.1 (available at http\://www.mozilla.org/MPL/MPL-1.1.html)\n\nIT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\nTO USE OF THE CONTENT. If no About, Feature License or Feature Update License\nis provided, please contact the Eclipse Foundation to determine what terms and conditions\ngovern that particular Content.\n\nCryptography\n\nContent may contain encryption software. The country in which you are\ncurrently may have restrictions on the import, posse!
ssion, and use,\nand/or re-export to another country, of encryption software. BEFORE\nusing any encryption software, please check the country's laws,\nregulations and policies concerning the import, possession, or use,\nand re-export of encryption software, to see if this is permitted.\n\nJava and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.\n
+# END NON-TRANSLATABLE
+########### end of license property ##########################################
+
\ No newline at end of file
Deleted: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/sourceTemplatePlugin/plugin.properties
===================================================================
--- trunk/jbpm/features/org.jboss.tools.jbpm.common.feature/sourceTemplatePlugin/plugin.properties 2009-07-02 15:15:08 UTC (rev 16344)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/sourceTemplatePlugin/plugin.properties 2009-11-11 21:00:25 UTC (rev 18630)
@@ -1,3 +0,0 @@
-pluginName = jBPM Common Source
-providerName = JBoss by Red Hat
-
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/sourceTemplatePlugin/plugin.properties (from rev 16469, trunk/jbpm/features/org.jboss.tools.jbpm.common.feature/sourceTemplatePlugin/plugin.properties)
===================================================================
--- tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/sourceTemplatePlugin/plugin.properties (rev 0)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common.feature/sourceTemplatePlugin/plugin.properties 2009-11-11 21:00:25 UTC (rev 18630)
@@ -0,0 +1,3 @@
+pluginName = Common tools for jBPM 3 and jBPM 4 Sources
+providerName = JBoss by Red Hat
+
15 years, 1 month
JBoss Tools SVN: r18629 - in tags/jbpm-jpdl-4.2: org.jboss.tools.jbpm.common and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-11-11 15:59:32 -0500 (Wed, 11 Nov 2009)
New Revision: 18629
Added:
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/META-INF/MANIFEST.MF
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/plugin.xml
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/src/
Removed:
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/META-INF/MANIFEST.MF
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/plugin.xml
tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/src/
Log:
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common (from rev 16344, trunk/jbpm/plugins/org.jboss.tools.jbpm.common)
Deleted: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/META-INF/MANIFEST.MF
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.jbpm.common/META-INF/MANIFEST.MF 2009-07-02 15:15:08 UTC (rev 16344)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/META-INF/MANIFEST.MF 2009-11-11 20:59:32 UTC (rev 18629)
@@ -1,17 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: jPDL Integration Tools
-Bundle-SymbolicName: org.jboss.tools.jbpm.common;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: JBoss by Red Hat
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Require-Bundle: org.eclipse.jface;bundle-version="3.4.2",
- org.eclipse.ui;bundle-version="3.4.2",
- org.eclipse.core.runtime;bundle-version="3.4.0",
- org.eclipse.jdt.core;bundle-version="3.4.4",
- org.eclipse.core.resources;bundle-version="3.4.2",
- org.eclipse.ui.ide;bundle-version="3.4.2"
-Export-Package: org.jboss.tools.jbpm,
- org.jboss.tools.jbpm.java,
- org.jboss.tools.jbpm.preferences,
- org.jboss.tools.jbpm.util
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/META-INF/MANIFEST.MF (from rev 18318, trunk/jbpm/plugins/org.jboss.tools.jbpm.common/META-INF/MANIFEST.MF)
===================================================================
--- tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/META-INF/MANIFEST.MF (rev 0)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/META-INF/MANIFEST.MF 2009-11-11 20:59:32 UTC (rev 18629)
@@ -0,0 +1,17 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Common Tools for jBPM 3 and jBPM 4
+Bundle-SymbolicName: org.jboss.tools.jbpm.common;singleton:=true
+Bundle-Version: 1.2.0.qualifier
+Bundle-Vendor: JBoss by Red Hat
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Require-Bundle: org.eclipse.jface;bundle-version="3.4.2",
+ org.eclipse.ui;bundle-version="3.4.2",
+ org.eclipse.core.runtime;bundle-version="3.4.0",
+ org.eclipse.jdt.core;bundle-version="3.4.4",
+ org.eclipse.core.resources;bundle-version="3.4.2",
+ org.eclipse.ui.ide;bundle-version="3.4.2"
+Export-Package: org.jboss.tools.jbpm,
+ org.jboss.tools.jbpm.java,
+ org.jboss.tools.jbpm.preferences,
+ org.jboss.tools.jbpm.util
Deleted: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/plugin.xml
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.jbpm.common/plugin.xml 2009-07-02 15:15:08 UTC (rev 16344)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/plugin.xml 2009-11-11 20:59:32 UTC (rev 18629)
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
- <extension
- point="org.eclipse.ui.preferencePages">
- <page
- class="org.jboss.tools.jbpm.preferences.DefaultPage"
- id="org.jboss.tools.jbpm"
- name="JBoss jBPM"/>
- </extension>
-
- <extension
- point="org.eclipse.ui.newWizards">
- <category
- name="JBoss jBPM"
- id="org.jboss.tools.jbpm">
- </category>
- </extension>
-
-</plugin>
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/plugin.xml (from rev 16387, trunk/jbpm/plugins/org.jboss.tools.jbpm.common/plugin.xml)
===================================================================
--- tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/plugin.xml (rev 0)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/plugin.xml 2009-11-11 20:59:32 UTC (rev 18629)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.ui.preferencePages">
+ <page
+ class="org.jboss.tools.jbpm.preferences.DefaultPage"
+ id="org.jboss.tools.jbpm"
+ name="JBoss jBPM"/>
+ </extension>
+
+ <extension
+ point="org.eclipse.ui.newWizards">
+ <category
+ name="JBoss jBPM"
+ id="org.jboss.tools.jbpm">
+ </category>
+ </extension>
+ <extension
+ point="org.eclipse.ui.views">
+ <category
+ id="org.jboss.tools.jbpm"
+ name="JBoss jBPM">
+ </category>
+ </extension>
+
+</plugin>
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.jbpm.common/src (from rev 18296, trunk/jbpm/plugins/org.jboss.tools.jbpm.common/src)
15 years, 1 month
JBoss Tools SVN: r18628 - in tags/jbpm-jpdl-4.2: org.jboss.tools.flow.jpdl4.test/META-INF and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-11-11 15:58:37 -0500 (Wed, 11 Nov 2009)
New Revision: 18628
Added:
tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.test/
tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.test/META-INF/MANIFEST.MF
Removed:
tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.test/META-INF/MANIFEST.MF
Log:
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.test (from rev 16344, trunk/jbpm/tests/org.jboss.tools.flow.jpdl4.test)
Deleted: tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/jbpm/tests/org.jboss.tools.flow.jpdl4.test/META-INF/MANIFEST.MF 2009-07-02 15:15:08 UTC (rev 16344)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.test/META-INF/MANIFEST.MF 2009-11-11 20:58:37 UTC (rev 18628)
@@ -1,7 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-SymbolicName: org.jboss.tools.flow.jpdl4.test
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: %pluginProvider
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.test/META-INF/MANIFEST.MF (from rev 18319, trunk/jbpm/tests/org.jboss.tools.flow.jpdl4.test/META-INF/MANIFEST.MF)
===================================================================
--- tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.test/META-INF/MANIFEST.MF (rev 0)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.test/META-INF/MANIFEST.MF 2009-11-11 20:58:37 UTC (rev 18628)
@@ -0,0 +1,7 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.jboss.tools.flow.jpdl4.test
+Bundle-Version: 1.2.0.qualifier
+Bundle-Vendor: %pluginProvider
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
15 years, 1 month
JBoss Tools SVN: r18627 - in tags/jbpm-jpdl-4.2: org.jboss.tools.flow.jpdl4.multipage and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-11-11 15:57:45 -0500 (Wed, 11 Nov 2009)
New Revision: 18627
Added:
tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/
tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/META-INF/MANIFEST.MF
tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/plugin.properties
tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/plugin.xml
tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/validator/Jpdl4Validator.java
tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/xml/
Removed:
tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/META-INF/MANIFEST.MF
tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/plugin.properties
tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/plugin.xml
tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/validator/Jpdl4Validator.java
Log:
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage (from rev 16344, trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage)
Deleted: tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/META-INF/MANIFEST.MF
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/META-INF/MANIFEST.MF 2009-07-02 15:15:08 UTC (rev 16344)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/META-INF/MANIFEST.MF 2009-11-11 20:57:45 UTC (rev 18627)
@@ -1,23 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-SymbolicName: org.jboss.tools.flow.jpdl4.multipage;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Activator: org.jboss.tools.flow.jpdl4.multipage.MultiPageEditorPlugin
-Bundle-Vendor: %providerName
-Bundle-Localization: plugin
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.jface.text,
- org.eclipse.core.resources,
- org.eclipse.ui.editors,
- org.eclipse.ui.ide,
- org.jboss.tools.flow.jpdl4;bundle-version="1.0.0",
- org.eclipse.wst.sse.ui;bundle-version="1.1.3",
- org.eclipse.ui.views.properties.tabbed;bundle-version="3.4.1",
- org.jboss.tools.flow.common;bundle-version="1.0.0",
- org.eclipse.gef;bundle-version="3.4.1",
- org.eclipse.wst.validation;bundle-version="1.2.6",
- org.jboss.tools.jbpm.common;bundle-version="1.0.0"
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Bundle-ActivationPolicy: lazy
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/META-INF/MANIFEST.MF (from rev 18321, trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/META-INF/MANIFEST.MF)
===================================================================
--- tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/META-INF/MANIFEST.MF (rev 0)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/META-INF/MANIFEST.MF 2009-11-11 20:57:45 UTC (rev 18627)
@@ -0,0 +1,24 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.jboss.tools.flow.jpdl4.multipage;singleton:=true
+Bundle-Version: 1.2.0.qualifier
+Bundle-Activator: org.jboss.tools.flow.jpdl4.multipage.MultiPageEditorPlugin
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.jface.text,
+ org.eclipse.core.resources,
+ org.eclipse.ui.editors,
+ org.eclipse.ui.ide,
+ org.jboss.tools.flow.jpdl4;bundle-version="1.0.0",
+ org.eclipse.wst.sse.ui;bundle-version="1.1.3",
+ org.eclipse.ui.views.properties.tabbed;bundle-version="3.4.1",
+ org.jboss.tools.flow.common;bundle-version="1.0.0",
+ org.eclipse.gef;bundle-version="3.4.1",
+ org.eclipse.wst.validation;bundle-version="1.2.6",
+ org.jboss.tools.jbpm.common;bundle-version="1.0.0",
+ org.eclipse.wst.xml.core;bundle-version="1.1.400"
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ActivationPolicy: lazy
Deleted: tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/plugin.properties
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/plugin.properties 2009-07-02 15:15:08 UTC (rev 16344)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/plugin.properties 2009-11-11 20:57:45 UTC (rev 18627)
@@ -1,2 +0,0 @@
-pluginName=Jpdl4 Multipage Editor Plug-in
-providerName=JBoss by Red Hat
\ No newline at end of file
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/plugin.properties (from rev 16468, trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/plugin.properties)
===================================================================
--- tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/plugin.properties (rev 0)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/plugin.properties 2009-11-11 20:57:45 UTC (rev 18627)
@@ -0,0 +1,2 @@
+pluginName=Jpdl4 Multipage Editor
+providerName=JBoss by Red Hat
\ No newline at end of file
Deleted: tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/plugin.xml
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/plugin.xml 2009-07-02 15:15:08 UTC (rev 16344)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/plugin.xml 2009-11-11 20:57:45 UTC (rev 18627)
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.2"?>
-<plugin>
-
-
- <extension
- point="org.eclipse.ui.editors">
- <editor
- class="org.jboss.tools.flow.jpdl4.multipage.editors.MultiPageEditor"
- contributorClass="org.jboss.tools.flow.jpdl4.multipage.editors.MultiPageEditorContributor"
- icon="icons/process.gif"
- id="org.jboss.tools.flow.jpdl4.multipage.editors.MultiPageEditor"
- name="jBPM jPDL4 Editor">
- <contentTypeBinding
- contentTypeId="org.jboss.tools.flow.jpdl4">
- </contentTypeBinding>
- </editor>
- </extension>
- <extension
- id="org.jboss.tools.flow.jpdl4"
- name="jPDL 4 Validator"
- point="org.eclipse.wst.validation.validatorV2">
- <validator
- class="org.jboss.tools.flow.jpdl4.multipage.validator.Jpdl4Validator">
- <include>
- <rules>
- <contentType
- id="org.jboss.tools.flow.jpdl4">
- </contentType>
- </rules>
- </include>
- </validator>
- </extension>
-
-</plugin>
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/plugin.xml (from rev 16834, trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/plugin.xml)
===================================================================
--- tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/plugin.xml (rev 0)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/plugin.xml 2009-11-11 20:57:45 UTC (rev 18627)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+
+
+ <extension
+ point="org.eclipse.ui.editors">
+ <editor
+ class="org.jboss.tools.flow.jpdl4.multipage.editors.MultiPageEditor"
+ contributorClass="org.jboss.tools.flow.jpdl4.multipage.editors.MultiPageEditorContributor"
+ icon="icons/process.gif"
+ id="org.jboss.tools.flow.jpdl4.multipage.editors.MultiPageEditor"
+ name="jBPM jPDL4 Editor">
+ <contentTypeBinding
+ contentTypeId="org.jboss.tools.flow.jpdl4">
+ </contentTypeBinding>
+ </editor>
+ </extension>
+ <extension
+ id="org.jboss.tools.flow.jpdl4"
+ name="jPDL 4 Validator"
+ point="org.eclipse.wst.validation.validatorV2">
+ <validator
+ class="org.jboss.tools.flow.jpdl4.multipage.validator.Jpdl4Validator">
+ <include>
+ <rules>
+ <contentType
+ id="org.jboss.tools.flow.jpdl4">
+ </contentType>
+ </rules>
+ </include>
+ </validator>
+ </extension>
+ <extension id="org.jboss.tools.flow.jpdl4.problem" point="org.eclipse.core.resources.markers" name="jPDL4 Problem">
+ <super type="org.eclipse.core.resources.problemmarker"/>
+ </extension>
+</plugin>
Deleted: tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/validator/Jpdl4Validator.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/validator/Jpdl4Validator.java 2009-07-02 15:15:08 UTC (rev 16344)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/validator/Jpdl4Validator.java 2009-11-11 20:57:45 UTC (rev 18627)
@@ -1,185 +0,0 @@
-package org.jboss.tools.flow.jpdl4.multipage.validator;
-
-import java.io.File;
-import java.io.InputStream;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.net.URLClassLoader;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IMarker;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.wst.validation.AbstractValidator;
-import org.eclipse.wst.validation.ValidationResult;
-import org.eclipse.wst.validation.ValidationState;
-import org.eclipse.wst.validation.ValidatorMessage;
-import org.jboss.tools.flow.jpdl4.Activator;
-import org.jboss.tools.flow.jpdl4.multipage.Logger;
-import org.jboss.tools.jbpm.Constants;
-import org.jboss.tools.jbpm.preferences.JbpmInstallation;
-import org.jboss.tools.jbpm.preferences.PreferencesManager;
-
-public class Jpdl4Validator extends AbstractValidator {
-
- public ValidationResult validate(
- IResource resource,
- int kind,
- ValidationState state,
- IProgressMonitor monitor) {
- clearMarkers((IFile)resource);
- ValidationResult validationResult = super.validate(resource, kind, state, monitor);
- if (!(resource instanceof IFile) || resource == null) return validationResult;
- PreferencesManager manager = PreferencesManager.getPreferencesManager(Activator.getDefault());
- if (manager == null) return validationResult;
- String jbpmName = Activator.getDefault().getPluginPreferences().getString(Constants.JBPM_NAME);
- if (jbpmName == null) return validationResult;
- JbpmInstallation jbpmInstallation = manager.getJbpmInstallation(jbpmName);
- if (jbpmInstallation == null) return validationResult;
- String location = jbpmInstallation.location;
- if (location == null) return validationResult;
- File installdir = new File(location);
- if (!installdir.exists() || !installdir.isDirectory()) return validationResult;
- ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
- ArrayList<URL> urlList = getUrls(installdir);
- ClassLoader newClassLoader = new URLClassLoader(urlList.toArray(new URL[urlList.size()]), oldClassLoader);
- Thread.currentThread().setContextClassLoader(newClassLoader);
- List problemList = parse((IFile)resource);
- if (!problemList.isEmpty()) {
- validationResult = addToValidationResult((IFile)resource, problemList, validationResult);
-
- }
- Thread.currentThread().setContextClassLoader(oldClassLoader);
- return validationResult;
- }
-
- private void clearMarkers(IFile file) {
- try {
- IMarker[] markers = file.findMarkers(null, true,
- IResource.DEPTH_ZERO);
- IMarker[] deleteMarkers = new IMarker[markers.length];
- int deleteindex = 0;
- Object owner;
- for (int i = markers.length - 1; i >= 0; i--) {
- IMarker marker = markers[i];
- owner = marker.getAttribute("owner");
-
- if ("org.jboss.tools.jbpm.jpdl4".equals(owner)) {
- deleteMarkers[deleteindex++] = markers[i];
- }
- }
- if (deleteindex > 0) {
- IMarker[] todelete = new IMarker[deleteindex];
- System.arraycopy(deleteMarkers, 0, todelete, 0, deleteindex);
- file.getWorkspace().deleteMarkers(todelete);
- }
- } catch (CoreException e) {
- }
- }
-
- @SuppressWarnings("unchecked")
- private ValidationResult addToValidationResult(IFile file, List problems, ValidationResult validationResult) {
- if (validationResult == null) {
- validationResult = new ValidationResult();
- }
- ClassLoader cl = Thread.currentThread().getContextClassLoader();
- try {
- Class problemClass = cl.loadClass("org.jbpm.api.Problem");
- Method getMsgMethod = problemClass.getMethod("getMsg", new Class[] {});
- Method getLineMethod = problemClass.getMethod("getLine", new Class[] {});
- Method getSeverityMethod = problemClass.getMethod("getSeverity", new Class[] {});
- for (int i = 0; i < problems.size(); i++) {
- Object target = problems.get(i);
- if (target == null || !problemClass.isInstance(target)) continue;
- String msg = (String)getMsgMethod.invoke(target, new Object[] {});
- String severity = (String)getSeverityMethod.invoke(target, new Object[] {});
- Integer line = getLineNumber(getLineMethod, target);
- String[] attNames = new String[3];
- Object[] attValues = new Object[3];
- attNames[0] = "owner";
- attValues[0] = "org.jboss.tools.jbpm.jpdl4";
- attNames[1] = IMarker.LINE_NUMBER;
- attValues[1] = line;
- attNames[2] = IMarker.SEVERITY;
- attValues[2] = new Integer("error".equals(severity) ? IMarker.SEVERITY_ERROR : IMarker.SEVERITY_WARNING);
- ValidatorMessage validatorMessage = ValidatorMessage.create(msg, file);
- validatorMessage.setType(IMarker.PROBLEM);
- validatorMessage.setAttributes(attNames, attValues);
- validationResult.add(validatorMessage);
- }
- } catch (Exception e) {
- Logger.logError("An error occured while creating the problem markers.", e);
- }
- return validationResult;
- }
-
- Integer getLineNumber(Method method, Object target) throws Exception {
- try {
- return (Integer)method.invoke(target, new Object[] {});
- } catch (InvocationTargetException e) {
- if (e.getCause() instanceof NullPointerException) {
- return null;
- } else {
- throw e;
- }
- }
- }
-
- private ArrayList<URL> getUrls(File installdir) {
- ArrayList<URL> urlList = new ArrayList<URL>();
- File jbpmJar = new File(installdir, "jbpm.jar");
- if (!jbpmJar.exists()) {
- Logger.logInfo("jbpm.jar could not be found in the jBPM 4 runtime.");
- } else {
- try {
- urlList.add(jbpmJar.toURL());
- } catch (MalformedURLException e) {
- Logger.logError("Error while adding jbpm.jar to classloader.", e);
- }
- }
- File libdir = new File(installdir, "lib");
- if (!libdir.exists() || !libdir.isDirectory()) {
- Logger.logInfo("lib folder could not be found in the jBPM 4 runtime.");
- } else {
- File[] libfiles = libdir.listFiles();
- for (int i = 0; i < libfiles.length; i++) {
- if (libfiles[i].getName().endsWith(".jar")) {
- try {
- urlList.add(libfiles[i].toURL());
- } catch (MalformedURLException e) {
- Logger.logError("Error while adding " + libfiles[i].getName() + " to classloader", e);
- }
- }
- }
- }
- return urlList;
- }
-
- @SuppressWarnings("unchecked")
- private List parse(IFile resource) {
- ClassLoader cl = Thread.currentThread().getContextClassLoader();
- try {
- Class jpdlParserClass = cl.loadClass("org.jbpm.jpdl.internal.xml.JpdlParser");
- Class parseClass = cl.loadClass("org.jbpm.pvm.internal.xml.Parse");
- Object parserObject = jpdlParserClass.newInstance();
- Method createParseMethod = jpdlParserClass.getMethod("createParse", new Class[] {});
- Object parse = createParseMethod.invoke(parserObject, new Object[] {});
- Method setInputStreamMethod = parseClass.getMethod("setInputStream", new Class[] { InputStream.class });
- setInputStreamMethod.invoke(parse, new Object[] { resource.getContents() });
- Method executeMethod = parseClass.getMethod("execute", new Class[] {});
- executeMethod.invoke(parse, new Object[] {});
- Method getProblemsMethod = parseClass.getMethod("getProblems", new Class[] {});
- return (List)getProblemsMethod.invoke(parse, new Object[] {});
- } catch (Exception e) {
- Logger.logError("An error occurred while attempting to parse the file " + resource.getName() +".", e);
- return Collections.EMPTY_LIST;
- }
- }
-
-}
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/validator/Jpdl4Validator.java (from rev 16833, trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/validator/Jpdl4Validator.java)
===================================================================
--- tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/validator/Jpdl4Validator.java (rev 0)
+++ tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/validator/Jpdl4Validator.java 2009-11-11 20:57:45 UTC (rev 18627)
@@ -0,0 +1,185 @@
+package org.jboss.tools.flow.jpdl4.multipage.validator;
+
+import java.io.File;
+import java.io.InputStream;
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.net.URLClassLoader;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IMarker;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.wst.validation.AbstractValidator;
+import org.eclipse.wst.validation.ValidationResult;
+import org.eclipse.wst.validation.ValidationState;
+import org.eclipse.wst.validation.ValidatorMessage;
+import org.jboss.tools.flow.jpdl4.Activator;
+import org.jboss.tools.flow.jpdl4.multipage.Logger;
+import org.jboss.tools.jbpm.Constants;
+import org.jboss.tools.jbpm.preferences.JbpmInstallation;
+import org.jboss.tools.jbpm.preferences.PreferencesManager;
+
+public class Jpdl4Validator extends AbstractValidator {
+
+ public ValidationResult validate(
+ IResource resource,
+ int kind,
+ ValidationState state,
+ IProgressMonitor monitor) {
+ clearMarkers((IFile)resource);
+ ValidationResult validationResult = super.validate(resource, kind, state, monitor);
+ if (!(resource instanceof IFile) || resource == null) return validationResult;
+ PreferencesManager manager = PreferencesManager.getPreferencesManager(Activator.getDefault());
+ if (manager == null) return validationResult;
+ String jbpmName = Activator.getDefault().getPluginPreferences().getString(Constants.JBPM_NAME);
+ if (jbpmName == null) return validationResult;
+ JbpmInstallation jbpmInstallation = manager.getJbpmInstallation(jbpmName);
+ if (jbpmInstallation == null) return validationResult;
+ String location = jbpmInstallation.location;
+ if (location == null) return validationResult;
+ File installdir = new File(location);
+ if (!installdir.exists() || !installdir.isDirectory()) return validationResult;
+ ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
+ ArrayList<URL> urlList = getUrls(installdir);
+ ClassLoader newClassLoader = new URLClassLoader(urlList.toArray(new URL[urlList.size()]), oldClassLoader);
+ Thread.currentThread().setContextClassLoader(newClassLoader);
+ List problemList = parse((IFile)resource);
+ if (!problemList.isEmpty()) {
+ validationResult = addToValidationResult((IFile)resource, problemList, validationResult);
+
+ }
+ Thread.currentThread().setContextClassLoader(oldClassLoader);
+ return validationResult;
+ }
+
+ private void clearMarkers(IFile file) {
+ try {
+ IMarker[] markers = file.findMarkers(null, true,
+ IResource.DEPTH_ZERO);
+ IMarker[] deleteMarkers = new IMarker[markers.length];
+ int deleteindex = 0;
+ Object owner;
+ for (int i = markers.length - 1; i >= 0; i--) {
+ IMarker marker = markers[i];
+ owner = marker.getAttribute("owner");
+
+ if ("org.jboss.tools.jbpm.jpdl4".equals(owner)) {
+ deleteMarkers[deleteindex++] = markers[i];
+ }
+ }
+ if (deleteindex > 0) {
+ IMarker[] todelete = new IMarker[deleteindex];
+ System.arraycopy(deleteMarkers, 0, todelete, 0, deleteindex);
+ file.getWorkspace().deleteMarkers(todelete);
+ }
+ } catch (CoreException e) {
+ }
+ }
+
+ @SuppressWarnings("unchecked")
+ private ValidationResult addToValidationResult(IFile file, List problems, ValidationResult validationResult) {
+ if (validationResult == null) {
+ validationResult = new ValidationResult();
+ }
+ ClassLoader cl = Thread.currentThread().getContextClassLoader();
+ try {
+ Class problemClass = cl.loadClass("org.jbpm.pvm.internal.xml.Problem");
+ Method getMsgMethod = problemClass.getMethod("getMsg", new Class[] {});
+ Method getLineMethod = problemClass.getMethod("getLine", new Class[] {});
+ Method getSeverityMethod = problemClass.getMethod("getSeverity", new Class[] {});
+ for (int i = 0; i < problems.size(); i++) {
+ Object target = problems.get(i);
+ if (target == null || !problemClass.isInstance(target)) continue;
+ String msg = (String)getMsgMethod.invoke(target, new Object[] {});
+ String severity = (String)getSeverityMethod.invoke(target, new Object[] {});
+ Integer line = getLineNumber(getLineMethod, target);
+ String[] attNames = new String[3];
+ Object[] attValues = new Object[3];
+ attNames[0] = "owner";
+ attValues[0] = "org.jboss.tools.jbpm.jpdl4";
+ attNames[1] = IMarker.LINE_NUMBER;
+ attValues[1] = line;
+ attNames[2] = IMarker.SEVERITY;
+ attValues[2] = new Integer("error".equals(severity) ? IMarker.SEVERITY_ERROR : IMarker.SEVERITY_WARNING);
+ ValidatorMessage validatorMessage = ValidatorMessage.create(msg, file);
+ validatorMessage.setType("org.jboss.tools.flow.jpdl4.problem");
+ validatorMessage.setAttributes(attNames, attValues);
+ validationResult.add(validatorMessage);
+ }
+ } catch (Exception e) {
+ Logger.logError("An error occured while creating the problem markers.", e);
+ }
+ return validationResult;
+ }
+
+ Integer getLineNumber(Method method, Object target) throws Exception {
+ try {
+ return (Integer)method.invoke(target, new Object[] {});
+ } catch (InvocationTargetException e) {
+ if (e.getCause() instanceof NullPointerException) {
+ return null;
+ } else {
+ throw e;
+ }
+ }
+ }
+
+ private ArrayList<URL> getUrls(File installdir) {
+ ArrayList<URL> urlList = new ArrayList<URL>();
+ File jbpmJar = new File(installdir, "jbpm.jar");
+ if (!jbpmJar.exists()) {
+ Logger.logInfo("jbpm.jar could not be found in the jBPM 4 runtime.");
+ } else {
+ try {
+ urlList.add(jbpmJar.toURL());
+ } catch (MalformedURLException e) {
+ Logger.logError("Error while adding jbpm.jar to classloader.", e);
+ }
+ }
+ File libdir = new File(installdir, "lib");
+ if (!libdir.exists() || !libdir.isDirectory()) {
+ Logger.logInfo("lib folder could not be found in the jBPM 4 runtime.");
+ } else {
+ File[] libfiles = libdir.listFiles();
+ for (int i = 0; i < libfiles.length; i++) {
+ if (libfiles[i].getName().endsWith(".jar")) {
+ try {
+ urlList.add(libfiles[i].toURL());
+ } catch (MalformedURLException e) {
+ Logger.logError("Error while adding " + libfiles[i].getName() + " to classloader", e);
+ }
+ }
+ }
+ }
+ return urlList;
+ }
+
+ @SuppressWarnings("unchecked")
+ private List parse(IFile resource) {
+ ClassLoader cl = Thread.currentThread().getContextClassLoader();
+ try {
+ Class jpdlParserClass = cl.loadClass("org.jbpm.jpdl.internal.xml.JpdlParser");
+ Class parseClass = cl.loadClass("org.jbpm.pvm.internal.xml.Parse");
+ Object parserObject = jpdlParserClass.newInstance();
+ Method createParseMethod = jpdlParserClass.getMethod("createParse", new Class[] {});
+ Object parse = createParseMethod.invoke(parserObject, new Object[] {});
+ Method setInputStreamMethod = parseClass.getMethod("setInputStream", new Class[] { InputStream.class });
+ setInputStreamMethod.invoke(parse, new Object[] { resource.getContents() });
+ Method executeMethod = parseClass.getMethod("execute", new Class[] {});
+ executeMethod.invoke(parse, new Object[] {});
+ Method getProblemsMethod = parseClass.getMethod("getProblems", new Class[] {});
+ return (List)getProblemsMethod.invoke(parse, new Object[] {});
+ } catch (Exception e) {
+ Logger.logError("An error occurred while attempting to parse the file " + resource.getName() +".", e);
+ return Collections.EMPTY_LIST;
+ }
+ }
+
+}
Copied: tags/jbpm-jpdl-4.2/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/xml (from rev 16833, trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/xml)
15 years, 1 month