https://jira.jboss.org/jira/browse/JBDS-780 -Updated some screens in BP=
EL User Guide according to size preferences.Some English mistakes were corr=
ected.
https://jira.jboss.org/jira/browse/JBDS-780 -Updated some screens in BP=
EL User Guide according to size preferences.Some English mistakes were corr=
ected.
https://jira.jboss.org/jira/browse/JBDS-839 -Added Seam refactoring tool=
s info to GSG.
Modified: trunk/documentation/guides/GettingStartedGuide/en/modules/first_s=
eam.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/documentation/guides/GettingStartedGuide/en/modules/first_seam.xm=
l 2009-09-02 10:53:02 UTC (rev 17414)
+++ trunk/documentation/guides/GettingStartedGuide/en/modules/first_seam.xm=
l 2009-09-02 13:18:02 UTC (rev 17415)
@@ -768,7 +768,10 @@
There are also org.domain.workshop.entity package that contains the JPA classes. These are the e=
ntity beans that are
- mapped to database tables.
+ mapped to database tables.Note,that you can use Seam refactoring t=
ools with Seam components.
+ Read more about it in Seam refactoring tools chapter of Seam Dev Tools Refere=
nce Guide.
=
Last, but not least, there are facelets for all of the CRUD sc=
reens. The best way to get
a feel for the generated code is to open a browser and play around=
with the application. Go
--===============3131360872660321654==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 10:38:25 2009
Content-Type: multipart/mixed; boundary="===============9032696997181883397=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17417 - in
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test:
utils and 1 other directory.
Date: Wed, 02 Sep 2009 10:38:25 -0400
Message-ID: <200909021438.n82EcPHS026411@svn01.web.mwc.hst.phx2.redhat.com>
--===============9032696997181883397==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: vyemialyanchyk
Date: 2009-09-02 10:38:25 -0400 (Wed, 02 Sep 2009)
New Revision: 17417
Modified:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi=
bernate/eclipse/console/test/mappingproject/MappingTestsBase.java
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi=
bernate/eclipse/console/test/mappingproject/OpenMappingDiagramTest.java
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi=
bernate/eclipse/console/test/mappingproject/OpenMappingFileTest.java
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi=
bernate/eclipse/console/test/mappingproject/OpenSourceFileTest.java
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi=
bernate/eclipse/console/test/utils/ConsoleConfigUtils.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4740 - fix "memory leak"
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src=
/org/hibernate/eclipse/console/test/mappingproject/MappingTestsBase.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h=
ibernate/eclipse/console/test/mappingproject/MappingTestsBase.java 2009-09-=
02 14:16:22 UTC (rev 17416)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h=
ibernate/eclipse/console/test/mappingproject/MappingTestsBase.java 2009-09-=
02 14:38:25 UTC (rev 17417)
@@ -11,8 +11,6 @@
package org.hibernate.eclipse.console.test.mappingproject;
=
import java.io.IOException;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
import java.util.regex.Pattern;
=
import org.eclipse.core.runtime.CoreException;
@@ -22,9 +20,10 @@
import org.eclipse.jdt.internal.core.PackageFragmentRoot;
import org.eclipse.jdt.ui.IPackagesViewPart;
import org.eclipse.jdt.ui.JavaUI;
-import org.eclipse.jface.util.SafeRunnable;
import org.eclipse.osgi.util.NLS;
import org.eclipse.swt.widgets.Display;
+import org.eclipse.ui.IWorkbenchPage;
+import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
import org.hibernate.eclipse.console.HibernateConsolePerspectiveFactory;
@@ -55,6 +54,8 @@
=
protected int executions =3D 0;
=
+ protected int openEditors =3D 0;
+
public MappingTestsBase(String name) {
super(name);
}
@@ -62,9 +63,8 @@
protected void setUp() throws Exception {
super.setUp();
=
- testProject =3D new ConfigurableTestProject("JUnitTestProj"+System.curre=
ntTimeMillis()); //$NON-NLS-1$
+ testProject =3D new ConfigurableTestProject("JUnitTestProj" + System.cur=
rentTimeMillis()); //$NON-NLS-1$
=
-
consoleConfigName =3D testProject.getIProject().getName();
testPackage =3D null; =
=
@@ -145,43 +145,22 @@
long st_pack_time =3D System.currentTimeMillis();
int prev_failCount =3D result.failureCount();
int prev_errCount =3D result.errorCount();
-
- Method m =3D null;
- try {
- m =3D Display.getCurrent().getClass().getDeclaredMethod("runAsyncMess=
ages", boolean.class);
- m.setAccessible(true);
- } catch (SecurityException e) {
- } catch (NoSuchMethodException e) {
- }
- =
+ //
TestSuite suite =3D TestSet.createTestSuite(consoleConfigName, testPac=
kage, testProject);
-
+ //
customizeCfgXml(testPackage);
//=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
//run all tests for package
- //suite.run(result);
+ /** /
+ suite.run(result);
+ /**/
for (int k =3D 0; k < suite.testCount(); k++) {
Test test =3D suite.testAt(k);
test.run(result);
- // ---------------------------------------------- =
- // https://jira.jboss.org/jira/browse/JBIDE-4740 =
- // first way to fix OutOfMemory problems
closeAllEditors();
- int LIMIT =3D 50,
- ii =3D 0;
- while(ii
--===============6212412788614348482==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: smukhina
Date: 2009-09-02 10:44:28 -0400 (Wed, 02 Sep 2009)
New Revision: 17418
Modified:
trunk/documentation/guides/GettingStartedGuide/en/modules/rad_jsf_applic=
ation.xml
Log:
JBDS-799 Search in property file using regular expressions is implemented -=
chapter is updated =
Modified: trunk/documentation/guides/GettingStartedGuide/en/modules/rad_jsf=
_application.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/documentation/guides/GettingStartedGuide/en/modules/rad_jsf_appli=
cation.xml 2009-09-02 14:38:25 UTC (rev 17417)
+++ trunk/documentation/guides/GettingStartedGuide/en/modules/rad_jsf_appli=
cation.xml 2009-09-02 14:44:28 UTC (rev 17418)
@@ -304,9 +304,10 @@
If you want to change a value or a name of your attribute, c=
lick on it and than on Edit button.
=
- If the .properties file is rather big and there are a lot of=
entries in it, you can use filtering to find the necessary ones. The Filte=
r is implemented by an expandable panel, closed by default:
+ If the .properties file is rather big and there are a lot of=
entries in it, you can use filtering and regular expressions to find the n=
ecessary ones. The Filter and Regular Expressions Search is implemented by =
an expandable panel, closed by default:
+ When "Expression" is not selected (as by default), filter is=
case insensitive. When "Expression" is selected, filter uses regular expre=
ssions which are case sensitive
- Filter panel
+ Filter and Regular Expressions Search Panel
@@ -314,7 +315,7 @@
Enter the characters that should be searched for in the ent=
ries to the 'name' or 'value' input fields accordingly. The filtered resul=
ts will be displayed in the table below:
- =
+ =
Filter results
@@ -324,7 +325,9 @@
=
- =
+ When using regular expressions please note, that regular exp=
ression syntax does not use "*" for any characters and "?" for any one char=
acter. It's necessary to use "." for any one character and ".*" for any cha=
racters. Symbols "*" and "?" are used to show that the preceding token is n=
ot required, for example, "a.a" matches "aba" but not "aa", while "a.?a" or=
a.*a" matches both; besides "a.*a" matches "abcda".
+ To find the exact match, use sequences \A and \z in expressi=
on. For example, expression "\Adate\z" matches only string "date"; expressi=
on "\Adate" matches "date" and "dateline", expression "date\z" matches "dat=
e" and "Begin date", and expression "date" matches all of them.
+ =
=
--===============6212412788614348482==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 13:02:55 2009
Content-Type: multipart/mixed; boundary="===============2957880313393608405=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17419 -
trunk/bpel/plugins/org.eclipse.bpel.validator/src/org/eclipse/bpel/validator.
Date: Wed, 02 Sep 2009 13:02:54 -0400
Message-ID: <200909021702.n82H2sv9022082@svn01.web.mwc.hst.phx2.redhat.com>
--===============2957880313393608405==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-02 13:02:54 -0400 (Wed, 02 Sep 2009)
New Revision: 17419
Modified:
trunk/bpel/plugins/org.eclipse.bpel.validator/src/org/eclipse/bpel/valid=
ator/ValidatorHelper.java
Log:
fix for =
NullPointerException in BPEL ValidationHelper
Modified: trunk/bpel/plugins/org.eclipse.bpel.validator/src/org/eclipse/bpe=
l/validator/ValidatorHelper.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/bpel/plugins/org.eclipse.bpel.validator/src/org/eclipse/bpel/vali=
dator/ValidatorHelper.java 2009-09-02 14:44:28 UTC (rev 17418)
+++ trunk/bpel/plugins/org.eclipse.bpel.validator/src/org/eclipse/bpel/vali=
dator/ValidatorHelper.java 2009-09-02 17:02:54 UTC (rev 17419)
@@ -10,10 +10,15 @@
*************************************************************************=
******/
package org.eclipse.bpel.validator;
=
+import java.util.ArrayList;
+import java.util.List;
+
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
import org.eclipse.wst.validation.internal.operations.WorkbenchContext;
import org.eclipse.wst.validation.internal.operations.WorkbenchReporter;
=
@@ -26,7 +31,14 @@
=
@Override
public void registerResource(IResource resource) {
- getValidationFileURIs().add(resource.getFullPath().toOSString()); =
+ if(resource!=3Dnull) {
+ if(getValidationFileURIs()=3D=3Dnull) {
+ setValidationFileURIs(new ArrayList());
+ }
+ getValidationFileURIs().add(resource.getFullPath().toOSString());
+ } else {
+ Activator.getDefault().getLog().log(new Status(IStatus.WARNING,Activato=
r.PLUGIN_ID,"Cannot register null resource for validation"));
+ }
}
=
}
--===============2957880313393608405==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 13:07:49 2009
Content-Type: multipart/mixed; boundary="===============6597358160890250210=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17420 -
branches/jbosstools-3.1.0.M3/bpel/plugins/org.eclipse.bpel.validator/src/org/eclipse/bpel/validator.
Date: Wed, 02 Sep 2009 13:07:49 -0400
Message-ID: <200909021707.n82H7nr3023452@svn01.web.mwc.hst.phx2.redhat.com>
--===============6597358160890250210==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-02 13:07:48 -0400 (Wed, 02 Sep 2009)
New Revision: 17420
Modified:
branches/jbosstools-3.1.0.M3/bpel/plugins/org.eclipse.bpel.validator/src=
/org/eclipse/bpel/validator/ValidatorHelper.java
Log:
fix for =
NullPointerException in BPEL ValidatorHelper
Modified: branches/jbosstools-3.1.0.M3/bpel/plugins/org.eclipse.bpel.valida=
tor/src/org/eclipse/bpel/validator/ValidatorHelper.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/bpel/plugins/org.eclipse.bpel.validator/sr=
c/org/eclipse/bpel/validator/ValidatorHelper.java 2009-09-02 17:02:54 UTC (=
rev 17419)
+++ branches/jbosstools-3.1.0.M3/bpel/plugins/org.eclipse.bpel.validator/sr=
c/org/eclipse/bpel/validator/ValidatorHelper.java 2009-09-02 17:07:48 UTC (=
rev 17420)
@@ -10,6 +10,8 @@
*************************************************************************=
******/
package org.eclipse.bpel.validator;
=
+import java.util.ArrayList;
+
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
@@ -26,7 +28,12 @@
=
@Override
public void registerResource(IResource resource) {
- getValidationFileURIs().add(resource.getFullPath().toOSString()); =
+ if(resource!=3Dnull) {
+ if(getValidationFileURIs()=3D=3Dnull) {
+ setValidationFileURIs(new ArrayList());
+ }
+ getValidationFileURIs().add(resource.getFullPath().toOSString());
+ }
}
=
}
--===============6597358160890250210==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 14:28:05 2009
Content-Type: multipart/mixed; boundary="===============0844190150598794229=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17422 - trunk/birt/features.
Date: Wed, 02 Sep 2009 14:28:05 -0400
Message-ID: <200909021828.n82IS5pa005175@svn01.web.mwc.hst.phx2.redhat.com>
--===============0844190150598794229==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-02 14:28:05 -0400 (Wed, 02 Sep 2009)
New Revision: 17422
Added:
trunk/birt/features/org.jboss.tools.birt.test.feature/
Log:
Share project "org.jboss.tools.birt.test.feature" into "https://svn.jboss.o=
rg/repos/jbosstools"
--===============0844190150598794229==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 14:28:21 2009
Content-Type: multipart/mixed; boundary="===============4881640057169310056=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17423 -
trunk/birt/features/org.jboss.tools.birt.test.feature.
Date: Wed, 02 Sep 2009 14:28:21 -0400
Message-ID: <200909021828.n82ISLPe005217@svn01.web.mwc.hst.phx2.redhat.com>
--===============4881640057169310056==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-02 14:28:20 -0400 (Wed, 02 Sep 2009)
New Revision: 17423
Added:
trunk/birt/features/org.jboss.tools.birt.test.feature/.project
trunk/birt/features/org.jboss.tools.birt.test.feature/build.properties
trunk/birt/features/org.jboss.tools.birt.test.feature/feature.xml
Log:
Share project "org.jboss.tools.birt.test.feature" into "https://svn.jboss.o=
rg/repos/jbosstools"
Added: trunk/birt/features/org.jboss.tools.birt.test.feature/.project
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/birt/features/org.jboss.tools.birt.test.feature/.project =
(rev 0)
+++ trunk/birt/features/org.jboss.tools.birt.test.feature/.project 2009-09-=
02 18:28:20 UTC (rev 17423)
@@ -0,0 +1,17 @@
+
+
+ org.jboss.tools.birt.test.feature
+
+
+
+
+
+ org.eclipse.pde.FeatureBuilder
+
+
+
+
+
+ org.eclipse.pde.FeatureNature
+
+
Property changes on: trunk/birt/features/org.jboss.tools.birt.test.feature/=
.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/birt/features/org.jboss.tools.birt.test.feature/build.properti=
es
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/birt/features/org.jboss.tools.birt.test.feature/build.properties =
(rev 0)
+++ trunk/birt/features/org.jboss.tools.birt.test.feature/build.properties =
2009-09-02 18:28:20 UTC (rev 17423)
@@ -0,0 +1 @@
+bin.includes =3D feature.xml
Property changes on: trunk/birt/features/org.jboss.tools.birt.test.feature/=
build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/birt/features/org.jboss.tools.birt.test.feature/feature.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/birt/features/org.jboss.tools.birt.test.feature/feature.xml =
(rev 0)
+++ trunk/birt/features/org.jboss.tools.birt.test.feature/feature.xml 2009-=
09-02 18:28:20 UTC (rev 17423)
@@ -0,0 +1,27 @@
+
+
+
+
+ [Enter Feature Description here.]
+
+
+
+ [Enter Copyright Description here.]
+
+
+
+ [Enter License Description here.]
+
+
+
+
+
Property changes on: trunk/birt/features/org.jboss.tools.birt.test.feature/=
feature.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
--===============4881640057169310056==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 14:28:55 2009
Content-Type: multipart/mixed; boundary="===============1613424947135001133=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17424 - trunk/birt/tests.
Date: Wed, 02 Sep 2009 14:28:54 -0400
Message-ID: <200909021828.n82ISsbP005285@svn01.web.mwc.hst.phx2.redhat.com>
--===============1613424947135001133==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-02 14:28:54 -0400 (Wed, 02 Sep 2009)
New Revision: 17424
Added:
trunk/birt/tests/org.jboss.tools.birt.core.test/
Log:
Share project "org.jboss.tools.birt.core.test" into "https://svn.jboss.org/=
repos/jbosstools"
--===============1613424947135001133==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 14:29:23 2009
Content-Type: multipart/mixed; boundary="===============7201727902526569408=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17425 - in
trunk/birt/tests/org.jboss.tools.birt.core.test: .settings and 8 other
directories.
Date: Wed, 02 Sep 2009 14:29:23 -0400
Message-ID: <200909021829.n82ITNxA005353@svn01.web.mwc.hst.phx2.redhat.com>
--===============7201727902526569408==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-02 14:29:22 -0400 (Wed, 02 Sep 2009)
New Revision: 17425
Added:
trunk/birt/tests/org.jboss.tools.birt.core.test/.classpath
trunk/birt/tests/org.jboss.tools.birt.core.test/.project
trunk/birt/tests/org.jboss.tools.birt.core.test/.settings/
trunk/birt/tests/org.jboss.tools.birt.core.test/.settings/org.eclipse.jd=
t.core.prefs
trunk/birt/tests/org.jboss.tools.birt.core.test/META-INF/
trunk/birt/tests/org.jboss.tools.birt.core.test/META-INF/MANIFEST.MF
trunk/birt/tests/org.jboss.tools.birt.core.test/build.properties
trunk/birt/tests/org.jboss.tools.birt.core.test/src/
trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/
trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/
trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/tools/
trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/tools/birt/
trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/tools/birt=
/core/
trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/tools/birt=
/core/test/
trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/tools/birt=
/core/test/BirtCoreTestSuite.java
Log:
Share project "org.jboss.tools.birt.core.test" into "https://svn.jboss.org/=
repos/jbosstools"
Added: trunk/birt/tests/org.jboss.tools.birt.core.test/.classpath
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/birt/tests/org.jboss.tools.birt.core.test/.classpath =
(rev 0)
+++ trunk/birt/tests/org.jboss.tools.birt.core.test/.classpath 2009-09-02 1=
8:29:22 UTC (rev 17425)
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
Property changes on: trunk/birt/tests/org.jboss.tools.birt.core.test/.class=
path
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/birt/tests/org.jboss.tools.birt.core.test/.project
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/birt/tests/org.jboss.tools.birt.core.test/.project =
(rev 0)
+++ trunk/birt/tests/org.jboss.tools.birt.core.test/.project 2009-09-02 18:=
29:22 UTC (rev 17425)
@@ -0,0 +1,28 @@
+
+
+ org.jboss.tools.birt.core.test
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.eclipse.pde.ManifestBuilder
+
+
+
+
+ org.eclipse.pde.SchemaBuilder
+
+
+
+
+
+ org.eclipse.pde.PluginNature
+ org.eclipse.jdt.core.javanature
+
+
Property changes on: trunk/birt/tests/org.jboss.tools.birt.core.test/.proje=
ct
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/birt/tests/org.jboss.tools.birt.core.test/.settings/org.eclips=
e.jdt.core.prefs
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/birt/tests/org.jboss.tools.birt.core.test/.settings/org.eclipse.j=
dt.core.prefs (rev 0)
+++ trunk/birt/tests/org.jboss.tools.birt.core.test/.settings/org.eclipse.j=
dt.core.prefs 2009-09-02 18:29:22 UTC (rev 17425)
@@ -0,0 +1,8 @@
+#Tue Sep 01 16:37:06 GMT-08:00 2009
+eclipse.preferences.version=3D1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=3Denabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=3D1.5
+org.eclipse.jdt.core.compiler.compliance=3D1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=3Derror
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=3Derror
+org.eclipse.jdt.core.compiler.source=3D1.5
Property changes on: trunk/birt/tests/org.jboss.tools.birt.core.test/.setti=
ngs/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/birt/tests/org.jboss.tools.birt.core.test/META-INF/MANIFEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/birt/tests/org.jboss.tools.birt.core.test/META-INF/MANIFEST.MF =
(rev 0)
+++ trunk/birt/tests/org.jboss.tools.birt.core.test/META-INF/MANIFEST.MF 20=
09-09-02 18:29:22 UTC (rev 17425)
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: BIRT Core Tests
+Bundle-SymbolicName: org.jboss.tools.birt.core.test
+Bundle-Version: 1.0.0
+Bundle-Vendor: JBoss by RedHat
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Require-Bundle: org.jboss.tools.tests,
+ org.junit
+Export-Package: org.jboss.tools.birt.core.test
Property changes on: trunk/birt/tests/org.jboss.tools.birt.core.test/META-I=
NF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/birt/tests/org.jboss.tools.birt.core.test/build.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/birt/tests/org.jboss.tools.birt.core.test/build.properties =
(rev 0)
+++ trunk/birt/tests/org.jboss.tools.birt.core.test/build.properties 2009-0=
9-02 18:29:22 UTC (rev 17425)
@@ -0,0 +1,4 @@
+source.. =3D src/
+output.. =3D bin/
+bin.includes =3D META-INF/,\
+ .
Property changes on: trunk/birt/tests/org.jboss.tools.birt.core.test/build.=
properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/tools/=
birt/core/test/BirtCoreTestSuite.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/tools/bir=
t/core/test/BirtCoreTestSuite.java (rev 0)
+++ trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/tools/bir=
t/core/test/BirtCoreTestSuite.java 2009-09-02 18:29:22 UTC (rev 17425)
@@ -0,0 +1,28 @@
+package org.jboss.tools.birt.core.test;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+import org.jboss.tools.tests.AbstractPluginsLoadTest;
+import org.jboss.tools.tests.ToolsAllTests;
+
+public class BirtCoreTestSuite extends TestCase {
+
+ public static Test suite ()
+ {
+ TestSuite suite =3D new TestSuite(ToolsAllTests.class.getName());
+ suite.addTestSuite(BirtPluginsLoadTest.class);
+ return suite;
+ }
+ =
+ =
+ static public class BirtPluginsLoadTest extends AbstractPluginsLoadTest {
+ =
+ public BirtPluginsLoadTest() {}
+ =
+ public void testBirtPluginsAreResolvedAndActivated() {
+ testBundlesAreLoadedFor("org.jboss.tools.birt.feature");
+ }
+ }
+}
Property changes on: trunk/birt/tests/org.jboss.tools.birt.core.test/src/or=
g/jboss/tools/birt/core/test/BirtCoreTestSuite.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
--===============7201727902526569408==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 14:32:27 2009
Content-Type: multipart/mixed; boundary="===============3849854027597218659=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17426 - in
trunk/tests/tests/org.jboss.tools.test: META-INF and 1 other directories.
Date: Wed, 02 Sep 2009 14:32:27 -0400
Message-ID: <200909021832.n82IWRPC006062@svn01.web.mwc.hst.phx2.redhat.com>
--===============3849854027597218659==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-02 14:32:26 -0400 (Wed, 02 Sep 2009)
New Revision: 17426
Added:
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/Abstrac=
tPluginsLoadTest.java
Removed:
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/PlugInL=
oadTest.java
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/ToolsAl=
lTests.java
Modified:
trunk/tests/tests/org.jboss.tools.test/.project
trunk/tests/tests/org.jboss.tools.test/META-INF/MANIFEST.MF
Log:
base test added to verify that all plug-ins from particular feature are loa=
ded
Modified: trunk/tests/tests/org.jboss.tools.test/.project
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/tests/tests/org.jboss.tools.test/.project 2009-09-02 18:29:22 UTC=
(rev 17425)
+++ trunk/tests/tests/org.jboss.tools.test/.project 2009-09-02 18:32:26 UTC=
(rev 17426)
@@ -1,28 +1,28 @@
-
-
- org.jboss.tools.tests
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- org.eclipse.pde.ManifestBuilder
-
-
-
-
- org.eclipse.pde.SchemaBuilder
-
-
-
-
-
- org.eclipse.pde.PluginNature
- org.eclipse.jdt.core.javanature
-
-
+
+
+ org.jboss.tools.tests
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.eclipse.pde.ManifestBuilder
+
+
+
+
+ org.eclipse.pde.SchemaBuilder
+
+
+
+
+
+ org.eclipse.pde.PluginNature
+ org.eclipse.jdt.core.javanature
+
+
Modified: trunk/tests/tests/org.jboss.tools.test/META-INF/MANIFEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/tests/tests/org.jboss.tools.test/META-INF/MANIFEST.MF 2009-09-02 =
18:29:22 UTC (rev 17425)
+++ trunk/tests/tests/org.jboss.tools.test/META-INF/MANIFEST.MF 2009-09-02 =
18:32:26 UTC (rev 17426)
@@ -8,7 +8,8 @@
org.eclipse.core.runtime,
org.eclipse.core.resources,
org.junit,
- org.eclipse.ui.ide
+ org.eclipse.ui.ide,
+ org.apache.xerces;bundle-version=3D"2.9.0"
Provide-Package: org.jboss.ide.tests.util
Eclipse-LazyStart: true
Export-Package: org.jboss.tools.test.util,
Copied: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/Ab=
stractPluginsLoadTest.java (from rev 17384, trunk/tests/tests/org.jboss.too=
ls.test/src/org/jboss/tools/tests/PlugInLoadTest.java)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/Abstra=
ctPluginsLoadTest.java (rev 0)
+++ trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/Abstra=
ctPluginsLoadTest.java 2009-09-02 18:32:26 UTC (rev 17426)
@@ -0,0 +1,138 @@
+/*************************************************************************=
******
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ *************************************************************************=
*****/
+
+package org.jboss.tools.tests;
+
+import java.io.File;
+import java.io.FilenameFilter;
+import java.io.IOException;
+import java.text.MessageFormat;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.runtime.FileLocator;
+import org.eclipse.core.runtime.IBundleGroup;
+import org.eclipse.core.runtime.IBundleGroupProvider;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.Platform;
+import org.osgi.framework.Bundle;
+import org.w3c.dom.Document;
+import org.w3c.dom.NodeList;
+import org.xml.sax.SAXException;
+
+/**
+ * Abstract test is intended to test that all plug-ins of particular featu=
re are loaded at run-time
+ * @author eskimo
+ *
+ */
+public class AbstractPluginsLoadTest extends TestCase {
+
+ public static final String BUNDLE_GROUP_PROVIDER_NAME =3D "Update Manager=
Configurator";
+ private static final String PLUGIN_TAG_NAME =3D "plugin";
+ private static final String ID_ATTRIBUTE_NAME =3D "id"; =
+
+ public void testBundlesAreLoadedFor(final String featureId) {
+ Bundle firstBundle =3D getFirstBundleFor(featureId);
+ File bundleLocation =3D null;
+ try {
+ bundleLocation =3D FileLocator.getBundleFile(firstBundle);
+ } catch (IOException e1) {
+ fail(MessageFormat.format("Cannot find location for feature {0}",featur=
eId));
+ }
+ File featuresFolder =3D new File(bundleLocation.getParentFile().getParen=
tFile(),"features");
+ String[] features =3D featuresFolder.list(new FilenameFilter() {
+ =
+ public boolean accept(File dir, String name) {
+ File featureDescriptor =3D new File(new File(dir,name),"feature.xml");
+ return name.startsWith(featureId) && featureDescriptor.canRead();
+ }
+ });
+ assertEquals(1, features.length);
+ DocumentBuilder builder;
+ File featureDescriptor =3D new File(new File(featuresFolder,features[0])=
,"feature.xml");
+ try {
+ builder =3D DocumentBuilderFactory.newInstance().newDocumentBuilder();
+ Document feature =3D builder.parse(featureDescriptor);
+ NodeList plugins =3D feature.getElementsByTagName(PLUGIN_TAG_NAME);
+ for (int i =3D 0; i < plugins.getLength(); i++) {
+ String pluginId =3D plugins.item(i).getAttributes().getNamedItem(ID_AT=
TRIBUTE_NAME).getNodeValue();
+ isPluginResolved(pluginId);
+ System.out.println(MessageFormat.format("Plugn {0} was resolved and ac=
tivated", pluginId));
+ }
+ } catch (ParserConfigurationException e) {
+ fail(MessageFormat.format("Cannot configure parser to parse feature des=
criptor ''{0}''",featureDescriptor.getAbsolutePath()));
+ } catch (SAXException e) {
+ fail(MessageFormat.format("Cannot parse feature descriptor ''{0}''",fea=
tureDescriptor.getAbsolutePath()));
+ } catch (IOException e) {
+ fail(e.getMessage());
+ }
+ }
+
+ /**
+ * @param featureId
+ */
+ private Bundle getFirstBundleFor(String featureId) {
+ IBundleGroupProvider[] providers =3D Platform.getBundleGroupProviders();
+ System.out.println(providers.length);
+ for (IBundleGroupProvider iBundleGroupProvider : providers) {
+ System.out.println(iBundleGroupProvider.getName());
+ IBundleGroup[] bundleGroups =3D iBundleGroupProvider.getBundleGroups();
+ if(BUNDLE_GROUP_PROVIDER_NAME.equals(iBundleGroupProvider.getName())) {
+ for (IBundleGroup iBundleGroup : bundleGroups) {
+ if(iBundleGroup.getIdentifier().equals(featureId)) {
+ Bundle[] bundles =3D iBundleGroup.getBundles();
+ for (Bundle bundle : bundles) {
+ return bundle;
+ }
+ }
+ }
+ }
+ }
+ return null;
+ }
+ =
+ private boolean isPluginResolved(String pluginId) {
+ Bundle bundle =3D Platform.getBundle(pluginId);
+ assertNotNull(pluginId + " failed to load.", bundle); //$NON-NLS-1$
+ try {
+ // this line is needed to to force plug-in loading and to change it sta=
te to ACTIVE =
+ bundle.loadClass("fake class"); //$NON-NLS-1$
+ } catch (ClassNotFoundException e) {
+ // It happens always because loaded class doesn't not exist
+ }
+ return ((bundle.getState() & Bundle.RESOLVED) > 0)
+ || ((bundle.getState() & Bundle.ACTIVE) > 0);
+ }
+
+ private void assertPluginsResolved(Bundle[] bundles) {
+ for (Bundle bundle : bundles) {
+ assertTrue("Plugin '" + bundle.getSymbolicName() + "' is not resolved",=
//$NON-NLS-1$ //$NON-NLS-2$
+ isPluginResolved(bundle.getSymbolicName()));
+ System.out.println(bundle.getSymbolicName() + " was resolved and activa=
ted");
+ }
+ }
+ =
+// public void testAsComp() throws IOException {
+// testBundlesAreLoadedFor("org.jboss.ide.eclipse.as.feature");
+// }
+// =
+// public void testJdtComp() throws IOException {
+// testBundlesAreLoadedFor("org.eclipse.jdt");
+// }
+// =
+// public void testRichfacesComp() throws IOException {
+// testBundlesAreLoadedFor("org.jboss.tools.richfaces.feature");
+// }
+}
Deleted: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/P=
lugInLoadTest.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/PlugIn=
LoadTest.java 2009-09-02 18:29:22 UTC (rev 17425)
+++ trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/PlugIn=
LoadTest.java 2009-09-02 18:32:26 UTC (rev 17426)
@@ -1,161 +0,0 @@
-/*************************************************************************=
******
- * Copyright (c) 2007 Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat, Inc. - initial API and implementation
- *************************************************************************=
*****/
-
-package org.jboss.tools.tests;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.runtime.Platform;
-import org.osgi.framework.Bundle;
-/**
- * =
- * //TODO try to refactor it to use Eclipse API to get plug-ins list in in=
stalled feature
- * // =
- * =
- * @author eskimo
- *
- */
-public class PlugInLoadTest extends TestCase {
-
- public static final String rhdsNS =3D "org.jboss.tools."; //$NON-NLS-1$
- private static String jbideNS =3D "org.jboss.ide.eclipse."; //$NON-NLS-1$
- private static String hibNS =3D "org.hibernate.eclipse."; //$NON-NLS-1$
- private static String jbpmNS =3D "org.jbpm.gd.jpdl"; //$NON-NLS-1$
- private static String jbwsNS =3D "com.eviware.soapui."; //$NON-NLS-1$
-
- private boolean isPluginResolved(String pluginId) {
- Bundle bundle =3D Platform.getBundle(pluginId);
- assertNotNull(pluginId + " failed to load.", bundle); //$NON-NLS-1$
- try {
- // In 3.3 when test case is running plug-in.getState always returns
- // STARTING state
- // to move plug-in in ACTIVE state at one class should be loaded
- // from plug-in
- bundle.loadClass("fake class"); //$NON-NLS-1$
- } catch (Exception e) {
- // It happens always because loaded class doesn't not exist
- }
- return ((bundle.getState() & Bundle.RESOLVED) > 0)
- || ((bundle.getState() & Bundle.ACTIVE) > 0);
- }
-
- private void assertPluginsResolved(String[] pluginIds) {
- for (int i =3D 0; i < pluginIds.length; i++) {
- assertTrue("plugin '" + pluginIds[i] + "' is not resolved", //$NON-NLS-=
1$ //$NON-NLS-2$
- isPluginResolved(pluginIds[i]));
- }
- }
-
- public void testCommonPluginsResolved() {
- assertPluginsResolved(new String[] { =
- rhdsNS + "common", //$NON-NLS-1$
- rhdsNS + "common.gef", //$NON-NLS-1$
- rhdsNS + "common.kb", //$NON-NLS-1$
- rhdsNS + "common.model", //$NON-NLS-1$
- rhdsNS + "common.model.ui", //$NON-NLS-1$
- rhdsNS + "common.projecttemplates", //$NON-NLS-1$
- rhdsNS + "common.text.ext", //$NON-NLS-1$
- rhdsNS + "common.text.xml", //$NON-NLS-1$
- rhdsNS + "common.verification", //$NON-NLS-1$
- rhdsNS + "common.verification.ui", }); //$NON-NLS-1$
- }
-
- public void testJsfPluginsResolved() {
- assertPluginsResolved(new String[] { =
- rhdsNS + "jsf", //$NON-NLS-1$
- rhdsNS + "jsf.text.ext", //$NON-NLS-1$
- rhdsNS + "jsf.text.ext.facelets", //$NON-NLS-1$
- rhdsNS + "jsf.ui", //$NON-NLS-1$
- rhdsNS + "jsf.verification", //$NON-NLS-1$
- rhdsNS + "jsf.vpe.ajax4jsf", //$NON-NLS-1$
- rhdsNS + "jsf.vpe.facelets", //$NON-NLS-1$
- rhdsNS + "jsf.vpe.richfaces", //$NON-NLS-1$
- rhdsNS + "jsf.vpe.seam" }); //$NON-NLS-1$
- }
-
- public void testJstPluginsResolved() {
- assertPluginsResolved(new String[] { =
- rhdsNS + "jst.jsp", //$NON-NLS-1$
- rhdsNS + "jst.web", //$NON-NLS-1$
- rhdsNS + "jst.web.tiles", //$NON-NLS-1$
- rhdsNS + "jst.web.tiles.ui", //$NON-NLS-1$
- rhdsNS + "jst.web.ui", //$NON-NLS-1$
- rhdsNS + "jst.web.verification" }); //$NON-NLS-1$
- }
-
- public void testVpePluginsResolved() {
- assertPluginsResolved(new String[] { =
- rhdsNS + "vpe", //$NON-NLS-1$
- rhdsNS + "vpe.ui.palette", //$NON-NLS-1$
- rhdsNS + "vpe.xulrunner" }); //$NON-NLS-1$
- }
-
- public void testStrutsPluginsResolved() {
- assertPluginsResolved(new String[] { =
- rhdsNS + "struts", //$NON-NLS-1$
- rhdsNS + "struts.text.ext", //$NON-NLS-1$
- rhdsNS + "struts.ui", //$NON-NLS-1$
- rhdsNS + "struts.validator.ui", //$NON-NLS-1$
- rhdsNS + "struts.verification" }); //$NON-NLS-1$
- }
-
- public void testCorePluginsResolved() {
- assertPluginsResolved(new String[] { =
- jbideNS + "archives.core", //$NON-NLS-1$
- jbideNS + "archives.ui"}); //$NON-NLS-1$
- }
-
- public void testASPluginsResolved() {
- assertPluginsResolved(new String[] { =
- jbideNS + "as.core", //$NON-NLS-1$
- jbideNS + "as.ui", //$NON-NLS-1$
- jbideNS + "as.ui.mbeans" }); //$NON-NLS-1$
- }
-
- public void testHibernatePluginsResolved() {
- assertPluginsResolved(new String[] { =
- "org.hibernate.eclipse", //$NON-NLS-1$
- hibNS + "console", //$NON-NLS-1$
- hibNS + "help", //$NON-NLS-1$
- hibNS + "mapper", //$NON-NLS-1$
- hibNS + "jdt.ui", //$NON-NLS-1$
- hibNS + "jdt.apt.ui" }); //$NON-NLS-1$
- }
-
- =
- // TODO: Move this test to JBDS
-// public void testJbpmPluginsResolved() {
-// assertPluginsResolved(new String[] { =
-// jbpmNS });
-// }
-
- public void testFreemarkerPluginsResolved() {
- assertPluginsResolved(new String[] { =
- jbideNS + "freemarker" }); //$NON-NLS-1$
- }
-
- public void testDroolsPluginsResolved() {
- // Skipped until drools migartion to 3.3 is finished
- // assertPluginsResolved(new String[] {
- // "org.drools.ide"
- // });
- }
-
- public void testJBossWSPluginsResolved() {
- // assertPluginsResolved(new String[] {
- // jbwsNS+"core",
- // jbwsNS+"eclipse.core",
- // jbwsNS+"jbosside.wstools",
- // jbwsNS+"libs"
- // });
- }
-
-}
Deleted: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/T=
oolsAllTests.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/ToolsA=
llTests.java 2009-09-02 18:29:22 UTC (rev 17425)
+++ trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/ToolsA=
llTests.java 2009-09-02 18:32:26 UTC (rev 17426)
@@ -1,29 +0,0 @@
-/*************************************************************************=
******
- * Copyright (c) 2007 Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat, Inc. - initial API and implementation
- *************************************************************************=
*****/ =
-
-package org.jboss.tools.tests;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-public class ToolsAllTests extends TestCase {
- =
- public static Test suite ()
- {
- TestSuite suite =3D new TestSuite(ToolsAllTests.class.getName());
- =
- suite.addTestSuite(PlugInLoadTest.class);
- =
- return suite;
- }
- =
-}
\ No newline at end of file
--===============3849854027597218659==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 16:51:41 2009
Content-Type: multipart/mixed; boundary="===============1746753902706242845=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17427 -
trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/tools/birt/core/test.
Date: Wed, 02 Sep 2009 16:51:41 -0400
Message-ID: <200909022051.n82KpfwU003613@svn01.web.mwc.hst.phx2.redhat.com>
--===============1746753902706242845==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-02 16:51:41 -0400 (Wed, 02 Sep 2009)
New Revision: 17427
Modified:
trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/tools/birt=
/core/test/BirtCoreTestSuite.java
Log:
fix compilation errors in build
Modified: trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/too=
ls/birt/core/test/BirtCoreTestSuite.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/tools/bir=
t/core/test/BirtCoreTestSuite.java 2009-09-02 18:32:26 UTC (rev 17426)
+++ trunk/birt/tests/org.jboss.tools.birt.core.test/src/org/jboss/tools/bir=
t/core/test/BirtCoreTestSuite.java 2009-09-02 20:51:41 UTC (rev 17427)
@@ -5,13 +5,12 @@
import junit.framework.TestSuite;
=
import org.jboss.tools.tests.AbstractPluginsLoadTest;
-import org.jboss.tools.tests.ToolsAllTests;
=
public class BirtCoreTestSuite extends TestCase {
=
public static Test suite ()
{
- TestSuite suite =3D new TestSuite(ToolsAllTests.class.getName());
+ TestSuite suite =3D new TestSuite(BirtCoreTestSuite.class.getName());
suite.addTestSuite(BirtPluginsLoadTest.class);
return suite;
}
--===============1746753902706242845==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 17:17:45 2009
Content-Type: multipart/mixed; boundary="===============3575492942515452059=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17428 -
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/jbide.
Date: Wed, 02 Sep 2009 17:17:45 -0400
Message-ID: <200909022117.n82LHjkK009749@svn01.web.mwc.hst.phx2.redhat.com>
--===============3575492942515452059==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: snjeza
Date: 2009-09-02 17:17:45 -0400 (Wed, 02 Sep 2009)
New Revision: 17428
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/u=
i/test/jbide/JBide3989Test.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4832 Fix SeamUiAllTests.testJBide3=
989
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools=
/seam/ui/test/jbide/JBide3989Test.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/=
ui/test/jbide/JBide3989Test.java 2009-09-02 20:51:41 UTC (rev 17427)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/=
ui/test/jbide/JBide3989Test.java 2009-09-02 21:17:45 UTC (rev 17428)
@@ -17,17 +17,12 @@
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IWorkspaceRunnable;
import org.eclipse.core.resources.IncrementalProjectBuilder;
-import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.ui.IMarkerResolution;
import org.eclipse.ui.ide.IDE;
-import org.eclipse.wst.validation.internal.operations.OneValidatorOperatio=
n;
import org.eclipse.wst.validation.internal.operations.ValidatorManager;
-import org.eclipse.wst.validation.internal.operations.ValidatorSubsetOpera=
tion;
import org.jboss.tools.common.test.util.TestProjectProvider;
import org.jboss.tools.seam.core.ISeamProject;
import org.jboss.tools.seam.core.SeamCorePlugin;
@@ -60,18 +55,10 @@
ISeamProject seamProject =3D SeamCorePlugin.getSeamProject(project, true=
);
seamProject.setRuntimeName("UNKNOWN");
ValidatorManager.addProjectBuildValidationSupport(project);
- project.build(IncrementalProjectBuilder.CLEAN_BUILD,
- new NullProgressMonitor());
// JBIDE-4832 - call SeamProjectPropertyValidator manually =
- IWorkspaceRunnable runnable =3D new IWorkspaceRunnable() {
- =
- public void run(IProgressMonitor monitor) throws CoreException {
- String validatorId =3D "org.jboss.tools.seam.internal.core.validation.=
SeamProjectPropertyValidator";
- ValidatorSubsetOperation op =3D new OneValidatorOperation(project, val=
idatorId, true, false);
- op.run(null);
- }
- };
- ResourcesPlugin.getWorkspace().run(runnable, null);
+ project.build(IncrementalProjectBuilder.FULL_BUILD,
+ new NullProgressMonitor());
+ =
JobUtils.waitForIdle();
}
=
--===============3575492942515452059==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 17:22:33 2009
Content-Type: multipart/mixed; boundary="===============3939199760301278518=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17429 -
branches/jbosstools-3.1.0.M3/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/jbide.
Date: Wed, 02 Sep 2009 17:22:33 -0400
Message-ID: <200909022122.n82LMX60010857@svn01.web.mwc.hst.phx2.redhat.com>
--===============3939199760301278518==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: snjeza
Date: 2009-09-02 17:22:33 -0400 (Wed, 02 Sep 2009)
New Revision: 17429
Modified:
branches/jbosstools-3.1.0.M3/seam/tests/org.jboss.tools.seam.ui.test/src=
/org/jboss/tools/seam/ui/test/jbide/JBide3989Test.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4832 Fix SeamUiAllTests.testJBide3=
989
Modified: branches/jbosstools-3.1.0.M3/seam/tests/org.jboss.tools.seam.ui.t=
est/src/org/jboss/tools/seam/ui/test/jbide/JBide3989Test.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/seam/tests/org.jboss.tools.seam.ui.test/sr=
c/org/jboss/tools/seam/ui/test/jbide/JBide3989Test.java 2009-09-02 21:17:45=
UTC (rev 17428)
+++ branches/jbosstools-3.1.0.M3/seam/tests/org.jboss.tools.seam.ui.test/sr=
c/org/jboss/tools/seam/ui/test/jbide/JBide3989Test.java 2009-09-02 21:22:33=
UTC (rev 17429)
@@ -55,7 +55,7 @@
ISeamProject seamProject =3D SeamCorePlugin.getSeamProject(project, true=
);
seamProject.setRuntimeName("UNKNOWN");
ValidatorManager.addProjectBuildValidationSupport(project);
- project.build(IncrementalProjectBuilder.CLEAN_BUILD,
+ project.build(IncrementalProjectBuilder.FULL_BUILD,
new NullProgressMonitor());
JobUtils.waitForIdle();
}
--===============3939199760301278518==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 17:29:10 2009
Content-Type: multipart/mixed; boundary="===============7868645420253778419=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17430 -
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/dialog.
Date: Wed, 02 Sep 2009 17:29:10 -0400
Message-ID: <200909022129.n82LTAOk012233@svn01.web.mwc.hst.phx2.redhat.com>
--===============7868645420253778419==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: snjeza
Date: 2009-09-02 17:29:09 -0400 (Wed, 02 Sep 2009)
New Revision: 17430
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/to=
ols/project/examples/dialog/MarkerDialog.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4840 Sometimes Quick Fix dialog ap=
pears even though there are no errors
Modified: trunk/examples/plugins/org.jboss.tools.project.examples/src/org/j=
boss/tools/project/examples/dialog/MarkerDialog.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/t=
ools/project/examples/dialog/MarkerDialog.java 2009-09-02 21:22:33 UTC (rev=
17429)
+++ trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/t=
ools/project/examples/dialog/MarkerDialog.java 2009-09-02 21:29:09 UTC (rev=
17430)
@@ -250,7 +250,7 @@
if (eclipseProject !=3D null
&& eclipseProject.isOpen()) {
eclipseProject.build(
- IncrementalProjectBuilder.CLEAN_BUILD,
+ IncrementalProjectBuilder.FULL_BUILD,
null);
}
}
--===============7868645420253778419==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 17:34:39 2009
Content-Type: multipart/mixed; boundary="===============1482185085087548634=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17431 -
trunk/maven/plugins/org.jboss.tools.maven.seam/src/org/jboss/tools/maven/seam/configurators.
Date: Wed, 02 Sep 2009 17:34:39 -0400
Message-ID: <200909022134.n82LYd09013444@svn01.web.mwc.hst.phx2.redhat.com>
--===============1482185085087548634==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: snjeza
Date: 2009-09-02 17:34:39 -0400 (Wed, 02 Sep 2009)
New Revision: 17431
Modified:
trunk/maven/plugins/org.jboss.tools.maven.seam/src/org/jboss/tools/maven=
/seam/configurators/SeamProjectConfigurator.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4841 SeamProjectConfigurator throw=
s an NPE when application.xml doesn't exist in EAR project
Modified: trunk/maven/plugins/org.jboss.tools.maven.seam/src/org/jboss/tool=
s/maven/seam/configurators/SeamProjectConfigurator.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/maven/plugins/org.jboss.tools.maven.seam/src/org/jboss/tools/mave=
n/seam/configurators/SeamProjectConfigurator.java 2009-09-02 21:29:09 UTC (=
rev 17430)
+++ trunk/maven/plugins/org.jboss.tools.maven.seam/src/org/jboss/tools/mave=
n/seam/configurators/SeamProjectConfigurator.java 2009-09-02 21:34:39 UTC (=
rev 17431)
@@ -579,6 +579,9 @@
earArtifactEdit =3D EARArtifactEdit.getEARArtifactEditForWrite(project);
if(earArtifactEdit!=3Dnull) {
Application application =3D earArtifactEdit.getApplication();
+ if (application =3D=3D null) {
+ return;
+ }
EList modules =3D application.getModules();
for (Iterator iterator =3D modules.iterator(); iterator.hasNext();) {
Object object =3D iterator.next();
--===============1482185085087548634==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 20:23:16 2009
Content-Type: multipart/mixed; boundary="===============3387566929679177109=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17432 - in trunk/freemarker:
tests and 1 other directory.
Date: Wed, 02 Sep 2009 20:23:16 -0400
Message-ID: <200909030023.n830NGJ4014851@svn01.web.mwc.hst.phx2.redhat.com>
--===============3387566929679177109==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-02 20:23:16 -0400 (Wed, 02 Sep 2009)
New Revision: 17432
Added:
trunk/freemarker/tests/
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/
Log:
Share project "org.jboss.ide.eclipse.freemarker.test" into "https://svn.jbo=
ss.org/repos/jbosstools"
--===============3387566929679177109==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 20:24:10 2009
Content-Type: multipart/mixed; boundary="===============4060833448393585014=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17433 - in
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test: .settings and 8
other directories.
Date: Wed, 02 Sep 2009 20:24:10 -0400
Message-ID: <200909030024.n830OA89014984@svn01.web.mwc.hst.phx2.redhat.com>
--===============4060833448393585014==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-02 20:24:10 -0400 (Wed, 02 Sep 2009)
New Revision: 17433
Added:
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/.classpath
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/.project
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/.settings/
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/.settings/o=
rg.eclipse.jdt.core.prefs
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/META-INF/
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/META-INF/MA=
NIFEST.MF
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/build.prope=
rties
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/src/
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/src/org/
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/src/org/jbo=
ss/
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/src/org/jbo=
ss/ide/
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/src/org/jbo=
ss/ide/eclipse/
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/src/org/jbo=
ss/ide/eclipse/freemarker/
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/src/org/jbo=
ss/ide/eclipse/freemarker/test/
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/src/org/jbo=
ss/ide/eclipse/freemarker/test/Activator.java
trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/src/org/jbo=
ss/ide/eclipse/freemarker/test/FreemarkerAllTests.java
Log:
Share project "org.jboss.ide.eclipse.freemarker.test" into "https://svn.jbo=
ss.org/repos/jbosstools"
Added: trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/.classp=
ath
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/.classpath=
(rev 0)
+++ trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/.classpath=
2009-09-03 00:24:10 UTC (rev 17433)
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
Property changes on: trunk/freemarker/tests/org.jboss.ide.eclipse.freemarke=
r.test/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/.project
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/.project =
(rev 0)
+++ trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/.project 2=
009-09-03 00:24:10 UTC (rev 17433)
@@ -0,0 +1,28 @@
+
+
+ org.jboss.ide.eclipse.freemarker.test
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.eclipse.pde.ManifestBuilder
+
+
+
+
+ org.eclipse.pde.SchemaBuilder
+
+
+
+
+
+ org.eclipse.pde.PluginNature
+ org.eclipse.jdt.core.javanature
+
+
Property changes on: trunk/freemarker/tests/org.jboss.ide.eclipse.freemarke=
r.test/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/.settin=
gs/org.eclipse.jdt.core.prefs
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/.settings/=
org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/.settings/=
org.eclipse.jdt.core.prefs 2009-09-03 00:24:10 UTC (rev 17433)
@@ -0,0 +1,8 @@
+#Wed Sep 02 15:11:52 GMT-08:00 2009
+eclipse.preferences.version=3D1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=3Denabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=3D1.5
+org.eclipse.jdt.core.compiler.compliance=3D1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=3Derror
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=3Derror
+org.eclipse.jdt.core.compiler.source=3D1.5
Property changes on: trunk/freemarker/tests/org.jboss.ide.eclipse.freemarke=
r.test/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/META-IN=
F/MANIFEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/META-INF/M=
ANIFEST.MF (rev 0)
+++ trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/META-INF/M=
ANIFEST.MF 2009-09-03 00:24:10 UTC (rev 17433)
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Freemarker Tests
+Bundle-SymbolicName: org.jboss.ide.eclipse.freemarker.test
+Bundle-Version: 1.0.0.qualifier
+Bundle-Activator: org.jboss.ide.eclipse.freemarker.test.Activator
+Bundle-Vendor: JBoss by RedHat
+Require-Bundle: org.eclipse.core.runtime,
+ org.junit,
+ org.jboss.tools.tests;bundle-version=3D"2.0.0"
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ActivationPolicy: lazy
Property changes on: trunk/freemarker/tests/org.jboss.ide.eclipse.freemarke=
r.test/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/build.p=
roperties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/build.prop=
erties (rev 0)
+++ trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/build.prop=
erties 2009-09-03 00:24:10 UTC (rev 17433)
@@ -0,0 +1,4 @@
+source.. =3D src/
+output.. =3D bin/
+bin.includes =3D META-INF/,\
+ .
Property changes on: trunk/freemarker/tests/org.jboss.ide.eclipse.freemarke=
r.test/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/src/org=
/jboss/ide/eclipse/freemarker/test/Activator.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/src/org/jb=
oss/ide/eclipse/freemarker/test/Activator.java (rev=
0)
+++ trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/src/org/jb=
oss/ide/eclipse/freemarker/test/Activator.java 2009-09-03 00:24:10 UTC (rev=
17433)
@@ -0,0 +1,50 @@
+package org.jboss.ide.eclipse.freemarker.test;
+
+import org.eclipse.core.runtime.Plugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends Plugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID =3D "org.jboss.ide.eclipse.freemarke=
r.test";
+
+ // The shared instance
+ private static Activator plugin;
+ =
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleC=
ontext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin =3D this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleCon=
text)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin =3D null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+}
Property changes on: trunk/freemarker/tests/org.jboss.ide.eclipse.freemarke=
r.test/src/org/jboss/ide/eclipse/freemarker/test/Activator.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/src/org=
/jboss/ide/eclipse/freemarker/test/FreemarkerAllTests.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/src/org/jb=
oss/ide/eclipse/freemarker/test/FreemarkerAllTests.java =
(rev 0)
+++ trunk/freemarker/tests/org.jboss.ide.eclipse.freemarker.test/src/org/jb=
oss/ide/eclipse/freemarker/test/FreemarkerAllTests.java 2009-09-03 00:24:10=
UTC (rev 17433)
@@ -0,0 +1,27 @@
+package org.jboss.ide.eclipse.freemarker.test;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+import org.jboss.tools.tests.AbstractPluginsLoadTest;
+
+public class FreemarkerAllTests extends TestCase {
+
+ public static Test suite ()
+ {
+ TestSuite suite =3D new TestSuite(FreemarkerAllTests.class.getName());
+ suite.addTestSuite(FreemarkerPluginsLoadTest.class);
+ return suite;
+ }
+ =
+ =
+ static public class FreemarkerPluginsLoadTest extends AbstractPluginsLoad=
Test {
+ =
+ public FreemarkerPluginsLoadTest() {}
+ =
+ public void testBirtPluginsAreResolvedAndActivated() {
+ testBundlesAreLoadedFor("org.jboss.ide.eclipse.freemarker.feature");
+ }
+ }
+}
Property changes on: trunk/freemarker/tests/org.jboss.ide.eclipse.freemarke=
r.test/src/org/jboss/ide/eclipse/freemarker/test/FreemarkerAllTests.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
--===============4060833448393585014==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 20:25:25 2009
Content-Type: multipart/mixed; boundary="===============2477755603880205773=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17434 -
trunk/freemarker/features.
Date: Wed, 02 Sep 2009 20:25:25 -0400
Message-ID: <200909030025.n830PPP4015400@svn01.web.mwc.hst.phx2.redhat.com>
--===============2477755603880205773==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-02 20:25:25 -0400 (Wed, 02 Sep 2009)
New Revision: 17434
Added:
trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.test.feature/
Log:
Share project "org.jboss.ide.eclipse.freemarker.test.feature" into "https:/=
/svn.jboss.org/repos/jbosstools"
--===============2477755603880205773==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 20:26:02 2009
Content-Type: multipart/mixed; boundary="===============5229248606560551853=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17435 - trunk/esb/features.
Date: Wed, 02 Sep 2009 20:26:01 -0400
Message-ID: <200909030026.n830Q1Cm015516@svn01.web.mwc.hst.phx2.redhat.com>
--===============5229248606560551853==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-02 20:26:01 -0400 (Wed, 02 Sep 2009)
New Revision: 17435
Added:
trunk/esb/features/org.jboss.tools.esb.test.feature/
Log:
Share project "org.jboss.tools.esb.test.feature" into "https://svn.jboss.or=
g/repos/jbosstools"
--===============5229248606560551853==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 20:26:20 2009
Content-Type: multipart/mixed; boundary="===============2331531249004618782=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17436 -
trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.test.feature.
Date: Wed, 02 Sep 2009 20:26:20 -0400
Message-ID: <200909030026.n830QKV5015582@svn01.web.mwc.hst.phx2.redhat.com>
--===============2331531249004618782==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-02 20:26:20 -0400 (Wed, 02 Sep 2009)
New Revision: 17436
Added:
trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.test.feature/=
.project
trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.test.feature/=
build.properties
trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.test.feature/=
feature.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-4810 freemarker tests were added
Added: trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.test.feat=
ure/.project
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.test.feature=
/.project (rev 0)
+++ trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.test.feature=
/.project 2009-09-03 00:26:20 UTC (rev 17436)
@@ -0,0 +1,17 @@
+
+
+ org.jboss.ide.eclipse.freemarker.test.feature
+
+
+
+
+
+ org.eclipse.pde.FeatureBuilder
+
+
+
+
+
+ org.eclipse.pde.FeatureNature
+
+
Property changes on: trunk/freemarker/features/org.jboss.ide.eclipse.freema=
rker.test.feature/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.test.feat=
ure/build.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.test.feature=
/build.properties (rev 0)
+++ trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.test.feature=
/build.properties 2009-09-03 00:26:20 UTC (rev 17436)
@@ -0,0 +1 @@
+bin.includes =3D feature.xml
Property changes on: trunk/freemarker/features/org.jboss.ide.eclipse.freema=
rker.test.feature/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.test.feat=
ure/feature.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.test.feature=
/feature.xml (rev 0)
+++ trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.test.feature=
/feature.xml 2009-09-03 00:26:20 UTC (rev 17436)
@@ -0,0 +1,27 @@
+
+
+
+
+ [Enter Feature Description here.]
+
+
+
+ [Enter Copyright Description here.]
+
+
+
+ [Enter License Description here.]
+
+
+
+
+
Property changes on: trunk/freemarker/features/org.jboss.ide.eclipse.freema=
rker.test.feature/feature.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
--===============2331531249004618782==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 20:26:37 2009
Content-Type: multipart/mixed; boundary="===============3581885503081041665=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17437 -
trunk/esb/features/org.jboss.tools.esb.test.feature.
Date: Wed, 02 Sep 2009 20:26:37 -0400
Message-ID: <200909030026.n830Qai5015624@svn01.web.mwc.hst.phx2.redhat.com>
--===============3581885503081041665==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-02 20:26:36 -0400 (Wed, 02 Sep 2009)
New Revision: 17437
Added:
trunk/esb/features/org.jboss.tools.esb.test.feature/.project
trunk/esb/features/org.jboss.tools.esb.test.feature/build.properties
trunk/esb/features/org.jboss.tools.esb.test.feature/feature.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-4810 =
esb component tests have been enabled in build
Added: trunk/esb/features/org.jboss.tools.esb.test.feature/.project
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/esb/features/org.jboss.tools.esb.test.feature/.project =
(rev 0)
+++ trunk/esb/features/org.jboss.tools.esb.test.feature/.project 2009-09-03=
00:26:36 UTC (rev 17437)
@@ -0,0 +1,17 @@
+
+
+ org.jboss.tools.esb.test.feature
+
+
+
+
+
+ org.eclipse.pde.FeatureBuilder
+
+
+
+
+
+ org.eclipse.pde.FeatureNature
+
+
Property changes on: trunk/esb/features/org.jboss.tools.esb.test.feature/.p=
roject
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/esb/features/org.jboss.tools.esb.test.feature/build.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/esb/features/org.jboss.tools.esb.test.feature/build.properties =
(rev 0)
+++ trunk/esb/features/org.jboss.tools.esb.test.feature/build.properties 20=
09-09-03 00:26:36 UTC (rev 17437)
@@ -0,0 +1 @@
+bin.includes =3D feature.xml
Property changes on: trunk/esb/features/org.jboss.tools.esb.test.feature/bu=
ild.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/esb/features/org.jboss.tools.esb.test.feature/feature.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/esb/features/org.jboss.tools.esb.test.feature/feature.xml =
(rev 0)
+++ trunk/esb/features/org.jboss.tools.esb.test.feature/feature.xml 2009-09=
-03 00:26:36 UTC (rev 17437)
@@ -0,0 +1,33 @@
+
+
+
+
+ [Enter Feature Description here.]
+
+
+
+ [Enter Copyright Description here.]
+
+
+
+ [Enter License Description here.]
+
+
+
+
+
+
+
Property changes on: trunk/esb/features/org.jboss.tools.esb.test.feature/fe=
ature.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
--===============3581885503081041665==--
From jbosstools-commits at lists.jboss.org Wed Sep 2 20:26:41 2009
Content-Type: multipart/mixed; boundary="===============5805127292807324486=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17438 -
trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/core/test.
Date: Wed, 02 Sep 2009 20:26:41 -0400
Message-ID: <200909030026.n830Qfif015647@svn01.web.mwc.hst.phx2.redhat.com>
--===============5805127292807324486==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-02 20:26:40 -0400 (Wed, 02 Sep 2009)
New Revision: 17438
Added:
trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/co=
re/test/EsbPluginsLoadTest.java
Modified:
trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/co=
re/test/ESBAllTests.java
trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/co=
re/test/ESBModelTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4810 =
esbcomponent tests have been enabled in build
Modified: trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools=
/esb/core/test/ESBAllTests.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/c=
ore/test/ESBAllTests.java 2009-09-03 00:26:36 UTC (rev 17437)
+++ trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/c=
ore/test/ESBAllTests.java 2009-09-03 00:26:40 UTC (rev 17438)
@@ -16,8 +16,9 @@
public class ESBAllTests {
=
public static Test suite() {
- TestSuite suite =3D new TestSuite("Test ESB model"); =
- suite.addTestSuite(ESBModelTest.class); =
+ TestSuite suite =3D new TestSuite("Test ESB Corel");
+ suite.addTestSuite(EsbPluginsLoadTest.class);
+ suite.addTestSuite(ESBModelTest.class); =
return suite;
}
=
Modified: trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools=
/esb/core/test/ESBModelTest.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/c=
ore/test/ESBModelTest.java 2009-09-03 00:26:36 UTC (rev 17437)
+++ trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/c=
ore/test/ESBModelTest.java 2009-09-03 00:26:40 UTC (rev 17438)
@@ -31,13 +31,9 @@
public ESBModelTest() {}
=
public void setUp() throws Exception {
- provider =3D new TestProjectProvider("org.jboss.tools.esb.core.test", nu=
ll, "Test", false); =
+ provider =3D new TestProjectProvider("org.jboss.tools.esb.core.test", nu=
ll, "Test", true); =
project =3D provider.getProject();
- try {
- project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor(=
));
- } catch (Exception e) {
- e.printStackTrace();
- }
+ project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor()=
);
}
=
/*
Added: trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/es=
b/core/test/EsbPluginsLoadTest.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/c=
ore/test/EsbPluginsLoadTest.java (rev 0)
+++ trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/jboss/tools/esb/c=
ore/test/EsbPluginsLoadTest.java 2009-09-03 00:26:40 UTC (rev 17438)
@@ -0,0 +1,25 @@
+/*************************************************************************=
******
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ *************************************************************************=
*****/
+package org.jboss.tools.esb.core.test;
+
+import org.jboss.tools.tests.AbstractPluginsLoadTest;
+
+/**
+ * @author eskimo
+ */
+public class EsbPluginsLoadTest extends AbstractPluginsLoadTest {
+ =
+ public EsbPluginsLoadTest() {}
+ =
+ public void testEsbPluginsAreResolvedAndActivated() {
+ testBundlesAreLoadedFor("org.jboss.tools.esb.feature");
+ }
+}
Property changes on: trunk/esb/tests/org.jboss.tools.esb.core.test/src/org/=
jboss/tools/esb/core/test/EsbPluginsLoadTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
--===============5805127292807324486==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 06:45:39 2009
Content-Type: multipart/mixed; boundary="===============6981456380232537832=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17440 -
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/test.
Date: Thu, 03 Sep 2009 06:45:38 -0400
Message-ID: <200909031045.n83Ajc6b032603@svn01.web.mwc.hst.phx2.redhat.com>
--===============6981456380232537832==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: vyemialyanchyk
Date: 2009-09-03 06:45:38 -0400 (Thu, 03 Sep 2009)
New Revision: 17440
Modified:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/src/org/jbo=
ss/tools/hibernate/ui/diagram/editors/actions/test/ExportImageActionTest.ja=
va
Log:
try to fix junit test on Hudson
Modified: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/src/=
org/jboss/tools/hibernate/ui/diagram/editors/actions/test/ExportImageAction=
Test.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/src/org/jb=
oss/tools/hibernate/ui/diagram/editors/actions/test/ExportImageActionTest.j=
ava 2009-09-03 04:10:42 UTC (rev 17439)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/src/org/jb=
oss/tools/hibernate/ui/diagram/editors/actions/test/ExportImageActionTest.j=
ava 2009-09-03 10:45:38 UTC (rev 17440)
@@ -62,6 +62,9 @@
oneOf(saveDialog).open();
will(returnValue(filePath));
=
+ allowing(editor).getSite();
+ will(returnValue(null));
+
allowing(editor).getEditPartViewer();
will(returnValue(graphicalViewer));
=
--===============6981456380232537832==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 06:51:10 2009
Content-Type: multipart/mixed; boundary="===============1894481070077638605=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17441 -
branches/jbosstools-3.1.0.M3/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/test.
Date: Thu, 03 Sep 2009 06:51:10 -0400
Message-ID: <200909031051.n83ApAHf001554@svn01.web.mwc.hst.phx2.redhat.com>
--===============1894481070077638605==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: vyemialyanchyk
Date: 2009-09-03 06:51:10 -0400 (Thu, 03 Sep 2009)
New Revision: 17441
Modified:
branches/jbosstools-3.1.0.M3/hibernatetools/tests/org.jboss.tools.hibern=
ate.ui.test/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/test/E=
xportImageActionTest.java
Log:
try to fix junit test on hudson
Modified: branches/jbosstools-3.1.0.M3/hibernatetools/tests/org.jboss.tools=
.hibernate.ui.test/src/org/jboss/tools/hibernate/ui/diagram/editors/actions=
/test/ExportImageActionTest.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/hibernatetools/tests/org.jboss.tools.hiber=
nate.ui.test/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/test/=
ExportImageActionTest.java 2009-09-03 10:45:38 UTC (rev 17440)
+++ branches/jbosstools-3.1.0.M3/hibernatetools/tests/org.jboss.tools.hiber=
nate.ui.test/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/test/=
ExportImageActionTest.java 2009-09-03 10:51:10 UTC (rev 17441)
@@ -62,6 +62,9 @@
oneOf(saveDialog).open();
will(returnValue(filePath));
=
+ allowing(editor).getSite();
+ will(returnValue(null));
+
allowing(editor).getEditPartViewer();
will(returnValue(graphicalViewer));
=
--===============1894481070077638605==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 07:38:36 2009
Content-Type: multipart/mixed; boundary="===============8214347010651165573=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17442 - in
trunk/seam/tests/org.jboss.tools.seam.core.test:
projects/SeamWebWarTestProject/WebContent/WEB-INF and 3 other directories.
Date: Thu, 03 Sep 2009 07:38:36 -0400
Message-ID: <200909031138.n83Bca0t014697@svn01.web.mwc.hst.phx2.redhat.com>
--===============8214347010651165573==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dazarov
Date: 2009-09-03 07:38:35 -0400 (Thu, 03 Sep 2009)
New Revision: 17442
Added:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestP=
roject/WebContent/JBIDE-1631.original
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestP=
roject/WebContent/WEB-INF/components.original
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestP=
roject/WebContent/abcComponent.original
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestP=
roject/src/action/org/domain/SeamWebWarTestProject/entity/abcEntity.original
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestP=
roject/src/action/org/domain/SeamWebWarTestProject/session/BbcComponent.ori=
ginal
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestP=
roject/src/action/org/domain/SeamWebWarTestProject/session/Component12.orig=
inal
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestP=
roject/src/action/org/domain/SeamWebWarTestProject/session/ContextVariableT=
est.original
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestP=
roject/src/action/org/domain/SeamWebWarTestProject/session/DuplicateCompone=
nt.original
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestP=
roject/src/action/org/domain/SeamWebWarTestProject/session/SelectionIndexTe=
st.original
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestP=
roject/src/action/org/domain/SeamWebWarTestProject/session/SelectionTest.or=
iginal
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestP=
roject/src/action/org/domain/SeamWebWarTestProject/session/StatefulComponen=
t.original
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestP=
roject/src/action/org/domain/SeamWebWarTestProject/session/SubclassTestComp=
onent.original
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam=
/core/test/SeamValidatorsTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4495
Added: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarT=
estProject/WebContent/JBIDE-1631.original
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/WebContent/JBIDE-1631.original (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/WebContent/JBIDE-1631.original 2009-09-03 11:38:35 UTC (rev 17442)
@@ -0,0 +1,14 @@
+
+
+
+
+
+ =
+
\ No newline at end of file
Added: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarT=
estProject/WebContent/WEB-INF/components.original
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/WebContent/WEB-INF/components.original (rev=
0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/WebContent/WEB-INF/components.original 2009-09-03 11:38:35 UTC (rev=
17442)
@@ -0,0 +1,63 @@
+
+
+
+
+ =
+
+ =
+
+
+
+ =
+
+ =
+
+ /security.drl
+
+
+
+ =
+
+
+
+
+
+
+ =
+
+ =
+
+
+
+ =
+
+ =
+
+ =
+
Added: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarT=
estProject/WebContent/abcComponent.original
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/WebContent/abcComponent.original (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/WebContent/abcComponent.original 2009-09-03 11:38:35 UTC (rev 17442)
@@ -0,0 +1,31 @@
+
+
+ =
+
+
+
+
+
+ abcComponent
+ =
+
+ =
+ =
=
+ =
+
+ =
+
+
+
+
+
+
Added: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarT=
estProject/src/action/org/domain/SeamWebWarTestProject/entity/abcEntity.ori=
ginal
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/entity/abcEntity.origin=
al (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/entity/abcEntity.origin=
al 2009-09-03 11:38:35 UTC (rev 17442)
@@ -0,0 +1,55 @@
+package org.domain.SeamWebWarTestProject.entity;
+
+import javax.ejb.Remove;
+import java.io.Serializable;
+import javax.persistence.Entity;
+import javax.persistence.Id;
+import javax.persistence.GeneratedValue;
+import javax.persistence.Version;
+import org.hibernate.validator.Length;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+(a)Entity
+(a)Scope(ScopeType.EVENT)
+(a)Name("abcEntity")
+public class abcEntity implements Serializable {
+ static final long serialVersionUID =3D 1000;
+ //seam-gen attributes (you should probably edit these)
+ private Long id;
+ private Integer version;
+ private String name;
+ =
+ //add additional entity attributes
+ =
+ //seam-gen attribute getters/setters with annotations (you probably shoul=
d edit)
+ =
+ @Id @GeneratedValue
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id =3D id;
+ }
+ =
+ @Version
+ public Integer getVersion() {
+ return version;
+ }
+
+ @Remove
+ public void removeMethod(){
+ =
+ }
+
+ @Length(max=3D20)
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name =3D name;
+ } =
+}
Added: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarT=
estProject/src/action/org/domain/SeamWebWarTestProject/session/BbcComponent=
.original
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/session/BbcComponent.or=
iginal (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/session/BbcComponent.or=
iginal 2009-09-03 11:38:35 UTC (rev 17442)
@@ -0,0 +1,20 @@
+package org.domain.SeamWebWarTestProject.session;
+
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.log.Log;
+
+(a)Name("bbcComponent")
+public class BbcComponent {
+ =
+ @Logger private Log log;
+ =
+ public void bbcComponent()
+ {
+ //implement your business logic here
+ log.info("bbcComponent.bbcComponent() action called");
+ }
+ =
+ //add additional action methods
+ =
+}
Added: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarT=
estProject/src/action/org/domain/SeamWebWarTestProject/session/Component12.=
original
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/session/Component12.ori=
ginal (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/session/Component12.ori=
ginal 2009-09-03 11:38:35 UTC (rev 17442)
@@ -0,0 +1,40 @@
+package org.domain.SeamWebWarTestProject.session;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Factory;
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.annotations.datamodel.DataModel;
+import org.jboss.seam.log.Log;
+import org.jboss.seam.core.FacesMessages;
+
+(a)Name("component12")
+public class Component12 {
+ =
+ @Logger private Log log;
+ =
+ @In FacesMessages facesMessages;
+ =
+ @DataModel =
+ private List messageList=3Dnew ArrayList();
+ =
+ @Factory("messageList12") =
+ public List findMessages() {
+ return messageList;
+ }
+ =
+ public List getList(){
+ return messageList;
+ }
+
+ =
+ public void component12()
+ {
+ //implement your business logic here
+ log.info("component12.component12() action called");
+ //facesMessages.add("component12");
+ }
+}
Added: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarT=
estProject/src/action/org/domain/SeamWebWarTestProject/session/ContextVaria=
bleTest.original
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/session/ContextVariable=
Test.original (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/session/ContextVariable=
Test.original 2009-09-03 11:38:35 UTC (rev 17442)
@@ -0,0 +1,48 @@
+package org.domain.SeamWebWarTestProject.session;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.jboss.seam.annotations.Factory;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Role;
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Out;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.annotations.datamodel.DataModel;
+import org.jboss.seam.log.Log;
+import org.jboss.seam.core.FacesMessages;
+
+(a)Name("contextVariableTest")
+(a)Role(name=3D"role1")
+public class ContextVariableTest {
+ =
+ @Logger private Log log;
+ =
+ @In FacesMessages facesMessages;
+ =
+ @Out(value=3D"output")
+ private String output;
+ =
+ public void contextVariableTest()
+ {
+ //implement your business logic here
+ log.info("contextVariableTest.contextVariableTest() action called"=
);
+ }
+ =
+ @DataModel =
+ private List messageList=3Dnew ArrayList();
+
+ @Factory("messageList") =
+ public void findMessages() {
+ =
+ }
+ =
+ public List getList(){
+ return messageList;
+ }
+ =
+ public String getOutput(){
+ return output;
+ }
+}
Added: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarT=
estProject/src/action/org/domain/SeamWebWarTestProject/session/DuplicateCom=
ponent.original
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/session/DuplicateCompon=
ent.original (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/session/DuplicateCompon=
ent.original 2009-09-03 11:38:35 UTC (rev 17442)
@@ -0,0 +1,7 @@
+package org.domain.SeamWebWarTestProject.session;
+
+import org.jboss.seam.annotations.Name;
+
+(a)Name("duplicateJavaAndXmlComponentName")
+public class DuplicateComponent {
+}
\ No newline at end of file
Added: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarT=
estProject/src/action/org/domain/SeamWebWarTestProject/session/SelectionInd=
exTest.original
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/session/SelectionIndexT=
est.original (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/session/SelectionIndexT=
est.original 2009-09-03 11:38:35 UTC (rev 17442)
@@ -0,0 +1,42 @@
+package org.domain.SeamWebWarTestProject.session;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.annotations.datamodel.DataModel;
+import org.jboss.seam.annotations.datamodel.DataModelSelectionIndex;
+import org.jboss.seam.log.Log;
+import org.jboss.seam.core.FacesMessages;
+
+(a)Name("selectionIndexTest")
+public class SelectionIndexTest {
+ =
+ @Logger private Log log;
+ =
+ @In FacesMessages facesMessages;
+
+ @DataModel =
+ private List messageList=3Dnew ArrayList();
+
+ @DataModel =
+ private List nameList=3Dnew ArrayList();
+ =
+ @DataModelSelectionIndex("messageList") int index;
+ =
+ public List getList(){
+ return messageList;
+ }
+
+ public List getNames(){
+ return nameList;
+ }
+ =
+ public void selectionIndexTest()
+ {
+ //implement your business logic here
+ log.info("selectionIndexTest.selectionIndexTest() action called");
+ }
+}
Added: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarT=
estProject/src/action/org/domain/SeamWebWarTestProject/session/SelectionTes=
t.original
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/session/SelectionTest.o=
riginal (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/session/SelectionTest.o=
riginal 2009-09-03 11:38:35 UTC (rev 17442)
@@ -0,0 +1,42 @@
+package org.domain.SeamWebWarTestProject.session;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.annotations.datamodel.DataModel;
+import org.jboss.seam.annotations.datamodel.DataModelSelection;
+import org.jboss.seam.log.Log;
+import org.jboss.seam.core.FacesMessages;
+
+(a)Name("selectionTest")
+public class SelectionTest {
+ =
+ @Logger private Log log;
+ =
+ @In FacesMessages facesMessages;
+ =
+ @DataModel =
+ private List messageList=3Dnew ArrayList();
+
+ @DataModel =
+ private List nameList=3Dnew ArrayList();
+ =
+ @DataModelSelection("messageList") String s;
+ =
+ public List getList(){
+ return messageList;
+ }
+
+ public List getNames(){
+ return nameList;
+ }
+ =
+ public void selectionTest()
+ {
+ //implement your business logic here
+ log.info("selectionTest.selectionTest() action called");
+ }
+}
Added: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarT=
estProject/src/action/org/domain/SeamWebWarTestProject/session/StatefulComp=
onent.original
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/session/StatefulCompone=
nt.original (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/session/StatefulCompone=
nt.original 2009-09-03 11:38:35 UTC (rev 17442)
@@ -0,0 +1,52 @@
+package org.domain.SeamWebWarTestProject.session;
+
+import javax.ejb.Remove;
+import javax.ejb.Stateful;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Destroy;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.jboss.seam.log.Log;
+
+(a)Name("statefulComponent")
+
+(a)Stateful
+(a)Scope(ScopeType.APPLICATION)
+public class StatefulComponent {
+
+ private String abc;
+ =
+ @Logger private Log log;
+ =
+ =
+ //seam-gen method
+ public String statefulComponent()
+ {
+ //implement your business logic here
+ log.info("statefulComponent.statefulComponent() action called");
+ return "success";
+ }
+ =
+ //add additional action methods
+ @Destroy
+ public void destroyMethod(){
+ =
+ }
+
+ =
+ @Remove
+ public void removeMethod(){
+ =
+ }
+
+ public String getAbc() {
+ return abc;
+ }
+
+ public void setAbc(String abc) {
+ this.abc =3D abc;
+ }
+ =
+}
\ No newline at end of file
Added: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarT=
estProject/src/action/org/domain/SeamWebWarTestProject/session/SubclassTest=
Component.original
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/session/SubclassTestCom=
ponent.original (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest=
Project/src/action/org/domain/SeamWebWarTestProject/session/SubclassTestCom=
ponent.original 2009-09-03 11:38:35 UTC (rev 17442)
@@ -0,0 +1,28 @@
+/*************************************************************************=
******
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ *************************************************************************=
*****/
+
+package org.domain.SeamWebWarTestProject.session;
+
+import javax.ejb.Stateful;
+
+import org.jboss.seam.annotations.Destroy;
+import org.jboss.seam.annotations.Name;
+
+/**
+ * Test component for JBIDE-1696
+ * @author Alexey Kazakov
+ */
+(a)Stateful
+(a)Name("testComponentJBIDE1696") =
+public class SubclassTestComponent extends SuperclassTestComponent {
+
+ @Destroy public void foo1() {} =
+}
\ No newline at end of file
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/too=
ls/seam/core/test/SeamValidatorsTest.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/sea=
m/core/test/SeamValidatorsTest.java 2009-09-03 10:51:10 UTC (rev 17441)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/sea=
m/core/test/SeamValidatorsTest.java 2009-09-03 11:38:35 UTC (rev 17442)
@@ -36,6 +36,7 @@
import org.jboss.tools.tests.IMarkerFilter;
=
public class SeamValidatorsTest extends AbstractResourceMarkerTest {
+
IProject project =3D null;
=
public static final String MARKER_TYPE =3D "org.eclipse.wst.validation.pr=
oblemmarker";
@@ -63,6 +64,68 @@
this.project =3D project.getProject();
JobUtils.waitForIdle();
}
+ =
+ @Override
+ protected void tearDown() throws Exception {
+ // restore state
+ copyContentsFile("src/action/org/domain/SeamWebWarTestProject/session/Su=
bclassTestComponent.java",
+ "src/action/org/domain/SeamWebWarTestProject/session/SubclassTestCompo=
nent.original");
+ =
+ copyContentsFile("WebContent/WEB-INF/components.xml", "WebContent/WEB-IN=
F/components.original");
+ =
+ copyContentsFile("src/action/org/domain/SeamWebWarTestProject/session/St=
atefulComponent.java",
+ "src/action/org/domain/SeamWebWarTestProject/session/StatefulComponent=
.original");
+ =
+ copyContentsFile("src/action/org/domain/SeamWebWarTestProject/session/Bb=
cComponent.java",
+ "src/action/org/domain/SeamWebWarTestProject/session/BbcComponent.orig=
inal");
+ =
+ copyContentsFile("WebContent/JBIDE-1631.xhtml",
+ "WebContent/JBIDE-1631.original");
+ =
+ copyContentsFile("src/action/org/domain/SeamWebWarTestProject/entity/abc=
Entity.java",
+ "src/action/org/domain/SeamWebWarTestProject/entity/abcEntity.original=
");
+ =
+ copyContentsFile("src/action/org/domain/SeamWebWarTestProject/session/Co=
mponent12.java",
+ "src/action/org/domain/SeamWebWarTestProject/session/Component12.origi=
nal");
+ =
+ copyContentsFile("src/action/org/domain/SeamWebWarTestProject/session/Se=
lectionTest.java",
+ "src/action/org/domain/SeamWebWarTestProject/session/SelectionTest.ori=
ginal");
+ =
+ copyContentsFile("src/action/org/domain/SeamWebWarTestProject/session/Se=
lectionIndexTest.java",
+ "src/action/org/domain/SeamWebWarTestProject/session/SelectionIndexTes=
t.original");
+ =
+ copyContentsFile("src/action/org/domain/SeamWebWarTestProject/session/Co=
ntextVariableTest.java",
+ "src/action/org/domain/SeamWebWarTestProject/session/ContextVariableTe=
st.original");
+ =
+ copyContentsFile("WebContent/abcComponent.xhtml",
+ "WebContent/abcComponent.original");
+ =
+ copyContentsFile("src/action/org/domain/SeamWebWarTestProject/session/Du=
plicateComponent.java",
+ "src/action/org/domain/SeamWebWarTestProject/session/DuplicateComponen=
t.original");
+ =
+ refreshProject(project);
+ }
+ =
+ private void copyContentsFile(String originalName, String newContentName){
+ IFile originalFile =3D project.getFile(originalName);
+ IFile newContentFile =3D project.getFile(newContentName);
+ =
+ copyContentsFile(originalFile, newContentFile);
+ }
+ =
+ private void copyContentsFile(IFile originalFile, String newContentName){
+ IFile newContentFile =3D project.getFile(newContentName);
+ =
+ copyContentsFile(originalFile, newContentFile);
+ }
+ =
+ private void copyContentsFile(IFile originalFile, IFile newContentFile){
+ try{
+ originalFile.setContents(newContentFile.getContents(), true, false, nul=
l);
+ }catch(Exception e){
+ JUnitUtils.fail("Error during changing '"+originalFile.getFullPath()+"'=
content to '"+newContentFile.getFullPath()+"'", e);
+ }
+ }
=
private ISeamProject getSeamProject(IProject project) {
refreshProject(project);
@@ -113,12 +176,9 @@
IFile subclassComponentFile =3D project.getFile("src/action/org/domain/S=
eamWebWarTestProject/session/SubclassTestComponent.java");
assertMarkerIsCreated(subclassComponentFile, MARKER_TYPE, "Stateful comp=
onent \"testComponentJBIDE1696\" must have a method marked @Remove", 25);
IFile superclassComponentFile =3D project.getFile("src/action/org/domain=
/SeamWebWarTestProject/session/SuperclassTestComponent.java");
- IFile superclassComponentFileWithRemove =3D project.getFile("src/action/=
org/domain/SeamWebWarTestProject/session/SuperclassTestComponent.withRemove=
");
- try{
- superclassComponentFile.setContents(superclassComponentFileWithRemove.g=
etContents(), true, false, null);
- }catch(Exception e){
- JUnitUtils.fail("Error during changing 'SuperclassTestComponent.java' c=
ontent to 'SuperclassTestComponent.withRemove'", e);
- }
+ =
+ copyContentsFile(superclassComponentFile, "src/action/org/domain/SeamWeb=
WarTestProject/session/SuperclassTestComponent.withRemove");
+ =
refreshProject(project);
int number =3D getMarkersNumber(subclassComponentFile);
assertTrue("We changed super class of component but it still don't see c=
hanges.", number =3D=3D 0);
@@ -212,29 +272,14 @@
}
=
public void testComponentWithoutSetter_Validator() throws CoreException {
- IFile statefulComponentFile =3D project.getFile("src/action/org/domain/S=
eamWebWarTestProject/session/StatefulComponent.java");
IFile componentsFile =3D project.getFile("WebContent/WEB-INF/components.=
xml");
=
// Component class does not contain setter for property
=
- IFile componentsFile3 =3D project.getFile("WebContent/WEB-INF/components=
.3");
+ copyContentsFile(componentsFile, "WebContent/WEB-INF/components.3");
=
- try{
- componentsFile.setContents(componentsFile3.getContents(), true, false, =
null);
- }catch(Exception ex){
- JUnitUtils.fail("Error in changing 'components.xml' content to " +
- "'components.3'", ex);
- }
+ copyContentsFile("src/action/org/domain/SeamWebWarTestProject/session/St=
atefulComponent.java", "src/action/org/domain/SeamWebWarTestProject/session=
/StatefulComponent.5");
=
- IFile statefulComponentFile5 =3D project.getFile("src/action/org/domain/=
SeamWebWarTestProject/session/StatefulComponent.5");
-
- try{
- statefulComponentFile.setContents(statefulComponentFile5.getContents(),=
true, false, null);
- }catch(Exception ex){
- JUnitUtils.fail("Error in changing 'StatefulComponent.java' content to =
" +
- "'StatefulComponent.5'", ex);
- }
- =
refreshProject(project);
=
assertMarkerIsCreated(
@@ -399,13 +444,7 @@
markerText, 24);
=
=
- IFile component12File2 =3D project.getFile("src/action/org/domain/SeamWe=
bWarTestProject/session/DuplicateFactory");
- try{
- component12File.setContents(component12File2.getContents(), true, false=
, null);
- }catch(Exception ex){
- JUnitUtils.fail("Error in changing 'Component12File2.java' content to "=
+
- "'DuplicateFactory'", ex);
- }
+ copyContentsFile(component12File, "src/action/org/domain/SeamWebWarTestP=
roject/session/DuplicateFactory");
=
refreshProject(project);
=
@@ -427,21 +466,9 @@
=
// Multiple data binder
=
- IFile selectionTestFile2 =3D project.getFile("src/action/org/domain/Seam=
WebWarTestProject/session/SelectionTest.2");
- try{
- selectionTestFile.setContents(selectionTestFile2.getContents(), true, f=
alse, null);
- }catch(Exception ex){
- JUnitUtils.fail("Error in changing 'SelectionTest.java' content to " +
- "'SelectionTest.2'", ex);
- }
+ copyContentsFile(selectionTestFile, "src/action/org/domain/SeamWebWarTes=
tProject/session/SelectionTest.2");
=
- IFile selectionIndexTestFile2 =3D project.getFile("src/action/org/domain=
/SeamWebWarTestProject/session/SelectionIndexTest.2");
- try{
- selectionIndexTestFile.setContents(selectionIndexTestFile2.getContents(=
), true, false, null);
- }catch(Exception ex){
- JUnitUtils.fail("Error in changing 'SelectionIndexTest.java' content to=
" +
- "'SelectionIndexTest.2'", ex);
- }
+ copyContentsFile(selectionIndexTestFile, "src/action/org/domain/SeamWebW=
arTestProject/session/SelectionIndexTest.2");
=
refreshProject(project);
=
@@ -479,21 +506,9 @@
IFile selectionIndexTestFile =3D project.getFile("src/action/org/domain/=
SeamWebWarTestProject/session/SelectionIndexTest.java");
// Unknown @DataModel/@Out name
=
- IFile selectionTestFile3 =3D project.getFile("src/action/org/domain/Seam=
WebWarTestProject/session/SelectionTest.3");
- try{
- selectionTestFile.setContents(selectionTestFile3.getContents(), true, f=
alse, null);
- }catch(Exception ex){
- JUnitUtils.fail("Error in changing 'SelectionTest.java' content to " +
- "'SelectionTest.3'", ex);
- }
+ copyContentsFile(selectionTestFile, "src/action/org/domain/SeamWebWarTes=
tProject/session/SelectionTest.3");
=
- IFile selectionIndexTestFile3 =3D project.getFile("src/action/org/domain=
/SeamWebWarTestProject/session/SelectionIndexTest.3");
- try{
- selectionIndexTestFile.setContents(selectionIndexTestFile3.getContents(=
), true, false, null);
- }catch(Exception ex){
- JUnitUtils.fail("Error in changing 'SelectionIndexTest.java' content to=
" +
- "'SelectionIndexTest.3'", ex);
- }
+ copyContentsFile(selectionIndexTestFile, "src/action/org/domain/SeamWebW=
arTestProject/session/SelectionIndexTest.3");
=
refreshProject(project);
=
@@ -521,13 +536,7 @@
=
// Duplicate variable name
=
- IFile contextVariableTestFile2 =3D project.getFile("src/action/org/domai=
n/SeamWebWarTestProject/session/ContextVariableTest.2");
- try{
- contextVariableTestFile.setContents(contextVariableTestFile2.getContent=
s(), true, false, null);
- }catch(Exception ex){
- JUnitUtils.fail("Error in changing 'ContextVariableTest.java' content t=
o " +
- "'ContextVariableTest.2'", ex);
- }
+ copyContentsFile(contextVariableTestFile, "src/action/org/domain/SeamWeb=
WarTestProject/session/ContextVariableTest.2");
=
refreshProject(project);
=
@@ -607,13 +616,7 @@
=
enableUnpairGetterOrSetterValidation(true);
=
- IFile abcComponentFile2 =3D project.getFile("src/action/org/domain/SeamW=
ebWarTestProject/session/AbcComponent.2");
- try{
- abcComponentFile.setContents(abcComponentFile2.getContents(), true, fal=
se, null);
- }catch(Exception ex){
- JUnitUtils.fail("Error in changing 'abcComponent.java' content to " +
- "'abcComponent.2'", ex);
- }
+ copyContentsFile(abcComponentFile, "src/action/org/domain/SeamWebWarTest=
Project/session/AbcComponent.2");
=
refreshProject(project);
=
@@ -627,7 +630,6 @@
=
public void testPropertyHasOnlyGetter_Validator() throws CoreException {
IFile abcComponentXHTMLFile =3D project.getFile("WebContent/abcComponent=
.xhtml");
- IFile abcComponentFile =3D project.getFile("src/action/org/domain/SeamWe=
bWarTestProject/session/AbcComponent.java");
=
String markerText =3D "Property \"actionType\" has only Getter. Setter i=
s missing.";
=
@@ -635,13 +637,7 @@
=
enableUnpairGetterOrSetterValidation(true);
=
- IFile abcComponentFile3 =3D project.getFile("src/action/org/domain/SeamW=
ebWarTestProject/session/AbcComponent.3");
- try{
- abcComponentFile.setContents(abcComponentFile3.getContents(), true, fal=
se, null);
- }catch(Exception ex){
- JUnitUtils.fail("Error in changing 'abcComponent.java' content to " +
- "'abcComponent.3'", ex);
- }
+ copyContentsFile("src/action/org/domain/SeamWebWarTestProject/session/Ab=
cComponent.java", "src/action/org/domain/SeamWebWarTestProject/session/AbcC=
omponent.3");
=
refreshProject(project);
=
@@ -688,13 +684,10 @@
IFile duplicateJavaComponentFile =3D project.getFile("src/action/org/dom=
ain/SeamWebWarTestProject/session/DuplicateComponent.java");
IFile componentsXmlFile =3D project.getFile("WebContent/WEB-INF/componen=
ts.xml");
=
- IFile duplicateComponentsXmlFile =3D project.getFile("WebContent/WEB-INF=
/duplicateComponents.test");
- try{
- componentsXmlFile.setContents(duplicateComponentsXmlFile.getContents(),=
true, false, null);
- }catch(Exception ex){
- JUnitUtils.fail("Error in changing 'components.xml' content to 'duplica=
teComponents.test'", ex);
- }
+ copyContentsFile(componentsXmlFile, "WebContent/WEB-INF/duplicateCompone=
nts.test");
+ =
refreshProject(project);
+ =
Integer[] lineNumbers =3D getMarkersNumbersOfLine(duplicateJavaComponent=
File, SEAM_MARKER_FILTER);
assertEquals("There should be the only one error marker in DuplicateComp=
onent.java.", 1, lineNumbers.length);
assertEquals("Problem marker has wrong line number", 5, lineNumbers[0].i=
ntValue());
@@ -712,15 +705,10 @@
SeamCorePlugin.getDefault().getPreferenceStore().setValue(SeamPreference=
s.UNKNOWN_EL_VARIABLE_NAME, SeamPreferences.ERROR);
=
IFile componentFile =3D project.getFile("src/action/org/domain/SeamWebWa=
rTestProject/entity/TestElRevalidation.java");
- IFile newComponentFile =3D project.getFile("src/action/org/domain/SeamWe=
bWarTestProject/entity/TestElRevalidation.new");
- IFile originalComponentFile =3D project.getFile("src/action/org/domain/S=
eamWebWarTestProject/entity/TestElRevalidation.original");
IFile xhtmlFile =3D project.getFile("WebContent/testElRevalidation.xhtml=
");
=
- try {
- componentFile.setContents(newComponentFile.getContents(), true, false, =
null);
- } catch(Exception ex) {
- JUnitUtils.fail("Error in changing 'TestElRevalidation.new' content to =
'TestElRevalidation.java'", ex);
- }
+ copyContentsFile(componentFile, "src/action/org/domain/SeamWebWarTestPro=
ject/entity/TestElRevalidation.new");
+
refreshProject(project);
=
int n =3D getMarkersNumber(xhtmlFile, SEAM_MARKER_FILTER);
@@ -728,11 +716,8 @@
=
SeamCorePlugin.getDefault().getPreferenceStore().setValue(SeamPreference=
s.RE_VALIDATE_UNRESOLVED_EL, SeamPreferences.DISABLE);
// Check if the validator was not invoked.
- try {
- componentFile.setContents(originalComponentFile.getContents(), true, fa=
lse, null);
- } catch(Exception ex) {
- JUnitUtils.fail("Error in changing 'TestElRevalidation.original' conten=
t to 'TestElRevalidation.java'", ex);
- }
+ copyContentsFile(componentFile, "src/action/org/domain/SeamWebWarTestPro=
ject/entity/TestElRevalidation.original");
+
refreshProject(project);
=
n =3D getMarkersNumber(xhtmlFile, SEAM_MARKER_FILTER);
--===============8214347010651165573==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 07:43:45 2009
Content-Type: multipart/mixed; boundary="===============6115589192487229825=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17443 - in trunk/seam:
plugins/org.jboss.tools.seam.ui and 4 other directories.
Date: Thu, 03 Sep 2009 07:43:45 -0400
Message-ID: <200909031143.n83BhjhA015719@svn01.web.mwc.hst.phx2.redhat.com>
--===============6115589192487229825==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dazarov
Date: 2009-09-03 07:43:45 -0400 (Thu, 03 Sep 2009)
New Revision: 17443
Added:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/s=
earch/ELSearchQuery.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/s=
earch/ELSearchResult.java
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/in=
ternal/core/refactoring/SeamRefactorSeacher.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/in=
ternal/core/refactoring/SeamRenameProcessor.java
trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/a=
ctions/FindUsagesInELAction.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/r=
efactoring/SeamRefactorContributionFactory.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/s=
earch/SeamTreeContentProvider.java
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam=
/core/test/refactoring/SeamComponentRefactoringTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4771
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/=
seam/internal/core/refactoring/SeamRefactorSeacher.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/i=
nternal/core/refactoring/SeamRefactorSeacher.java 2009-09-03 11:38:35 UTC (=
rev 17442)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/i=
nternal/core/refactoring/SeamRefactorSeacher.java 2009-09-03 11:43:45 UTC (=
rev 17443)
@@ -38,6 +38,7 @@
import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
import org.jboss.tools.common.el.core.model.ELInstance;
import org.jboss.tools.common.el.core.model.ELInvocationExpression;
+import org.jboss.tools.common.el.core.model.ELMethodInvocation;
import org.jboss.tools.common.el.core.model.ELModel;
import org.jboss.tools.common.el.core.model.ELPropertyInvocation;
import org.jboss.tools.common.el.core.parser.ELParser;
@@ -67,6 +68,9 @@
}
=
public void findELReferences(){
+ if(baseFile =3D=3D null)
+ return;
+ =
SeamProjectsSet projectsSet =3D new SeamProjectsSet(baseFile.getProject(=
));
=
IProject[] projects =3D projectsSet.getAllProjects();
@@ -240,9 +244,16 @@
ELModel model =3D parser.parse(string);
for (ELInstance instance : model.getInstances()) {
for(ELInvocationExpression ie : instance.getExpression().getInvocation=
s()){
- ELPropertyInvocation pi =3D findComponentReference(ie);
- if(pi !=3D null)
- match(file, pi);
+ ELInvocationExpression expression =3D findComponentReference(ie);
+ if(expression !=3D null){
+ if(expression instanceof ELPropertyInvocation){
+ ELPropertyInvocation pi =3D (ELPropertyInvocation)expression;
+ match(file, offset+pi.getStartPosition(), pi.getName().getStart()+p=
i.getName().getLength()-pi.getStartPosition());
+ }else if(expression instanceof ELMethodInvocation){
+ ELMethodInvocation mi =3D (ELMethodInvocation)expression;
+ match(file, offset+mi.getStartPosition(), mi.getName().getStart()+m=
i.getName().getLength()-mi.getStartPosition());
+ }
+ }
}
}
}
@@ -278,7 +289,7 @@
key =3D false;
=
if(key && token.startsWith(propertyName)){
- match(file, token);
+ match(file, offset, token.length());
}
}
=
@@ -288,12 +299,12 @@
}
=
=
- private ELPropertyInvocation findComponentReference(ELInvocationExpressio=
n invocationExpression){
+ protected ELInvocationExpression findComponentReference(ELInvocationExpre=
ssion invocationExpression){
ELInvocationExpression invExp =3D invocationExpression;
while(invExp !=3D null){
if(invExp instanceof ELPropertyInvocation){
if(((ELPropertyInvocation)invExp).getQualifiedName() !=3D null && ((EL=
PropertyInvocation)invExp).getQualifiedName().equals(propertyName))
- return (ELPropertyInvocation)invExp;
+ return invExp;
else
invExp =3D invExp.getLeft();
=
@@ -306,7 +317,5 @@
=
protected abstract boolean isFileCorrect(IFile file);
=
- protected abstract void match(IFile file, ELPropertyInvocation elProperty=
Invokation);
- =
- protected abstract void match(IFile file, String token);
+ protected abstract void match(IFile file, int offset, int length);
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/=
seam/internal/core/refactoring/SeamRenameProcessor.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/i=
nternal/core/refactoring/SeamRenameProcessor.java 2009-09-03 11:38:35 UTC (=
rev 17442)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/i=
nternal/core/refactoring/SeamRenameProcessor.java 2009-09-03 11:43:45 UTC (=
rev 17443)
@@ -10,27 +10,15 @@
************************************************************************=
******/
package org.jboss.tools.seam.internal.core.refactoring;
=
-import java.io.IOException;
import java.util.ArrayList;
import java.util.Set;
-import java.util.StringTokenizer;
=
-import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jdt.internal.ui.text.FastJavaPartitionScanner;
-import org.eclipse.jdt.ui.text.IJavaPartitions;
-import org.eclipse.jface.text.BadLocationException;
-import org.eclipse.jface.text.Document;
-import org.eclipse.jface.text.rules.IToken;
-import org.eclipse.jface.text.rules.Token;
import org.eclipse.ltk.core.refactoring.CompositeChange;
import org.eclipse.ltk.core.refactoring.RefactoringStatus;
import org.eclipse.ltk.core.refactoring.TextFileChange;
@@ -39,24 +27,7 @@
import org.eclipse.text.edits.MultiTextEdit;
import org.eclipse.text.edits.ReplaceEdit;
import org.eclipse.text.edits.TextEdit;
-import org.eclipse.wst.sse.core.StructuredModelManager;
-import org.eclipse.wst.sse.core.internal.provisional.IModelManager;
-import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
-import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocum=
entRegion;
-import org.eclipse.wst.sse.core.internal.provisional.text.ITextRegion;
-import org.eclipse.wst.sse.core.internal.provisional.text.ITextRegionList;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMDocument;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
-import org.jboss.tools.common.el.core.model.ELInstance;
-import org.jboss.tools.common.el.core.model.ELInvocationExpression;
-import org.jboss.tools.common.el.core.model.ELModel;
-import org.jboss.tools.common.el.core.model.ELPropertyInvocation;
-import org.jboss.tools.common.el.core.parser.ELParser;
-import org.jboss.tools.common.el.core.parser.ELParserUtil;
import org.jboss.tools.common.model.project.ext.ITextSourceReference;
-import org.jboss.tools.common.model.util.EclipseResourceUtil;
import org.jboss.tools.common.util.FileUtil;
import org.jboss.tools.seam.core.BijectedAttributeType;
import org.jboss.tools.seam.core.IBijectedAttribute;
@@ -71,8 +42,6 @@
import org.jboss.tools.seam.internal.core.SeamComponentDeclaration;
import org.jboss.tools.seam.internal.core.scanner.java.SeamAnnotations;
import org.jboss.tools.seam.internal.core.validation.SeamContextValidation=
Helper;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
=
/**
* @author Daniel Azarov
@@ -98,6 +67,15 @@
private String newName;
private String oldName;
=
+ private SeamSeacher seacher =3D null;
+ =
+ protected SeamSeacher getSeacher(){
+ if(seacher =3D=3D null){
+ seacher =3D new SeamSeacher(declarationFile, getOldName());
+ }
+ return seacher;
+ }
+ =
public void setNewName(String newName){
this.newName =3D newName;
}
@@ -373,64 +351,6 @@
}
=
=
- // we need to find references in .java .xml .xhtml .jsp .properties files
- protected void findELReferences(){
- if(declarationFile =3D=3D null)
- return;
- =
- IProject[] projects =3D projectsSet.getAllProjects();
- for (IProject project : projects) {
- if(project =3D=3D null) continue;
- =
- IJavaProject javaProject =3D EclipseResourceUtil.getJavaProject(project=
);
- =
- // searching java, xml and property files in source folders
- if(javaProject !=3D null){
- for(IResource resource : EclipseResourceUtil.getJavaSourceRoots(projec=
t)){
- if(resource instanceof IFolder)
- scanForJava((IFolder) resource);
- else if(resource instanceof IFile)
- scanForJava((IFile) resource);
- }
- }
- =
- // searching jsp, xhtml and xml files in WebContent folders
- if(project.equals(projectsSet.getWarProject()))
- scan(projectsSet.getDefaultViewsFolder());
- else if(project.equals(projectsSet.getEarProject()))
- scan(projectsSet.getDefaultEarViewsFolder());
- else{
- scan(project);
- }
- }
- }
- =
- private void scan(IProject project){
- IJavaProject javaProject =3D EclipseResourceUtil.getJavaProject(project);
- if(javaProject =3D=3D null)
- return;
- =
- IResource[] sources =3D EclipseResourceUtil.getJavaSourceRoots(project);
- IPath output =3D null;
- try{
- output =3D javaProject.getOutputLocation();
- }catch(JavaModelException ex){
- SeamCorePlugin.getDefault().logError(ex);
- }
- =
- try{
- for(IResource resource : project.members()){
- if(resource instanceof IFolder){
- if(checkFolder(resource, sources, output))
- scan((IFolder) resource);
- }else if(resource instanceof IFile)
- scan((IFile) resource);
- }
- }catch(CoreException ex){
- SeamCorePlugin.getDefault().logError(ex);
- }
- }
- =
private boolean checkFolder(IResource resource, IResource[] sources, IPat=
h output){
for(IResource folder : sources){
if(resource.equals(folder))
@@ -443,215 +363,6 @@
return true;
}
=
- private void scanForJava(IContainer container){
- try{
- for(IResource resource : container.members()){
- if(resource instanceof IFolder)
- scanForJava((IFolder) resource);
- else if(resource instanceof IFile)
- scanForJava((IFile) resource);
- }
- }catch(CoreException ex){
- SeamCorePlugin.getDefault().logError(ex);
- }
- }
-
- private void scan(IContainer container){
- try{
- for(IResource resource : container.members()){
- if(resource instanceof IFolder)
- scan((IFolder) resource);
- else if(resource instanceof IFile)
- scan((IFile) resource);
- }
- }catch(CoreException ex){
- SeamCorePlugin.getDefault().logError(ex);
- }
- }
- =
- private void scanForJava(IFile file){
- String ext =3D file.getFileExtension();
- =
- if(!isFileCorrect(file))
- return;
- =
- String content =3D null;
- try {
- content =3D FileUtil.readStream(file.getContents());
- } catch (CoreException e) {
- SeamCorePlugin.getPluginLog().logError(e);
- return;
- }
- if(JAVA_EXT.equalsIgnoreCase(ext)){
- scanJava(file, content);
- }else if(XML_EXT.equalsIgnoreCase(ext))
- scanDOM(file, content);
- else if(PROPERTIES_EXT.equalsIgnoreCase(ext))
- scanProperties(file, content);
- }
-
- private void scan(IFile file){
- String ext =3D file.getFileExtension();
- =
- if(!isFileCorrect(file))
- return;
- =
- String content =3D null;
- try {
- content =3D FileUtil.readStream(file.getContents());
- } catch (CoreException e) {
- SeamCorePlugin.getPluginLog().logError(e);
- return;
- }
- if(XML_EXT.equalsIgnoreCase(ext) || XHTML_EXT.equalsIgnoreCase(ext) || J=
SP_EXT.equalsIgnoreCase(ext))
- scanDOM(file, content);
- }
- =
- private void scanJava(IFile file, String content){
- try {
- FastJavaPartitionScanner scaner =3D new FastJavaPartitionScanner();
- Document document =3D new Document(content);
- scaner.setRange(document, 0, document.getLength());
- IToken token =3D scaner.nextToken();
- while(token!=3Dnull && token!=3DToken.EOF) {
- if(IJavaPartitions.JAVA_STRING.equals(token.getData())) {
- int length =3D scaner.getTokenLength();
- int offset =3D scaner.getTokenOffset();
- String value =3D document.get(offset, length);
- if(value.indexOf('{')>-1) {
- scanString(file, value, offset);
- }
- }
- token =3D scaner.nextToken();
- }
- } catch (BadLocationException e) {
- SeamCorePlugin.getDefault().logError(e);
- }
- }
- =
- private void scanDOM(IFile file, String content){
- IModelManager manager =3D StructuredModelManager.getModelManager();
- if(manager =3D=3D null) {
- return;
- }
- IStructuredModel model =3D null; =
- try {
- model =3D manager.getModelForRead(file);
- if (model instanceof IDOMModel) {
- IDOMModel domModel =3D (IDOMModel) model;
- IDOMDocument document =3D domModel.getDocument();
- scanChildNodes(file, document);
- }
- } catch (CoreException e) {
- SeamCorePlugin.getDefault().logError(e);
- } catch (IOException e) {
- SeamCorePlugin.getDefault().logError(e);
- } finally {
- if (model !=3D null) {
- model.releaseFromRead();
- }
- }
- }
- =
- private void scanChildNodes(IFile file, Node parent) {
- NodeList children =3D parent.getChildNodes();
- for(int i=3D0; i-1) { //$NON-NLS-1$
- int offset =3D node.getStartOffset() + region.getStart();
- scanString(file, text, offset);
- }
- }
- }
- }
-
- // looking for component references in EL
- private void scanString(IFile file, String string, int offset) {
- int startEl =3D string.indexOf("#{"); //$NON-NLS-1$
- if(startEl>-1) {
- ELParser parser =3D ELParserUtil.getJbossFactory().createParser();
- ELModel model =3D parser.parse(string);
- for (ELInstance instance : model.getInstances()) {
- for(ELInvocationExpression ie : instance.getExpression().getInvocation=
s()){
- ELPropertyInvocation pi =3D findComponentReference(ie);
- if(pi !=3D null)
- change(file, offset+pi.getStartPosition(), pi.getName().getStart()+p=
i.getName().getLength()-pi.getStartPosition(), newName);
- }
- }
- }
- }
- =
- private ELPropertyInvocation findComponentReference(ELInvocationExpressio=
n invocationExpression){
- ELInvocationExpression invExp =3D invocationExpression;
- while(invExp !=3D null){
- if(invExp instanceof ELPropertyInvocation){
- if(((ELPropertyInvocation)invExp).getQualifiedName() !=3D null && ((EL=
PropertyInvocation)invExp).getQualifiedName().equals(getOldName()))
- return (ELPropertyInvocation)invExp;
- else
- invExp =3D invExp.getLeft();
- =
- }else{
- invExp =3D invExp.getLeft();
- }
- }
- return null;
- }
- =
- private void scanProperties(IFile file, String content){
- scanString(file, content, 0);
- =
- if(!file.getName().equals(SEAM_PROPERTIES_FILE))
- return;
- =
- StringTokenizer tokenizer =3D new StringTokenizer(content, "#=3D \t\r\n\=
f", true); //$NON-NLS-1$
- =
- String lastToken =3D "\n"; //$NON-NLS-1$
- int offset =3D 0;
- boolean comment =3D false;
- boolean key =3D true;
- =
- while(tokenizer.hasMoreTokens()){
- String token =3D tokenizer.nextToken("#=3D \t\r\n\f"); //$NON-NLS-1$
- if(token.equals("\r")) //$NON-NLS-1$
- token =3D "\n"; //$NON-NLS-1$
- =
- if(token.equals("#") && lastToken.equals("\n")) //$NON-NLS-1$ //$NON-NL=
S-2$
- comment =3D true;
- else if(token.equals("\n") && comment) //$NON-NLS-1$
- comment =3D false;
- =
- if(!comment){
- if(!token.equals("\n") && lastToken.equals("\n")) //$NON-NLS-1$ //$NON=
-NLS-2$
- key =3D true;
- else if(key && (token.equals("=3D") || token.equals(" "))) //$NON-NLS-=
1$ //$NON-NLS-2$
- key =3D false;
- =
- if(key && token.startsWith(getOldName())){
- String changeText =3D token.replaceFirst(getOldName(), getNewName());
- change(file, offset, token.length(), changeText);
- }
- }
- =
- lastToken =3D token;
- offset +=3D token.length();
- }
- }
- =
protected void renameComponent(IProgressMonitor pm, ISeamComponent compon=
ent)throws CoreException{
pm.beginTask("", 3);
=
@@ -665,7 +376,7 @@
=
pm.worked(1);
=
- findELReferences();
+ getSeacher().findELReferences();
=
pm.done();
}
@@ -681,7 +392,7 @@
=
pm.worked(1);
=
- findELReferences();
+ getSeacher().findELReferences();
=
pm.done();
}
@@ -722,4 +433,20 @@
keys.add(key);
}
}
+ =
+ class SeamSeacher extends SeamRefactorSeacher{
+ public SeamSeacher(IFile declarationFile, String oldName){
+ super(declarationFile, oldName);
+ }
+
+ @Override
+ protected boolean isFileCorrect(IFile file) {
+ return SeamRenameProcessor.this.isFileCorrect(file);
+ }
+
+ @Override
+ protected void match(IFile file, int offset, int length) {
+ change(file, offset, length, newName);
+ }
+ }
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2009-09-03 11:38:=
35 UTC (rev 17442)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2009-09-03 11:43:=
45 UTC (rev 17443)
@@ -517,6 +517,16 @@
=
+
+
+
+ =
+
--===============7956619062932254775==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dazarov
Date: 2009-09-03 08:03:44 -0400 (Thu, 03 Sep 2009)
New Revision: 17444
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/s=
earch/ELSearchResult.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4771
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/se=
am/ui/search/ELSearchResult.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/=
search/ELSearchResult.java 2009-09-03 11:43:45 UTC (rev 17443)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/=
search/ELSearchResult.java 2009-09-03 12:03:44 UTC (rev 17444)
@@ -1,3 +1,13 @@
+/*************************************************************************=
******
+ * Copyright (c) 2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ *************************************************************************=
*****/
package org.jboss.tools.seam.ui.search;
=
import org.eclipse.core.resources.IFile;
--===============7956619062932254775==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 12:50:05 2009
Content-Type: multipart/mixed; boundary="===============2625151050008701005=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17445 -
trunk/jsf/docs/userguide/en/images/visual_page.
Date: Thu, 03 Sep 2009 12:50:05 -0400
Message-ID: <200909031650.n83Go5Hu007649@svn01.web.mwc.hst.phx2.redhat.com>
--===============2625151050008701005==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: smukhina
Date: 2009-09-03 12:50:05 -0400 (Thu, 03 Sep 2009)
New Revision: 17445
Modified:
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_23a.png
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_23b.png
Log:
https://jira.jboss.org/jira/browse/JBDS-843 Context menu representation for=
visual part of VPE is redesigned - images are updated =
Modified: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_23a.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_23b.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
--===============2625151050008701005==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 13:25:50 2009
Content-Type: multipart/mixed; boundary="===============6562846078333797693=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17446 -
branches/jbosstools-3.1.0.M3/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test.
Date: Thu, 03 Sep 2009 13:25:50 -0400
Message-ID: <200909031725.n83HPo3b017223@svn01.web.mwc.hst.phx2.redhat.com>
--===============6562846078333797693==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: mareshkau
Date: 2009-09-03 13:25:50 -0400 (Thu, 03 Sep 2009)
New Revision: 17446
Modified:
branches/jbosstools-3.1.0.M3/vpe/tests/org.jboss.tools.vpe.ui.test/src/o=
rg/jboss/tools/vpe/ui/test/ComponentContentTest.java
Log:
Fix for VPE failing junit tests
Modified: branches/jbosstools-3.1.0.M3/vpe/tests/org.jboss.tools.vpe.ui.tes=
t/src/org/jboss/tools/vpe/ui/test/ComponentContentTest.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/vpe/tests/org.jboss.tools.vpe.ui.test/src/=
org/jboss/tools/vpe/ui/test/ComponentContentTest.java 2009-09-03 16:50:05 U=
TC (rev 17445)
+++ branches/jbosstools-3.1.0.M3/vpe/tests/org.jboss.tools.vpe.ui.test/src/=
org/jboss/tools/vpe/ui/test/ComponentContentTest.java 2009-09-03 17:25:50 U=
TC (rev 17446)
@@ -180,7 +180,19 @@
controller.getVisualBuilder().setShowInvisibleTags(true);
controller.visualRefresh();
=
- TestUtil.waitForIdle();
+// TestUtil.waitForIdle();
+ //added by Maksim Areshkau, when some non VPE background job =
+ //TestUtil.waitForIdle() can be throw exception in time when vpe works n=
ormally
+ long start =3D System.currentTimeMillis();
+ visualElement =3D findElementById(controller, elementId);
+ while (visualElement=3D=3Dnull) {
+ TestUtil.delay(500);
+ if ( (System.currentTimeMillis()-start) > TestUtil.MAX_IDLE) {
+ throw new RuntimeException("A long running task detected"); //$NON-NLS-=
1$
+ }
+ visualElement =3D findElementById(controller, elementId);
+ }
+ =
=
// find visual element and check if it is not null
visualElement =3D findElementById(controller, elementId);
--===============6562846078333797693==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 13:36:12 2009
Content-Type: multipart/mixed; boundary="===============5682195262231379370=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17447 - in
trunk/smooks/tests/org.jboss.tools.smooks.test: META-INF and 1 other
directory.
Date: Thu, 03 Sep 2009 13:36:12 -0400
Message-ID: <200909031736.n83HaCuY019525@svn01.web.mwc.hst.phx2.redhat.com>
--===============5682195262231379370==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-03 13:36:11 -0400 (Thu, 03 Sep 2009)
New Revision: 17447
Modified:
trunk/smooks/tests/org.jboss.tools.smooks.test/.project
trunk/smooks/tests/org.jboss.tools.smooks.test/META-INF/MANIFEST.MF
Log:
smooks.test was renamed to smooks.core.test
Modified: trunk/smooks/tests/org.jboss.tools.smooks.test/.project
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/smooks/tests/org.jboss.tools.smooks.test/.project 2009-09-03 17:2=
5:50 UTC (rev 17446)
+++ trunk/smooks/tests/org.jboss.tools.smooks.test/.project 2009-09-03 17:3=
6:11 UTC (rev 17447)
@@ -1,28 +1,28 @@
-
-
- org.jboss.tools.smooks.test
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- org.eclipse.pde.ManifestBuilder
-
-
-
-
- org.eclipse.pde.SchemaBuilder
-
-
-
-
-
- org.eclipse.pde.PluginNature
- org.eclipse.jdt.core.javanature
-
-
+
+
+ org.jboss.tools.smooks.core.test
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.eclipse.pde.ManifestBuilder
+
+
+
+
+ org.eclipse.pde.SchemaBuilder
+
+
+
+
+
+ org.eclipse.pde.PluginNature
+ org.eclipse.jdt.core.javanature
+
+
Modified: trunk/smooks/tests/org.jboss.tools.smooks.test/META-INF/MANIFEST.=
MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/smooks/tests/org.jboss.tools.smooks.test/META-INF/MANIFEST.MF 200=
9-09-03 17:25:50 UTC (rev 17446)
+++ trunk/smooks/tests/org.jboss.tools.smooks.test/META-INF/MANIFEST.MF 200=
9-09-03 17:36:11 UTC (rev 17447)
@@ -1,7 +1,7 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name.0
-Bundle-SymbolicName: org.jboss.tools.smooks.test
+Bundle-SymbolicName: org.jboss.tools.smooks.core.test
Bundle-Version: 1.0.0
Require-Bundle: org.junit,
org.eclipse.ui,
--===============5682195262231379370==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 13:36:48 2009
Content-Type: multipart/mixed; boundary="===============4176325517380782909=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17448 - trunk/smooks/tests.
Date: Thu, 03 Sep 2009 13:36:48 -0400
Message-ID: <200909031736.n83Hamri019646@svn01.web.mwc.hst.phx2.redhat.com>
--===============4176325517380782909==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-03 13:36:48 -0400 (Thu, 03 Sep 2009)
New Revision: 17448
Added:
trunk/smooks/tests/org.jboss.tools.smooks.core.test/
Removed:
trunk/smooks/tests/org.jboss.tools.smooks.test/
Log:
Copied: trunk/smooks/tests/org.jboss.tools.smooks.core.test (from rev 17447=
, trunk/smooks/tests/org.jboss.tools.smooks.test)
--===============4176325517380782909==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 14:00:45 2009
Content-Type: multipart/mixed; boundary="===============5361804620833031866=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17449 - in
trunk/smooks/features: org.jboss.smooks.test.feature and 1 other directory.
Date: Thu, 03 Sep 2009 14:00:45 -0400
Message-ID: <200909031800.n83I0jq9024635@svn01.web.mwc.hst.phx2.redhat.com>
--===============5361804620833031866==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-03 14:00:44 -0400 (Thu, 03 Sep 2009)
New Revision: 17449
Added:
trunk/smooks/features/org.jboss.smooks.test.feature/
trunk/smooks/features/org.jboss.smooks.test.feature/branches/
trunk/smooks/features/org.jboss.smooks.test.feature/tags/
trunk/smooks/features/org.jboss.smooks.test.feature/trunk/
Log:
Share project "org.jboss.smooks.test.feature" into "https://svn.jboss.org/r=
epos/jbosstools"
--===============5361804620833031866==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 14:01:48 2009
Content-Type: multipart/mixed; boundary="===============2878011118376483090=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17450 -
trunk/smooks/features/org.jboss.smooks.test.feature/trunk.
Date: Thu, 03 Sep 2009 14:01:48 -0400
Message-ID: <200909031801.n83I1mhk024882@svn01.web.mwc.hst.phx2.redhat.com>
--===============2878011118376483090==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-03 14:01:48 -0400 (Thu, 03 Sep 2009)
New Revision: 17450
Added:
trunk/smooks/features/org.jboss.smooks.test.feature/trunk/.project
trunk/smooks/features/org.jboss.smooks.test.feature/trunk/build.properti=
es
trunk/smooks/features/org.jboss.smooks.test.feature/trunk/feature.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-4243 Include smooks test in build =
and test execution
fetaure for tests has been added
Added: trunk/smooks/features/org.jboss.smooks.test.feature/trunk/.project
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/smooks/features/org.jboss.smooks.test.feature/trunk/.project =
(rev 0)
+++ trunk/smooks/features/org.jboss.smooks.test.feature/trunk/.project 2009=
-09-03 18:01:48 UTC (rev 17450)
@@ -0,0 +1,17 @@
+
+
+ org.jboss.smooks.test.feature
+
+
+
+
+
+ org.eclipse.pde.FeatureBuilder
+
+
+
+
+
+ org.eclipse.pde.FeatureNature
+
+
Property changes on: trunk/smooks/features/org.jboss.smooks.test.feature/tr=
unk/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/features/org.jboss.smooks.test.feature/trunk/build.prop=
erties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/smooks/features/org.jboss.smooks.test.feature/trunk/build.propert=
ies (rev 0)
+++ trunk/smooks/features/org.jboss.smooks.test.feature/trunk/build.propert=
ies 2009-09-03 18:01:48 UTC (rev 17450)
@@ -0,0 +1 @@
+bin.includes =3D feature.xml
Property changes on: trunk/smooks/features/org.jboss.smooks.test.feature/tr=
unk/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/features/org.jboss.smooks.test.feature/trunk/feature.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/smooks/features/org.jboss.smooks.test.feature/trunk/feature.xml =
(rev 0)
+++ trunk/smooks/features/org.jboss.smooks.test.feature/trunk/feature.xml 2=
009-09-03 18:01:48 UTC (rev 17450)
@@ -0,0 +1,27 @@
+
+
+
+
+ [Enter Feature Description here.]
+
+
+
+ [Enter Copyright Description here.]
+
+
+
+ [Enter License Description here.]
+
+
+
+
+
Property changes on: trunk/smooks/features/org.jboss.smooks.test.feature/tr=
unk/feature.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
--===============2878011118376483090==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 14:34:45 2009
Content-Type: multipart/mixed; boundary="===============7647478462626668769=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17451 -
trunk/smooks/features/org.jboss.smooks.test.feature/trunk.
Date: Thu, 03 Sep 2009 14:34:44 -0400
Message-ID: <200909031834.n83IYig6029591@svn01.web.mwc.hst.phx2.redhat.com>
--===============7647478462626668769==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-03 14:34:44 -0400 (Thu, 03 Sep 2009)
New Revision: 17451
Modified:
trunk/smooks/features/org.jboss.smooks.test.feature/trunk/.project
trunk/smooks/features/org.jboss.smooks.test.feature/trunk/feature.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-4243 Include smooks test in build =
and test execution
test feature name fixed to meet usual pattern
Modified: trunk/smooks/features/org.jboss.smooks.test.feature/trunk/.project
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/smooks/features/org.jboss.smooks.test.feature/trunk/.project 2009=
-09-03 18:01:48 UTC (rev 17450)
+++ trunk/smooks/features/org.jboss.smooks.test.feature/trunk/.project 2009=
-09-03 18:34:44 UTC (rev 17451)
@@ -1,6 +1,6 @@
- org.jboss.smooks.test.feature
+ org.jboss.tools.smooks.test.feature
Modified: trunk/smooks/features/org.jboss.smooks.test.feature/trunk/feature=
.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/smooks/features/org.jboss.smooks.test.feature/trunk/feature.xml 2=
009-09-03 18:01:48 UTC (rev 17450)
+++ trunk/smooks/features/org.jboss.smooks.test.feature/trunk/feature.xml 2=
009-09-03 18:34:44 UTC (rev 17451)
@@ -1,6 +1,6 @@
--===============7647478462626668769==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 14:35:55 2009
Content-Type: multipart/mixed; boundary="===============2006273346059200242=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17452 - trunk/smooks/features.
Date: Thu, 03 Sep 2009 14:35:55 -0400
Message-ID: <200909031835.n83IZtVx029948@svn01.web.mwc.hst.phx2.redhat.com>
--===============2006273346059200242==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-03 14:35:55 -0400 (Thu, 03 Sep 2009)
New Revision: 17452
Added:
trunk/smooks/features/org.jboss.tools.smooks.test.feature/
Removed:
trunk/smooks/features/org.jboss.smooks.test.feature/
Log:
Copied: trunk/smooks/features/org.jboss.tools.smooks.test.feature (from rev=
17451, trunk/smooks/features/org.jboss.smooks.test.feature)
--===============2006273346059200242==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 14:39:27 2009
Content-Type: multipart/mixed; boundary="===============7615185573090364294=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17453 -
trunk/smooks/features/org.jboss.tools.smooks.test.feature.
Date: Thu, 03 Sep 2009 14:39:27 -0400
Message-ID: <200909031839.n83IdRJI030780@svn01.web.mwc.hst.phx2.redhat.com>
--===============7615185573090364294==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-03 14:39:27 -0400 (Thu, 03 Sep 2009)
New Revision: 17453
Removed:
trunk/smooks/features/org.jboss.tools.smooks.test.feature/branches/
trunk/smooks/features/org.jboss.tools.smooks.test.feature/tags/
Log:
--===============7615185573090364294==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 14:40:54 2009
Content-Type: multipart/mixed; boundary="===============9027019035836991038=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17454 - in
trunk/smooks/features/org.jboss.tools.smooks.test.feature: trunk and 1 other
directory.
Date: Thu, 03 Sep 2009 14:40:54 -0400
Message-ID: <200909031840.n83Iesrs031114@svn01.web.mwc.hst.phx2.redhat.com>
--===============9027019035836991038==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-03 14:40:54 -0400 (Thu, 03 Sep 2009)
New Revision: 17454
Added:
trunk/smooks/features/org.jboss.tools.smooks.test.feature/.project
trunk/smooks/features/org.jboss.tools.smooks.test.feature/build.properti=
es
trunk/smooks/features/org.jboss.tools.smooks.test.feature/feature.xml
Removed:
trunk/smooks/features/org.jboss.tools.smooks.test.feature/trunk/.project
trunk/smooks/features/org.jboss.tools.smooks.test.feature/trunk/build.pr=
operties
trunk/smooks/features/org.jboss.tools.smooks.test.feature/trunk/feature.=
xml
Log:
Copied: trunk/smooks/features/org.jboss.tools.smooks.test.feature/.project =
(from rev 17453, trunk/smooks/features/org.jboss.tools.smooks.test.feature/=
trunk/.project)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/smooks/features/org.jboss.tools.smooks.test.feature/.project =
(rev 0)
+++ trunk/smooks/features/org.jboss.tools.smooks.test.feature/.project 2009=
-09-03 18:40:54 UTC (rev 17454)
@@ -0,0 +1,17 @@
+
+
+ org.jboss.tools.smooks.test.feature
+
+
+
+
+
+ org.eclipse.pde.FeatureBuilder
+
+
+
+
+
+ org.eclipse.pde.FeatureNature
+
+
Copied: trunk/smooks/features/org.jboss.tools.smooks.test.feature/build.pro=
perties (from rev 17453, trunk/smooks/features/org.jboss.tools.smooks.test.=
feature/trunk/build.properties)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/smooks/features/org.jboss.tools.smooks.test.feature/build.propert=
ies (rev 0)
+++ trunk/smooks/features/org.jboss.tools.smooks.test.feature/build.propert=
ies 2009-09-03 18:40:54 UTC (rev 17454)
@@ -0,0 +1 @@
+bin.includes =3D feature.xml
Copied: trunk/smooks/features/org.jboss.tools.smooks.test.feature/feature.x=
ml (from rev 17453, trunk/smooks/features/org.jboss.tools.smooks.test.featu=
re/trunk/feature.xml)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/smooks/features/org.jboss.tools.smooks.test.feature/feature.xml =
(rev 0)
+++ trunk/smooks/features/org.jboss.tools.smooks.test.feature/feature.xml 2=
009-09-03 18:40:54 UTC (rev 17454)
@@ -0,0 +1,27 @@
+
+
+
+
+ [Enter Feature Description here.]
+
+
+
+ [Enter Copyright Description here.]
+
+
+
+ [Enter License Description here.]
+
+
+
+
+
Deleted: trunk/smooks/features/org.jboss.tools.smooks.test.feature/trunk/.p=
roject
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/smooks/features/org.jboss.tools.smooks.test.feature/trunk/.projec=
t 2009-09-03 18:39:27 UTC (rev 17453)
+++ trunk/smooks/features/org.jboss.tools.smooks.test.feature/trunk/.projec=
t 2009-09-03 18:40:54 UTC (rev 17454)
@@ -1,17 +0,0 @@
-
-
- org.jboss.tools.smooks.test.feature
-
-
-
-
-
- org.eclipse.pde.FeatureBuilder
-
-
-
-
-
- org.eclipse.pde.FeatureNature
-
-
Deleted: trunk/smooks/features/org.jboss.tools.smooks.test.feature/trunk/bu=
ild.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/smooks/features/org.jboss.tools.smooks.test.feature/trunk/build.p=
roperties 2009-09-03 18:39:27 UTC (rev 17453)
+++ trunk/smooks/features/org.jboss.tools.smooks.test.feature/trunk/build.p=
roperties 2009-09-03 18:40:54 UTC (rev 17454)
@@ -1 +0,0 @@
-bin.includes =3D feature.xml
Deleted: trunk/smooks/features/org.jboss.tools.smooks.test.feature/trunk/fe=
ature.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/smooks/features/org.jboss.tools.smooks.test.feature/trunk/feature=
.xml 2009-09-03 18:39:27 UTC (rev 17453)
+++ trunk/smooks/features/org.jboss.tools.smooks.test.feature/trunk/feature=
.xml 2009-09-03 18:40:54 UTC (rev 17454)
@@ -1,27 +0,0 @@
-
-
-
-
- [Enter Feature Description here.]
-
-
-
- [Enter Copyright Description here.]
-
-
-
- [Enter License Description here.]
-
-
-
-
-
--===============9027019035836991038==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 14:41:56 2009
Content-Type: multipart/mixed; boundary="===============3764443166228524333=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17455 -
trunk/smooks/features/org.jboss.tools.smooks.test.feature.
Date: Thu, 03 Sep 2009 14:41:55 -0400
Message-ID: <200909031841.n83Ift2c031160@svn01.web.mwc.hst.phx2.redhat.com>
--===============3764443166228524333==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-03 14:41:55 -0400 (Thu, 03 Sep 2009)
New Revision: 17455
Removed:
trunk/smooks/features/org.jboss.tools.smooks.test.feature/trunk/
Log:
--===============3764443166228524333==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 15:11:02 2009
Content-Type: multipart/mixed; boundary="===============3124696074178296556=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17456 - in
trunk/smooks/tests/org.jboss.tools.smooks.core.test:
src/org/jboss/tools/smooks and 2 other directories.
Date: Thu, 03 Sep 2009 15:11:02 -0400
Message-ID: <200909031911.n83JB2Pw002280@svn01.web.mwc.hst.phx2.redhat.com>
--===============3124696074178296556==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-03 15:11:02 -0400 (Thu, 03 Sep 2009)
New Revision: 17456
Added:
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/=
smooks/core/
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/=
smooks/core/test/
trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools/=
smooks/core/test/SmooksCoreAllTests.java
Modified:
trunk/smooks/tests/org.jboss.tools.smooks.core.test/META-INF/MANIFEST.MF
Log:
https://jira.jboss.org/jira/browse/JBIDE-4243 Include smooks test in build =
and test execution
smooks test suite
Modified: trunk/smooks/tests/org.jboss.tools.smooks.core.test/META-INF/MANI=
FEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/smooks/tests/org.jboss.tools.smooks.core.test/META-INF/MANIFEST.M=
F 2009-09-03 18:41:55 UTC (rev 17455)
+++ trunk/smooks/tests/org.jboss.tools.smooks.core.test/META-INF/MANIFEST.M=
F 2009-09-03 19:11:02 UTC (rev 17456)
@@ -4,19 +4,22 @@
Bundle-SymbolicName: org.jboss.tools.smooks.core.test
Bundle-Version: 1.0.0
Require-Bundle: org.junit,
- org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.core.resources,
- org.eclipse.xsd,
org.eclipse.xsd.edit,
- org.eclipse.emf,
org.eclipse.emf.ecore.edit,
org.eclipse.emf.edit.ui,
org.jboss.tools.smooks.ui,
- org.jboss.tools.smooks.core
+ org.jboss.tools.smooks.core,
+ org.jboss.tools.tests
Eclipse-LazyStart: true
Bundle-ClassPath: lib/dom4j-1.6.1.jar,
.
Bundle-Vendor: %Bundle-Vendor.0
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Export-Package: org.jboss.tools.smooks.core.test,
+ org.jboss.tools.smooks.test.csvparser,
+ org.jboss.tools.smooks.test.ediparser,
+ org.jboss.tools.smooks.test.jsonparse,
+ org.jboss.tools.smooks.test.model11
Added: trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/to=
ols/smooks/core/test/SmooksCoreAllTests.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools=
/smooks/core/test/SmooksCoreAllTests.java (rev 0)
+++ trunk/smooks/tests/org.jboss.tools.smooks.core.test/src/org/jboss/tools=
/smooks/core/test/SmooksCoreAllTests.java 2009-09-03 19:11:02 UTC (rev 1745=
6)
@@ -0,0 +1,45 @@
+package org.jboss.tools.smooks.core.test;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+import org.jboss.tools.smooks.test.csvparser.CsvParserTest;
+import org.jboss.tools.smooks.test.ediparser.EDIParserTest;
+import org.jboss.tools.smooks.test.jsonparse.JsonParserTest;
+import org.jboss.tools.smooks.test.model11.BindingConfigFileTestCase;
+import org.jboss.tools.smooks.test.model11.Csv2XMLConfigFileTestCase;
+import org.jboss.tools.smooks.test.model11.DBExtractTransformConfigFileTes=
tCase;
+import org.jboss.tools.smooks.test.model11.DatasourcesConfigFileTestCase;
+import org.jboss.tools.smooks.test.model11.EDI2JavaConfigFileTestCase;
+import org.jboss.tools.smooks.test.model11.EdiOrderparserConfigFileTestCas=
e;
+import org.jboss.tools.smooks.test.model11.ParseConfigFileTestCase;
+import org.jboss.tools.tests.AbstractPluginsLoadTest;
+
+public class SmooksCoreAllTests extends TestCase {
+ public static Test suite () {
+ TestSuite suite =3D new TestSuite(SmooksCoreAllTests.class.getName());
+ suite.addTestSuite(SmooksPluginsLoadTest.class);
+ suite.addTestSuite(CsvParserTest.class);
+ suite.addTestSuite(EDIParserTest.class);
+ suite.addTestSuite(JsonParserTest.class);
+ suite.addTestSuite(BindingConfigFileTestCase.class);
+ suite.addTestSuite(DatasourcesConfigFileTestCase.class);
+ suite.addTestSuite(Csv2XMLConfigFileTestCase.class);
+ suite.addTestSuite(DatasourcesConfigFileTestCase.class);
+ suite.addTestSuite(DBExtractTransformConfigFileTestCase.class);
+ suite.addTestSuite(EDI2JavaConfigFileTestCase.class);
+ suite.addTestSuite(EdiOrderparserConfigFileTestCase.class);
+ suite.addTestSuite(ParseConfigFileTestCase.class);
+ return suite;
+ }
+ =
+ static public class SmooksPluginsLoadTest extends AbstractPluginsLoadTest=
{
+ =
+ public SmooksPluginsLoadTest() {}
+ =
+ public void testBirtPluginsAreResolvedAndActivated() {
+ testBundlesAreLoadedFor("org.jboss.tools.smooks.feature");
+ }
+ }
+}
Property changes on: trunk/smooks/tests/org.jboss.tools.smooks.core.test/sr=
c/org/jboss/tools/smooks/core/test/SmooksCoreAllTests.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
--===============3124696074178296556==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 15:41:58 2009
Content-Type: multipart/mixed; boundary="===============1885935889144060010=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17457 -
trunk/as/tests/org.jboss.ide.eclipse.as.archives.integration.test/META-INF.
Date: Thu, 03 Sep 2009 15:41:58 -0400
Message-ID: <200909031941.n83Jfwve006871@svn01.web.mwc.hst.phx2.redhat.com>
--===============1885935889144060010==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-03 15:41:58 -0400 (Thu, 03 Sep 2009)
New Revision: 17457
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.archives.integration.test/META-I=
NF/MANIFEST.MF
Log:
https://jira.jboss.org/jira/browse/JBIDE-4124 Add AS / Archives Integration=
test project to build
switched to junit 3 instead of junit4 to fix test execution error
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.archives.integration.test=
/META-INF/MANIFEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/as/tests/org.jboss.ide.eclipse.as.archives.integration.test/META-=
INF/MANIFEST.MF 2009-09-03 19:11:02 UTC (rev 17456)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.archives.integration.test/META-=
INF/MANIFEST.MF 2009-09-03 19:41:58 UTC (rev 17457)
@@ -9,7 +9,6 @@
Bundle-Vendor: %Bundle-Vendor.0
Bundle-Localization: plugin
Require-Bundle: org.eclipse.core.runtime,
- org.junit4,
org.eclipse.core.resources;bundle-version=3D"3.4.2",
org.eclipse.jdt;bundle-version=3D"3.4.2",
org.eclipse.jdt.core;bundle-version=3D"3.4.4",
@@ -20,6 +19,7 @@
org.jboss.ide.eclipse.archives.core;bundle-version=3D"2.0.0",
org.jboss.ide.eclipse.archives.ui;bundle-version=3D"1.0.0",
org.eclipse.jface;bundle-version=3D"3.4.2",
- org.jboss.tools.tests;bundle-version=3D"2.0.0"
+ org.jboss.tools.tests;bundle-version=3D"2.0.0",
+ org.junit;bundle-version=3D"3.8.2"
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Export-Package: org.jboss.ide.eclipse.as.archives.integration.test
--===============1885935889144060010==--
From jbosstools-commits at lists.jboss.org Thu Sep 3 19:28:27 2009
Content-Type: multipart/mixed; boundary="===============4109595172433393015=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17458 - in
trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd: jpdl/editor and 1 other
directories.
Date: Thu, 03 Sep 2009 19:28:27 -0400
Message-ID: <200909032328.n83NSRf9026718@svn01.web.mwc.hst.phx2.redhat.com>
--===============4109595172433393015==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: koen.aers(a)jboss.com
Date: 2009-09-03 19:28:27 -0400 (Thu, 03 Sep 2009)
New Revision: 17458
Modified:
trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/common/editor/Abstra=
ctContentProvider.java
trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/common/editor/Conten=
tProvider.java
trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/common/editor/Editor=
.java
trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/common/editor/GraphP=
age.java
trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/editor/JpdlCont=
entProvider.java
trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/editor/JpdlEdit=
or.java
trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/pf/editor/PageFlowEd=
itor.java
Log:
JBIDE-3915: jBPM Eclipse plugin can't save graphical view if gpd.xml is mar=
ked as read only
Modified: trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/common/editor=
/AbstractContentProvider.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/common/editor/Abstr=
actContentProvider.java 2009-09-03 19:41:58 UTC (rev 17457)
+++ trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/common/editor/Abstr=
actContentProvider.java 2009-09-03 23:28:27 UTC (rev 17458)
@@ -81,14 +81,21 @@
return buffer.toString();
}
=
- protected String getNotationInfoFileName(String semanticInfoFileName) {
+ public String getNotationInfoFileName(String semanticInfoFileName) {
return ".gpd." + semanticInfoFileName;
}
-
- protected String getSemanticInfoFileName(String notationInfoFileName) {
- return notationInfoFileName.substring(5);
+ =
+ public String getDiagramImageFileName(String semanticInfoFileName) {
+ String result;
+ int index =3D semanticInfoFileName.indexOf(".xml");
+ result =3D index > -1 ? semanticInfoFileName.substring(0, index) : seman=
ticInfoFileName;
+ return result + ".jpg";
}
=
+// public String getSemanticInfoFileName(String notationInfoFileName) {
+// return notationInfoFileName.substring(5);
+// }
+
protected void processRootContainer(RootContainer rootContainer, Element =
notationInfo) {
addDimension(rootContainer, notationInfo);
addNodes(rootContainer, notationInfo);
Modified: trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/common/editor=
/ContentProvider.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/common/editor/Conte=
ntProvider.java 2009-09-03 19:41:58 UTC (rev 17457)
+++ trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/common/editor/Conte=
ntProvider.java 2009-09-03 23:28:27 UTC (rev 17458)
@@ -8,4 +8,7 @@
boolean saveToInput(IEditorInput input, RootContainer rootContainer);
void addNotationInfo(RootContainer rootContainer, IEditorInput input);
=
+ String getNotationInfoFileName(String semanticInfoFileName);
+ String getDiagramImageFileName(String semanticInfoFileName);
+ =
}
Modified: trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/common/editor=
/Editor.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/common/editor/Edito=
r.java 2009-09-03 19:41:58 UTC (rev 17457)
+++ trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/common/editor/Edito=
r.java 2009-09-03 23:28:27 UTC (rev 17458)
@@ -1,7 +1,13 @@
package org.jbpm.gd.common.editor;
=
+import java.util.ArrayList;
import java.util.EventObject;
=
+import org.eclipse.core.resources.IContainer;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IFolder;
+import org.eclipse.core.resources.ResourceAttributes;
+import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.gef.DefaultEditDomain;
import org.eclipse.gef.EditDomain;
@@ -11,6 +17,7 @@
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
+import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Menu;
@@ -24,6 +31,7 @@
import org.eclipse.ui.IWorkbenchActionConstants;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.part.FileEditorInput;
import org.eclipse.ui.views.contentoutline.IContentOutlinePage;
import org.eclipse.ui.views.properties.IPropertySheetPage;
import org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageCont=
ributor;
@@ -84,6 +92,7 @@
initSourcePage();
initGraphPage();
setActivePage(0);
+ checkReadOnly();
}
=
protected void addPage(int index, IEditorPart part, String label) {
@@ -198,11 +207,15 @@
=
private void handleCommandStackChanged() {
getActionRegistry().updateStackActions();
- if (!isDirty() && getCommandStack().isDirty()) {
+ if (!isDirty() && getCommandStack().isDirty() && editAllowed()) {
isDirty =3D true;
firePropertyChange(IEditorPart.PROP_DIRTY);
}
}
+ =
+ private boolean editAllowed() {
+ return true;
+ }
=
protected void pageChange(int newPageIndex) {
if (newPageIndex =3D=3D 0) {
@@ -302,6 +315,7 @@
}
=
public void doSave(IProgressMonitor monitor) {
+ if (!checkReadOnly()) return;
super.doSave(monitor);
getGraphPage().doSave(monitor);
boolean saved =3D getContentProvider().saveToInput(getEditorInput(), get=
RootContainer());
@@ -316,12 +330,53 @@
super.dispose();
}
=
- public abstract String getDefaultImageFileName();
-
protected SelectionSynchronizer createSelectionSynchronizer() {
return new SelectionSynchronizer(); =
}
=
+ private boolean checkReadOnly() {
+ IFile inputFile =3D ((FileEditorInput)getEditorInput()).getFile();
+ IFolder inputFolder =3D (IFolder)inputFile.getParent();
+ IFile notationInfoFile =3D inputFolder.getFile(getContentProvider().getN=
otationInfoFileName(inputFile.getName()));
+ IFile diagramImageFile =3D inputFolder.getFile(getContentProvider().getD=
iagramImageFileName(inputFile.getName()));
+ String readOnlyFiles =3D "";
+ ArrayList readOnlyFilesList =3D new ArrayList();
+ if (inputFile.isReadOnly()) {
+ readOnlyFiles +=3D ("- " + inputFile.getFullPath().toOSString() + "\n");
+ readOnlyFilesList.add(inputFile); =
+ }
+ if (notationInfoFile.exists() && notationInfoFile.isReadOnly()) {
+ readOnlyFiles +=3D ("- " + notationInfoFile.getFullPath().toOSString() =
+ "\n");
+ readOnlyFilesList.add(notationInfoFile);
+ }
+ if (diagramImageFile.exists() && diagramImageFile.isReadOnly()) {
+ readOnlyFiles +=3D ("- " + diagramImageFile.getFullPath().toOSString() =
+ "\n");
+ readOnlyFilesList.add(diagramImageFile);
+ }
+ if (readOnlyFilesList.isEmpty()) return true;
+ boolean answer =3D MessageDialog.openQuestion(
+ getSite().getShell(), =
+ "Read-only Input Files Detected", =
+ "The following files have a read-only indicator which needs to be chan=
ged to read-write in order to be able to save the process correctly.\n\n" +
+ readOnlyFiles + "\n" +
+ "Do you want to perform this change now?");
+ if (answer) {
+ try {
+ ResourceAttributes resourceAttributes =3D new ResourceAttributes();
+ resourceAttributes.setReadOnly(false);
+ for (int i =3D 0; i < readOnlyFilesList.size(); i++) {
+ ((IFile)readOnlyFilesList.get(i)).setResourceAttributes(resourceAttri=
butes);
+ }
+ return false;
+ } catch (CoreException e) {
+ Logger.logError("Error while trying to set files writeable", e);
+ return true;
+ }
+ } else {
+ return true;
+ }
+ }
+ =
protected abstract ContentProvider createContentProvider();
protected abstract SemanticElement createMainElement();
protected abstract GraphicalViewer createGraphicalViewer();
Modified: trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/common/editor=
/GraphPage.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/common/editor/Graph=
Page.java 2009-09-03 19:41:58 UTC (rev 17457)
+++ trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/common/editor/Graph=
Page.java 2009-09-03 23:28:27 UTC (rev 17458)
@@ -131,18 +131,13 @@
}
}
=
- private String getImageSavePath() {
+ public String getImageSavePath() {
IFile file =3D ((FileEditorInput)getEditorInput()).getFile();
- String name =3D file.getName();
- if (name.startsWith(".gpd.") && name.length() > 7) {
- name =3D name.substring(5, name.length() - 3) + "jpg"; =
- } else {
- name =3D editor.getDefaultImageFileName();
- }
+ String name =3D editor.getContentProvider().getDiagramImageFileName(file=
.getName());
IPath path =3D file.getRawLocation().removeLastSegments(1).append(name);
return path.toOSString();
}
-
+ =
public void doSaveAs() {
}
=
Modified: trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/editor/J=
pdlContentProvider.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/editor/JpdlCon=
tentProvider.java 2009-09-03 19:41:58 UTC (rev 17457)
+++ trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/editor/JpdlCon=
tentProvider.java 2009-09-03 23:28:27 UTC (rev 17458)
@@ -36,7 +36,7 @@
=
public class JpdlContentProvider extends AbstractContentProvider{
=
- protected String getNotationInfoFileName(String semanticInfoFileName) {
+ public String getNotationInfoFileName(String semanticInfoFileName) {
if ("processdefinition.xml".equals(semanticInfoFileName)) {
return "gpd.xml";
} else {
@@ -44,14 +44,22 @@
}
}
=
- protected String getSemanticInfoFileName(String notationInfoFileName) {
- if ("gpd.xml".equals(notationInfoFileName)) {
- return "processdefinition.xml";
+ public String getDiagramImageFileName(String semanticInfoFileName) {
+ if ("processdefinition.xml".equals(semanticInfoFileName)) {
+ return "processimage.jpg";
} else {
- return super.getSemanticInfoFileName(notationInfoFileName);
+ return super.getDiagramImageFileName(semanticInfoFileName);
}
}
=
+// public String getSemanticInfoFileName(String notationInfoFileName) {
+// if ("gpd.xml".equals(notationInfoFileName)) {
+// return "processdefinition.xml";
+// } else {
+// return super.getSemanticInfoFileName(notationInfoFileName);
+// }
+// }
+
protected void addNodes(NodeContainer nodeContainer, Element notationInfo=
) {
NodeElementContainer nodeElementContainer =3D (NodeElementContainer)node=
Container.getSemanticElement();
addNodes(nodeContainer, nodeElementContainer.getNodeElements(), notation=
Info);
Modified: trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/editor/J=
pdlEditor.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/editor/JpdlEdi=
tor.java 2009-09-03 19:41:58 UTC (rev 17457)
+++ trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/editor/JpdlEdi=
tor.java 2009-09-03 23:28:27 UTC (rev 17458)
@@ -144,8 +144,4 @@
super.dispose();
}
=
- public String getDefaultImageFileName() {
- return "processimage.jpg";
- }
-
}
Modified: trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/pf/editor/Pag=
eFlowEditor.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/pf/editor/PageFlowE=
ditor.java 2009-09-03 19:41:58 UTC (rev 17457)
+++ trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/pf/editor/PageFlowE=
ditor.java 2009-09-03 23:28:27 UTC (rev 17458)
@@ -1,6 +1,5 @@
package org.jbpm.gd.pf.editor;
=
-import org.eclipse.ui.part.FileEditorInput;
import org.jbpm.gd.common.editor.ContentProvider;
import org.jbpm.gd.common.editor.Editor;
import org.jbpm.gd.common.editor.GraphicalViewer;
@@ -11,13 +10,6 @@
=
public class PageFlowEditor extends Editor {
=
- public String getDefaultImageFileName() {
- String str =3D ((FileEditorInput)getEditorInput()).getName();
- int index =3D str.indexOf(".xml");
- str =3D index > -1 ? str.substring(0, index) : str;
- return str + ".jpg";
- }
-
protected ContentProvider createContentProvider() {
return new PageFlowContentProvider();
}
--===============4109595172433393015==--
From jbosstools-commits at lists.jboss.org Fri Sep 4 07:39:26 2009
Content-Type: multipart/mixed; boundary="===============8310329114647421322=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17459 -
trunk/common/plugins/org.jboss.tools.common.text.ext.
Date: Fri, 04 Sep 2009 07:39:26 -0400
Message-ID: <200909041139.n84BdQ6t007966@svn01.web.mwc.hst.phx2.redhat.com>
--===============8310329114647421322==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dazarov
Date: 2009-09-04 07:39:25 -0400 (Fri, 04 Sep 2009)
New Revision: 17459
Modified:
trunk/common/plugins/org.jboss.tools.common.text.ext/plugin.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-4380
Modified: trunk/common/plugins/org.jboss.tools.common.text.ext/plugin.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/common/plugins/org.jboss.tools.common.text.ext/plugin.xml 2009-09=
-03 23:28:27 UTC (rev 17458)
+++ trunk/common/plugins/org.jboss.tools.common.text.ext/plugin.xml 2009-09=
-04 11:39:25 UTC (rev 17459)
@@ -235,12 +235,16 @@
+
+
+
+
--===============8310329114647421322==--
From jbosstools-commits at lists.jboss.org Fri Sep 4 10:11:33 2009
Content-Type: multipart/mixed; boundary="===============7119810780782728097=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17460 - in
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects:
CAForELinStyleTest/WebContent/WEB-INF/lib and 4 other directories.
Date: Fri, 04 Sep 2009 10:11:33 -0400
Message-ID: <200909041411.n84EBXJO000968@svn01.web.mwc.hst.phx2.redhat.com>
--===============7119810780782728097==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: vrubezhny
Date: 2009-09-04 10:11:32 -0400 (Fri, 04 Sep 2009)
New Revision: 17460
Removed:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForELinStyleTest=
/WebContent/WEB-INF/lib/common-annotations.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForELinStyleTest=
/WebContent/WEB-INF/lib/commons-beanutils.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForELinStyleTest=
/WebContent/WEB-INF/lib/commons-collections.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForELinStyleTest=
/WebContent/WEB-INF/lib/commons-digester.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForELinStyleTest=
/WebContent/WEB-INF/lib/commons-logging.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForELinStyleTest=
/WebContent/WEB-INF/lib/standard.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForIDTest/WebCon=
tent/WEB-INF/lib/common-annotations.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForIDTest/WebCon=
tent/WEB-INF/lib/commons-beanutils.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForIDTest/WebCon=
tent/WEB-INF/lib/commons-collections.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForIDTest/WebCon=
tent/WEB-INF/lib/commons-digester.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForIDTest/WebCon=
tent/WEB-INF/lib/commons-logging.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForIDTest/WebCon=
tent/WEB-INF/lib/standard.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/MissingKBBuilderTe=
st/WebContent/WEB-INF/classes/
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/MissingKBBuilderTe=
st/WebContent/WEB-INF/lib/common-annotations.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/MissingKBBuilderTe=
st/WebContent/WEB-INF/lib/commons-beanutils.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/MissingKBBuilderTe=
st/WebContent/WEB-INF/lib/commons-collections.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/MissingKBBuilderTe=
st/WebContent/WEB-INF/lib/commons-digester.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/MissingKBBuilderTe=
st/WebContent/WEB-INF/lib/commons-logging.jar
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/MissingKBBuilderTe=
st/WebContent/WEB-INF/lib/standard.jar
Modified:
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForELinStyleTest=
/.project
trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/.=
project
Log:
JBIDE-4833: Reduce a number of jars in org.jboss.tools.jst.jsp.test\project=
s.
Unused jars are removed
Modified: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForELinSt=
yleTest/.project
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForELinStyleTes=
t/.project 2009-09-04 11:39:25 UTC (rev 17459)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForELinStyleTes=
t/.project 2009-09-04 14:11:32 UTC (rev 17460)
@@ -15,6 +15,11 @@
+
+ org.jboss.tools.jst.web.kb.kbbuilder
+
+
+ org.eclipse.jem.workbench.JavaEMFNature
@@ -22,5 +27,6 @@
org.eclipse.wst.common.modulecore.ModuleCoreNatureorg.jboss.tools.jsf.jsfnatureorg.eclipse.wst.common.project.facet.core.nature
+ org.jboss.tools.jst.web.kb.kbnature
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForELinSty=
leTest/WebContent/WEB-INF/lib/common-annotations.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForELinSty=
leTest/WebContent/WEB-INF/lib/commons-beanutils.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForELinSty=
leTest/WebContent/WEB-INF/lib/commons-collections.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForELinSty=
leTest/WebContent/WEB-INF/lib/commons-digester.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForELinSty=
leTest/WebContent/WEB-INF/lib/commons-logging.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForELinSty=
leTest/WebContent/WEB-INF/lib/standard.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForIDTest/=
WebContent/WEB-INF/lib/common-annotations.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForIDTest/=
WebContent/WEB-INF/lib/commons-beanutils.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForIDTest/=
WebContent/WEB-INF/lib/commons-collections.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForIDTest/=
WebContent/WEB-INF/lib/commons-digester.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForIDTest/=
WebContent/WEB-INF/lib/commons-logging.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/CAForIDTest/=
WebContent/WEB-INF/lib/standard.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Modified: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide170=
4Test/.project
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/=
.project 2009-09-04 11:39:25 UTC (rev 17459)
+++ trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/JsfJbide1704Test/=
.project 2009-09-04 14:11:32 UTC (rev 17460)
@@ -15,6 +15,11 @@
+
+ org.jboss.tools.jst.web.kb.kbbuilder
+
+
+ org.eclipse.jem.workbench.JavaEMFNature
@@ -22,5 +27,6 @@
org.eclipse.wst.common.modulecore.ModuleCoreNatureorg.jboss.tools.jsf.jsfnatureorg.eclipse.wst.common.project.facet.core.nature
+ org.jboss.tools.jst.web.kb.kbnature
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/MissingKBBui=
lderTest/WebContent/WEB-INF/lib/common-annotations.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/MissingKBBui=
lderTest/WebContent/WEB-INF/lib/commons-beanutils.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/MissingKBBui=
lderTest/WebContent/WEB-INF/lib/commons-collections.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/MissingKBBui=
lderTest/WebContent/WEB-INF/lib/commons-digester.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/MissingKBBui=
lderTest/WebContent/WEB-INF/lib/commons-logging.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Deleted: trunk/jst/tests/org.jboss.tools.jst.jsp.test/projects/MissingKBBui=
lderTest/WebContent/WEB-INF/lib/standard.jar
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
--===============7119810780782728097==--
From jbosstools-commits at lists.jboss.org Fri Sep 4 10:20:38 2009
Content-Type: multipart/mixed; boundary="===============2929619115845988219=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17461 -
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test.
Date: Fri, 04 Sep 2009 10:20:37 -0400
Message-ID: <200909041420.n84EKblY002564@svn01.web.mwc.hst.phx2.redhat.com>
--===============2929619115845988219==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: mareshkau
Date: 2009-09-04 10:20:37 -0400 (Fri, 04 Sep 2009)
New Revision: 17461
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/t=
est/ComponentContentTest.java
Log:
fixing errors in junit tests
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/v=
pe/ui/test/ComponentContentTest.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/=
test/ComponentContentTest.java 2009-09-04 14:11:32 UTC (rev 17460)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/=
test/ComponentContentTest.java 2009-09-04 14:20:37 UTC (rev 17461)
@@ -180,10 +180,8 @@
controller.getVisualBuilder().setShowInvisibleTags(true);
controller.visualRefresh();
=
- TestUtil.waitForIdle();
-
// find visual element and check if it is not null
- visualElement =3D findElementById(controller, elementId);
+ visualElement =3D findElementById(controller, elementId,TestUtil.MAX_IDL=
E);
assertNotNull(visualElement);
=
// generate text for invisible tag
@@ -312,8 +310,29 @@
* =
* @param controller
* @param elementId
+ * @param idle try element for some time period, for example when we need
+ * to wait for refresh job
* @return
*/
+ protected nsIDOMElement findElementById(VpeController controller,
+ String elementId, long idle) {
+ long start =3D System.currentTimeMillis();
+ nsIDOMElement result =3D null;
+ while (result=3D=3Dnull) {
+ result =3D findElementById(controller, elementId);
+ TestUtil.delay(50);
+ if (result=3D=3Dnull && ((System.currentTimeMillis()-start) > idle) ) =
+ throw new RuntimeException("A long running task detected"); //$NON-NLS=
-1$
+ }
+ return result;
+ } =
+ /**
+ * find visual element by "id" entered in source part of vpe
+ * =
+ * @param controller
+ * @param elementId
+ * @return
+ */
protected nsIDOMNode findNode(VpeController controller, Node node) {
=
VpeNodeMapping nodeMapping =3D controller.getDomMapping().getNodeMapping(
--===============2929619115845988219==--
From jbosstools-commits at lists.jboss.org Fri Sep 4 10:21:08 2009
Content-Type: multipart/mixed; boundary="===============5739760467228876917=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17462 - in
trunk/hibernatetools:
tests/org.jboss.tools.hibernate.ui.test/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/test
and 1 other directory.
Date: Fri, 04 Sep 2009 10:21:08 -0400
Message-ID: <200909041421.n84EL8GW002671@svn01.web.mwc.hst.phx2.redhat.com>
--===============5739760467228876917==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: vyemialyanchyk
Date: 2009-09-04 10:21:08 -0400 (Fri, 04 Sep 2009)
New Revision: 17462
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui/src/org/jboss/=
tools/hibernate/ui/diagram/editors/actions/ExportImageAction.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/src/org/jbo=
ss/tools/hibernate/ui/diagram/editors/actions/test/ExportImageActionTest.ja=
va
Log:
try to fix junit test on hudson
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui/src/org=
/jboss/tools/hibernate/ui/diagram/editors/actions/ExportImageAction.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui/src/org/jboss=
/tools/hibernate/ui/diagram/editors/actions/ExportImageAction.java 2009-09-=
04 14:20:37 UTC (rev 17461)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui/src/org/jboss=
/tools/hibernate/ui/diagram/editors/actions/ExportImageAction.java 2009-09-=
04 14:21:08 UTC (rev 17462)
@@ -29,6 +29,7 @@
import org.eclipse.swt.graphics.ImageData;
import org.eclipse.swt.graphics.ImageLoader;
import org.eclipse.swt.widgets.FileDialog;
+import org.hibernate.eclipse.console.HibernateConsolePlugin;
import org.jboss.tools.hibernate.ui.diagram.DiagramViewerMessages;
import org.jboss.tools.hibernate.ui.diagram.editors.DiagramViewer;
=
@@ -40,6 +41,7 @@
DiagramViewerMessages.ExportImageAction_jpg_format, DiagramViewerMessage=
s.ExportImageAction_bmp_format };
=
private FileDialog saveDialog =3D null;
+ private boolean showErrDialog =3D true;
public static final ImageDescriptor img =3D =
ImageDescriptor.createFromFile(DiagramViewer.class, "icons/export.png");=
//$NON-NLS-1$
=
@@ -60,6 +62,10 @@
this.saveDialog =3D saveDialog;
}
=
+ public void setShowErrDialog(boolean showErrDialog) {
+ this.showErrDialog =3D showErrDialog;
+ }
+
public void run() {
=
if (saveDialog =3D=3D null) {
@@ -91,9 +97,11 @@
outStream.write(imageData);
outStream.flush();
} catch (Exception e) {
- MessageDialog.openInformation(getDiagramViewer().getSite().getShell(),
+ HibernateConsolePlugin.getDefault().logErrorMessage("ExportImageAction"=
, e); //$NON-NLS-1$
+ if (showErrDialog) {
+ MessageDialog.openInformation(getDiagramViewer().getSite().getShell(),
DiagramViewerMessages.ExportImageAction_error, DiagramViewerMessages.=
ExportImageAction_failed_to_export_image + e.getMessage());
- return;
+ }
}
finally {
if (outStream !=3D null) {
Modified: trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/src/=
org/jboss/tools/hibernate/ui/diagram/editors/actions/test/ExportImageAction=
Test.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/src/org/jb=
oss/tools/hibernate/ui/diagram/editors/actions/test/ExportImageActionTest.j=
ava 2009-09-04 14:20:37 UTC (rev 17461)
+++ trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/src/org/jb=
oss/tools/hibernate/ui/diagram/editors/actions/test/ExportImageActionTest.j=
ava 2009-09-04 14:21:08 UTC (rev 17462)
@@ -96,6 +96,7 @@
});
final ExportImageAction exportImageAction =3D new ExportImageAction(edit=
or);
exportImageAction.setSaveDialog(saveDialog);
+ exportImageAction.setShowErrDialog(false);
exportImageAction.run();
// test is the file created
File file =3D new File(filePath);
--===============5739760467228876917==--
From jbosstools-commits at lists.jboss.org Fri Sep 4 10:28:13 2009
Content-Type: multipart/mixed; boundary="===============1432798852850907153=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17463 -
branches/jbosstools-3.1.0.M3/hibernatetools/plugins/org.jboss.tools.hibernate.ui/src/org/jboss/tools/hibernate/ui/diagram/editors/actions.
Date: Fri, 04 Sep 2009 10:28:13 -0400
Message-ID: <200909041428.n84ESDq2003885@svn01.web.mwc.hst.phx2.redhat.com>
--===============1432798852850907153==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: vyemialyanchyk
Date: 2009-09-04 10:28:13 -0400 (Fri, 04 Sep 2009)
New Revision: 17463
Modified:
branches/jbosstools-3.1.0.M3/hibernatetools/plugins/org.jboss.tools.hibe=
rnate.ui/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/ExportIma=
geAction.java
Log:
try to fix junit test on hudson
Modified: branches/jbosstools-3.1.0.M3/hibernatetools/plugins/org.jboss.too=
ls.hibernate.ui/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/Ex=
portImageAction.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/hibernatetools/plugins/org.jboss.tools.hib=
ernate.ui/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/ExportIm=
ageAction.java 2009-09-04 14:21:08 UTC (rev 17462)
+++ branches/jbosstools-3.1.0.M3/hibernatetools/plugins/org.jboss.tools.hib=
ernate.ui/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/ExportIm=
ageAction.java 2009-09-04 14:28:13 UTC (rev 17463)
@@ -29,6 +29,7 @@
import org.eclipse.swt.graphics.ImageData;
import org.eclipse.swt.graphics.ImageLoader;
import org.eclipse.swt.widgets.FileDialog;
+import org.hibernate.eclipse.console.HibernateConsolePlugin;
import org.jboss.tools.hibernate.ui.diagram.DiagramViewerMessages;
import org.jboss.tools.hibernate.ui.diagram.editors.DiagramViewer;
=
@@ -40,6 +41,7 @@
DiagramViewerMessages.ExportImageAction_jpg_format, DiagramViewerMessage=
s.ExportImageAction_bmp_format };
=
private FileDialog saveDialog =3D null;
+ private boolean showErrDialog =3D true;
public static final ImageDescriptor img =3D =
ImageDescriptor.createFromFile(DiagramViewer.class, "icons/export.png");=
//$NON-NLS-1$
=
@@ -60,6 +62,10 @@
this.saveDialog =3D saveDialog;
}
=
+ public void setShowErrDialog(boolean showErrDialog) {
+ this.showErrDialog =3D showErrDialog;
+ }
+
public void run() {
=
if (saveDialog =3D=3D null) {
@@ -91,9 +97,11 @@
outStream.write(imageData);
outStream.flush();
} catch (Exception e) {
- MessageDialog.openInformation(getDiagramViewer().getSite().getShell(),
+ HibernateConsolePlugin.getDefault().logErrorMessage("ExportImageAction"=
, e); //$NON-NLS-1$
+ if (showErrDialog) {
+ MessageDialog.openInformation(getDiagramViewer().getSite().getShell(),
DiagramViewerMessages.ExportImageAction_error, DiagramViewerMessages.=
ExportImageAction_failed_to_export_image + e.getMessage());
- return;
+ }
}
finally {
if (outStream !=3D null) {
--===============1432798852850907153==--
From jbosstools-commits at lists.jboss.org Fri Sep 4 10:29:31 2009
Content-Type: multipart/mixed; boundary="===============4665258039911983827=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17464 -
trunk/jsf/docs/userguide/en/modules.
Date: Fri, 04 Sep 2009 10:29:31 -0400
Message-ID: <200909041429.n84ETVnR004059@svn01.web.mwc.hst.phx2.redhat.com>
--===============4665258039911983827==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: smukhina
Date: 2009-09-04 10:29:31 -0400 (Fri, 04 Sep 2009)
New Revision: 17464
Modified:
trunk/jsf/docs/userguide/en/modules/editors.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-840 CSS editor is redesigned - perp=
ective is already described, added a link from CSS editor chapter to CSS pe=
rspective chapter =
Modified: trunk/jsf/docs/userguide/en/modules/editors.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jsf/docs/userguide/en/modules/editors.xml 2009-09-04 14:28:13 UTC=
(rev 17463)
+++ trunk/jsf/docs/userguide/en/modules/editors.xml 2009-09-04 14:29:31 UTC=
(rev 17464)
@@ -2156,8 +2156,10 @@
=
+ To make you work on CSS files more comfortable, CSS pers=
pective is available, read more about it in CSS Editing Perspective chapter =
+ =
=
JavaScript Editor
=
--===============4665258039911983827==--
From jbosstools-commits at lists.jboss.org Fri Sep 4 10:29:33 2009
Content-Type: multipart/mixed; boundary="===============6556496407334597848=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17465 -
branches/jbosstools-3.1.0.M3/hibernatetools/tests/org.jboss.tools.hibernate.ui.test/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/test.
Date: Fri, 04 Sep 2009 10:29:33 -0400
Message-ID: <200909041429.n84ETXg2004073@svn01.web.mwc.hst.phx2.redhat.com>
--===============6556496407334597848==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: vyemialyanchyk
Date: 2009-09-04 10:29:33 -0400 (Fri, 04 Sep 2009)
New Revision: 17465
Modified:
branches/jbosstools-3.1.0.M3/hibernatetools/tests/org.jboss.tools.hibern=
ate.ui.test/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/test/E=
xportImageActionTest.java
Log:
try to fix junit test on hudson
Modified: branches/jbosstools-3.1.0.M3/hibernatetools/tests/org.jboss.tools=
.hibernate.ui.test/src/org/jboss/tools/hibernate/ui/diagram/editors/actions=
/test/ExportImageActionTest.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/hibernatetools/tests/org.jboss.tools.hiber=
nate.ui.test/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/test/=
ExportImageActionTest.java 2009-09-04 14:29:31 UTC (rev 17464)
+++ branches/jbosstools-3.1.0.M3/hibernatetools/tests/org.jboss.tools.hiber=
nate.ui.test/src/org/jboss/tools/hibernate/ui/diagram/editors/actions/test/=
ExportImageActionTest.java 2009-09-04 14:29:33 UTC (rev 17465)
@@ -96,6 +96,7 @@
});
final ExportImageAction exportImageAction =3D new ExportImageAction(edit=
or);
exportImageAction.setSaveDialog(saveDialog);
+ exportImageAction.setShowErrDialog(false);
exportImageAction.run();
// test is the file created
File file =3D new File(filePath);
--===============6556496407334597848==--
From jbosstools-commits at lists.jboss.org Fri Sep 4 10:39:03 2009
Content-Type: multipart/mixed; boundary="===============5456687883412094199=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17466 - in
trunk/bpel/docs/reference/en: images and 1 other directories.
Date: Fri, 04 Sep 2009 10:39:03 -0400
Message-ID: <200909041439.n84Ed3bN005935@svn01.web.mwc.hst.phx2.redhat.com>
--===============5456687883412094199==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: chukhutsina
Date: 2009-09-04 10:39:03 -0400 (Fri, 04 Sep 2009)
New Revision: 17466
Modified:
trunk/bpel/docs/reference/en/images/deploy_createdeploy_3.png
trunk/bpel/docs/reference/en/images/deploy_createdeploy_7.png
trunk/bpel/docs/reference/en/images/detail_createprocess_3.png
trunk/bpel/docs/reference/en/images/detail_editprocess_1.png
trunk/bpel/docs/reference/en/images/detail_editprocess_2.png
trunk/bpel/docs/reference/en/master.xml
trunk/bpel/docs/reference/en/modules/deploy.xml
trunk/bpel/docs/reference/en/modules/detail.xml
trunk/bpel/docs/reference/en/modules/install.xml
trunk/bpel/docs/reference/en/modules/overview.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-780 -Checked,formated and a bit =
restructured the Guide.Mistakes were corrected.
Modified: trunk/bpel/docs/reference/en/images/deploy_createdeploy_3.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Modified: trunk/bpel/docs/reference/en/images/deploy_createdeploy_7.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Modified: trunk/bpel/docs/reference/en/images/detail_createprocess_3.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Modified: trunk/bpel/docs/reference/en/images/detail_editprocess_1.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Modified: trunk/bpel/docs/reference/en/images/detail_editprocess_2.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Modified: trunk/bpel/docs/reference/en/master.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/bpel/docs/reference/en/master.xml 2009-09-04 14:29:33 UTC (rev 17=
465)
+++ trunk/bpel/docs/reference/en/master.xml 2009-09-04 14:39:03 UTC (rev 17=
466)
@@ -6,6 +6,8 @@
+
+
]>
=
Modified: trunk/bpel/docs/reference/en/modules/deploy.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/bpel/docs/reference/en/modules/deploy.xml 2009-09-04 14:29:33 UTC=
(rev 17465)
+++ trunk/bpel/docs/reference/en/modules/deploy.xml 2009-09-04 14:39:03 UTC=
(rev 17466)
@@ -1,15 +1,15 @@
- Deploy a JBoss BPEL project into JBoss BPEL Runtime
+ Deploy a JBoss BPEL project to JBoss BPEL RuntimeCreating a bpel-deploy.xml file
- If you want to deploy a BPEL project into JBoss BPEL Runtime=
, you need to create a bpel-deploy.xml file. =
- Our tools can help you to create it:
+ If you want to deploy a BPEL project to JBoss BPEL Runtime, =
you should create a bpel-deploy.xml file. =
+ JBoss tools can help you to create it:
Create the bpel-deploy.xml by selecting =
- New > Other... > BPEL 2.0 > Apache=
ODE Deployment Descriptor. Click on the Ne=
xt button. =
+ New > Other... > BPEL 2.0 > Apache=
ODE Deployment Descriptor. Click the Next<=
/property> button. =
New BPEL Deploy file
@@ -21,11 +21,12 @@
=
- BPEL Project: Click on the Browse... button to select a BPEL project in your workspace which you want to d=
eploy into the runtime.
- Please note that you should select the bpel folder und=
er the BPEL project because the bpel-deploy.xml should be at this place.
+ On the next wizard page you should enter the followi=
ng information:
+ BPEL Project: Click the Browse... button to select the BPEL pro=
ject in your workspace which you want to deploy to the runtime.
+ Please note, that you should select the bpel=
folder in your new BPEL project as a value of BPEL Pr=
oject field because the bpel-deploy.xml should be created in thi=
s place.
- File name: The default value is bpel-deploy.xml. Ple=
ase don't change it.
- Click on Finish button to close=
the wizard.
+ File name:=
The default value is bpel-deploy.xml. Please, don't change it.
+ Click on Finish button to close=
the wizard and a new bpel-deploy.xml file will be created.New BPEL Deploy file Wizard
@@ -36,10 +37,11 @@
=
- Double-click on the bpel-deploy.xml file to open it.=
In the Inbound Interface section, click in the =
- Associated Port column for the
client Parner link. Then select HelloWorldProc=
essPort
- in the drop down box. Click in the other part of the =
eclipse, the Related Service and Binding Use=
d
- clumns should automatically be filled in. Save the bp=
el-deploy.xml.
+ Double-click the bpel-deploy.xml file to open it in =
ODE Descriptor Deployment Editor.
+ In the Inbound Interfaces section=
, click the =
+ Associated Port column and select=
HelloWorldProcessPort
+ in the dropdown box.The Related Service and Binding Used =
+ columns should be automatically filled in. Save the <=
emphasis>bpel-deploy.xml.
bpel-deploy.xml file editor
@@ -54,16 +56,16 @@
Creating JBoss BPEL Server
- Suppose you have installed the JBoss BPEL Runtime-=
RiftSaw, now we can create a server for the JBoss BPEL runtime=
para>
+ Suppose you have installed the JBoss BPEL Runtime-=
RiftSaw, now you can create a server for JBoss BPEL runtime.
- Open the Servers view by select=
ing =
- Windows > Show View > Other... > S=
erver > Servers.
+ Open the JBoss Server view by s=
electing =
+ Windows > Show View > Other... > S=
erver > JBoss Server view.
=
- In the Servers view, right-click and select =
- New > Server=
to open a wizard: =
+ Right-click the JBoss Server view and select =
+ New > Server=
to open the New Server Wizard: =
New Server Wizard
@@ -75,9 +77,15 @@
=
- Server type: select JBoss AS 5.1. Please note that only JBoss As 5.1 or higher version support BPEL. =
- Click on the Next button. On th=
e next page, you can input your JBoss As location. Then click on the Next button. =
- you can get the page like this: =
+ Select JBoss AS 5.1 as a server=
type.
+
+ Please note, that only JBoss As 5.1 or higher ve=
rsion support BPEL.
+
+
+
+ =
+ Click the Next button. On the n=
ext page, you should input your JBoss As location. Then click the Next button and
+ you will get the page like this: =
Add resource to the server
@@ -89,8 +97,8 @@
=
- Select HelloWorld, then click o=
n the Add > button to add the project to the server.
- Then click on Finish button.
+ Select HelloWorld, then click t=
he Add button to add the project to the server.
+ Then click on the Finish button.
Start the server by right-clicking on the server and=
selecting the Start item. =
=
@@ -101,10 +109,11 @@
- =
+ =
+ If some aspects of server creation is not clear, ple=
ase, read JBoss Server Manager Reference Guide =
for more details.
- You can input the link http://localhost:8080/bpel/processes.html in the browser to get the deployed processes. =
+ You can enter the link http://localhost:8080/bpel/processes.html to the browser to get the deployed processes. =
The BPEL console
@@ -115,6 +124,9 @@
=
=
=
- =
+ If there's anything we didn't cover or you can't figure out,=
please feel free to visit our JBoss Tools Users Forum to ask questions.
+ There we are also waiting for your suggestions and comments.=
para> =
\ No newline at end of file
Modified: trunk/bpel/docs/reference/en/modules/detail.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/bpel/docs/reference/en/modules/detail.xml 2009-09-04 14:29:33 UTC=
(rev 17465)
+++ trunk/bpel/docs/reference/en/modules/detail.xml 2009-09-04 14:39:03 UTC=
(rev 17466)
@@ -1,13 +1,14 @@
- Create and edit a BPEL project
- In the chapter we provide you with the necessary steps to create=
a BPEL project and edit the BPEL files.
- First you need to create a BPEL project.
+ Creating and editing a BPEL project
+ In the chapter we describe the necessary steps to create a new B=
PEL project and edit the BPEL files.
+ First of all, you should create a BPEL project.
Creating a BPEL project
- Create a Web project by selecting =
- New > Project... > BPEL 2.0 > BPEL Proje=
ct. Click on the Next button. =
+ Create the project by selecting =
+ New > Project... > BPEL 2.0 > BPEL Project=
from the menu bar.
+ Then click the Next button. =
New BPEL Project
@@ -17,12 +18,9 @@
- Enter the following information:
-
-
- Project Name: enter a project name. For example, ent=
er HelloWorld.
-
-
+ On this page of the New BPEL Project Wizard enter a project name in the Project Name
+ field,e.g enter HelloWorld.
+ =
New BPEL Project Wizard
@@ -31,9 +29,9 @@
- Click on the Finish button. Now you hav=
e created a BPEL project named HelloWorld. It's struct=
ure is like this:
+ Click the Finish button. So you have cr=
eated the BPEL project named HelloWorld. Its structure=
is like this:
- A BPEL Project structure
+ The BPEL Project structure
@@ -43,7 +41,7 @@
Creating a BPEL process
- Create a BPEL process by selecting =
+ Now you should create a BPEL process. You can create it by s=
electing =
New > Others... > BPEL 2.0 > New BPEL Pr=
ocess File.
@@ -54,18 +52,38 @@
- Click on the Next button. Enter the fol=
lowing information:
-
-
- BPEL Process Name: enter a process name. For example=
, HelloWorld.
-
-
- Namespace: enter or select a namespace for the BPEL =
process
-
-
- Template: select a template for the BPEL process. Wh=
en you select a template, below the row, you will get the information for t=
he template.
- =
-
+ Click the Next button. Enter the follow=
ing information:
+
+ =
+ Fields and values
+ =
+
+
+
+
+ Field
+ Value
+ =
+
+ =
+ =
+
+ BPEL Process Name
+ enter a process name. For example,
HelloWorld.
=
+ =
+
+ Namespace
+ enter or select a namespace for the B=
PEL process. =
+ =
+
+ Template
+ select a template for the BPEL proces=
s. When you select the template, you will see the information about the tem=
plate below on the page. =
+ =
+ =
+ =
+
+
+
New BPEL Process File Wizard
@@ -74,13 +92,16 @@
- Click on the Next button. On the second=
page, make sure that the fold HelloWorld/bpel is sele=
cted.
- Clink on the Finish button.
+ Click the Next button. On the second pa=
ge make sure that the folder HelloWorld/bpel is select=
ed.
+ Click Finish.
- All of your files that are used in your BPEL project must be=
under the bpel folder. Only like this, =
- these files can be deployed into JBoss server.
-
- Up to now, you have get a simple BPEL process as below. Next=
step, you can edit the BPEL process and then deploy it into JBoss server. =
+
+ All of your files that are used in your BPEL project mus=
t be under the bpel folder. Only in this case =
+ these files can be deployed to JBoss server.
+
+
+
+ Up to now, you have got a simple BPEL process as on the scree=
n below.A simple BPEL Process File
@@ -89,11 +110,12 @@
+ The next step, you can do is to edit the BPEL process file a=
nd then deploy it to JBoss server.
- Editing a BPEL process
- If you don't get the Properties view and Palette view opened=
, you can right-click on the BPEL editor and select the =
- Show in Properties, Show Pale=
tte in Palette view. Then you can get the view like: =
+ Editing a BPEL process file
+ If the Properties view and Palette view are not ope=
ned, you can open the views by right-clicking the BPEL editor and selecting=
=
+ Show in Properties, Show Pale=
tte in Palette view. Then you should have the view like this: =
The BPEL editor view
@@ -103,46 +125,66 @@
=
- In the Palette view, you can drag a BPEL element into the BP=
EL editor and put it in the palace that you want. =
- In the Properties view, you can get the information for ever=
y element of the BPEL process. Select a element in the BPEL editor,
- the element's properties will be shown in the Properties view: =
+ In the Palette view, you can drag a BPEL element to the BPEL editor and drop it in the place =
you want. =
+ In the Properties view, you can get the information about every element of the BPEL process.
+ In the BPEL editor select any element you want,and then
+ the element's properties will be shown in the Properties view.=
The table below describes the tabs of the Properties view: =
+
+ =
+ Tabs of the Property view
+ =
+
+
+
+
+ Tab
+ Description
+ =
+
+ =
+ =
+
+ Description
+ Shows the descriptive information abo=
ut the element,e.g. Name of the element. =
+ =
+
+ Details
+ Shows the detailed and important info=
rmation about the element.
+ It is the most important section of an element.
+ Most of the properties of an element are set i=
n this section. =
+ =
+
+ Join Behavior
+ Shows the Join Failure property of the element. =
+ =
+
+ Documentation
+ Shows the documentation sub-element of an element. =
+ =
+
+ Other
+ Every BPEL element has its own sectio=
ns: Correlation section, Message Exchange section, and so on. We will
+ introduce them while using them. =
+ =
+ =
+
+
+ In order to see how a simple BPEL process works in action, y=
ou should do some steps as below: =
- Description section: Show the described information =
of the element. For example, Name of the element.
-
-
- Details section: Show the detailed and important inf=
ormation of element. This is the most important section of a element.
- Many properties of a element will be set in this sect=
ion.
-
-
-
- Join Behavior section: Show the Join Failu=
re property of the element.
- =
-
- Documentation section: Show the documentat=
ion sub-element of the element.
-
-
- Others sections: Every BPEL element has itself secti=
ons, Correlation section, Message Exchange section, and so on. We will
- introduce them when using them.
-
- =
- =
- In order to show how a simple BPEL process work, we will do =
some steps as below: =
-
- Add an Assign element between t=
he receiveInput element and replyOutput element.
- Select the Assign element in th=
e BPEL editor, you can get the properties information of it in the Properti=
es view. =
+ Click the Assign element in the=
BPEL editor in order to get the properties information of it in the Proper=
ties view. =
- In the Details section, you can select New=
button to add a copy sub-element to the el=
ement. =
- Assign "input->payload->input" to "output->payload->re=
sult". At this time, an "initializer" popup dialog appears. Click on the
Yes button.
+ In the Details section of Prope=
rties view, you should click the New button to add a <=
property>copy sub-element to the element. =
+ Assign "input->payload->input" to "output->payload->re=
sult". At this time, an "initializer" popup dialog app=
ears. Click on the Yes button in the dialog.
- Add an Assign to the proce=
ss
+ Add Assign to the process<=
/title>
@@ -151,13 +193,13 @@
=
=
- Open the file "HelloWorldArtifacts.wsdl" in the "Hel=
loWorld" project by double-clicking on it. Right-click in the WSDL editor a=
nd select =
- Add Service. A new service appear=
s on the editor. Name it HelloWorldProcessService. It =
has a Port =
+ Open the file "HelloWorldArtifacts.wsdl" in the "HelloWorld" project by double-clicki=
ng the file. Right-click the WSDL editor and select =
+ Add Service. A new service should=
appear in the editor. Name it HelloWorldProcessService. It has the Port =
named NewPort. Select it, right-c=
lick on it and rename it to HelloWorldProcessPort in t=
he Properties =
view.
- Add a Service to the WSDL =
file
+ Add Service to the WSDL fi=
le
@@ -167,10 +209,10 @@
Right-click somewhere in the whitespace of the WSDL =
editor and select =
- Add Binding. A new Binding appear=
s on the editor. Name it HelloWorldSOAPBinding. Select=
it, in the =
- Properties view, General section, select Hel=
loWorld port type in the PortType. Then cli=
ck on the =
- Generate Binding Content... butto=
n to open a Binding Wizard. In the wizard, select the=
SOAP =
- as the Protocol. Finally, click o=
n the Finish button to close the wizard.
+ Add Binding. A new Binding compon=
ent will appear in the editor. Name it HelloWorldSOAPBinding. Select it, in the =
+ General tab of the Properties view and select HelloWorld as a port type in the PortType=
. Then click on the =
+ Generate Binding Content... butto=
n to open the Binding Wizard. In the wizard, select <=
property>SOAP =
+ as the Protocol. Finally, click =
the Finish button to close the wizard.
Add a Binding to the WSDL =
file
@@ -182,8 +224,8 @@
=
- Click on the HelloWorldProcessPort, in the Properties view, General section, select the HelloWor=
ldSOAPBinding in
- the Binding Combo. In the Address field, input http://localhost:8080/bpel/processes/HelloWorld=
?wsdl.
+ Click the HelloWorldProcessPort=
property in the General section of the Properties view, select H=
elloWorldSOAPBinding in
+ the Binding combobox. In the Address field input http://localhost:8080/bpel/processes/HelloWor=
ld?wsdl.
Add the HelloWorldSOAPBinding to the HelloWorldProcessPort
@@ -195,7 +237,7 @@
=
=
- For now, you have finished the simple BPEL process. Next ste=
p, you can deploy the BPEL project into JBoss BPEL Runtime. =
=
+ Now you have finished creating a simple BPEL process.As a ne=
xt step, you can deploy the BPEL project to JBoss BPEL Runtime. =
=
=
=
Modified: trunk/bpel/docs/reference/en/modules/install.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/bpel/docs/reference/en/modules/install.xml 2009-09-04 14:29:33 UT=
C (rev 17465)
+++ trunk/bpel/docs/reference/en/modules/install.xml 2009-09-04 14:39:03 UT=
C (rev 17466)
@@ -1,19 +1,22 @@
- Install the JBoss BPEL editor
+ Installation JBoss BPEL Tools
- Installing the JBoss BPEL editor
- At first, you need an Eclipse(3.5). You can get it from Eclipse Web Site. =
+ Installation JBoss BPEL editor
+ At first, you need Eclipse 3.5. You can get it from Eclipse Web Site. =
- The JBoss BPEL editor is included in JBoss Tools. You have s=
ome methods to install JBoss Tools. See Installing JBoss Tools for more i=
nformation.
- If you only want to install the JBoss BPEL editor, you may i=
nstall it from JBos=
s Tools page. Please note that =
- only JBoss Tools 3.1 or higher version include the JBoss BPEL =
editor.
+ The JBoss BPEL editor is included into JBoss Tools. =
+ You have some methods to install JBoss Tools. =
+ See Installing JBoss Tools for more information.
+ If you want to install only the JBoss BPEL editor, you can =
install it from JBo=
ss Tools page separately.
+ Please, note, that only JBoss Tools 3.1 or higher version incl=
udes JBoss BPEL editor.
- Installing the JBoss BPEL Runtime
- If you want to deploy a BPEL project to JBoss runtime, you n=
eed to download the JBoss BPEL Runtime by yourself. The JBoss BPEL Runtime
- is named RiftSaw. You can get it from JBoss RiftSaw page.
+ Installation JBoss BPEL Runtime
+ If you want to deploy a BPEL project to JBoss server, =
+ you should download JBoss BPEL Runtime by yourself. The JBoss =
BPEL Runtime
+ is named RiftSaw. You can get it from JBoss RiftSaw page .
\ No newline at end of file
Modified: trunk/bpel/docs/reference/en/modules/overview.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/bpel/docs/reference/en/modules/overview.xml 2009-09-04 14:29:33 U=
TC (rev 17465)
+++ trunk/bpel/docs/reference/en/modules/overview.xml 2009-09-04 14:39:03 U=
TC (rev 17466)
@@ -1,26 +1,30 @@
- JBoss BPEL editor project Overview
+ JBoss BPEL project Overview
=
- JBoss BPEL editor project is a WS-BPEL 2.0 editor that give a way=
to create, edit, validate and deploy BPEL files into JBoss BPEL runtime. I=
t is based on the Eclipse =
- BPEL
- project.
+ JBoss BPEL project is a WS-BPEL 2.0 project that gives a way to c=
reate, edit, validate and deploy BPEL files to JBoss BPEL runtime. It is ba=
sed on Eclipse =
+ BPEL
+ project .
=
It improves the Eclipse BPEL project in the following way:
- Tight integration with JBoss BPEL runtime. Add a n=
ew project type for the deployment to JBoss BPEL runtime
- Support two ways to deploy: one is deploy a bpel p=
roject directly into JBoss BPEL runtime. The other is deploy bpel files in =
the JBoss ESB project into JBoss BPEL runtime.
- Improve the BPEL validator and the Eclipse BPEL ed=
itor's quality.
+ Implements close integration with JBoss BPEL runti=
me. Adds a new project type for the deployment to JBoss BPEL runtime.
+ Supports two ways of deployment: one way is to dep=
loy a bpel project directly to JBoss BPEL runtime. The other way is to depl=
oy bpel files in JBoss ESB project to JBoss BPEL runtime.
+ Improves the BPEL validator and increases Eclipse =
BPEL editor's quality.
=
WS-BPEL 2.0 =
- stands for Web Service Business Process Execution Language. Like EAI, B=
PEL is an XML-based language, but BPEL is more specific and targeted. Speci=
fically, a programmer uses BPEL to join sometimes disparate functions into =
an integrated process, resulting in a seamless use of the Internet to condu=
ct business transactions ranging from simple money exchanges to complex cal=
culations and asset reallocation.
+ stands for Web Service Business Process Execution Language. Like EAI, B=
PEL is an XML-based language,
+ but BPEL is more specific and targeted. A programmer uses BPEL to join =
sometimes =
+ disparate functions into an integrated process, resulting in a seamless=
use of the Internet to =
+ conduct business transactions ranging from simple money exchanges to co=
mplex calculations and =
+ asset reallocation.
=
- Key Features of JBoss BPEL editor project
- For a start, we propose you to look through the table of main fe=
atures of JBoss BPEL editor project:
+ Key Features of JBoss BPEL project
+ Let's start with looking through the table of the main features =
of JBoss BPEL editor project:
=
=
@@ -38,19 +42,21 @@
=
WS-BPEL 2.0 support
- JBoss BPEL editor project supports the ne=
west WS-BPEL 2.0 specifications. =
+ JBoss BPEL project supports the newest WS=
-BPEL 2.0 specifications. =
=
- Tight integration with JBoss BPEL runtime=
- There are two ways to deploy BPEL files i=
nto JBoss BPEL runtime. User can deploy a BPEL project as a whole and can d=
eploy BPEL files in JBoss ESB project into JBoss BPEL runtime. =
+ Close integration with JBoss BPEL runtime=
+ There are two ways to deploy BPEL files t=
o JBoss BPEL runtime.
+ The user can deploy a BPEL project as a whole and =
can deploy BPEL files in
+ JBoss ESB project to JBoss BPEL runtime. =
entry> =
=
- A BPEL file editor
- User can use the editor freely to edit a =
BPEL file. =
+ BPEL file editor
+ The user can use the editor separately to=
edit a BPEL file. =
=
- A BPEL file validator
- The validator can give the error messages=
about BPEL files to user. =
+ BPEL file validator
+ The validator can give the error messages=
about BPEL files to the user. =
=
=
--===============5456687883412094199==--
From jbosstools-commits at lists.jboss.org Fri Sep 4 10:44:08 2009
Content-Type: multipart/mixed; boundary="===============1132379906374490917=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17467 -
trunk/bpel/docs/reference/en/modules.
Date: Fri, 04 Sep 2009 10:44:08 -0400
Message-ID: <200909041444.n84Ei8FJ006881@svn01.web.mwc.hst.phx2.redhat.com>
--===============1132379906374490917==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: chukhutsina
Date: 2009-09-04 10:44:08 -0400 (Fri, 04 Sep 2009)
New Revision: 17467
Modified:
trunk/bpel/docs/reference/en/modules/deploy.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-780 -Checked,formated and a bit =
restructured the Guide.Mistakes were corrected.
Modified: trunk/bpel/docs/reference/en/modules/deploy.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/bpel/docs/reference/en/modules/deploy.xml 2009-09-04 14:39:03 UTC=
(rev 17466)
+++ trunk/bpel/docs/reference/en/modules/deploy.xml 2009-09-04 14:44:08 UTC=
(rev 17467)
@@ -79,7 +79,7 @@
Select JBoss AS 5.1 as a server=
type.
- Please note, that only JBoss As 5.1 or higher ve=
rsion support BPEL.
+ Please note, that only JBoss As 5.1 or higher ve=
rsion supports BPEL.
--===============1132379906374490917==--
From jbosstools-commits at lists.jboss.org Fri Sep 4 12:23:47 2009
Content-Type: multipart/mixed; boundary="===============0419479253101390472=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17468 -
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist.
Date: Fri, 04 Sep 2009 12:23:47 -0400
Message-ID: <200909041623.n84GNl8j029859@svn01.web.mwc.hst.phx2.redhat.com>
--===============0419479253101390472==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: vrubezhny
Date: 2009-09-04 12:23:46 -0400 (Fri, 04 Sep 2009)
New Revision: 17468
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/co=
ntentassist/AbstractXMLContentAssistProcessor.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/co=
ntentassist/XmlContentAssistProcessor.java
Log:
JBIDE-4848: The Content Assist doesn't show proposals for the attribute nam=
es (The issue is found by org.jboss.tools.jst.jsp.test.ca.JsfJspJbide1717Te=
st.testJstJspJbide1717() JUnit Test Case)
Issue is fixed
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst=
/jsp/contentassist/AbstractXMLContentAssistProcessor.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/c=
ontentassist/AbstractXMLContentAssistProcessor.java 2009-09-04 14:44:08 UTC=
(rev 17467)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/c=
ontentassist/AbstractXMLContentAssistProcessor.java 2009-09-04 16:23:46 UTC=
(rev 17468)
@@ -842,7 +842,7 @@
* =
* @return
*/
- protected String getParent(boolean returnAttributeName) {
+ protected String getParent(boolean returnAttributeName, boolean returnThi=
sElement) {
IStructuredModel sModel =3D StructuredModelManager
.getModelManager()
.getExistingModelForRead(getDocument());
@@ -884,7 +884,8 @@
n =3D n.getParentNode();
}
} else {
- n =3D n.getParentNode();
+ if (!returnThisElement)
+ n =3D n.getParentNode();
}
if (n =3D=3D null)
return null;
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst=
/jsp/contentassist/XmlContentAssistProcessor.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/c=
ontentassist/XmlContentAssistProcessor.java 2009-09-04 14:44:08 UTC (rev 17=
467)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/c=
ontentassist/XmlContentAssistProcessor.java 2009-09-04 16:23:46 UTC (rev 17=
468)
@@ -85,7 +85,7 @@
String prefix =3D getTagPrefix();
String uri =3D getTagUri();
String[] parentTags =3D getParentTags(type =3D=3D Type.ATTRIBUTE_NAME ||=
type =3D=3D Type.ATTRIBUTE_VALUE);
- String parent =3D getParent(type =3D=3D Type.ATTRIBUTE_VALUE);
+ String parent =3D getParent(type =3D=3D Type.ATTRIBUTE_VALUE, type =3D=
=3D Type.ATTRIBUTE_NAME);
String queryValue =3D query;
String queryStringValue =3D stringQuery;
=
--===============0419479253101390472==--
From jbosstools-commits at lists.jboss.org Fri Sep 4 12:50:29 2009
Content-Type: multipart/mixed; boundary="===============7604555959240239754=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17469 -
branches/jbosstools-3.1.0.M3/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist.
Date: Fri, 04 Sep 2009 12:50:29 -0400
Message-ID: <200909041650.n84GoTYp003885@svn01.web.mwc.hst.phx2.redhat.com>
--===============7604555959240239754==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: vrubezhny
Date: 2009-09-04 12:50:29 -0400 (Fri, 04 Sep 2009)
New Revision: 17469
Modified:
branches/jbosstools-3.1.0.M3/jst/plugins/org.jboss.tools.jst.jsp/src/org=
/jboss/tools/jst/jsp/contentassist/AbstractXMLContentAssistProcessor.java
branches/jbosstools-3.1.0.M3/jst/plugins/org.jboss.tools.jst.jsp/src/org=
/jboss/tools/jst/jsp/contentassist/XmlContentAssistProcessor.java
Log:
JBIDE-4848: The Content Assist doesn't show proposals for the attribute nam=
es (The issue is found by org.jboss.tools.jst.jsp.test.ca.JsfJspJbide1717Te=
st.testJstJspJbide1717() JUnit Test Case)
Issue is fixed for branch jbosstools-3.1.0.M3
Modified: branches/jbosstools-3.1.0.M3/jst/plugins/org.jboss.tools.jst.jsp/=
src/org/jboss/tools/jst/jsp/contentassist/AbstractXMLContentAssistProcessor=
.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/jst/plugins/org.jboss.tools.jst.jsp/src/or=
g/jboss/tools/jst/jsp/contentassist/AbstractXMLContentAssistProcessor.java =
2009-09-04 16:23:46 UTC (rev 17468)
+++ branches/jbosstools-3.1.0.M3/jst/plugins/org.jboss.tools.jst.jsp/src/or=
g/jboss/tools/jst/jsp/contentassist/AbstractXMLContentAssistProcessor.java =
2009-09-04 16:50:29 UTC (rev 17469)
@@ -842,7 +842,7 @@
* =
* @return
*/
- protected String getParent(boolean returnAttributeName) {
+ protected String getParent(boolean returnAttributeName, boolean returnThi=
sElement) {
IStructuredModel sModel =3D StructuredModelManager
.getModelManager()
.getExistingModelForRead(getDocument());
@@ -884,7 +884,8 @@
n =3D n.getParentNode();
}
} else {
- n =3D n.getParentNode();
+ if (!returnThisElement)
+ n =3D n.getParentNode();
}
if (n =3D=3D null)
return null;
Modified: branches/jbosstools-3.1.0.M3/jst/plugins/org.jboss.tools.jst.jsp/=
src/org/jboss/tools/jst/jsp/contentassist/XmlContentAssistProcessor.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/jst/plugins/org.jboss.tools.jst.jsp/src/or=
g/jboss/tools/jst/jsp/contentassist/XmlContentAssistProcessor.java 2009-09-=
04 16:23:46 UTC (rev 17468)
+++ branches/jbosstools-3.1.0.M3/jst/plugins/org.jboss.tools.jst.jsp/src/or=
g/jboss/tools/jst/jsp/contentassist/XmlContentAssistProcessor.java 2009-09-=
04 16:50:29 UTC (rev 17469)
@@ -85,7 +85,7 @@
String prefix =3D getTagPrefix();
String uri =3D getTagUri();
String[] parentTags =3D getParentTags(type =3D=3D Type.ATTRIBUTE_NAME ||=
type =3D=3D Type.ATTRIBUTE_VALUE);
- String parent =3D getParent(type =3D=3D Type.ATTRIBUTE_VALUE);
+ String parent =3D getParent(type =3D=3D Type.ATTRIBUTE_VALUE, type =3D=
=3D Type.ATTRIBUTE_NAME);
String queryValue =3D query;
String queryStringValue =3D stringQuery;
=
--===============7604555959240239754==--
From jbosstools-commits at lists.jboss.org Tue Sep 8 12:39:09 2009
Content-Type: multipart/mixed; boundary="===============8885244472481041679=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17476 - in trunk:
as/plugins/org.jboss.ide.eclipse.as.wtp.core/src/org/jboss/ide/eclipse/as/wtp/core/vcf
and 2 other directories.
Date: Tue, 08 Sep 2009 11:53:22 -0400
Message-ID: <200909081553.n88FrMSS005184@svn01.web.mwc.hst.phx2.redhat.com>
--===============8885244472481041679==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: rob.stryker(a)jboss.com
Date: 2009-09-08 11:53:22 -0400 (Tue, 08 Sep 2009)
New Revision: 17476
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.core/src/org/jboss/ide/ecl=
ipse/as/wtp/core/vcf/ModuleExportOperation.java
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.core/META-INF/MANIFEST.MF
trunk/esb/plugins/org.jboss.tools.esb.project.ui/META-INF/MANIFEST.MF
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb=
/project/ui/wizards/export/ESBComponentExportOperation.java
Log:
JBIDE-4854
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.core/META-INF/MANIF=
EST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.core/META-INF/MANIFEST.MF=
2009-09-08 15:33:00 UTC (rev 17475)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.core/META-INF/MANIFEST.MF=
2009-09-08 15:53:22 UTC (rev 17476)
@@ -15,7 +15,12 @@
org.eclipse.jst.j2ee;bundle-version=3D"1.1.300",
org.eclipse.wst.common.project.facet.core;bundle-version=3D"1.4.0",
org.eclipse.jem.util;bundle-version=3D"2.0.200",
- org.eclipse.wst.web;bundle-version=3D"1.1.300"
+ org.eclipse.wst.web;bundle-version=3D"1.1.300",
+ org.eclipse.wst.common.frameworks;bundle-version=3D"1.1.300",
+ org.eclipse.jst.common.frameworks;bundle-version=3D"1.1.300",
+ org.eclipse.core.commands;bundle-version=3D"3.5.0",
+ org.eclipse.jst.server.core;bundle-version=3D"1.2.0",
+ org.eclipse.jdt.core;bundle-version=3D"3.5.0"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Export-Package: org.jboss.ide.eclipse.as.wtp.core.modules,
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.core/src/org/jboss/ide=
/eclipse/as/wtp/core/vcf/ModuleExportOperation.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.core/src/org/jboss/ide/ec=
lipse/as/wtp/core/vcf/ModuleExportOperation.java (r=
ev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.core/src/org/jboss/ide/ec=
lipse/as/wtp/core/vcf/ModuleExportOperation.java 2009-09-08 15:53:22 UTC (r=
ev 17476)
@@ -0,0 +1,431 @@
+/*************************************************************************=
******
+ * Copyright (c) 2003, 2007 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *************************************************************************=
******/
+package org.jboss.ide.eclipse.as.wtp.core.vcf;
+
+import static org.eclipse.jst.j2ee.datamodel.properties.IJ2EEComponentExpo=
rtDataModelProperties.ARCHIVE_DESTINATION;
+import static org.eclipse.jst.j2ee.datamodel.properties.IJ2EEComponentExpo=
rtDataModelProperties.COMPONENT;
+import static org.eclipse.jst.j2ee.datamodel.properties.IJ2EEComponentExpo=
rtDataModelProperties.EXPORT_SOURCE_FILES;
+import static org.eclipse.jst.j2ee.datamodel.properties.IJ2EEComponentExpo=
rtDataModelProperties.OPTIMIZE_FOR_SPECIFIC_RUNTIME;
+import static org.eclipse.jst.j2ee.datamodel.properties.IJ2EEComponentExpo=
rtDataModelProperties.RUNTIME_SPECIFIC_PARTICIPANTS;
+import static org.eclipse.jst.j2ee.datamodel.properties.IJ2EEComponentExpo=
rtDataModelProperties.RUN_BUILD;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.lang.reflect.InvocationTargetException;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Set;
+import java.util.zip.ZipEntry;
+import java.util.zip.ZipOutputStream;
+
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.core.resources.ICommand;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IProjectDescription;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IResourceRuleFactory;
+import org.eclipse.core.resources.IncrementalProjectBuilder;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IAdaptable;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.SubProgressMonitor;
+import org.eclipse.core.runtime.jobs.ISchedulingRule;
+import org.eclipse.core.runtime.jobs.MultiRule;
+import org.eclipse.jdt.core.JavaCore;
+import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailu=
reException;
+import org.eclipse.jst.j2ee.datamodel.properties.IJ2EEComponentExportDataM=
odelProperties.IArchiveExportParticipantData;
+import org.eclipse.jst.j2ee.internal.archive.operations.EJBArchiveOpsResou=
rceHandler;
+import org.eclipse.jst.j2ee.internal.plugin.LibCopyBuilder;
+import org.eclipse.jst.j2ee.internal.project.ProjectSupportResourceHandler;
+import org.eclipse.jst.jee.archive.ArchiveSaveFailureException;
+import org.eclipse.jst.jee.archive.internal.ArchiveUtil;
+import org.eclipse.jst.server.core.IEnterpriseApplication;
+import org.eclipse.jst.server.core.IJ2EEModule;
+import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
+import org.eclipse.wst.common.componentcore.resources.IVirtualReference;
+import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperat=
ion;
+import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
+import org.eclipse.wst.common.frameworks.datamodel.IDataModelOperation;
+import org.eclipse.wst.server.core.IModule;
+import org.eclipse.wst.server.core.ServerUtil;
+import org.eclipse.wst.server.core.model.IModuleFile;
+import org.eclipse.wst.server.core.model.IModuleFolder;
+import org.eclipse.wst.server.core.model.IModuleResource;
+import org.eclipse.wst.server.core.model.ModuleDelegate;
+
+public abstract class ModuleExportOperation extends AbstractDataModelOpera=
tion {
+
+ protected IProgressMonitor progressMonitor;
+ private IVirtualComponent component;
+ private IModule module;
+ private IPath destinationPath;
+ private boolean exportSource =3D false;
+
+ public ModuleExportOperation() {
+ super();
+ }
+
+ public ModuleExportOperation(IDataModel model) {
+ super(model);
+ }
+ =
+ protected final int REFRESH_WORK =3D 100;
+ protected final int JAVA_BUILDER_WORK =3D 100;
+ protected final int LIB_BUILDER_WORK =3D 100;
+ protected final int EXPORT_WORK =3D 1000;
+ protected final int CLOSE_WORK =3D 10;
+ protected final int SINGLE_PARTICIPANT_WORK =3D 200;
+ =
+ protected int computeTotalWork() {
+ int totalWork =3D REFRESH_WORK;
+ if (model.getBooleanProperty(RUN_BUILD)) {
+ totalWork +=3D JAVA_BUILDER_WORK + LIB_BUILDER_WORK;
+ }
+ totalWork +=3D EXPORT_WORK + CLOSE_WORK;
+ =
+ final IDataModel dm =3D getDataModel();
+ =
+ if( dm.getProperty( OPTIMIZE_FOR_SPECIFIC_RUNTIME ) =3D=3D Boolean.TRUE =
) {
+ final List extensions
+ =3D (List) dm.getProperty( RUNTIM=
E_SPECIFIC_PARTICIPANTS );
+ totalWork +=3D extensions.size() * SINGLE_PARTICIPANT_WORK;
+ }
+ =
+ return totalWork;
+ }
+ =
+ public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws =
ExecutionException {
+ setComponent((IVirtualComponent) model.getProperty(COMPONENT));
+ setDestinationPath(new Path(model.getStringProperty(ARCHIVE_DESTINATION)=
));
+// setExportSource(model.getBooleanProperty(EXPORT_SOURCE_FILES));
+ =
+ try
+ {
+ monitor.beginTask(ProjectSupportResourceHandler.getString(ProjectSup=
portResourceHandler.Exporting_archive, new Object [] { getDestinationPath()=
.lastSegment() }), computeTotalWork());
+ setProgressMonitor(monitor);
+
+ try {
+ // defect 240999
+ component.getProject().refreshLocal(IResource.DEPTH_INFINITE, new S=
ubProgressMonitor(monitor, REFRESH_WORK));
+ if (model.getBooleanProperty(RUN_BUILD)) {
+ runNecessaryBuilders(component, new SubProgressMonitor(monitor, JA=
VA_BUILDER_WORK + LIB_BUILDER_WORK));
+ }
+ export();
+ } catch (Exception e) {
+ monitor.worked(CLOSE_WORK);
+ throw new ExecutionException(EJBArchiveOpsResourceHandler.Error_exp=
orting__UI_ + archiveString(), e);
+ }
+ =
+ final IDataModel dm =3D getDataModel();
+ =
+ if( dm.getProperty( OPTIMIZE_FOR_SPECIFIC_RUNTIME ) =3D=3D Boo=
lean.TRUE )
+ {
+ for( IArchiveExportParticipantData extData =
+ : (List) dm.getPropert=
y( RUNTIME_SPECIFIC_PARTICIPANTS ) )
+ {
+ final IDataModelOperation op =
+ =3D extData.getParticipant().createOperation( extD=
ata.getDataModel() );
+ =
+ op.execute( null, null );
+ monitor.worked( SINGLE_PARTICIPANT_WORK );
+ }
+ }
+ }
+ finally
+ {
+ monitor.done();
+ }
+ =
+ return OK_STATUS;
+ }
+
+ protected abstract String archiveString();
+
+ protected void setProgressMonitor(IProgressMonitor newProgressMonitor) {
+ progressMonitor =3D newProgressMonitor;
+ }
+
+ protected IProgressMonitor getProgressMonitor() {
+ return progressMonitor;
+ }
+
+ private void setComponent(IVirtualComponent newComponent) {
+ component =3D newComponent;
+ setModule();
+ }
+
+ protected IVirtualComponent getComponent() {
+ if (component =3D=3D null)
+ component =3D (IVirtualComponent) model.getProperty(COMPONENT);
+ return component;
+ }
+
+ protected IPath getDestinationPath() {
+ return destinationPath;
+ }
+
+ protected void setDestinationPath(IPath newDestinationPath) {
+ destinationPath =3D newDestinationPath;
+ }
+
+// protected boolean isExportSource() {
+// return exportSource;
+// }
+//
+// protected void setExportSource(boolean newExportSource) {
+// exportSource =3D newExportSource;
+// }
+
+ protected void setModule() {
+ String moduleType =3D getModuleTypeID();
+ if( component !=3D null && component.getProject() !=3D null && moduleTyp=
e !=3D null) {
+ IModule[] modules =3D ServerUtil.getModules(component.getProject());
+ for( int i =3D 0; i < modules.length; i++ ) {
+ if( modules[i].getModuleType().getId().equals(moduleType)) {
+ module =3D modules[i];
+ return;
+ }
+ }
+ }
+ module =3D null;
+ }
+ =
+ protected abstract String getModuleTypeID();
+ =
+ =
+ /* Return null to skip this child */
+ protected /* abstract */ String getChildURI(IModule parent, IModule child=
) {
+ IEnterpriseApplication app =3D (IEnterpriseApplication)parent.loadAdapte=
r(IEnterpriseApplication.class, new NullProgressMonitor());
+ if( app !=3D null ) {
+ return app.getURI(child);
+ }
+ return null;
+ }
+ =
+ protected void runNecessaryBuilders(IVirtualComponent component, IProgres=
sMonitor monitor) throws CoreException {
+ try{
+ monitor.beginTask(null, JAVA_BUILDER_WORK + LIB_BUILDER_WORK);
+ if(!component.isBinary()){
+ IProject project =3D component.getProject();
+ IProjectDescription description =3D project.getDescription();
+ ICommand javaBuilder =3D getJavaCommand(description);
+ if (javaBuilder !=3D null) {
+ project.build(IncrementalProjectBuilder.INCREMENTAL_BUILD, JavaCore.B=
UILDER_ID, javaBuilder.getArguments(), new SubProgressMonitor(monitor, JAVA=
_BUILDER_WORK));
+ }
+ ICommand libCopyBuilder =3D getLibCopyBuilder(description);
+ if (null !=3D libCopyBuilder) {
+ project.build(IncrementalProjectBuilder.INCREMENTAL_BUILD, LibCopyBui=
lder.BUILDER_ID, libCopyBuilder.getArguments(), new SubProgressMonitor(moni=
tor, LIB_BUILDER_WORK));
+ }
+ }
+ } finally {
+ monitor.done();
+ }
+ }
+
+ /**
+ * Find the specific Java command amongst the build spec of a given descr=
iption
+ */
+ protected ICommand getJavaCommand(IProjectDescription description) throws=
CoreException {
+ if (description =3D=3D null) {
+ return null;
+ }
+
+ ICommand[] commands =3D description.getBuildSpec();
+ for (int i =3D 0; i < commands.length; ++i) {
+ if (commands[i].getBuilderName().equals(JavaCore.BUILDER_ID)) {
+ return commands[i];
+ }
+ }
+ return null;
+ }
+
+ protected ICommand getLibCopyBuilder(IProjectDescription description) thr=
ows CoreException {
+ if (description =3D=3D null) {
+ return null;
+ }
+
+ ICommand[] commands =3D description.getBuildSpec();
+ for (int i =3D 0; i < commands.length; ++i) {
+ if (commands[i].getBuilderName().equals(LibCopyBuilder.BUILDER_ID)) {
+ return commands[i];
+ }
+ }
+ return null;
+
+ }
+
+ public ISchedulingRule getSchedulingRule() {
+ Set projs =3D gatherDependentProjects(getComponent(), new HashSet());
+ ISchedulingRule combinedRule =3D null;
+ IResourceRuleFactory ruleFactory =3D ResourcesPlugin.getWorkspace().getR=
uleFactory();
+ for (Iterator iter =3D projs.iterator(); iter.hasNext();) {
+ IProject proj =3D (IProject) iter.next();
+ ISchedulingRule rule =3D ruleFactory.createRule(proj);
+ combinedRule =3D MultiRule.combine(rule, combinedRule);
+ }
+ combinedRule =3D MultiRule.combine(ruleFactory.buildRule(), combinedRule=
);
+
+ return combinedRule;
+ }
+
+ /* Only used by getSchedulingRule() as of now */
+ private Set gatherDependentProjects(IVirtualComponent comp, Set projs) {
+ if (!projs.contains(comp.getProject())) {
+ projs.add(comp.getProject());
+ IVirtualReference[] refs =3D comp.getReferences();
+ for (int i =3D 0; i < refs.length; i++) {
+ IVirtualReference refComp =3D refs[i];
+ projs.addAll(gatherDependentProjects(refComp.getReferencedComponent(),=
projs));
+ }
+ }
+ return projs;
+ }
+ =
+ =
+
+ protected void export() throws SaveFailureException, CoreException, Invoc=
ationTargetException, InterruptedException {
+ if( module =3D=3D null )
+ throw new SaveFailureException(); // TODO add some real message
+ try {
+ File dest =3D getDestinationPath().toFile();
+ File parent =3D dest.getParentFile(); =
+ =
+ /* Prepare the streams */
+ if (dest.exists() && dest.isDirectory()) {
+ throw new IOException("The specified file: " + dest.getAbsolutePath() =
+ " exists and is a directory");
+ }
+ if (parent !=3D null)
+ parent.mkdirs();
+ java.io.OutputStream out =3D new java.io.FileOutputStream(dest);
+ ZipStreamModuleSaveAdapterImpl saver =3D new ZipStreamModuleSaveAdapter=
Impl(out);
+ =
+ =
+ /* =
+ * If we were to create a dual underlying model that would work for
+ * export and publish, this is where we'd do that and incorporate =
+ * preferences from the calling class
+ */
+ =
+ ModuleDelegate moduleDelegate =3D (ModuleDelegate)module.loadAdapter(Mo=
duleDelegate.class, new NullProgressMonitor());
+ addResources(saver, moduleDelegate.members());
+ addChildren(saver, module, moduleDelegate.getChildModules());
+ saver.finish();
+ } catch( Exception e ) {
+ e.printStackTrace();
+ throw new SaveFailureException();
+ }
+ }
+ =
+ protected void addChildren(ZipStreamModuleSaveAdapterImpl saver, IModule =
parent, IModule[] children ) throws IOException, ArchiveSaveFailureExceptio=
n, CoreException {
+ if( children !=3D null ) {
+ for( int i =3D 0; i < children.length; i++ ) {
+ String path =3D getChildURI(parent, children[i]);
+ ModuleDelegate childDelegate =3D (ModuleDelegate)children[i].
+ loadAdapter(ModuleDelegate.class, new NullProgressMonitor());
+ IJ2EEModule tempMod =3D (IJ2EEModule)children[i].loadAdapter(IJ2EEModu=
le.class, new NullProgressMonitor());
+ boolean isBinary =3D tempMod.isBinary();
+ if( path !=3D null ) {
+ if( isBinary ) {
+ addResources(saver, childDelegate.members());
+ } else {
+ ZipStreamModuleSaveAdapterImpl childSaver =3D saver.createNestedSave=
Adapter(path);
+ addResources(childSaver, childDelegate.members());
+ addChildren(childSaver, children[i], childDelegate.getChildModules()=
);
+ childSaver.finish();
+ }
+ }
+ }
+ }
+ }
+ =
+ protected void addResources(ZipStreamModuleSaveAdapterImpl saver, IModule=
Resource[] resources) throws ArchiveSaveFailureException {
+ for( int i =3D 0; i < resources.length; i++ ) {
+ if( resources[i] instanceof IModuleFile ) {
+ saver.save(resources[i]);
+ } else if( resources[i] instanceof IModuleFolder ) {
+ addResources(saver, ((IModuleFolder)resources[i]).members());
+ }
+ }
+ }
+ =
+
+ public static class ZipStreamModuleSaveAdapterImpl {
+ protected OutputStream destinationStream;
+ /** Used internally */
+ protected ZipOutputStream zipOutputStream;
+
+ public ZipStreamModuleSaveAdapterImpl(OutputStream out) {
+ destinationStream =3D out;
+ zipOutputStream =3D new ZipOutputStream(out);
+ }
+
+ public void close() throws IOException {
+ getDestinationStream().close();
+ }
+
+ protected ZipStreamModuleSaveAdapterImpl createNestedSaveAdapter(String =
entry) throws IOException {
+ ZipEntry nest =3D new ZipEntry(entry);
+ getZipOutputStream().putNextEntry(nest);
+ return new ZipStreamModuleSaveAdapterImpl(getZipOutputStream());
+ }
+
+ public void finish() throws IOException {
+ getZipOutputStream().finish();
+ //If this is not nested, close the stream to free up the resource
+ //otherwise, don't close it because the parent may not be done
+ if (!(getDestinationStream() instanceof ZipOutputStream))
+ getDestinationStream().close();
+ }
+
+ public java.io.OutputStream getDestinationStream() {
+ return destinationStream;
+ }
+
+ protected java.util.zip.ZipOutputStream getZipOutputStream() {
+ return zipOutputStream;
+ }
+
+ protected void save(IModuleResource resource) throws ArchiveSaveFailureE=
xception {
+ if( resource instanceof IModuleFile ) {
+ File f =3D (File)((IModuleFile)resource).getAdapter(File.class);
+ if( f =3D=3D null ) {
+ IFile ifile =3D (IFile)((IModuleFile)resource).getAdapter(IFile.class=
);
+ if( ifile !=3D null ) =
+ f =3D ifile.getLocation().toFile();
+ }
+ saveFile(f, resource.getModuleRelativePath().append(resource.getName()=
));
+ }
+ }
+ =
+ protected void saveFile(File f, IPath entryPath) throws ArchiveSaveFailu=
reException{
+ try {
+ ZipEntry entry =3D new ZipEntry(entryPath.toString());
+ if (f.lastModified() > 0)
+ entry.setTime(f.lastModified());
+ getZipOutputStream().putNextEntry(entry);
+ ArchiveUtil.copy(new FileInputStream(f), getZipOutputStream());
+ getZipOutputStream().closeEntry();
+ } catch (IOException e) {
+ throw new ArchiveSaveFailureException(e);
+ }
+ }
+ }
+ =
+}
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/META-INF/MANIFES=
T.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/META-INF/MANIFEST.MF 2=
009-09-08 15:33:00 UTC (rev 17475)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/META-INF/MANIFEST.MF 2=
009-09-08 15:53:22 UTC (rev 17476)
@@ -32,7 +32,8 @@
org.eclipse.jdt.core;bundle-version=3D"3.4.0",
org.jboss.tools.esb.project.core;bundle-version=3D"1.0.0",
org.eclipse.jdt.ui;bundle-version=3D"3.4.1",
- org.jboss.ide.eclipse.as.ui;bundle-version=3D"1.0.0"
+ org.jboss.ide.eclipse.as.ui;bundle-version=3D"1.0.0",
+ org.jboss.ide.eclipse.as.wtp.core;bundle-version=3D"1.0.0"
Eclipse-LazyStart: true
Bundle-Vendor: %Bundle-Vendor.0
Export-Package: org.jboss.tools.esb.project.ui
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/to=
ols/esb/project/ui/wizards/export/ESBComponentExportOperation.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/es=
b/project/ui/wizards/export/ESBComponentExportOperation.java 2009-09-08 15:=
33:00 UTC (rev 17475)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/es=
b/project/ui/wizards/export/ESBComponentExportOperation.java 2009-09-08 15:=
53:22 UTC (rev 17476)
@@ -11,10 +11,10 @@
package org.jboss.tools.esb.project.ui.wizards.export;
=
import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.jboss.tools.as.wst.server.ui.xpl.J2EEModuleExportOperation;
+import org.jboss.ide.eclipse.as.wtp.core.vcf.ModuleExportOperation;
import org.jboss.tools.esb.core.ESBProjectConstant;
=
-public class ESBComponentExportOperation extends J2EEModuleExportOperation=
{
+public class ESBComponentExportOperation extends ModuleExportOperation {
public ESBComponentExportOperation() {
super();
}
--===============8885244472481041679==--
From jbosstools-commits at lists.jboss.org Tue Sep 8 12:39:09 2009
Content-Type: multipart/mixed; boundary="===============0842371468592029774=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17473 -
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor.
Date: Tue, 08 Sep 2009 11:05:35 -0400
Message-ID: <200909081505.n88F5Zxn027054@svn01.web.mwc.hst.phx2.redhat.com>
--===============0842371468592029774==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: rob.stryker(a)jboss.com
Date: 2009-09-08 11:05:35 -0400 (Tue, 08 Sep 2009)
New Revision: 17473
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclip=
se/as/ui/editor/LocalDeploymentModuleTab.java
Log:
first column should not be editable
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/id=
e/eclipse/as/ui/editor/LocalDeploymentModuleTab.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/ecli=
pse/as/ui/editor/LocalDeploymentModuleTab.java 2009-09-07 16:50:20 UTC (rev=
17472)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/ecli=
pse/as/ui/editor/LocalDeploymentModuleTab.java 2009-09-08 15:05:35 UTC (rev=
17473)
@@ -578,6 +578,8 @@
=
private class LocalDeploymentCellModifier implements ICellModifier {
public boolean canModify(Object element, String property) {
+ if( property =3D=3D LOCAL_COLUMN_NAME)
+ return false;
return true;
}
=
--===============0842371468592029774==--
From jbosstools-commits at lists.jboss.org Tue Sep 8 12:39:09 2009
Content-Type: multipart/mixed; boundary="===============4534248760933198079=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17474 -
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/preferences.
Date: Tue, 08 Sep 2009 11:09:42 -0400
Message-ID: <200909081509.n88F9gCL027931@svn01.web.mwc.hst.phx2.redhat.com>
--===============4534248760933198079==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: vyemialyanchyk
Date: 2009-09-08 11:09:41 -0400 (Tue, 08 Sep 2009)
New Revision: 17474
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/con=
sole/preferences/AbstractConsoleConfigurationPreferences.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4824 - inspect and fix potential u=
nsafe code places to proper usage of w3c dom and the changes in upcoming WT=
P 3.2
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibern=
ate/console/preferences/AbstractConsoleConfigurationPreferences.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/co=
nsole/preferences/AbstractConsoleConfigurationPreferences.java 2009-09-08 1=
5:05:35 UTC (rev 17473)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/co=
nsole/preferences/AbstractConsoleConfigurationPreferences.java 2009-09-08 1=
5:09:41 UTC (rev 17474)
@@ -210,9 +210,10 @@
String[] mappings =3D new String[0];
String[] classpath =3D new String[0];
=
- cfgName =3D node.getAttribute(NAME_ATTRIB);
+ if (node.hasAttribute(NAME_ATTRIB)) {
+ cfgName =3D node.getAttribute(NAME_ATTRIB);
+ }
=
-
String attribute =3D node.getAttribute(ANNOTATIONS_ATTRIB);
if(StringHelper.isNotEmpty( attribute )) {
boolean oldAnnotationFlag =3D ((attribute !=3D null) && attribute.equal=
sIgnoreCase("true")); //$NON-NLS-1$
@@ -231,7 +232,7 @@
setProjectName( attribute );
=
attribute =3D node.getAttribute( USE_PROJECT_CLASSPATH_ATTRIB );
- setUseProjectClasspath((attribute !=3D null) && attribute.equalsIgnoreCa=
se("true")); //$NON-NLS-1$
+ setUseProjectClasspath("true".equalsIgnoreCase(attribute)); //$NON-NLS-1$
=
attribute =3D node.getAttribute(ENTITYRESOLVER_ATTRIB);
if(attribute!=3Dnull && attribute.trim().length()>0) {
@@ -240,12 +241,18 @@
=
NodeList elements =3D node.getElementsByTagName(HIBERNATE_CONFIG_XML_TAG=
);
if(elements.getLength()=3D=3D1) {
- cfgFile =3D ( (Element)elements.item(0) ).getAttribute(LOCATION_ATTRIB);
+ final Element el =3D (Element)elements.item(0);
+ if (el.hasAttribute(LOCATION_ATTRIB)) {
+ cfgFile =3D el.getAttribute(LOCATION_ATTRIB);
+ }
}
=
elements =3D node.getElementsByTagName(HIBERNATE_PROPERTIES_TAG);
if(elements.getLength()=3D=3D1) {
- propFile =3D ( (Element)elements.item(0) ).getAttribute(LOCATION_ATTRIB=
);
+ final Element el =3D (Element)elements.item(0);
+ if (el.hasAttribute(LOCATION_ATTRIB)) {
+ propFile =3D el.getAttribute(LOCATION_ATTRIB);
+ }
}
=
=
@@ -276,7 +283,8 @@
result =3D new String[maps.getLength()];
for (int j =3D 0; j < maps.getLength(); j++) {
Element child =3D (Element) maps.item(j);
- result[j] =3D child.getAttribute(LOCATION_ATTRIB);
+ result[j] =3D child.hasAttribute(LOCATION_ATTRIB) ?
+ child.getAttribute(LOCATION_ATTRIB) : null;
}
}
return result;
--===============4534248760933198079==--
From jbosstools-commits at lists.jboss.org Tue Sep 8 12:39:09 2009
Content-Type: multipart/mixed; boundary="===============6609738569671973248=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17475 - in workspace/yzhishko:
org.jboss.tools.vpe.ui.bot.test/resources/editor and 7 other directories.
Date: Tue, 08 Sep 2009 11:33:01 -0400
Message-ID: <200909081533.n88FX13v000516@svn01.web.mwc.hst.phx2.redhat.com>
--===============6609738569671973248==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: yzhishko
Date: 2009-09-08 11:33:00 -0400 (Tue, 08 Sep 2009)
New Revision: 17475
Modified:
workspace/yzhishko/org.jboss.tools.ui.bot.test/src/org/jboss/tools/ui/bo=
t/test/JBTSWTBotTestCase.java
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/editor/Bloc=
kCommentTestLinesToggle.xml
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/editor/Bloc=
kCommentTestToggle.xml
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/editor/Comm=
entTestUntoggle.xml
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/editor/Togg=
leCommentTestToggle.xml
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/editor/Veri=
ficationOfNameSpaces.xml
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/=
AddSubstitutedELExpressionHelloPage.xml
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/=
AddSubstitutedELExpressionTestPage.xml
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/=
RemoveSubstitutedELExpressionHelloPage.xml
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign/=
RemoveSubstitutedELExpressionTestPage.xml
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/preferences=
/HideBorderForUnknownTag.xml
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/preferences=
/HideResourceBundlesUsageasELExpressions.xml
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/preferences=
/ShowBorderForUnknownTag.xml
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/preferences=
/ShowResourceBundlesUsageasELExpressions.xml
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/v=
pe/ui/bot/test/VPEAutoTestCase.java
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/v=
pe/ui/bot/test/editor/BlockCommentTest.java
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/v=
pe/ui/bot/test/editor/ToggleCommentTest.java
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/v=
pe/ui/bot/test/editor/VPEEditorTestCase.java
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/v=
pe/ui/bot/test/editor/VerificationOfNameSpacesTest.java
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/v=
pe/ui/bot/test/editor/pagedesign/AddSubstitutedELExpressionFolderScopeTest.=
java
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/v=
pe/ui/bot/test/editor/pagedesign/SubstitutedELTestCase.java
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/v=
pe/ui/bot/test/editor/preferences/AlwaysHideSelectionBarWithoutPromptTest.j=
ava
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/v=
pe/ui/bot/test/editor/preferences/BorderForUnknownTagsTest.java
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/v=
pe/ui/bot/test/editor/preferences/ChangeEditorTabForTheFirstOpenPageTest.ja=
va
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/v=
pe/ui/bot/test/editor/preferences/ShowNonVisualTagsTest.java
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/v=
pe/ui/bot/test/editor/preferences/ShowResourceBundlesUsageasELexpressionsTe=
st.java
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/v=
pe/ui/bot/test/palette/CancelTagLibDefenitionTest.java
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/v=
pe/ui/bot/test/palette/ImportTagsFromTLDFileTest.java
Log:
waitForJobs() method has been replaced by waitForBlockingJobsFinished(...).=
Problem with long test running has been resolved. Tests were redesigned.
Modified: workspace/yzhishko/org.jboss.tools.ui.bot.test/src/org/jboss/tool=
s/ui/bot/test/JBTSWTBotTestCase.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- workspace/yzhishko/org.jboss.tools.ui.bot.test/src/org/jboss/tools/ui/b=
ot/test/JBTSWTBotTestCase.java 2009-09-08 15:09:41 UTC (rev 17474)
+++ workspace/yzhishko/org.jboss.tools.ui.bot.test/src/org/jboss/tools/ui/b=
ot/test/JBTSWTBotTestCase.java 2009-09-08 15:33:00 UTC (rev 17475)
@@ -13,9 +13,12 @@
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
=
public abstract class JBTSWTBotTestCase extends SWTBotTestCase implements
- ILogListener {
+ ILogListener{
=
- private Throwable exception;
+ protected static final String BUILDING_WS =3D "Building workspace";
+ protected static final String VISUAL_UPDATE =3D "Visual Editor View Updat=
e";
+ protected static final String VISUAL_REFRESH =3D "Visual Editor Refresh";
+ private volatile Throwable exception;
public static final String PATH_TO_SWT_BOT_PROPERTIES =3D "SWTBot.propert=
ies";
private static Properties SWT_BOT_PROPERTIES;
protected SWTJBTBot bot =3D new SWTJBTBot();
@@ -72,7 +75,7 @@
* @see Throwable
*/
=
- protected Throwable getException() {
+ protected synchronized Throwable getException() {
return exception;
}
=
@@ -83,7 +86,7 @@
* @see Throwable
*/
=
- protected void setException(Throwable e) {
+ protected synchronized void setException(Throwable e) {
this.exception =3D e;
}
=
@@ -199,19 +202,59 @@
// }
=
/**
- * Wait until job manager is currently idle
+ * Use delay() method instead
+ * @see #delay()
*/
- =
- protected void waitForJobs(){
+ @Deprecated =
+ protected final void waitForJobs(){
delay();
- while (!Job.getJobManager().isIdle()) {
- Job[] jobs =3D Job.getJobManager().find(null);
- for (Job job : jobs) {
- if ("Updating indexes".equals(job.getName())) {
- job.cancel();
- }
- }
- }
}
=
+ protected final void waitForBlockingJobsAcomplished(long timeOut, String.=
.. jobNames) throws InterruptedException{
+ if (jobNames =3D=3D null) {
+ delay();
+ } else {
+ boolean isProcessStarted =3D false;
+ long startTime =3D System.currentTimeMillis();
+ while (!isProcessStarted) {
+ Job[] jobs =3D Job.getJobManager().find(null);
+ for (Job job : jobs) {
+ for (String jobName : jobNames) {
+ if (jobName.equalsIgnoreCase(job.getName())) {
+ isProcessStarted =3D true;
+ }
+ }
+ }
+ long endTime =3D System.currentTimeMillis();
+ if (endTime-startTime>timeOut) {
+ throw new InterruptedException(stringArrayToString(jobNames) + "job(s=
) has never appeared or already completed");
+ }
+ }
+ while (isProcessStarted) {
+ isProcessStarted =3D false;
+ Job[] jobs =3D Job.getJobManager().find(null);
+ for (Job job : jobs) {
+ for (String jobName : jobNames) {
+ if (jobName.equalsIgnoreCase(job.getName())) {
+ delay();
+ isProcessStarted =3D true;
+ }
+ }
+ }
+ }
+ }
+ }
+ =
+ protected final void waitForBlockingJobsAcomplished(String... jobNames) t=
hrows InterruptedException{
+ waitForBlockingJobsAcomplished(5*1000L, jobNames);
+ }
+ =
+ private String stringArrayToString (String... strings){
+ StringBuffer buffer =3D new StringBuffer("");
+ for (String string : strings) {
+ buffer.append(string+", ");
+ }
+ return buffer.toString();
+ }
+ =
}
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/edit=
or/BlockCommentTestLinesToggle.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/editor/Blo=
ckCommentTestLinesToggle.xml 2009-09-08 15:09:41 UTC (rev 17474)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/editor/Blo=
ckCommentTestLinesToggle.xml 2009-09-08 15:33:00 UTC (rev 17475)
@@ -1,6 +1,12 @@
-
-
-
+
+
+
+
+
+Input User Name Page
+
+
+
@@ -30,5 +36,5 @@
-
-
\ No newline at end of file
+
+
\ No newline at end of file
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/edit=
or/BlockCommentTestToggle.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/editor/Blo=
ckCommentTestToggle.xml 2009-09-08 15:09:41 UTC (rev 17474)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/editor/Blo=
ckCommentTestToggle.xml 2009-09-08 15:33:00 UTC (rev 17475)
@@ -1,6 +1,12 @@
-
-
-
+
+
+
+
+
+Input User Name Page
+
+
+
@@ -32,5 +38,5 @@
-
-
\ No newline at end of file
+
+
\ No newline at end of file
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/edit=
or/CommentTestUntoggle.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/editor/Com=
mentTestUntoggle.xml 2009-09-08 15:09:41 UTC (rev 17474)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/editor/Com=
mentTestUntoggle.xml 2009-09-08 15:33:00 UTC (rev 17475)
@@ -1,6 +1,12 @@
-
-
-
+
+
+
+
+
+Input User Name Page
+
+
+
@@ -33,5 +39,5 @@
-
-
\ No newline at end of file
+
+
\ No newline at end of file
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/edit=
or/ToggleCommentTestToggle.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/editor/Tog=
gleCommentTestToggle.xml 2009-09-08 15:09:41 UTC (rev 17474)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/editor/Tog=
gleCommentTestToggle.xml 2009-09-08 15:33:00 UTC (rev 17475)
@@ -1,6 +1,12 @@
-
-
-
+
+
+
+
+
+Input User Name Page
+
+
+
@@ -32,5 +38,5 @@
-
-
\ No newline at end of file
+
+
\ No newline at end of file
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/edit=
or/VerificationOfNameSpaces.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/editor/Ver=
ificationOfNameSpaces.xml 2009-09-08 15:09:41 UTC (rev 17474)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/editor/Ver=
ificationOfNameSpaces.xml 2009-09-08 15:33:00 UTC (rev 17475)
@@ -1,4 +1,5 @@
+
...
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/page=
design/AddSubstitutedELExpressionHelloPage.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign=
/AddSubstitutedELExpressionHelloPage.xml 2009-09-08 15:09:41 UTC (rev 17474)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign=
/AddSubstitutedELExpressionHelloPage.xml 2009-09-08 15:33:00 UTC (rev 17475)
@@ -1,6 +1,12 @@
-
-
-
+
+
+
+
+
+Hello!
+
+
+
@@ -24,5 +30,5 @@
-
-
\ No newline at end of file
+
+
\ No newline at end of file
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/page=
design/AddSubstitutedELExpressionTestPage.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign=
/AddSubstitutedELExpressionTestPage.xml 2009-09-08 15:09:41 UTC (rev 17474)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign=
/AddSubstitutedELExpressionTestPage.xml 2009-09-08 15:33:00 UTC (rev 17475)
@@ -1,6 +1,12 @@
-
-
-
+
+
+
+
+
+Input User Name Page
+
+
+
@@ -33,5 +39,5 @@
-
-
\ No newline at end of file
+
+
\ No newline at end of file
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/page=
design/RemoveSubstitutedELExpressionHelloPage.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign=
/RemoveSubstitutedELExpressionHelloPage.xml 2009-09-08 15:09:41 UTC (rev 17=
474)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign=
/RemoveSubstitutedELExpressionHelloPage.xml 2009-09-08 15:33:00 UTC (rev 17=
475)
@@ -1,6 +1,12 @@
-
-
-
+
+
+
+
+
+Hello!
+
+
+
@@ -24,5 +30,5 @@
-
-
\ No newline at end of file
+
+
\ No newline at end of file
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/page=
design/RemoveSubstitutedELExpressionTestPage.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign=
/RemoveSubstitutedELExpressionTestPage.xml 2009-09-08 15:09:41 UTC (rev 174=
74)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/pagedesign=
/RemoveSubstitutedELExpressionTestPage.xml 2009-09-08 15:33:00 UTC (rev 174=
75)
@@ -1,6 +1,12 @@
-
-
-
+
+
+
+
+
+Input User Name Page
+
+
+
@@ -33,5 +39,5 @@
-
-
+
+
\ No newline at end of file
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/pref=
erences/HideBorderForUnknownTag.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/preference=
s/HideBorderForUnknownTag.xml 2009-09-08 15:09:41 UTC (rev 17474)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/preference=
s/HideBorderForUnknownTag.xml 2009-09-08 15:33:00 UTC (rev 17475)
@@ -1,6 +1,12 @@
-
-
-
+
+
+
+
+
+Input User Name Page
+
+
+
@@ -37,5 +43,5 @@
-
-
+
+
\ No newline at end of file
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/pref=
erences/HideResourceBundlesUsageasELExpressions.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/preference=
s/HideResourceBundlesUsageasELExpressions.xml 2009-09-08 15:09:41 UTC (rev =
17474)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/preference=
s/HideResourceBundlesUsageasELExpressions.xml 2009-09-08 15:33:00 UTC (rev =
17475)
@@ -1,6 +1,12 @@
-
-
-
+
+
+
+
+
+Input User Name Page
+
+
+
@@ -33,5 +39,5 @@
-
-
\ No newline at end of file
+
+
\ No newline at end of file
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/pref=
erences/ShowBorderForUnknownTag.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/preference=
s/ShowBorderForUnknownTag.xml 2009-09-08 15:09:41 UTC (rev 17474)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/preference=
s/ShowBorderForUnknownTag.xml 2009-09-08 15:33:00 UTC (rev 17475)
@@ -1,6 +1,12 @@
-
-
-
+
+
+
+
+
+Input User Name Page
+
+
+
@@ -37,5 +43,5 @@
-
-
\ No newline at end of file
+
+
\ No newline at end of file
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/pref=
erences/ShowResourceBundlesUsageasELExpressions.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/preference=
s/ShowResourceBundlesUsageasELExpressions.xml 2009-09-08 15:09:41 UTC (rev =
17474)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/resources/preference=
s/ShowResourceBundlesUsageasELExpressions.xml 2009-09-08 15:33:00 UTC (rev =
17475)
@@ -1,6 +1,12 @@
-
-
-
https://jira.jboss.org/jira/browse/JBDS-801 -Added the information of cu=
stom tags OpenOn supporting to Doc - VisualWebTools.
Modified: trunk/jsf/docs/userguide/en/modules/editors.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jsf/docs/userguide/en/modules/editors.xml 2009-09-09 11:18:49 UTC=
(rev 17486)
+++ trunk/jsf/docs/userguide/en/modules/editors.xml 2009-09-09 13:23:34 UTC=
(rev 17487)
@@ -142,6 +142,15 @@
+ You can use OpenOn to open custom tag libraries:
+
+ OpenOn With custom tags
+
+
+
+
+
+ For JSP files in a JSF project, you can also easily =
open the navigation rules
by applying OpenOn to the JSF tag=
for the navigation
outcome:
--===============3619922529632059815==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 09:25:12 2009
Content-Type: multipart/mixed; boundary="===============1929856616444233950=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17488 -
trunk/jsf/docs/userguide/en/images/editors_features.
Date: Wed, 09 Sep 2009 09:25:12 -0400
Message-ID: <200909091325.n89DPC1E028108@svn01.web.mwc.hst.phx2.redhat.com>
--===============1929856616444233950==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: chukhutsina
Date: 2009-09-09 09:25:12 -0400 (Wed, 09 Sep 2009)
New Revision: 17488
Added:
trunk/jsf/docs/userguide/en/images/editors_features/editors_features_7a.=
png
Log:
https://jira.jboss.org/jira/browse/JBDS-801 -Added the information of cu=
stom tags OpenOn supporting to Doc - VisualWebTools.
Added: trunk/jsf/docs/userguide/en/images/editors_features/editors_features=
_7a.png
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)
Property changes on: trunk/jsf/docs/userguide/en/images/editors_features/ed=
itors_features_7a.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
--===============1929856616444233950==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 09:46:05 2009
Content-Type: multipart/mixed; boundary="===============3253926234398580705=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17489 -
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/context.
Date: Wed, 09 Sep 2009 09:46:05 -0400
Message-ID: <200909091346.n89Dk59e000635@svn01.web.mwc.hst.phx2.redhat.com>
--===============3253926234398580705==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: scabanovich
Date: 2009-09-09 09:46:04 -0400 (Wed, 09 Sep 2009)
New Revision: 17489
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/co=
ntext/RegisterServerContext.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3506
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst=
/web/context/RegisterServerContext.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/c=
ontext/RegisterServerContext.java 2009-09-09 13:25:12 UTC (rev 17488)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/c=
ontext/RegisterServerContext.java 2009-09-09 13:46:04 UTC (rev 17489)
@@ -73,6 +73,10 @@
public void setProjectHandle(IProject p) {
project =3D p;
}
+
+ public IProject getProjectHandle() {
+ return project;
+ }
=
public void setPreferences(Preference registerProjectPreference) {
this.registerProjectPreference =3D registerProjectPreference;
--===============3253926234398580705==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 09:49:12 2009
Content-Type: multipart/mixed; boundary="===============6398592838882922579=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17490 -
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/appregister.
Date: Wed, 09 Sep 2009 09:49:12 -0400
Message-ID: <200909091349.n89DnCAR001033@svn01.web.mwc.hst.phx2.redhat.com>
--===============6398592838882922579==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: scabanovich
Date: 2009-09-09 09:49:12 -0400 (Wed, 09 Sep 2009)
New Revision: 17490
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web=
/ui/wizards/appregister/AppRegisterComponent.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3506
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/=
jst/web/ui/wizards/appregister/AppRegisterComponent.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/we=
b/ui/wizards/appregister/AppRegisterComponent.java 2009-09-09 13:46:04 UTC =
(rev 17489)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/we=
b/ui/wizards/appregister/AppRegisterComponent.java 2009-09-09 13:49:12 UTC =
(rev 17490)
@@ -31,8 +31,11 @@
import org.jboss.tools.common.model.ui.attribute.editor.IPropertyEditor;
import org.jboss.tools.common.model.ui.attribute.editor.MutableComboBoxFie=
ldEditor;
import org.jboss.tools.common.model.ui.attribute.editor.MutableMultipleCho=
iceFieldEditor;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.runtime.CoreException;
import org.eclipse.jface.window.Window;
import org.eclipse.jface.wizard.WizardDialog;
+import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
=
=
import org.jboss.tools.common.meta.action.SpecialWizard;
@@ -42,6 +45,7 @@
import org.jboss.tools.common.model.XModelObject;
import org.jboss.tools.common.model.options.PreferenceModelUtilities;
import org.jboss.tools.common.model.util.XModelObjectUtil;
+import org.jboss.tools.jst.web.WebModelPlugin;
import org.jboss.tools.jst.web.context.RegisterServerContext;
import org.jboss.tools.jst.web.server.*;
import org.jboss.tools.jst.web.ui.Messages;
@@ -220,6 +224,15 @@
ns[i] =3D rs[i].getName();
if(rs[i] =3D=3D selectedRuntime || selectedRuntime1 =3D=3D null) select=
edRuntime1 =3D rs[i];
}
+ IProject p =3D context.getProjectHandle();
+ if(p !=3D null && p.exists() && p.isAccessible()) {
+ try {
+ IRuntime sr =3D J2EEProjectUtilities.getServerRuntime(p);
+ if(sr !=3D null) selectedRuntime1 =3D sr;
+ } catch (CoreException exc) {
+ WebModelPlugin.getPluginLog().logError(exc);
+ }
+ }
HUtil.hackAttributeConstraintList(new XEntityData[]{support.getEntityDat=
a()}, 0, ATTR_RUNTIME, ns);
String runtimeName =3D (selectedRuntime1 !=3D null) ? selectedRuntime1.g=
etName() : ""; //$NON-NLS-1$
context.setRuntimeName(runtimeName);
--===============6398592838882922579==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 11:02:58 2009
Content-Type: multipart/mixed; boundary="===============4941023846833275544=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17491 -
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util.
Date: Wed, 09 Sep 2009 11:02:58 -0400
Message-ID: <200909091502.n89F2wgo014154@svn01.web.mwc.hst.phx2.redhat.com>
--===============4941023846833275544==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: scabanovich
Date: 2009-09-09 11:02:58 -0400 (Wed, 09 Sep 2009)
New Revision: 17491
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/co=
mmon/model/util/ClassLoaderUtil.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4802
Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/t=
ools/common/model/util/ClassLoaderUtil.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/c=
ommon/model/util/ClassLoaderUtil.java 2009-09-09 13:49:12 UTC (rev 17490)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/c=
ommon/model/util/ClassLoaderUtil.java 2009-09-09 15:02:58 UTC (rev 17491)
@@ -32,7 +32,7 @@
private static String[][] activation =3D {
{"org.jboss.tools.jst.web.ui", "org.jboss.tools.jst.web.ui.WebUiPlugin",=
"required"}, //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
{"org.jboss.tools.jst.web", "org.jboss.tools.jst.web.WebModelPlugin", "r=
equired"}, //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- {"org.jboss.tools.jsf.ui", "org.jboss.tools.jsf.ui.JsfUiPlugin", "requir=
ed"}, //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ {"org.jboss.tools.jsf.ui", "org.jboss.tools.jsf.ui.JsfUiPlugin", "option=
al"}, //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
{"org.jboss.tools.struts.ui", "org.jboss.tools.struts.ui.StrutsUIPlugin"=
, "optional"}, //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
{"org.jboss.tools.common.verification.ui", "org.jboss.tools.common.verif=
ication.ui.XStudioVerificationPlugin", "optional"}, //$NON-NLS-1$ //$NON-NL=
S-2$ //$NON-NLS-3$
};
--===============4941023846833275544==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 11:05:52 2009
Content-Type: multipart/mixed; boundary="===============1368460409350759909=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17492 -
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util.
Date: Wed, 09 Sep 2009 11:05:52 -0400
Message-ID: <200909091505.n89F5qeE014691@svn01.web.mwc.hst.phx2.redhat.com>
--===============1368460409350759909==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: scabanovich
Date: 2009-09-09 11:05:52 -0400 (Wed, 09 Sep 2009)
New Revision: 17492
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/co=
mmon/model/util/ClassLoaderUtil.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4802
Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/t=
ools/common/model/util/ClassLoaderUtil.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/c=
ommon/model/util/ClassLoaderUtil.java 2009-09-09 15:02:58 UTC (rev 17491)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/c=
ommon/model/util/ClassLoaderUtil.java 2009-09-09 15:05:52 UTC (rev 17492)
@@ -30,8 +30,8 @@
}
=
private static String[][] activation =3D {
- {"org.jboss.tools.jst.web.ui", "org.jboss.tools.jst.web.ui.WebUiPlugin",=
"required"}, //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- {"org.jboss.tools.jst.web", "org.jboss.tools.jst.web.WebModelPlugin", "r=
equired"}, //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ {"org.jboss.tools.jst.web.ui", "org.jboss.tools.jst.web.ui.WebUiPlugin",=
"optional"}, //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ {"org.jboss.tools.jst.web", "org.jboss.tools.jst.web.WebModelPlugin", "o=
ptional"}, //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
{"org.jboss.tools.jsf.ui", "org.jboss.tools.jsf.ui.JsfUiPlugin", "option=
al"}, //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
{"org.jboss.tools.struts.ui", "org.jboss.tools.struts.ui.StrutsUIPlugin"=
, "optional"}, //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
{"org.jboss.tools.common.verification.ui", "org.jboss.tools.common.verif=
ication.ui.XStudioVerificationPlugin", "optional"}, //$NON-NLS-1$ //$NON-NL=
S-2$ //$NON-NLS-3$
--===============1368460409350759909==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 12:01:21 2009
Content-Type: multipart/mixed; boundary="===============2117599237351618710=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17493 - in
trunk/seam/plugins/org.jboss.tools.seam.core:
src/org/jboss/tools/seam/internal/core/refactoring and 1 other directory.
Date: Wed, 09 Sep 2009 12:01:21 -0400
Message-ID: <200909091601.n89G1LwG023194@svn01.web.mwc.hst.phx2.redhat.com>
--===============2117599237351618710==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dazarov
Date: 2009-09-09 12:01:21 -0400 (Wed, 09 Sep 2009)
New Revision: 17493
Added:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/in=
ternal/core/refactoring/SeamRenameMethodParticipant.java
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-4856
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2009-09-09 15:0=
5:52 UTC (rev 17492)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2009-09-09 16:0=
1:21 UTC (rev 17493)
@@ -517,6 +517,21 @@
+
+
+
+
+
+
+
+
+
+
=
Added: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/sea=
m/internal/core/refactoring/SeamRenameMethodParticipant.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/i=
nternal/core/refactoring/SeamRenameMethodParticipant.java =
(rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/i=
nternal/core/refactoring/SeamRenameMethodParticipant.java 2009-09-09 16:01:=
21 UTC (rev 17493)
@@ -0,0 +1,75 @@
+/*************************************************************************=
******
+ * Copyright (c) 2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ************************************************************************=
******/
+package org.jboss.tools.seam.internal.core.refactoring;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.OperationCanceledException;
+import org.eclipse.jdt.core.IMethod;
+import org.eclipse.ltk.core.refactoring.Change;
+import org.eclipse.ltk.core.refactoring.RefactoringStatus;
+import org.eclipse.ltk.core.refactoring.participants.CheckConditionsContex=
t;
+import org.eclipse.ltk.core.refactoring.participants.RenameParticipant;
+
+public class SeamRenameMethodParticipant extends RenameParticipant{
+ private IMethod method;
+ private String oldName;
+ private String newName;
+ private SeamRenameMethodSearcher searcher;
+ =
+ =
+ @Override
+ public RefactoringStatus checkConditions(IProgressMonitor pm,
+ CheckConditionsContext context) throws OperationCanceledException {
+ return null;
+ }
+
+ @Override
+ public Change createChange(IProgressMonitor pm) throws CoreException,
+ OperationCanceledException {
+ return null;
+ }
+
+ @Override
+ public String getName() {
+ return oldName;
+ }
+
+ @Override
+ protected boolean initialize(Object element) {
+ if(element instanceof IMethod){
+ method =3D (IMethod)element;
+ oldName =3D method.getElementName();
+ newName =3D getArguments().getNewName();
+ =
+ searcher =3D new SeamRenameMethodSearcher((IFile)method.getResource(), =
oldName);
+ return true;
+ }
+ return false;
+ }
+ =
+ class SeamRenameMethodSearcher extends SeamRefactorSearcher{
+ public SeamRenameMethodSearcher(IFile file, String name){
+ super(file, name);
+ }
+
+ @Override
+ protected boolean isFileCorrect(IFile file) {
+ return false;
+ }
+
+ @Override
+ protected void match(IFile file, int offset, int length) {
+ }
+ }
+
+}
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/j=
boss/tools/seam/internal/core/refactoring/SeamRenameMethodParticipant.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
--===============2117599237351618710==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 12:09:15 2009
Content-Type: multipart/mixed; boundary="===============4083736436929965738=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17494 - in
trunk/jst/plugins/org.jboss.tools.jst.css: META-INF and 4 other directories.
Date: Wed, 09 Sep 2009 12:09:15 -0400
Message-ID: <200909091609.n89G9F1T024248@svn01.web.mwc.hst.phx2.redhat.com>
--===============4083736436929965738==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: sdzmitrovich
Date: 2009-09-09 12:09:14 -0400 (Wed, 09 Sep 2009)
New Revision: 17494
Added:
trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/co=
mmon/
trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/co=
mmon/CSSSelectionListener.java
trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/co=
mmon/CSSStyleManager.java
trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/co=
mmon/CSSStyleRuleContainer.java
trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/co=
mmon/StyleAttribyteContainer.java
trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/co=
mmon/StyleContainer.java
Removed:
trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/vi=
ew/CSSViewUtil.java
Modified:
trunk/jst/plugins/org.jboss.tools.jst.css/META-INF/MANIFEST.MF
trunk/jst/plugins/org.jboss.tools.jst.css/plugin.xml
trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/Cs=
sPlugin.java
trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/pr=
operties/CSSPropertyPage.java
trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/vi=
ew/CSSEditorView.java
trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/vi=
ew/CSSPreview.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4850
Modified: trunk/jst/plugins/org.jboss.tools.jst.css/META-INF/MANIFEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.css/META-INF/MANIFEST.MF 2009-09-=
09 16:01:21 UTC (rev 17493)
+++ trunk/jst/plugins/org.jboss.tools.jst.css/META-INF/MANIFEST.MF 2009-09-=
09 16:09:14 UTC (rev 17494)
@@ -12,7 +12,10 @@
org.eclipse.core.databinding,
org.eclipse.wst.css.core,
org.eclipse.jdt.ui,
- org.eclipse.debug.ui
+ org.eclipse.debug.ui,
+ org.eclipse.wst.sse.core,
+ org.eclipse.jface.text,
+ org.eclipse.wst.xml.core
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ActivationPolicy: lazy
Export-Package: org.jboss.tools.jst.css,
Modified: trunk/jst/plugins/org.jboss.tools.jst.css/plugin.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.css/plugin.xml 2009-09-09 16:01:2=
1 UTC (rev 17493)
+++ trunk/jst/plugins/org.jboss.tools.jst.css/plugin.xml 2009-09-09 16:09:1=
4 UTC (rev 17494)
@@ -3,7 +3,7 @@
+ >
@@ -35,58 +35,58 @@
+ type=3D"org.jboss.tools.jst.css.common.StyleContainer">
+ type=3D"org.jboss.tools.jst.css.common.StyleContainer">
+ type=3D"org.jboss.tools.jst.css.common.StyleContainer">
+ type=3D"org.jboss.tools.jst.css.common.StyleContainer">
+ type=3D"org.jboss.tools.jst.css.common.StyleContainer">
+ type=3D"org.jboss.tools.jst.css.common.StyleContainer">
+ type=3D"org.jboss.tools.jst.css.common.StyleContainer">
+ type=3D"org.jboss.tools.jst.css.common.StyleContainer">
+ type=3D"org.jboss.tools.jst.css.common.StyleContainer">
Modified: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst=
/css/CssPlugin.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/C=
ssPlugin.java 2009-09-09 16:01:21 UTC (rev 17493)
+++ trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/C=
ssPlugin.java 2009-09-09 16:09:14 UTC (rev 17494)
@@ -11,6 +11,8 @@
=
package org.jboss.tools.jst.css;
=
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
@@ -25,7 +27,7 @@
=
// The shared instance
private static CssPlugin plugin;
- =
+
/**
* The constructor
*/
@@ -34,7 +36,10 @@
=
/*
* (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.B=
undleContext)
+ * =
+ * @see
+ * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.Bundle=
Context
+ * )
*/
public void start(BundleContext context) throws Exception {
super.start(context);
@@ -43,7 +48,10 @@
=
/*
* (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.Bu=
ndleContext)
+ * =
+ * @see
+ * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleC=
ontext
+ * )
*/
public void stop(BundleContext context) throws Exception {
plugin =3D null;
@@ -52,7 +60,7 @@
=
/**
* Returns the shared instance
- *
+ * =
* @return the shared instance
*/
public static CssPlugin getDefault() {
@@ -60,13 +68,22 @@
}
=
/**
- * Returns an image descriptor for the image file at the given
- * plug-in relative path
- *
- * @param path the path
+ * Returns an image descriptor for the image file at the given plug-in
+ * relative path
+ * =
+ * @param path
+ * the path
* @return the image descriptor
*/
public static ImageDescriptor getImageDescriptor(String path) {
return imageDescriptorFromPlugin(PLUGIN_ID, path);
}
+
+ /**
+ * =
+ * @param message
+ */
+ public static void log(String message) {
+ getDefault().getLog().log(new Status(IStatus.ERROR, message, null));
+ }
}
Added: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/cs=
s/common/CSSSelectionListener.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/c=
ommon/CSSSelectionListener.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/c=
ommon/CSSSelectionListener.java 2009-09-09 16:09:14 UTC (rev 17494)
@@ -0,0 +1,100 @@
+/*************************************************************************=
******
+ * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ *************************************************************************=
*****/
+
+package org.jboss.tools.jst.css.common;
+
+import org.eclipse.core.runtime.ListenerList;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.ui.INullSelectionListener;
+import org.eclipse.ui.ISelectionListener;
+import org.eclipse.ui.IWorkbenchPart;
+import org.eclipse.ui.PlatformUI;
+import org.jboss.tools.jst.css.CssPlugin;
+
+public class CSSSelectionListener implements ISelectionListener {
+
+ private static CSSSelectionListener instance;
+
+ private ListenerList listeners =3D new ListenerList();
+
+ CSSStyleManager styleManager =3D new CSSStyleManager();
+
+ private CSSSelectionListener() {
+ }
+
+ public synchronized static CSSSelectionListener getInstance() {
+
+ if (instance =3D=3D null) {
+ instance =3D new CSSSelectionListener();
+ }
+ return instance;
+ }
+
+ public void addSelectionListener(ISelectionListener listener) {
+
+ // if added the first listener start listing
+ if (listeners.size() =3D=3D 0)
+ startListening();
+
+ listeners.add(listener);
+ }
+
+ public void removeSelectionListener(ISelectionListener listener) {
+ listeners.remove(listener);
+
+ // if removed last listener start listing
+ if (listeners.size() =3D=3D 0)
+ stopListening();
+ }
+
+ private void startListening() {
+ PlatformUI.getWorkbench().getActiveWorkbenchWindow()
+ .getSelectionService().addPostSelectionListener(this);
+
+ }
+
+ private void stopListening() {
+ PlatformUI.getWorkbench().getActiveWorkbenchWindow()
+ .getSelectionService().removePostSelectionListener(this);
+
+ }
+
+ public void selectionChanged(IWorkbenchPart part, ISelection selection) {
+
+ StyleContainer styleContainer =3D styleManager
+ .recognizeCSSStyle(selection);
+
+ ISelection selectionToLiteners =3D null;
+
+ if (styleContainer !=3D null) {
+ selectionToLiteners =3D new StructuredSelection(styleContainer);
+ } else {
+ selectionToLiteners =3D StructuredSelection.EMPTY;
+ }
+
+ Object[] array =3D listeners.getListeners();
+ for (int i =3D 0; i < array.length; i++) {
+ final ISelectionListener l =3D (ISelectionListener) array[i];
+ if ((part !=3D null && selection !=3D null)
+ || l instanceof INullSelectionListener) {
+
+ try {
+ l.selectionChanged(part, selectionToLiteners);
+ } catch (Exception e) {
+ CssPlugin.log(e.getLocalizedMessage());
+ }
+ }
+
+ }
+
+ }
+}
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jbos=
s/tools/jst/css/common/CSSSelectionListener.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/cs=
s/common/CSSStyleManager.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/c=
ommon/CSSStyleManager.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/c=
ommon/CSSStyleManager.java 2009-09-09 16:09:14 UTC (rev 17494)
@@ -0,0 +1,218 @@
+/*************************************************************************=
******
+ * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ *************************************************************************=
*****/
+package org.jboss.tools.jst.css.common;
+
+import org.eclipse.jface.text.ITextSelection;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.wst.css.core.internal.provisional.adapters.IStyleSheetA=
dapter;
+import org.eclipse.wst.css.core.internal.provisional.document.ICSSDocument;
+import org.eclipse.wst.css.core.internal.provisional.document.ICSSModel;
+import org.eclipse.wst.css.core.internal.provisional.document.ICSSNode;
+import org.eclipse.wst.sse.core.internal.provisional.INodeNotifier;
+import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
+import org.eclipse.wst.xml.core.internal.contentmodel.CMAttributeDeclarati=
on;
+import org.eclipse.wst.xml.core.internal.contentmodel.CMElementDeclaration;
+import org.eclipse.wst.xml.core.internal.contentmodel.CMNamedNodeMap;
+import org.eclipse.wst.xml.core.internal.contentmodel.modelquery.ModelQuer=
y;
+import org.eclipse.wst.xml.core.internal.modelquery.ModelQueryUtil;
+import org.eclipse.wst.xml.core.internal.provisional.document.IDOMAttr;
+import org.eclipse.wst.xml.core.internal.provisional.document.IDOMElement;
+import org.w3c.dom.Attr;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.Text;
+import org.w3c.dom.css.CSSStyleRule;
+import org.w3c.dom.css.CSSStyleSheet;
+import org.w3c.dom.css.ElementCSSInlineStyle;
+
+/**
+ * @author Sergey Dzmitrovich
+ * =
+ */
+public class CSSStyleManager {
+
+ public static final String STYLE_TAG_NAME =3D "style"; //$NON-NLS-1$
+
+ public static final String STYLE_ATTRIBUTE_NAME =3D "style"; //$NON-NLS-1$
+
+ /**
+ * =
+ * @param selection
+ * @return
+ */
+ public StyleContainer recognizeCSSStyle(ISelection selection) {
+
+ StyleContainer container =3D null;
+ if (selection instanceof IStructuredSelection) {
+
+ Object selectedObject =3D ((IStructuredSelection) selection)
+ .getFirstElement();
+
+ // if selected object is node in css file
+ if (selectedObject instanceof ICSSNode) {
+
+ CSSStyleRule styleRule =3D getStyleRule((ICSSNode) selectedObject);
+
+ if (styleRule !=3D null)
+ container =3D new CSSStyleRuleContainer(styleRule);
+
+ } else if ((selectedObject instanceof IDOMElement)
+ || (selectedObject instanceof IDOMAttr)) {
+
+ Element selectedElement =3D null;
+
+ if (selectedObject instanceof Attr)
+ selectedElement =3D ((Attr) selectedObject).getOwnerElement();
+ else
+ selectedElement =3D (Element) selectedObject;
+
+ if (isSuitableElement(selectedElement)) {
+
+ container =3D new StyleAttribyteContainer(selectedElement);
+
+ }
+ } else if (selectedObject instanceof Text) {
+
+ Text styleText =3D (Text) selectedObject;
+
+ Node parentNode =3D styleText.getParentNode();
+
+ if ((parentNode !=3D null)
+ && STYLE_TAG_NAME.equalsIgnoreCase(parentNode
+ .getNodeName())) {
+
+ int offset =3D getRelationalOffset(styleText,
+ ((ITextSelection) selection).getOffset());
+
+ CSSStyleSheet sheet =3D getSheet(parentNode);
+
+ ICSSNode node =3D getNode(sheet, offset);
+
+ CSSStyleRule styleRule =3D getStyleRule(node);
+
+ if (styleRule !=3D null) {
+ container =3D new CSSStyleRuleContainer(styleRule);
+ }
+ }
+ }
+ }
+ return container;
+ }
+
+ /**
+ * =
+ * @param styleContainer
+ * @return
+ */
+ private CSSStyleSheet getSheet(Node styleContainer) {
+
+ if (styleContainer instanceof INodeNotifier) {
+
+ INodeNotifier notifier =3D (INodeNotifier) styleContainer;
+
+ IStyleSheetAdapter adapter =3D (IStyleSheetAdapter) notifier
+ .getAdapterFor(IStyleSheetAdapter.class);
+
+ if (adapter !=3D null) {
+
+ return (CSSStyleSheet) adapter.getSheet();
+ }
+
+ }
+ return null;
+ }
+
+ /**
+ * =
+ * @param sheet
+ * @param offset
+ * @return
+ */
+ private ICSSNode getNode(CSSStyleSheet sheet, int offset) {
+
+ ICSSModel model =3D ((ICSSDocument) sheet).getModel();
+
+ if (model !=3D null)
+
+ return (ICSSNode) model.getIndexedRegion(offset);
+
+ return null;
+
+ }
+
+ /**
+ * =
+ * @param element
+ * @return
+ */
+ private boolean isSuitableElement(Element element) {
+
+ if (element instanceof ElementCSSInlineStyle
+ && isAttributeAvailable(element, STYLE_TAG_NAME)) {
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * =
+ * @param node
+ * @return
+ */
+ private CSSStyleRule getStyleRule(ICSSNode node) {
+
+ while (node !=3D null) {
+
+ if (node instanceof CSSStyleRule)
+ return (CSSStyleRule) node;
+
+ node =3D node.getParentNode();
+ }
+
+ return null;
+ }
+
+ /**
+ * =
+ * @param selection
+ * @param styleText
+ * @return
+ */
+ private int getRelationalOffset(Node basicNode, int absoluteOffset) {
+
+ return absoluteOffset - ((IndexedRegion) basicNode).getStartOffset();
+ }
+
+ =
+ /**
+ * @param element
+ * @param attrName
+ * @return
+ */
+ private static boolean isAttributeAvailable(Element element, String attrN=
ame) {
+ ModelQuery modelQuery =3D ModelQueryUtil.getModelQuery(element
+ .getOwnerDocument());
+ if (modelQuery !=3D null) {
+ CMElementDeclaration decl =3D modelQuery
+ .getCMElementDeclaration(element);
+ if (decl !=3D null) {
+ CMNamedNodeMap map =3D decl.getAttributes();
+ if ((CMAttributeDeclaration) map.getNamedItem(attrName) !=3D null) {
+ return true;
+ }
+ }
+ }
+
+ return false;
+ }
+}
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jbos=
s/tools/jst/css/common/CSSStyleManager.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/cs=
s/common/CSSStyleRuleContainer.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/c=
ommon/CSSStyleRuleContainer.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/c=
ommon/CSSStyleRuleContainer.java 2009-09-09 16:09:14 UTC (rev 17494)
@@ -0,0 +1,74 @@
+/*************************************************************************=
******
+ * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ *************************************************************************=
*****/
+package org.jboss.tools.jst.css.common;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.jboss.tools.jst.jsp.outline.cssdialog.common.Constants;
+import org.w3c.dom.css.CSSStyleDeclaration;
+import org.w3c.dom.css.CSSStyleRule;
+
+/**
+ * @author Sergey Dzmitrovich
+ * =
+ */
+public class CSSStyleRuleContainer extends StyleContainer {
+
+ private CSSStyleRule styleRule;
+
+ public CSSStyleRuleContainer(CSSStyleRule styleRule) {
+ this.styleRule =3D styleRule;
+ }
+
+ public void applyStyleAttributes(Map attributes) {
+
+ final CSSStyleDeclaration declaration =3D styleRule.getStyle();
+
+ // set properties
+
+ if (attributes !=3D null) {
+
+ if ((attributes.size() =3D=3D 0) && (declaration.getLength() > 0)) {
+ declaration.setCssText(Constants.EMPTY);
+ } else {
+ for (final Map.Entry me : attributes.entrySet()) {
+ if ((me.getValue() =3D=3D null)
+ || (me.getValue().length() =3D=3D 0)) {
+ declaration.removeProperty(me.getKey());
+ } else {
+ declaration.setProperty(me.getKey(), me.getValue(),
+ Constants.EMPTY);
+ }
+ }
+
+ }
+ }
+
+ }
+
+ public Map getStyleAttributes() {
+ CSSStyleDeclaration declaration =3D styleRule.getStyle();
+ Map styleMap =3D new HashMap();
+ for (int i =3D 0; i < declaration.getLength(); i++) {
+ String propperty =3D declaration.item(i);
+ String value =3D declaration.getPropertyValue(propperty);
+ styleMap.put(propperty, value);
+ }
+
+ return styleMap;
+ }
+
+ public Object getStyleObject() {
+ return styleRule;
+ }
+
+}
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jbos=
s/tools/jst/css/common/CSSStyleRuleContainer.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/cs=
s/common/StyleAttribyteContainer.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/c=
ommon/StyleAttribyteContainer.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/c=
ommon/StyleAttribyteContainer.java 2009-09-09 16:09:14 UTC (rev 17494)
@@ -0,0 +1,79 @@
+/*************************************************************************=
******
+ * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ *************************************************************************=
*****/
+package org.jboss.tools.jst.css.common;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.jboss.tools.jst.jsp.outline.cssdialog.common.CSSConstants;
+import org.jboss.tools.jst.jsp.outline.cssdialog.common.Constants;
+import org.jboss.tools.jst.jsp.outline.cssdialog.common.Util;
+import org.w3c.dom.Element;
+
+/**
+ * @author Sergey Dzmitrovich
+ * =
+ */
+public class StyleAttribyteContainer extends StyleContainer {
+
+ public static final String STYLE_ATTRIBUTE_NAME =3D "style"; //$NON-NLS-1$
+
+ private Element element;
+
+ public StyleAttribyteContainer(Element element) {
+ this.element =3D element;
+ }
+
+ public void applyStyleAttributes(Map attributes) {
+
+ StringBuffer buf =3D new StringBuffer();
+ for (Map.Entry me : attributes.entrySet()) {
+
+ if ((me.getValue() !=3D null) && (me.getValue().length() !=3D 0))
+ buf.append(me.getKey() + Constants.COLON + me.getValue()
+ + Constants.SEMICOLON);
+ }
+
+ element.setAttribute(STYLE_ATTRIBUTE_NAME, buf.toString());
+
+ }
+
+ public Map getStyleAttributes() {
+
+ String styleString =3D element.getAttribute(STYLE_ATTRIBUTE_NAME);
+
+ Map styleMap =3D new HashMap();
+
+ if ((styleString !=3D null) && (styleString.length() > 0)) {
+
+ String[] styles =3D styleString.split(Constants.SEMICOLON);
+ for (String styleElement : styles) {
+ String[] styleElementParts =3D styleElement.trim().split(
+ Constants.COLON);
+ if ((styleElementParts !=3D null)
+ && (styleElementParts.length =3D=3D 2)
+ && Util.searchInElement(styleElementParts[0],
+ CSSConstants.CSS_STYLES_MAP)) {
+
+ styleMap.put(styleElementParts[0], styleElementParts[1]);
+ }
+ }
+
+ }
+
+ return styleMap;
+ }
+
+ public Object getStyleObject() {
+ return element;
+ }
+
+}
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jbos=
s/tools/jst/css/common/StyleAttribyteContainer.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/cs=
s/common/StyleContainer.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/c=
ommon/StyleContainer.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/c=
ommon/StyleContainer.java 2009-09-09 16:09:14 UTC (rev 17494)
@@ -0,0 +1,33 @@
+/*************************************************************************=
******
+ * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ *************************************************************************=
*****/
+package org.jboss.tools.jst.css.common;
+
+import java.util.Map;
+
+/**
+ * @author Sergey Dzmitrovich
+ * =
+ */
+public abstract class StyleContainer {
+
+ public abstract Map getStyleAttributes();
+
+ public abstract void applyStyleAttributes(Map attributes);
+
+ public abstract Object getStyleObject();
+
+ public boolean equals(Object obj) {
+ if (obj instanceof StyleContainer)
+ obj =3D ((StyleContainer) obj).getStyleObject();
+ return getStyleObject().equals(obj);
+ }
+
+}
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jbos=
s/tools/jst/css/common/StyleContainer.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Modified: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst=
/css/properties/CSSPropertyPage.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/p=
roperties/CSSPropertyPage.java 2009-09-09 16:01:21 UTC (rev 17493)
+++ trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/p=
roperties/CSSPropertyPage.java 2009-09-09 16:09:14 UTC (rev 17494)
@@ -12,8 +12,6 @@
package org.jboss.tools.jst.css.properties;
=
import java.util.Map;
-import java.util.Set;
-import java.util.Map.Entry;
=
import org.eclipse.core.databinding.DataBindingContext;
import org.eclipse.core.databinding.observable.ChangeEvent;
@@ -29,13 +27,10 @@
import org.eclipse.ui.part.IPageSite;
import org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageCont=
ributor;
import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage;
-import org.eclipse.wst.css.core.internal.provisional.document.ICSSNode;
+import org.jboss.tools.jst.css.common.CSSSelectionListener;
+import org.jboss.tools.jst.css.common.StyleContainer;
import org.jboss.tools.jst.css.view.CSSEditorView;
-import org.jboss.tools.jst.css.view.CSSViewUtil;
-import org.jboss.tools.jst.jsp.outline.cssdialog.common.Constants;
import org.jboss.tools.jst.jsp.outline.cssdialog.common.StyleAttributes;
-import org.w3c.dom.css.CSSStyleDeclaration;
-import org.w3c.dom.css.CSSStyleRule;
=
/**
* @author Sergey Dzmitrovich
@@ -67,9 +62,9 @@
@Override
public void init(IPageSite pageSite) {
super.init(pageSite);
- pageSite.getWorkbenchWindow().getSelectionService()
- .addPostSelectionListener(this);
=
+ CSSSelectionListener.getInstance().addSelectionListener(this);
+
// FIXED FOR JBIDE-4791
pageSite.setSelectionProvider(new ISelectionProvider() {
=
@@ -81,8 +76,7 @@
}
=
public ISelection getSelection() {
- return selectedObject !=3D null ? new StructuredSelection(
- selectedObject) : StructuredSelection.EMPTY;
+ return getCurrentSelection();
}
=
public void addSelectionChangedListener(
@@ -93,8 +87,7 @@
=
@Override
public void dispose() {
- getSite().getWorkbenchWindow().getSelectionService()
- .removePostSelectionListener(this);
+ CSSSelectionListener.getInstance().removeSelectionListener(this);
super.dispose();
}
=
@@ -104,24 +97,15 @@
if ((this.part !=3D part) && (selection instanceof IStructuredSelection)=
) {
IStructuredSelection structuredSelection =3D (IStructuredSelection) sel=
ection;
Object newSelectedObject =3D structuredSelection.getFirstElement();
- if (structuredSelection.getFirstElement() instanceof ICSSNode) {
+ if (structuredSelection.getFirstElement() instanceof StyleContainer) {
=
- CSSStyleRule styleRule =3D CSSViewUtil
- .getStyleRule((ICSSNode) structuredSelection
- .getFirstElement());
+ updateStyleAttributes(((StyleContainer) newSelectedObject)
+ .getStyleAttributes());
=
- if (styleRule !=3D null) {
- ((IObservable) styleAttributes.getAttributeMap())
- .removeChangeListener(this);
- updateStyleAttributes(styleRule);
- ((IObservable) styleAttributes.getAttributeMap())
- .addChangeListener(this);
- newSelectedObject =3D styleRule;
- }
-
}
=
- if (selectedObject !=3D newSelectedObject)
+ if ((selectedObject =3D=3D null)
+ || (!selectedObject.equals(newSelectedObject)))
super.selectionChanged(part, selection);
selectedObject =3D newSelectedObject;
=
@@ -129,43 +113,30 @@
=
}
=
- private void updateStyleAttributes(CSSStyleRule styleRule) {
+ private void updateStyleAttributes(Map attributes) {
=
- getStyleAttributes().setStyleProperties(
- CSSViewUtil.getStyleAttributes(styleRule));
+ ((IObservable) getStyleAttributes().getAttributeMap())
+ .removeChangeListener(this);
+ getStyleAttributes().setStyleProperties(attributes);
+ ((IObservable) getStyleAttributes().getAttributeMap())
+ .addChangeListener(this);
=
}
=
public void handleChange(ChangeEvent event) {
=
- if (selectedObject instanceof CSSStyleRule) {
+ if (selectedObject instanceof StyleContainer) {
=
- final CSSStyleDeclaration declaration =3D ((CSSStyleRule) selectedObjec=
t)
- .getStyle();
-
- // set properties
- final Set> set =3D styleAttributes.entrySet();
-
- if ((set.size() =3D=3D 0) && (declaration.getLength() > 0)) {
- declaration.setCssText(Constants.EMPTY);
- } else {
- for (final Map.Entry me : set) {
- if ((me.getValue() =3D=3D null)
- || (me.getValue().length() =3D=3D 0)) {
- declaration.removeProperty(me.getKey());
- } else {
- declaration.setProperty(me.getKey(), me.getValue(),
- Constants.EMPTY);
- }
- }
- }
+ ((StyleContainer) selectedObject)
+ .applyStyleAttributes(getStyleAttributes()
+ .getAttributeMap());
}
=
- notifySelectionChanged(new StructuredSelection(selectedObject));
+ notifySelectionChanged(getCurrentSelection());
=
}
=
- protected void notifySelectionChanged(StructuredSelection selection) {
+ protected void notifySelectionChanged(ISelection selection) {
part.postSelectionChanged(new SelectionChangedEvent(part
.getSelectionProvider(), selection));
}
@@ -182,4 +153,14 @@
return styleAttributes;
}
=
+ public ISelection getCurrentSelection() {
+
+ Object currentSelectedObject =3D selectedObject;
+ if (selectedObject instanceof StyleContainer)
+ currentSelectedObject =3D ((StyleContainer) selectedObject)
+ .getStyleObject();
+ return currentSelectedObject !=3D null ? new StructuredSelection(
+ currentSelectedObject) : StructuredSelection.EMPTY;
+
+ }
}
Modified: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst=
/css/view/CSSEditorView.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/v=
iew/CSSEditorView.java 2009-09-09 16:01:21 UTC (rev 17493)
+++ trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/v=
iew/CSSEditorView.java 2009-09-09 16:09:14 UTC (rev 17494)
@@ -11,6 +11,7 @@
=
package org.jboss.tools.jst.css.view;
=
+import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.SelectionChangedEvent;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.part.IContributedContentsView;
@@ -29,6 +30,11 @@
static public String CONTRIBUTOR_ID =3D "org.eclipse.wst.css.core.csssour=
ce.source"; //$NON-NLS-1$
=
@Override
+ public void selectionChanged(IWorkbenchPart part, ISelection sel) {
+ // do nothing
+ }
+
+ @Override
protected PageRec doCreatePage(final IWorkbenchPart part) {
if (part instanceof PropertySheet) {
return null;
@@ -55,7 +61,8 @@
public SelectionProvider getSelectionProvider() {
return super.getSelectionProvider();
}
- public void postSelectionChanged(SelectionChangedEvent event){
+
+ public void postSelectionChanged(SelectionChangedEvent event) {
getSelectionProvider().postSelectionChanged(event);
}
=
Modified: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst=
/css/view/CSSPreview.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/v=
iew/CSSPreview.java 2009-09-09 16:01:21 UTC (rev 17493)
+++ trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/v=
iew/CSSPreview.java 2009-09-09 16:09:14 UTC (rev 17494)
@@ -32,10 +32,10 @@
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.part.ViewPart;
-import org.eclipse.wst.css.core.internal.provisional.document.ICSSNode;
+import org.jboss.tools.jst.css.common.CSSSelectionListener;
+import org.jboss.tools.jst.css.common.StyleContainer;
import org.jboss.tools.jst.css.messages.CSSUIMessages;
import org.jboss.tools.jst.jsp.outline.cssdialog.common.Constants;
-import org.w3c.dom.css.CSSStyleRule;
=
/**
* @author Sergey Dzmitrovich
@@ -51,20 +51,17 @@
=
private Map styleAttributes =3D new HashMap();
=
- // private String location;
- // private String selectorName;
-
@Override
public void init(IViewSite site) throws PartInitException {
super.init(site);
- site.getWorkbenchWindow().getSelectionService()
- .addPostSelectionListener(this);
+
+ CSSSelectionListener.getInstance().addSelectionListener(this);
}
=
@Override
public void dispose() {
- getSite().getWorkbenchWindow().getSelectionService()
- .removePostSelectionListener(this);
+
+ CSSSelectionListener.getInstance().removeSelectionListener(this);
super.dispose();
}
=
@@ -161,20 +158,15 @@
=
if (selection instanceof IStructuredSelection) {
IStructuredSelection structuredSelection =3D (IStructuredSelection) sel=
ection;
- if (structuredSelection.getFirstElement() instanceof ICSSNode) {
+ if (structuredSelection.getFirstElement() instanceof StyleContainer) {
=
- CSSStyleRule styleRule =3D CSSViewUtil
- .getStyleRule((ICSSNode) structuredSelection
- .getFirstElement());
+ styleAttributes =3D ((StyleContainer) structuredSelection
+ .getFirstElement()).getStyleAttributes();
=
- if (styleRule !=3D null) {
- styleAttributes =3D CSSViewUtil.getStyleAttributes(styleRule);
-
- } else {
- styleAttributes.clear();
- }
-
+ } else {
+ styleAttributes.clear();
}
+
updateBrowser();
}
=
Deleted: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/=
css/view/CSSViewUtil.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/v=
iew/CSSViewUtil.java 2009-09-09 16:01:21 UTC (rev 17493)
+++ trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/v=
iew/CSSViewUtil.java 2009-09-09 16:09:14 UTC (rev 17494)
@@ -1,54 +0,0 @@
-/*************************************************************************=
******
- * Copyright (c) 2007-2009 Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributor:
- * Red Hat, Inc. - initial API and implementation
- *************************************************************************=
*****/
-
-package org.jboss.tools.jst.css.view;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.eclipse.wst.css.core.internal.provisional.document.ICSSNode;
-import org.w3c.dom.css.CSSStyleDeclaration;
-import org.w3c.dom.css.CSSStyleRule;
-
-/**
- * @author Sergey Dzmitrovich
- * =
- */
-public class CSSViewUtil {
-
- public static CSSStyleRule getStyleRule(ICSSNode node) {
-
- while (node !=3D null) {
-
- if (node instanceof CSSStyleRule)
- return (CSSStyleRule) node;
-
- node =3D node.getParentNode();
- }
-
- return null;
- }
-
- public static Map getStyleAttributes(CSSStyleRule styleRu=
le) {
-
- CSSStyleDeclaration declaration =3D styleRule.getStyle();
- Map styleMap =3D new HashMap();
- for (int i =3D 0; i < declaration.getLength(); i++) {
- String propperty =3D declaration.item(i);
- String value =3D declaration.getPropertyValue(propperty);
- styleMap.put(propperty, value);
- }
-
- return styleMap;
-
- }
-
-}
--===============4083736436929965738==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 14:03:59 2009
Content-Type: multipart/mixed; boundary="===============6847294687228129607=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17495 -
trunk/jbpm/features/org.jboss.tools.jbpm4.sdk.feature.
Date: Wed, 09 Sep 2009 14:03:58 -0400
Message-ID: <200909091803.n89I3wF0018858@svn01.web.mwc.hst.phx2.redhat.com>
--===============6847294687228129607==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: nickboldt
Date: 2009-09-09 14:03:58 -0400 (Wed, 09 Sep 2009)
New Revision: 17495
Modified:
trunk/jbpm/features/org.jboss.tools.jbpm4.sdk.feature/feature.properties
Log:
rename sdk feature label
Modified: trunk/jbpm/features/org.jboss.tools.jbpm4.sdk.feature/feature.pro=
perties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jbpm/features/org.jboss.tools.jbpm4.sdk.feature/feature.propertie=
s 2009-09-09 16:09:14 UTC (rev 17494)
+++ trunk/jbpm/features/org.jboss.tools.jbpm4.sdk.feature/feature.propertie=
s 2009-09-09 18:03:58 UTC (rev 17495)
@@ -1,4 +1,4 @@
-featureName=3DAll jBPM 4 Tools Features
+featureName=3DjBPM 4 Tools SDK
featureProvider=3DJBoss by Red Hat
description=3DThis feature includes all end-user tools for jBPM 4, includi=
ng runtime and sources.
copyright=3DCopyright 2009 Red Hat, Inc.
--===============6847294687228129607==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 14:04:36 2009
Content-Type: multipart/mixed; boundary="===============0015456514424056147=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17496 -
branches/jbosstools-3.1.0.M3/jbpm/features/org.jboss.tools.jbpm4.sdk.feature.
Date: Wed, 09 Sep 2009 14:04:35 -0400
Message-ID: <200909091804.n89I4ZIV018980@svn01.web.mwc.hst.phx2.redhat.com>
--===============0015456514424056147==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: nickboldt
Date: 2009-09-09 14:04:35 -0400 (Wed, 09 Sep 2009)
New Revision: 17496
Modified:
branches/jbosstools-3.1.0.M3/jbpm/features/org.jboss.tools.jbpm4.sdk.fea=
ture/feature.properties
Log:
rename sdk feature label
Modified: branches/jbosstools-3.1.0.M3/jbpm/features/org.jboss.tools.jbpm4.=
sdk.feature/feature.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/jbpm/features/org.jboss.tools.jbpm4.sdk.fe=
ature/feature.properties 2009-09-09 18:03:58 UTC (rev 17495)
+++ branches/jbosstools-3.1.0.M3/jbpm/features/org.jboss.tools.jbpm4.sdk.fe=
ature/feature.properties 2009-09-09 18:04:35 UTC (rev 17496)
@@ -1,4 +1,4 @@
-featureName=3DAll jBPM 4 Tools Features
+featureName=3DjBPM 4 Tools SDK
featureProvider=3DJBoss by Red Hat
description=3DThis feature includes all end-user tools for jBPM 4, includi=
ng runtime and sources.
copyright=3DCopyright 2009 Red Hat, Inc.
--===============0015456514424056147==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 15:08:01 2009
Content-Type: multipart/mixed; boundary="===============1270970998479161707=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17497 - in trunk:
common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml and 8
other directories.
Date: Wed, 09 Sep 2009 15:08:01 -0400
Message-ID: <200909091908.n89J81Jt030202@svn01.web.mwc.hst.phx2.redhat.com>
--===============1270970998479161707==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-09 15:08:01 -0400 (Wed, 09 Sep 2009)
New Revision: 17497
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/META-INF/MANIFEST.MF
trunk/common/plugins/org.jboss.tools.common/META-INF/MANIFEST.MF
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/x=
ml/XMLEntityResolverImpl.java
trunk/common/tests/org.jboss.tools.common.text.ext.test/src/org/jboss/to=
ols/common/text/ext/test/OpenOnsTest.java
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/META-INF/M=
ANIFEST.MF
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/META-INF/MANIFE=
ST.MF
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/META-INF/MANIFEST.MF
trunk/jsf/plugins/org.jboss.tools.jsf.ui/META-INF/MANIFEST.MF
trunk/jsf/plugins/org.jboss.tools.jsf.verification/META-INF/MANIFEST.MF
trunk/jsf/plugins/org.jboss.tools.jsf/META-INF/MANIFEST.MF
Log:
https://jira.jboss.org/jira/browse/JBIDE-4474 =
Plug-ins were cleaned up:
org.hibernate.console.test
o.j.t.common.el.core
o.j.t.common.text.ext.test
o.j.t.common
o.j.t.jsf,text.ext.richfaces
o.j.t.jsf.text.ext
o.j.t.jsf.ui
o.j.t.jsf..verification
o.j.t.jsf
Modified: trunk/common/plugins/org.jboss.tools.common/META-INF/MANIFEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/common/plugins/org.jboss.tools.common/META-INF/MANIFEST.MF 2009-0=
9-09 18:04:35 UTC (rev 17496)
+++ trunk/common/plugins/org.jboss.tools.common/META-INF/MANIFEST.MF 2009-0=
9-09 19:08:01 UTC (rev 17497)
@@ -129,7 +129,6 @@
org.w3c.dom.html,
org.w3c.dom.ls
Require-Bundle: org.eclipse.core.runtime,
- org.eclipse.wst.wsdl.validation,
org.eclipse.wst.xml.core;visibility:=3Dreexport,
org.eclipse.jface,
org.eclipse.core.resources,
Modified: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/c=
ommon/xml/XMLEntityResolverImpl.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/=
xml/XMLEntityResolverImpl.java 2009-09-09 18:04:35 UTC (rev 17496)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/=
xml/XMLEntityResolverImpl.java 2009-09-09 19:08:01 UTC (rev 17497)
@@ -13,11 +13,14 @@
import java.io.IOException;
import java.io.InputStream;
=
+import javax.xml.transform.URIResolver;
+
import org.apache.xerces.xni.XMLResourceIdentifier;
import org.apache.xerces.xni.parser.XMLEntityResolver;
import org.apache.xerces.xni.parser.XMLInputSource;
-import org.eclipse.wst.wsdl.validation.internal.resolver.URIResolver;
+
import org.jboss.tools.common.CommonPlugin;
+
import org.xml.sax.SAXException;
=
/**
Modified: trunk/common/plugins/org.jboss.tools.common.el.core/META-INF/MANI=
FEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/common/plugins/org.jboss.tools.common.el.core/META-INF/MANIFEST.M=
F 2009-09-09 18:04:35 UTC (rev 17496)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/META-INF/MANIFEST.M=
F 2009-09-09 19:08:01 UTC (rev 17497)
@@ -10,14 +10,11 @@
org.jboss.tools.common.el.core.parser,
org.jboss.tools.common.el.core.resolver
Bundle-Activator: org.jboss.tools.common.el.core.Activator
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.core.resources,
- org.eclipse.jdt.core,
- org.eclipse.jface.text,
+Require-Bundle: org.eclipse.jface.text,
org.eclipse.wst.sse.core,
org.eclipse.wst.sse.ui,
org.jboss.tools.common,
org.jboss.tools.common.model,
- org.jboss.tools.common.resref.core;reprovide=3Dtrue
+ org.jboss.tools.common.resref.core;reprovide=3Dtrue,
+ org.eclipse.ui
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: trunk/common/tests/org.jboss.tools.common.text.ext.test/src/org/j=
boss/tools/common/text/ext/test/OpenOnsTest.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/common/tests/org.jboss.tools.common.text.ext.test/src/org/jboss/t=
ools/common/text/ext/test/OpenOnsTest.java 2009-09-09 18:04:35 UTC (rev 174=
96)
+++ trunk/common/tests/org.jboss.tools.common.text.ext.test/src/org/jboss/t=
ools/common/text/ext/test/OpenOnsTest.java 2009-09-09 19:08:01 UTC (rev 174=
97)
@@ -2,7 +2,6 @@
=
import junit.framework.TestCase;
=
-import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
@@ -13,26 +12,15 @@
import org.eclipse.jface.text.ITextSelection;
import org.eclipse.jface.text.hyperlink.IHyperlink;
import org.eclipse.jface.text.source.ISourceViewer;
-import org.eclipse.ui.IEditorDescriptor;
-import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.WorkbenchException;
-import org.eclipse.ui.ide.IDE;
-import org.eclipse.ui.part.FileEditorInput;
-import org.eclipse.ui.texteditor.DocumentProviderRegistry;
-import org.eclipse.ui.texteditor.IDocumentProvider;
import org.jboss.tools.common.model.ui.editor.EditorPartWrapper;
import org.jboss.tools.common.model.ui.editors.multipage.DefaultMultipageE=
ditor;
-import org.jboss.tools.common.model.ui.texteditors.XMLTextEditorStandAlone;
-import org.jboss.tools.common.text.ext.hyperlink.CSSClassHyperlink;
-import org.jboss.tools.common.text.ext.hyperlink.ClassHyperlink;
import org.jboss.tools.common.text.ext.hyperlink.HyperlinkDetector;
import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor;
import org.jboss.tools.test.util.JobUtils;
-import org.jboss.tools.test.util.ResourcesUtils;
import org.jboss.tools.test.util.WorkbenchUtils;
=
public class OpenOnsTest extends TestCase {
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/MET=
A-INF/MANIFEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/META-INF/=
MANIFEST.MF 2009-09-09 18:04:35 UTC (rev 17496)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/META-INF/=
MANIFEST.MF 2009-09-09 19:08:01 UTC (rev 17497)
@@ -46,19 +46,15 @@
org.eclipse.core.runtime,
org.eclipse.ui.ide,
org.hibernate.eclipse,
- org.hibernate.eclipse.help,
org.hibernate.eclipse.mapper,
org.eclipse.jface.text,
org.hibernate.eclipse.console,
- org.eclipse.wst.xml.core,
- org.eclipse.wst.xml.ui,
org.apache.ant,
org.eclipse.ui.views,
org.jboss.tools.hibernate.ui,
- org.eclipse.ui.editors,
- org.eclipse.debug.core,
- org.jboss.tools.tests;bundle-version=3D"2.0.0",
- org.eclipse.debug.ui;bundle-version=3D"3.4.0"
+ org.jboss.tools.tests,
+ org.eclipse.debug.ui,
+ org.eclipse.ui.workbench.texteditor;bundle-version=3D"3.5.0"
Eclipse-LazyStart: true
Bundle-Activator: org.hibernate.eclipse.console.test.HibernateConsoleTestP=
lugin
Eclipse-RegisterBuddy: org.hibernate.eclipse
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/META-INF/MANIFEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jsf/plugins/org.jboss.tools.jsf/META-INF/MANIFEST.MF 2009-09-09 1=
8:04:35 UTC (rev 17496)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/META-INF/MANIFEST.MF 2009-09-09 1=
9:08:01 UTC (rev 17497)
@@ -31,26 +31,17 @@
Require-Bundle: org.jboss.tools.jst.web;visibility:=3Dreexport,
org.jboss.tools.jst.web.kb;visibility:=3Dreexport,
org.jboss.tools.common.el.core,
- org.eclipse.ui.ide,
- org.eclipse.ui.views,
org.eclipse.jface.text,
- org.eclipse.ui.workbench.texteditor,
- org.eclipse.ui.editors,
- org.eclipse.jdt.core,
org.eclipse.jdt.ui,
org.eclipse.ui,
- org.eclipse.jface,
org.eclipse.wst.sse.core,
org.eclipse.ltk.core.refactoring,
- org.eclipse.ltk.ui.refactoring,
- org.eclipse.core.resources,
- org.eclipse.core.runtime,
- org.eclipse.wst.web,
- org.eclipse.jdt.core.manipulation,
org.eclipse.wst.common.project.facet.core,
org.eclipse.wst.common.frameworks,
org.eclipse.wst.common.modulecore,
- org.eclipse.wst.validation
+ org.eclipse.wst.validation,
+ org.hibernate.eclipse.jdt.ui,
+ org.eclipse.jdt.core.manipulation;bundle-version=3D"1.3.0"
Bundle-Version: 2.0.0
Eclipse-LazyStart: true
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/META-INF/MANIFEST.=
MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/META-INF/MANIFEST.MF 200=
9-09-09 18:04:35 UTC (rev 17496)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/META-INF/MANIFEST.MF 200=
9-09-09 19:08:01 UTC (rev 17497)
@@ -7,21 +7,9 @@
Bundle-SymbolicName: org.jboss.tools.jsf.text.ext; singleton:=3Dtrue
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui.ide,
- org.eclipse.core.runtime,
org.eclipse.ui,
- org.eclipse.text,
org.eclipse.jface.text,
- org.eclipse.ui.workbench,
- org.eclipse.jdt.core,
- org.eclipse.wst.sse.core,
- org.eclipse.wst.xml.core,
- org.eclipse.jst.jsp.core,
- org.eclipse.jst.j2ee.web,
- org.eclipse.core.resources,
- org.jboss.tools.common,
- org.jboss.tools.common.model,
org.jboss.tools.common.text.ext,
- org.jboss.tools.jst.web,
org.jboss.tools.jsf
Export-Package: org.jboss.tools.jsf.text.ext,
org.jboss.tools.jsf.text.ext.hyperlink
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/META-INF=
/MANIFEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/META-INF/MANIF=
EST.MF 2009-09-09 18:04:35 UTC (rev 17496)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/META-INF/MANIF=
EST.MF 2009-09-09 19:08:01 UTC (rev 17497)
@@ -8,8 +8,6 @@
Bundle-Localization: plugin
Require-Bundle: =
org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.core.resources,
org.eclipse.jface.text,
org.jboss.tools.common.text.ext,
org.jboss.tools.jsf.text.ext,
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.ui/META-INF/MANIFEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jsf/plugins/org.jboss.tools.jsf.ui/META-INF/MANIFEST.MF 2009-09-0=
9 18:04:35 UTC (rev 17496)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.ui/META-INF/MANIFEST.MF 2009-09-0=
9 19:08:01 UTC (rev 17497)
@@ -32,34 +32,20 @@
org.jboss.tools.jsf.ui.wizard.project,
org.jboss.tools.jsf.ui.wizard.palette,
org.jboss.tools.jsf.ui.wizard.capabilities =
-Require-Bundle: org.jboss.tools.common,
- org.jboss.tools.common.gef,
- org.jboss.tools.common.model,
- org.jboss.tools.common.model.ui,
- org.jboss.tools.jst.web,
+Require-Bundle: org.jboss.tools.common.model.ui,
org.jboss.tools.jst.web.ui,
- org.jboss.tools.common.text.xml,
- org.jboss.tools.vpe,
org.jboss.tools.jst.jsp,
org.eclipse.jface.text,
org.eclipse.jdt.ui,
org.jboss.tools.jsf,
- org.eclipse.wst.sse.ui,
- org.eclipse.wst.xml.core,
- org.eclipse.wst.xml.ui,
- org.eclipse.wst.common.frameworks.ui,
- org.eclipse.wst.common.ui,
org.eclipse.compare,
org.eclipse.core.resources,
- org.eclipse.core.runtime,
- org.eclipse.jface,
org.eclipse.ui,
org.eclipse.ui.views,
org.eclipse.ui.ide,
- org.eclipse.draw2d,
org.eclipse.gef,
- org.eclipse.core.expressions,
- org.eclipse.ui.workbench.texteditor
+ org.eclipse.ui.workbench.texteditor,
+ org.eclipse.core.expressions
Bundle-Version: 2.0.0
Eclipse-LazyStart: true
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.verification/META-INF/MANIF=
EST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jsf/plugins/org.jboss.tools.jsf.verification/META-INF/MANIFEST.MF=
2009-09-09 18:04:35 UTC (rev 17496)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.verification/META-INF/MANIFEST.MF=
2009-09-09 19:08:01 UTC (rev 17497)
@@ -8,12 +8,7 @@
Bundle-Localization: plugin
Provide-Package: org.jboss.tools.jsf.verification.vrules,
org.jboss.tools.jsf.verification.vrules.toview
-Require-Bundle: org.eclipse.core.runtime.compatibility,
- org.eclipse.core.resources,
- org.eclipse.jdt.core,
- org.jboss.tools.common.model,
- org.jboss.tools.common.verification,
- org.jboss.tools.jst.web,
+Require-Bundle: org.jboss.tools.common.verification,
org.jboss.tools.jsf
Bundle-Version: 2.0.0
Eclipse-LazyStart: true
--===============1270970998479161707==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 15:14:47 2009
Content-Type: multipart/mixed; boundary="===============5013835093219291912=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17498 -
trunk/jsf/features/org.jboss.tools.richfaces.feature.
Date: Wed, 09 Sep 2009 15:14:47 -0400
Message-ID: <200909091914.n89JElFs031101@svn01.web.mwc.hst.phx2.redhat.com>
--===============5013835093219291912==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: akazakov
Date: 2009-09-09 15:14:47 -0400 (Wed, 09 Sep 2009)
New Revision: 17498
Modified:
trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-4861 Removed old KB plug-in.
Modified: trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.xml 2009-0=
9-09 19:08:01 UTC (rev 17497)
+++ trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.xml 2009-0=
9-09 19:14:47 UTC (rev 17498)
@@ -1,328 +1,322 @@
-
-
-
-
- %description
-
-
-
- %copyright
-
-
- Red Hat, Inc. licenses these features and plugins to you under
+
+
+
+
+ %description
+
+
+
+ %copyright
+
+
+
+ Red Hat, Inc. licenses these features and plugins to you under
certain open source licenses (or aggregations of such licenses), which
in a particular case may include the Eclipse Public License, the GNU
Lesser General Public License, and/or certain other open source
licenses. For precise licensing details, consult the corresponding
source code, or contact Red Hat Legal Affairs, 1801 Varsity Drive,
-Raleigh NC 27606 USA.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+Raleigh NC 27606 USA.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--===============5013835093219291912==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 15:15:35 2009
Content-Type: multipart/mixed; boundary="===============4365355726613147084=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17499 - trunk/common/plugins.
Date: Wed, 09 Sep 2009 15:15:35 -0400
Message-ID: <200909091915.n89JFZSw031598@svn01.web.mwc.hst.phx2.redhat.com>
--===============4365355726613147084==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: akazakov
Date: 2009-09-09 15:15:34 -0400 (Wed, 09 Sep 2009)
New Revision: 17499
Removed:
trunk/common/plugins/org.jboss.tools.common.kb/
Log:
https://jira.jboss.org/jira/browse/JBIDE-4861 Removed old KB plug-in.
--===============4365355726613147084==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 15:15:54 2009
Content-Type: multipart/mixed; boundary="===============0509129076992188143=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17500 - trunk/common/tests.
Date: Wed, 09 Sep 2009 15:15:54 -0400
Message-ID: <200909091915.n89JFswK032011@svn01.web.mwc.hst.phx2.redhat.com>
--===============0509129076992188143==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: akazakov
Date: 2009-09-09 15:15:53 -0400 (Wed, 09 Sep 2009)
New Revision: 17500
Removed:
trunk/common/tests/org.jboss.tools.common.kb.test/
Log:
https://jira.jboss.org/jira/browse/JBIDE-4861 Removed old KB plug-in.
--===============0509129076992188143==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 15:20:46 2009
Content-Type: multipart/mixed; boundary="===============7873863545306149500=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17501 - in trunk/jst/plugins:
org.jboss.tools.jst.web/META-INF and 1 other directories.
Date: Wed, 09 Sep 2009 15:20:46 -0400
Message-ID: <200909091920.n89JKkMo000892@svn01.web.mwc.hst.phx2.redhat.com>
--===============7873863545306149500==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-09 15:20:46 -0400 (Wed, 09 Sep 2009)
New Revision: 17501
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/META-INF/MANIFEST.MF
trunk/jst/plugins/org.jboss.tools.jst.web.ui/META-INF/MANIFEST.MF
trunk/jst/plugins/org.jboss.tools.jst.web/META-INF/MANIFEST.MF
Log:
https://jira.jboss.org/jira/browse/JBIDE-4474 =
Plug-ins were cleaned up:
o.j.t.jst.jsp
o.j.t.jst.web
o.j.t.jst.web.ui
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/META-INF/MANIFEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/META-INF/MANIFEST.MF 2009-09-=
09 19:15:53 UTC (rev 17500)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/META-INF/MANIFEST.MF 2009-09-=
09 19:20:46 UTC (rev 17501)
@@ -20,47 +20,27 @@
org.jboss.tools.jst.jsp.support.kb,
org.jboss.tools.jst.jsp.text,
org.jboss.tools.jst.jsp.ui.action
-Require-Bundle: org.jboss.tools.common,
- org.jboss.tools.common.model,
- org.jboss.tools.common.el.core,
- org.jboss.tools.common.text.xml,
+Require-Bundle: org.jboss.tools.common.el.core,
org.jboss.tools.common.model.ui,
org.jboss.tools.jst.web,
- org.eclipse.jface,
org.eclipse.jface.text,
- org.eclipse.swt,
- org.eclipse.ui.editors,
- org.eclipse.ui,
org.eclipse.ui.workbench.texteditor,
org.eclipse.ui.ide,
org.eclipse.jdt.ui,
- org.eclipse.jdt.core,
org.eclipse.wst.common.ui,
- org.eclipse.wst.sse.ui,
- org.eclipse.wst.sse.core,
- org.eclipse.wst.xml.core,
org.eclipse.wst.html.core,
org.eclipse.wst.html.ui,
org.eclipse.wst.xml.ui,
- org.eclipse.jst.jsp.core,
org.eclipse.jst.jsp.ui,
org.eclipse.wst.css.core,
org.eclipse.wst.css.ui,
- org.eclipse.help,
org.eclipse.help.ui,
- org.eclipse.help.appserver,
- org.eclipse.help.base,
- org.eclipse.help.webapp,
org.eclipse.jem,
- org.eclipse.wst.common.snippets,
- org.eclipse.wst.common.uriresolver,
- org.eclipse.core.resources,
- org.eclipse.core.runtime,
org.eclipse.ui.views,
org.eclipse.core.databinding,
org.eclipse.jface.databinding,
- org.eclipse.core.databinding.property,
- org.jboss.tools.jst.web.kb
+ org.jboss.tools.jst.web.kb,
+ org.eclipse.core.databinding.property;bundle-version=3D"1.2.0"
Bundle-Version: 2.0.0
Export-Package: org.jboss.tools.jst.jsp.outline.cssdialog.common,
org.jboss.tools.jst.jsp.outline.cssdialog.parsers,
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/META-INF/MANIFEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.web/META-INF/MANIFEST.MF 2009-09-=
09 19:15:53 UTC (rev 17500)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/META-INF/MANIFEST.MF 2009-09-=
09 19:20:46 UTC (rev 17501)
@@ -10,31 +10,17 @@
Bundle-Localization: plugin
Require-Bundle: org.jboss.tools.common.model;visibility:=3Dreexport,
org.jboss.tools.common.projecttemplates;visibility:=3Dreexport,
- org.eclipse.jdt.core,
org.eclipse.ui,
- org.eclipse.debug.core,
org.eclipse.jdt.launching,
- org.eclipse.jdt.ui,
org.eclipse.debug.ui,
org.eclipse.jdt.debug,
org.eclipse.wst.server.core,
org.eclipse.wst.sse.core,
- org.eclipse.wst.web,
- org.eclipse.jst.j2ee.web,
org.eclipse.jst.j2ee,
- org.eclipse.wst.common.frameworks,
- org.eclipse.jst.server.tomcat.core,
org.eclipse.ltk.core.refactoring,
- org.eclipse.ltk.ui.refactoring,
org.eclipse.jst.jsp.core,
- org.eclipse.wst.xml.core,
- org.eclipse.core.resources,
- org.eclipse.pde.ui,
- org.eclipse.core.runtime,
- org.eclipse.ant.ui,
- org.eclipse.ui.externaltools,
- org.eclipse.wst.common.project.facet.core,
- org.jboss.tools.common.el.core;bundle-version=3D"2.0.0"
+ org.eclipse.jst.j2ee.core;bundle-version=3D"1.1.300",
+ org.eclipse.wst.common.project.facet.core;bundle-version=3D"1.4.0"
Bundle-Version: 2.0.0
Export-Package: =
org.jboss.tools.jst.web,
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/META-INF/MANIFEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/META-INF/MANIFEST.MF 2009-=
09-09 19:15:53 UTC (rev 17500)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/META-INF/MANIFEST.MF 2009-=
09-09 19:20:46 UTC (rev 17501)
@@ -29,61 +29,22 @@
org.jboss.tools.jst.web.ui.wizards.process,
org.jboss.tools.jst.web.ui.wizards.project,
org.jboss.tools.vpe
-Require-Bundle: org.jboss.tools.common,
- org.eclipse.ui.ide,
- org.eclipse.ui.views,
- org.eclipse.jface.text,
- org.eclipse.ui.workbench.texteditor,
- org.eclipse.ui.editors,
- org.jboss.tools.common.model,
+Require-Bundle: org.eclipse.ui.ide,
org.jboss.tools.common.model.ui,
org.jboss.tools.jst.web,
- org.eclipse.jface,
- org.eclipse.ui,
org.eclipse.ui.navigator,
- org.eclipse.ui.navigator.resources,
- org.eclipse.jst.j2ee.navigator.ui,
- org.eclipse.help,
- org.eclipse.jdt.launching,
org.eclipse.jdt.ui,
- org.eclipse.debug.core,
- org.eclipse.jdt.core,
- org.eclipse.swt,
- org.eclipse.emf.ecore,
- org.eclipse.jst.jsp.ui,
org.eclipse.wst.common.frameworks,
org.eclipse.wst.server.core,
org.eclipse.wst.server.ui,
- org.eclipse.wst.sse.ui,
- org.eclipse.wst.sse.core,
org.eclipse.jst.j2ee.web,
- org.eclipse.wst.web,
org.eclipse.jst.j2ee,
- org.eclipse.wst.common.emfworkbench.integration,
- org.eclipse.jem,
- org.jboss.tools.common.projecttemplates,
org.eclipse.jem.util,
org.eclipse.wst.common.frameworks,
- org.eclipse.jst.common.frameworks,
- org.eclipse.jst.j2ee.core,
- org.eclipse.ui.browser,
- org.eclipse.jst.server.core,
- org.eclipse.jst.server.generic.core,
- org.eclipse.jst.server.generic.ui,
- org.eclipse.jst.server.tomcat.core,
- org.eclipse.jst.server.tomcat.ui,
- org.eclipse.jst.server.ui,
- org.eclipse.jst.server.websphere.core,
- org.eclipse.jst.j2ee.ejb,
- org.eclipse.wst.web.ui,
- org.eclipse.jst.ejb.ui,
- org.eclipse.wst.common.project.facet.core,
- org.eclipse.jst.servlet.ui,
org.eclipse.wst.common.project.facet.ui,
- org.eclipse.core.resources,
- org.eclipse.core.runtime,
org.eclipse.debug.ui,
- org.jboss.tools.jsf.vpe.jsf,
- org.jboss.tools.jst.jsp;bundle-version=3D"2.0.0"
+ org.jboss.tools.jst.jsp;bundle-version=3D"2.0.0",
+ org.eclipse.jface.text;bundle-version=3D"3.5.0",
+ org.eclipse.wst.common.emfworkbench.integration;bundle-version=3D"1.1.300"
Bundle-Version: 2.0.0
Bundle-RequiredExecutionEnvironment: J2SE-1.5
--===============7873863545306149500==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 15:30:47 2009
Content-Type: multipart/mixed; boundary="===============6037241900193948205=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17502 -
trunk/jsf/plugins/org.jboss.tools.jsf/META-INF.
Date: Wed, 09 Sep 2009 15:30:47 -0400
Message-ID: <200909091930.n89JUlWw003857@svn01.web.mwc.hst.phx2.redhat.com>
--===============6037241900193948205==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-09 15:30:46 -0400 (Wed, 09 Sep 2009)
New Revision: 17502
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/META-INF/MANIFEST.MF
Log:
https://jira.jboss.org/jira/browse/JBIDE-4474 =
Plug-ins were cleaned up:
o.j.t.jsf
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/META-INF/MANIFEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jsf/plugins/org.jboss.tools.jsf/META-INF/MANIFEST.MF 2009-09-09 1=
9:20:46 UTC (rev 17501)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/META-INF/MANIFEST.MF 2009-09-09 1=
9:30:46 UTC (rev 17502)
@@ -40,7 +40,6 @@
org.eclipse.wst.common.frameworks,
org.eclipse.wst.common.modulecore,
org.eclipse.wst.validation,
- org.hibernate.eclipse.jdt.ui,
org.eclipse.jdt.core.manipulation;bundle-version=3D"1.3.0"
Bundle-Version: 2.0.0
Eclipse-LazyStart: true
--===============6037241900193948205==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 15:32:19 2009
Content-Type: multipart/mixed; boundary="===============2374930538165040612=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17503 -
trunk/vpe/plugins/org.jboss.tools.vpe.ui.palette/META-INF.
Date: Wed, 09 Sep 2009 15:32:19 -0400
Message-ID: <200909091932.n89JWJ9q004251@svn01.web.mwc.hst.phx2.redhat.com>
--===============2374930538165040612==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-09 15:32:19 -0400 (Wed, 09 Sep 2009)
New Revision: 17503
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.ui.palette/META-INF/MANIFEST.MF
Log:
https://jira.jboss.org/jira/browse/JBIDE-4474 =
Plug-ins were cleaned up:
o.j.t.vpe.ui.palette
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.ui.palette/META-INF/MANIFES=
T.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/vpe/plugins/org.jboss.tools.vpe.ui.palette/META-INF/MANIFEST.MF 2=
009-09-09 19:30:46 UTC (rev 17502)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.ui.palette/META-INF/MANIFEST.MF 2=
009-09-09 19:32:19 UTC (rev 17503)
@@ -7,19 +7,9 @@
Bundle-Localization: plugin
Provide-Package: org.jboss.tools.vpe.ui.palette,org.jboss.tools.vpe.ui.pal=
ette.model
Require-Bundle: org.eclipse.ui.ide,
- org.eclipse.ui.views,
org.eclipse.jface.text,
- org.eclipse.ui.workbench.texteditor,
- org.eclipse.ui.editors,
- org.eclipse.swt,
org.eclipse.ui,
- org.eclipse.draw2d,
org.eclipse.gef,
- org.eclipse.jdt.ui,
- org.jboss.tools.common,
- org.jboss.tools.common.model,
- org.jboss.tools.common.model.ui,
- org.eclipse.core.resources,
- org.eclipse.core.runtime
+ org.jboss.tools.common.model.ui
Bundle-Version: 2.1.0
Bundle-RequiredExecutionEnvironment: J2SE-1.5
--===============2374930538165040612==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 15:34:11 2009
Content-Type: multipart/mixed; boundary="===============8166070947241724609=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17504 - in
branches/jbosstools-3.1.0.M3/maven/features:
org.jboss.tools.maven.feature/sourceTemplateFeature and 4 other directories.
Date: Wed, 09 Sep 2009 15:34:11 -0400
Message-ID: <200909091934.n89JYBI6004650@svn01.web.mwc.hst.phx2.redhat.com>
--===============8166070947241724609==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: nickboldt
Date: 2009-09-09 15:34:11 -0400 (Wed, 09 Sep 2009)
New Revision: 17504
Added:
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featur=
e/sourceTemplateFeature/
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featur=
e/sourceTemplateFeature/build.properties
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featur=
e/sourceTemplateFeature/feature.properties
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featur=
e/sourceTemplateFeature/license.html
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featur=
e/sourceTemplatePlugin/
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featur=
e/sourceTemplatePlugin/about.ini
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featur=
e/sourceTemplatePlugin/about.mappings
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featur=
e/sourceTemplatePlugin/about.properties
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featur=
e/sourceTemplatePlugin/build.properties
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featur=
e/sourceTemplatePlugin/plugin.properties
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.f=
eature/sourceTemplateFeature/
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.f=
eature/sourceTemplateFeature/build.properties
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.f=
eature/sourceTemplateFeature/feature.properties
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.f=
eature/sourceTemplateFeature/license.html
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.f=
eature/sourceTemplatePlugin/
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.f=
eature/sourceTemplatePlugin/about.ini
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.f=
eature/sourceTemplatePlugin/about.mappings
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.f=
eature/sourceTemplatePlugin/about.properties
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.f=
eature/sourceTemplatePlugin/build.properties
branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.f=
eature/sourceTemplatePlugin/plugin.properties
Log:
add maven.source and maven.seam.source feature/plugin templates
Added: branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.fe=
ature/sourceTemplateFeature/build.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featu=
re/sourceTemplateFeature/build.properties (rev 0)
+++ branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featu=
re/sourceTemplateFeature/build.properties 2009-09-09 19:34:11 UTC (rev 1750=
4)
@@ -0,0 +1,15 @@
+##########################################################################=
#####
+# Copyright (c) 2009 Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+# =
+# Contributors:
+# Red Hat - initial API and implementation
+##########################################################################=
#####
+
+bin.includes =3D feature.*,\
+ license.html
+
+
Added: branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.fe=
ature/sourceTemplateFeature/feature.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featu=
re/sourceTemplateFeature/feature.properties (rev 0)
+++ branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featu=
re/sourceTemplateFeature/feature.properties 2009-09-09 19:34:11 UTC (rev 17=
504)
@@ -0,0 +1,26 @@
+featureName=3DJBoss Maven Integration Source
+featureProvider=3DJBoss by Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=3DJBossTools Update Site
+ =
+# "description" property - description of the feature
+description=3DJBoss Maven Integration Source
+
+# "licenseURL" property - URL of the "Feature License"
+# do not translate value - just change to point to a locale-specific HTML =
page
+licenseURL=3Dlicense.html
+
+# START NON-TRANSLATABLE
+# "license" property - text of the "Feature Update License"
+# should be plain text version of license agreement pointed to be "license=
URL"
+license=3DRed Hat, Inc. licenses these features and plugins to you under
+certain open source licenses (or aggregations of such licenses), which
+in a particular case may include the Eclipse Public License, the GNU
+Lesser General Public License, and/or certain other open source
+licenses. For precise licensing details, consult the corresponding
+source code, or contact Red Hat Legal Affairs, 1801 Varsity Drive,
+Raleigh NC 27606 USA.
+# END NON-TRANSLATABLE
+########### end of license property ######################################=
####
+ =
\ No newline at end of file
Added: branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.fe=
ature/sourceTemplateFeature/license.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featu=
re/sourceTemplateFeature/license.html (rev 0)
+++ branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featu=
re/sourceTemplateFeature/license.html 2009-09-09 19:34:11 UTC (rev 17504)
@@ -0,0 +1,14 @@
+
+
+
+
+
Red Hat, Inc. licenses these features and plugins to you under
+certain open source licenses (or aggregations of such licenses), which
+in a particular case may include the Eclipse Public License, the GNU
+Lesser General Public License, and/or certain other open source
+licenses. For precise licensing details, consult the corresponding
+source code, or contact Red Hat Legal Affairs, 1801 Varsity Drive,
+Raleigh NC 27606 USA.
+
+
+
\ No newline at end of file
Added: branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.fe=
ature/sourceTemplatePlugin/about.ini
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featu=
re/sourceTemplatePlugin/about.ini (rev 0)
+++ branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featu=
re/sourceTemplatePlugin/about.ini 2009-09-09 19:34:11 UTC (rev 17504)
@@ -0,0 +1,29 @@
+# about.ini
+# contains information about a feature
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# "%key" are externalized strings defined in about.properties
+# This file does not need to be translated.
+
+# Property "aboutText" contains blurb for "About" dialog (translated)
+aboutText=3D%blurb
+
+# Property "windowImage" contains path to window icon (16x16)
+# needed for primary features only
+
+# Property "featureImage" contains path to feature image (32x32)
+#featureImage=3Declipse32.png
+
+# Property "aboutImage" contains path to product image (500x330 or 115x164)
+# needed for primary features only
+
+# Property "appName" contains name of the application (translated)
+# needed for primary features only
+
+# Property "welcomePage" contains path to welcome page (special XML-based =
format)
+# optional
+
+# Property "welcomePerspective" contains the id of the perspective in whic=
h the
+# welcome page is to be opened.
+# optional
+
+
Added: branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.fe=
ature/sourceTemplatePlugin/about.mappings
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featu=
re/sourceTemplatePlugin/about.mappings (rev 0)
+++ branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featu=
re/sourceTemplatePlugin/about.mappings 2009-09-09 19:34:11 UTC (rev 17504)
@@ -0,0 +1,6 @@
+# about.mappings
+# contains fill-ins for about.properties
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file does not need to be translated.
+
+0=3D@build@
\ No newline at end of file
Added: branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.fe=
ature/sourceTemplatePlugin/about.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featu=
re/sourceTemplatePlugin/about.properties (rev 0)
+++ branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featu=
re/sourceTemplatePlugin/about.properties 2009-09-09 19:34:11 UTC (rev 17504)
@@ -0,0 +1,7 @@
+blurb=3DJBoss Maven Integration Source\n\
+\n\
+Version: {featureVersion}\n\
+Build id: {0}\n\
+\n\
+(c) Copyright Red Hat contributors and others, 2009. All rights reserved.=
\n\
+Visit http://www.jboss.org/tools
Added: branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.fe=
ature/sourceTemplatePlugin/build.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featu=
re/sourceTemplatePlugin/build.properties (rev 0)
+++ branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featu=
re/sourceTemplatePlugin/build.properties 2009-09-09 19:34:11 UTC (rev 17504)
@@ -0,0 +1,5 @@
+bin.includes =3D plugin.*,\
+ about.*,\
+ src/,\
+ META-INF/
+sourcePlugin =3D true
Added: branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.fe=
ature/sourceTemplatePlugin/plugin.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featu=
re/sourceTemplatePlugin/plugin.properties (rev 0)
+++ branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.featu=
re/sourceTemplatePlugin/plugin.properties 2009-09-09 19:34:11 UTC (rev 1750=
4)
@@ -0,0 +1,3 @@
+pluginName =3D JBoss Maven Integration Source
+providerName =3D JBoss by Red Hat
+
Added: branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.se=
am.feature/sourceTemplateFeature/build.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.=
feature/sourceTemplateFeature/build.properties (rev=
0)
+++ branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.=
feature/sourceTemplateFeature/build.properties 2009-09-09 19:34:11 UTC (rev=
17504)
@@ -0,0 +1,15 @@
+##########################################################################=
#####
+# Copyright (c) 2009 Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+# =
+# Contributors:
+# Red Hat - initial API and implementation
+##########################################################################=
#####
+
+bin.includes =3D feature.*,\
+ license.html
+
+
Added: branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.se=
am.feature/sourceTemplateFeature/feature.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.=
feature/sourceTemplateFeature/feature.properties (r=
ev 0)
+++ branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.=
feature/sourceTemplateFeature/feature.properties 2009-09-09 19:34:11 UTC (r=
ev 17504)
@@ -0,0 +1,26 @@
+featureName=3DJBoss Maven Seam Integration Source
+featureProvider=3DJBoss by Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=3DJBossTools Update Site
+ =
+# "description" property - description of the feature
+description=3DJBoss Maven Seam Integration Source
+
+# "licenseURL" property - URL of the "Feature License"
+# do not translate value - just change to point to a locale-specific HTML =
page
+licenseURL=3Dlicense.html
+
+# START NON-TRANSLATABLE
+# "license" property - text of the "Feature Update License"
+# should be plain text version of license agreement pointed to be "license=
URL"
+license=3DRed Hat, Inc. licenses these features and plugins to you under
+certain open source licenses (or aggregations of such licenses), which
+in a particular case may include the Eclipse Public License, the GNU
+Lesser General Public License, and/or certain other open source
+licenses. For precise licensing details, consult the corresponding
+source code, or contact Red Hat Legal Affairs, 1801 Varsity Drive,
+Raleigh NC 27606 USA.
+# END NON-TRANSLATABLE
+########### end of license property ######################################=
####
+ =
\ No newline at end of file
Added: branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.se=
am.feature/sourceTemplateFeature/license.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.=
feature/sourceTemplateFeature/license.html (rev 0)
+++ branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.=
feature/sourceTemplateFeature/license.html 2009-09-09 19:34:11 UTC (rev 175=
04)
@@ -0,0 +1,14 @@
+
+
+
+
+
Red Hat, Inc. licenses these features and plugins to you under
+certain open source licenses (or aggregations of such licenses), which
+in a particular case may include the Eclipse Public License, the GNU
+Lesser General Public License, and/or certain other open source
+licenses. For precise licensing details, consult the corresponding
+source code, or contact Red Hat Legal Affairs, 1801 Varsity Drive,
+Raleigh NC 27606 USA.
+
+
+
\ No newline at end of file
Added: branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.se=
am.feature/sourceTemplatePlugin/about.ini
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.=
feature/sourceTemplatePlugin/about.ini (rev 0)
+++ branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.=
feature/sourceTemplatePlugin/about.ini 2009-09-09 19:34:11 UTC (rev 17504)
@@ -0,0 +1,29 @@
+# about.ini
+# contains information about a feature
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# "%key" are externalized strings defined in about.properties
+# This file does not need to be translated.
+
+# Property "aboutText" contains blurb for "About" dialog (translated)
+aboutText=3D%blurb
+
+# Property "windowImage" contains path to window icon (16x16)
+# needed for primary features only
+
+# Property "featureImage" contains path to feature image (32x32)
+#featureImage=3Declipse32.png
+
+# Property "aboutImage" contains path to product image (500x330 or 115x164)
+# needed for primary features only
+
+# Property "appName" contains name of the application (translated)
+# needed for primary features only
+
+# Property "welcomePage" contains path to welcome page (special XML-based =
format)
+# optional
+
+# Property "welcomePerspective" contains the id of the perspective in whic=
h the
+# welcome page is to be opened.
+# optional
+
+
Added: branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.se=
am.feature/sourceTemplatePlugin/about.mappings
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.=
feature/sourceTemplatePlugin/about.mappings (rev 0)
+++ branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.=
feature/sourceTemplatePlugin/about.mappings 2009-09-09 19:34:11 UTC (rev 17=
504)
@@ -0,0 +1,6 @@
+# about.mappings
+# contains fill-ins for about.properties
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file does not need to be translated.
+
+0=3D@build@
\ No newline at end of file
Added: branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.se=
am.feature/sourceTemplatePlugin/about.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.=
feature/sourceTemplatePlugin/about.properties (rev =
0)
+++ branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.=
feature/sourceTemplatePlugin/about.properties 2009-09-09 19:34:11 UTC (rev =
17504)
@@ -0,0 +1,7 @@
+blurb=3DJBoss Maven Seam Integration Source\n\
+\n\
+Version: {featureVersion}\n\
+Build id: {0}\n\
+\n\
+(c) Copyright Red Hat contributors and others, 2009. All rights reserved.=
\n\
+Visit http://www.jboss.org/tools
Added: branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.se=
am.feature/sourceTemplatePlugin/build.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.=
feature/sourceTemplatePlugin/build.properties (rev =
0)
+++ branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.=
feature/sourceTemplatePlugin/build.properties 2009-09-09 19:34:11 UTC (rev =
17504)
@@ -0,0 +1,5 @@
+bin.includes =3D plugin.*,\
+ about.*,\
+ src/,\
+ META-INF/
+sourcePlugin =3D true
Added: branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.se=
am.feature/sourceTemplatePlugin/plugin.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.=
feature/sourceTemplatePlugin/plugin.properties (rev=
0)
+++ branches/jbosstools-3.1.0.M3/maven/features/org.jboss.tools.maven.seam.=
feature/sourceTemplatePlugin/plugin.properties 2009-09-09 19:34:11 UTC (rev=
17504)
@@ -0,0 +1,3 @@
+pluginName =3D JBoss Maven Seam Integration Source
+providerName =3D JBoss by Red Hat
+
--===============8166070947241724609==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 15:37:29 2009
Content-Type: multipart/mixed; boundary="===============0943460718518729875=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17505 - in trunk:
jsf/plugins/org.jboss.tools.jsf.ui/META-INF and 1 other directory.
Date: Wed, 09 Sep 2009 15:37:29 -0400
Message-ID: <200909091937.n89JbT6l005611@svn01.web.mwc.hst.phx2.redhat.com>
--===============0943460718518729875==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: dgolovin
Date: 2009-09-09 15:37:28 -0400 (Wed, 09 Sep 2009)
New Revision: 17505
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/META-INF/MANIFEST.MF
trunk/jsf/plugins/org.jboss.tools.jsf.ui/META-INF/MANIFEST.MF
Log:
https://jira.jboss.org/jira/browse/JBIDE-4474 =
Plug-ins were cleaned up:
o.j.t.common.model.ui
o.j.t.jsf.ui
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/META-INF/MAN=
IFEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/common/plugins/org.jboss.tools.common.model.ui/META-INF/MANIFEST.=
MF 2009-09-09 19:34:11 UTC (rev 17504)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/META-INF/MANIFEST.=
MF 2009-09-09 19:37:28 UTC (rev 17505)
@@ -87,32 +87,18 @@
Require-Bundle: org.jboss.tools.common.model;visibility:=3Dreexport,
org.jboss.tools.common.text.ext;visibility:=3Dreexport,
org.jboss.tools.common.text.xml;visibility:=3Dreexport,
- org.jboss.tools.common.gef;visibility:=3Dreexport,
org.eclipse.ui,
org.eclipse.ui.ide,
org.eclipse.ui.views,
- org.eclipse.ui.editors,
- org.eclipse.jface,
org.eclipse.jface.text,
- org.eclipse.ui.workbench,
org.eclipse.ui.workbench.texteditor,
org.eclipse.ui.forms,
- org.eclipse.ui.navigator,
- org.eclipse.jdt.core,
org.eclipse.jdt.ui,
- org.eclipse.core.resources,
- org.eclipse.core.runtime,
org.eclipse.compare,
- org.eclipse.ui.editors,
- org.eclipse.wst.sse.ui,
org.eclipse.wst.xml.ui,
- org.eclipse.wst.xml.core,
- org.eclipse.wst.sse.core,
org.eclipse.jdt.launching,
- org.eclipse.ant.ui,
- org.eclipse.core.expressions,
- org.eclipse.core.filesystem,
org.eclipse.wst.html.core,
- org.eclipse.pde.ui
+ org.eclipse.pde.ui,
+ org.eclipse.core.expressions;bundle-version=3D"3.4.100"
Bundle-Version: 2.0.0
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.ui/META-INF/MANIFEST.MF
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/jsf/plugins/org.jboss.tools.jsf.ui/META-INF/MANIFEST.MF 2009-09-0=
9 19:34:11 UTC (rev 17504)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.ui/META-INF/MANIFEST.MF 2009-09-0=
9 19:37:28 UTC (rev 17505)
@@ -45,7 +45,8 @@
org.eclipse.ui.ide,
org.eclipse.gef,
org.eclipse.ui.workbench.texteditor,
- org.eclipse.core.expressions
+ org.eclipse.core.expressions,
+ org.jboss.tools.common.gef;bundle-version=3D"2.0.0"
Bundle-Version: 2.0.0
Eclipse-LazyStart: true
Bundle-RequiredExecutionEnvironment: J2SE-1.5
--===============0943460718518729875==--
From jbosstools-commits at lists.jboss.org Wed Sep 9 15:43:30 2009
Content-Type: multipart/mixed; boundary="===============7304517288321346980=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r17506 - in
trunk/maven/features: org.jboss.tools.maven.feature/sourceTemplateFeature and
4 other directories.
Date: Wed, 09 Sep 2009 15:43:30 -0400
Message-ID: <200909091943.n89JhU3Q006793@svn01.web.mwc.hst.phx2.redhat.com>
--===============7304517288321346980==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: nickboldt
Date: 2009-09-09 15:43:30 -0400 (Wed, 09 Sep 2009)
New Revision: 17506
Added:
trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplateFeature/
trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplateFeature=
/build.properties
trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplateFeature=
/feature.properties
trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplateFeature=
/license.html
trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlugin/
trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlugin/=
about.ini
trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlugin/=
about.mappings
trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlugin/=
about.properties
trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlugin/=
build.properties
trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlugin/=
plugin.properties
trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTemplateFe=
ature/
trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTemplateFe=
ature/build.properties
trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTemplateFe=
ature/feature.properties
trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTemplateFe=
ature/license.html
trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTemplatePl=
ugin/
trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTemplatePl=
ugin/about.ini
trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTemplatePl=
ugin/about.mappings
trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTemplatePl=
ugin/about.properties
trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTemplatePl=
ugin/build.properties
trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTemplatePl=
ugin/plugin.properties
Log:
add maven.source and maven.seam.source feature/plugin templates
Added: trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplateFea=
ture/build.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplateFeatur=
e/build.properties (rev 0)
+++ trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplateFeatur=
e/build.properties 2009-09-09 19:43:30 UTC (rev 17506)
@@ -0,0 +1,15 @@
+##########################################################################=
#####
+# Copyright (c) 2009 Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+# =
+# Contributors:
+# Red Hat - initial API and implementation
+##########################################################################=
#####
+
+bin.includes =3D feature.*,\
+ license.html
+
+
Added: trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplateFea=
ture/feature.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplateFeatur=
e/feature.properties (rev 0)
+++ trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplateFeatur=
e/feature.properties 2009-09-09 19:43:30 UTC (rev 17506)
@@ -0,0 +1,26 @@
+featureName=3DJBoss Maven Integration Source
+featureProvider=3DJBoss by Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=3DJBossTools Update Site
+ =
+# "description" property - description of the feature
+description=3DJBoss Maven Integration Source
+
+# "licenseURL" property - URL of the "Feature License"
+# do not translate value - just change to point to a locale-specific HTML =
page
+licenseURL=3Dlicense.html
+
+# START NON-TRANSLATABLE
+# "license" property - text of the "Feature Update License"
+# should be plain text version of license agreement pointed to be "license=
URL"
+license=3DRed Hat, Inc. licenses these features and plugins to you under
+certain open source licenses (or aggregations of such licenses), which
+in a particular case may include the Eclipse Public License, the GNU
+Lesser General Public License, and/or certain other open source
+licenses. For precise licensing details, consult the corresponding
+source code, or contact Red Hat Legal Affairs, 1801 Varsity Drive,
+Raleigh NC 27606 USA.
+# END NON-TRANSLATABLE
+########### end of license property ######################################=
####
+ =
\ No newline at end of file
Added: trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplateFea=
ture/license.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplateFeatur=
e/license.html (rev 0)
+++ trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplateFeatur=
e/license.html 2009-09-09 19:43:30 UTC (rev 17506)
@@ -0,0 +1,14 @@
+
+
+
+
+
Red Hat, Inc. licenses these features and plugins to you under
+certain open source licenses (or aggregations of such licenses), which
+in a particular case may include the Eclipse Public License, the GNU
+Lesser General Public License, and/or certain other open source
+licenses. For precise licensing details, consult the corresponding
+source code, or contact Red Hat Legal Affairs, 1801 Varsity Drive,
+Raleigh NC 27606 USA.
+
+
+
\ No newline at end of file
Added: trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlu=
gin/about.ini
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlugin=
/about.ini (rev 0)
+++ trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlugin=
/about.ini 2009-09-09 19:43:30 UTC (rev 17506)
@@ -0,0 +1,29 @@
+# about.ini
+# contains information about a feature
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# "%key" are externalized strings defined in about.properties
+# This file does not need to be translated.
+
+# Property "aboutText" contains blurb for "About" dialog (translated)
+aboutText=3D%blurb
+
+# Property "windowImage" contains path to window icon (16x16)
+# needed for primary features only
+
+# Property "featureImage" contains path to feature image (32x32)
+#featureImage=3Declipse32.png
+
+# Property "aboutImage" contains path to product image (500x330 or 115x164)
+# needed for primary features only
+
+# Property "appName" contains name of the application (translated)
+# needed for primary features only
+
+# Property "welcomePage" contains path to welcome page (special XML-based =
format)
+# optional
+
+# Property "welcomePerspective" contains the id of the perspective in whic=
h the
+# welcome page is to be opened.
+# optional
+
+
Added: trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlu=
gin/about.mappings
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlugin=
/about.mappings (rev 0)
+++ trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlugin=
/about.mappings 2009-09-09 19:43:30 UTC (rev 17506)
@@ -0,0 +1,6 @@
+# about.mappings
+# contains fill-ins for about.properties
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file does not need to be translated.
+
+0=3D@build@
\ No newline at end of file
Added: trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlu=
gin/about.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlugin=
/about.properties (rev 0)
+++ trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlugin=
/about.properties 2009-09-09 19:43:30 UTC (rev 17506)
@@ -0,0 +1,7 @@
+blurb=3DJBoss Maven Integration Source\n\
+\n\
+Version: {featureVersion}\n\
+Build id: {0}\n\
+\n\
+(c) Copyright Red Hat contributors and others, 2009. All rights reserved.=
\n\
+Visit http://www.jboss.org/tools
Added: trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlu=
gin/build.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlugin=
/build.properties (rev 0)
+++ trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlugin=
/build.properties 2009-09-09 19:43:30 UTC (rev 17506)
@@ -0,0 +1,5 @@
+bin.includes =3D plugin.*,\
+ about.*,\
+ src/,\
+ META-INF/
+sourcePlugin =3D true
Added: trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlu=
gin/plugin.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlugin=
/plugin.properties (rev 0)
+++ trunk/maven/features/org.jboss.tools.maven.feature/sourceTemplatePlugin=
/plugin.properties 2009-09-09 19:43:30 UTC (rev 17506)
@@ -0,0 +1,3 @@
+pluginName =3D JBoss Maven Integration Source
+providerName =3D JBoss by Red Hat
+
Added: trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTempla=
teFeature/build.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTemplateF=
eature/build.properties (rev 0)
+++ trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTemplateF=
eature/build.properties 2009-09-09 19:43:30 UTC (rev 17506)
@@ -0,0 +1,15 @@
+##########################################################################=
#####
+# Copyright (c) 2009 Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+# =
+# Contributors:
+# Red Hat - initial API and implementation
+##########################################################################=
#####
+
+bin.includes =3D feature.*,\
+ license.html
+
+
Added: trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTempla=
teFeature/feature.properties
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTemplateF=
eature/feature.properties (rev 0)
+++ trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTemplateF=
eature/feature.properties 2009-09-09 19:43:30 UTC (rev 17506)
@@ -0,0 +1,26 @@
+featureName=3DJBoss Maven Seam Integration Source
+featureProvider=3DJBoss by Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=3DJBossTools Update Site
+ =
+# "description" property - description of the feature
+description=3DJBoss Maven Seam Integration Source
+
+# "licenseURL" property - URL of the "Feature License"
+# do not translate value - just change to point to a locale-specific HTML =
page
+licenseURL=3Dlicense.html
+
+# START NON-TRANSLATABLE
+# "license" property - text of the "Feature Update License"
+# should be plain text version of license agreement pointed to be "license=
URL"
+license=3DRed Hat, Inc. licenses these features and plugins to you under
+certain open source licenses (or aggregations of such licenses), which
+in a particular case may include the Eclipse Public License, the GNU
+Lesser General Public License, and/or certain other open source
+licenses. For precise licensing details, consult the corresponding
+source code, or contact Red Hat Legal Affairs, 1801 Varsity Drive,
+Raleigh NC 27606 USA.
+# END NON-TRANSLATABLE
+########### end of license property ######################################=
####
+ =
\ No newline at end of file
Added: trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTempla=
teFeature/license.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTemplateF=
eature/license.html (rev 0)
+++ trunk/maven/features/org.jboss.tools.maven.seam.feature/sourceTemplateF=
eature/license.html 2009-09-09 19:43:30 UTC (rev 17506)
@@ -0,0 +1,14 @@
+
+
+
+
+
Red Hat, Inc. licenses these features and plugins to you under
+certain open source licenses (or aggregations of such licenses), which
+in a particular case may include the Eclipse Public License, the GNU
+Lesser General Public License, and/or certain other open source
+licenses. For precise licensing details, consult the corresponding
+source code, or contact Red Hat Legal Affairs, 1801 Varsity Drive,
+Raleigh NC 27606 USA.
+
The JBoss Tools properties editor now has a filter function allowing =
you to type in key or value and the editor will show only the properties th=
at matches.