From jbosstools-commits at lists.jboss.org Thu Jan 3 07:41:59 2008 Content-Type: multipart/mixed; boundary="===============8834712287897274871==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5487 - trunk/hibernatetools/docs/reference/en/modules. Date: Thu, 03 Jan 2008 07:41:58 -0500 Message-ID: --===============8834712287897274871== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: afedosik Date: 2008-01-03 07:41:58 -0500 (Thu, 03 Jan 2008) New Revision: 5487 Modified: trunk/hibernatetools/docs/reference/en/modules/ant.xml trunk/hibernatetools/docs/reference/en/modules/codegen.xml trunk/hibernatetools/docs/reference/en/modules/codegenarchitecture.xml trunk/hibernatetools/docs/reference/en/modules/plugins.xml trunk/hibernatetools/docs/reference/en/modules/reverseengineering.xml Log: http://jira.jboss.com/jira/browse/JBDS-239 - Spelling and grammer in Guide = are corrected. Modified: trunk/hibernatetools/docs/reference/en/modules/ant.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/hibernatetools/docs/reference/en/modules/ant.xml 2007-12-29 15:10= :27 UTC (rev 5486) +++ trunk/hibernatetools/docs/reference/en/modules/ant.xml 2008-01-03 12:41= :58 UTC (rev 5487) @@ -201,10 +201,10 @@ = Each have in common that they are able to build up a Hibernate Configuration object from which a set of exporter= s can be run to generate - various output. Note: output can be anything, e.g. specific files, s= tatments execution against + various output. Note: output can be anything, e.g. specific files, s= tatements execution against a database, error reporting or anything else that can be done in jav= a code. = - The following section decribes what the the various configuratio= n can do, plus list the + The following section describes what the various configuration c= an do, plus list the individual settings they have. =
@@ -265,7 +265,7 @@ = - A standard Ant fileset. Used to include hibernate mapp= ing files.Remember that if + A standard Ant fileset. Used to include hibernate mapp= ing files. Remember that if mappings are already specified in the hibernate.cfg.xml th= en it should not be included via the fileset as it will result in duplicate im= port exceptions. @@ -461,8 +461,8 @@ tables and has no other columns. - detectOptimisticLock (efault:true): If true columns na= med VERSION or TIMESTAMP - with appropriate types will be mapped with the apropriate = optimistic locking + detectOptimisticLock (default:true): If true columns n= amed VERSION or TIMESTAMP + with appropriate types will be mapped with the appropriate= optimistic locking corresponding to <version> or <timestamp> @@ -493,7 +493,7 @@
Exporters = - Exporters is the parts that does the actual job of converting th= e hibernate metamodel into + Exporters are the parts that does the actual job of converting t= he hibernate metamodel into various artifacts, mainly code. The following section describes the = current supported set of exporters in the Hibernate Tool distribution. I= t is also possible for userdefined exporters, that is done through the @@ -568,7 +568,7 @@ = - delimiter (default: ";"): What delimter to use to sepa= rate statements + delimiter (default: ";"): What delimiter to use to sep= arate statements = @@ -602,8 +602,8 @@ POJO java code exporter (<literal><hbm2java></literal>)= = - <hbm2java> is a java codegen= erator. Options for controlling wether JDK 5 - syntax can be used and wether the POJO should be annotated with EJ= B3/Hibernate Annotations. + <hbm2java> is a java codegen= erator. Options for controlling whether JDK 5 + syntax can be used and whether the POJO should be annotated with E= JB3/Hibernate Annotations. = @@ -837,7 +837,7 @@
Using properties to configure Exporters = - Exporters can be controlled by user properties. The user propert= ies is specificed via + Exporters can be controlled by user properties. The user propert= ies are specified via <property> or @@ -860,7 +860,7 @@ <property> is enough for specifying the properties needed for the exporters. Still the ant tools suppo= rts the notion of - <propertyset>. The functionallity of + <propertyset>. The functionality of <propertyset> is explained in detail in the Ant task manual. @@ -881,7 +881,7 @@ <hibernatetool> or inside any exporter will automatically create an instance of x.y.z.NameOfToolClass and= it will be available in - the templates as $sometool. This is usefull to = delegate logic and code + the templates as $sometool. This is useful to d= elegate logic and code generation to java code instead of placing such logic in the templ= ates. =
Modified: trunk/hibernatetools/docs/reference/en/modules/codegen.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/hibernatetools/docs/reference/en/modules/codegen.xml 2007-12-29 1= 5:10:27 UTC (rev 5486) +++ trunk/hibernatetools/docs/reference/en/modules/codegen.xml 2008-01-03 1= 2:41:58 UTC (rev 5487) @@ -177,7 +177,7 @@ default-value = - default initializatioin value for a field + default initialization value for a field = @@ -192,7 +192,7 @@ = include this property in the equals() and hashCode() method. If no use-in-equals = is - specificed, no equals/hashcode will be generated. + specified, no equals/hashcode will be generated. = @@ -265,7 +265,7 @@ "class-scope" to the cu= rrent class, not the subclasses. =
- Recomendations + Recommendations = The following are some good practices when using @@ -408,7 +408,7 @@ = With an <meta attribute=3D"class-code">, - you can add addional methods on a given class, nevertheless such + you can add additional methods on a given class, nevertheless such <meta> attribute can not= be used at property scope level and Hibernate Tools does not prov= ide such @@ -416,7 +416,7 @@ <meta> attributes. = A possibly solution for this is to modify the freemarker - templates responsable for generating the POJO's. If you look inside + templates responsible for generating the POJO's. If you look inside hibernate-tools.jar, you can f= ind the template: @@ -474,7 +474,7 @@ contents will be generated into the body of the relevant set method. = - As an examlpe let us add a pre-condition for property + As an example let us add a pre-condition for property name preventing no Person can have an empty name. So we have to modify the Modified: trunk/hibernatetools/docs/reference/en/modules/codegenarchitectur= e.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/hibernatetools/docs/reference/en/modules/codegenarchitecture.xml = 2007-12-29 15:10:27 UTC (rev 5486) +++ trunk/hibernatetools/docs/reference/en/modules/codegenarchitecture.xml = 2008-01-03 12:41:58 UTC (rev 5487) @@ -70,7 +70,7 @@ = In most projects you will normally use only one of the Core, Ann= otation or JPA configuration and possibly the JDBC configuration if you are using t= he reverse engineering - facilities of Hibernate Tools. The important th= ing to note is that no matter which Hibnerate + facilities of Hibernate Tools. The important th= ing to note is that no matter which Hibernate Configuration type you are using Hibernate Tools supports them. = The following drawing illustrates the core concepts: Modified: trunk/hibernatetools/docs/reference/en/modules/plugins.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/hibernatetools/docs/reference/en/modules/plugins.xml 2007-12-29 1= 5:10:27 UTC (rev 5486) +++ trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2008-01-03 1= 2:41:58 UTC (rev 5487) @@ -85,7 +85,7 @@ Press Finish to create the configuration file, after optionally creat= ing a Console - onfiguration, the + configuration, the hibernate.cfg.xml will be automatically opened in an editor. The last opti= on Create Console Configuration @@ -101,7 +101,7 @@ should configure Hibernate and what configurati= on files, including which classpath is needed to load the POJO's, JDBC drivers etc. It is requ= ired to make usage of query prototyping, reverse engineering and code generation. You can = have multiple named - console configurations. Normally you would just need one per project= , but more is definitly + console configurations. Normally you would just need one per project= , but more is definitely possible. = You create a console configuration by running the Console Config= uration wizard, shown in @@ -137,7 +137,7 @@ Classpath for classpath and Mappings - for additional mappings. The two latter ones is normally= not required if you + for additional mappings. The two latter ones are normall= y not required if you specify a project and it has /hibernate.cfg.xml @@ -516,7 +516,7 @@ = - The first time you create a code generation launcher you shoul= d give it a meaningfull + The first time you create a code generation launcher you shoul= d give it a meaningful name, otherwise the default prefix New_Generation will be used. @@ -633,7 +633,7 @@ If reveng.xml does not provide enough customization = you can provide your own implementation of an ReverseEngineeringStrategy. The cla= ss need to be in the - claspath of the Console Configuration, otherwise you wil= l get class not found + classpath of the Console Configuration, otherwise you wi= ll get class not found exceptions. See for details and an example of a custom strategy. @@ -778,7 +778,7 @@ = - Generate a hibernate.cfg.xml file. Used to keep the = hibernate.cfg.xml uptodate + Generate a hibernate.cfg.xml file. Used to keep the = hibernate.cfg.xml update with any new found mapping files. @@ -812,7 +812,7 @@ Each Exporter listens to certain properties and these can be s= etup in the Properties section where you can add/remove predefined or custome= r properties for each of - the exporters. The following table lists the time of writing pre-d= efined properties: + the exporters. The following table lists the time of writing prede= fined properties: = @@ -937,7 +937,7 @@ hbm.xml and cfg.xml - files. The editor is based on the Eclipse WTP tools and = extend its functionallity + files. The editor is based on the Eclipse WTP tools and = extend its functionality to provide Hibernate specific code completion. =
@@ -968,7 +968,7 @@ files to the relevant class/field in java code. =
- Navigation Functionallity + Navigation Functionality @@ -991,7 +991,7 @@
= - This is done via the standard hyperlink navigation functionall= ity in Eclipse; per + This is done via the standard hyperlink navigation functionali= ty in Eclipse; per default it is done by pressing F3 while the cursor is on a class/f= ield or by pressing Ctrl and the mouse button to perform the same navigation. @@ -1079,7 +1079,7 @@ = Note that not all the features of the .reveng.xml file is exposed or fully= implemented in - the editor, but the main functionallity is there. To understand the = full flexibility of the + the editor, but the main functionality is there. To understand the f= ull flexibility of the reveng.xml, please see = @@ -1090,7 +1090,7 @@ Ctrl+N or via the code generation launcher. = - The following screentshot shows the + The following screenshot shows the Overview page where the wanted conso= le configuration is selected (auto-detected if Hibernate 3 support is enabled for the= project) = @@ -1239,7 +1239,7 @@ = Errors during creation of the SessionFactory or running the queries (e.g. if your configuration or query is incorrect) will be shown i= n a message dialog or - inlined in the view that detected the error, you may get more info= rmation about the error in + inclined in the view that detected the error, you may get more inf= ormation about the error in the Error Log view on the right pane. = Results of a query will be shown in the Query result view and = details of possible errors Modified: trunk/hibernatetools/docs/reference/en/modules/reverseengineering= .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/hibernatetools/docs/reference/en/modules/reverseengineering.xml 2= 007-12-29 15:10:27 UTC (rev 5486) +++ trunk/hibernatetools/docs/reference/en/modules/reverseengineering.xml 2= 008-01-03 12:41:58 UTC (rev 5487) @@ -41,7 +41,7 @@ filtering. This file can be created by hand (its just basic XML) or you can use the Hibernate plugins which have a specialized editor. = - Many databases is case-sensitive with their names and thus= if + Many databases are case-sensitive with their names and thu= s if you cannot make some table match and you are sure it is not excluded b= y a <table-filter>then check if the case matches; most databases sto= res table names in uppercase. @@ -178,7 +178,7 @@ /> ]]> = - The number of attributes specificed and the sequence of the + The number of attributes specified and the sequence of the sql-type's is important. Meaning that Hibernate will search for the most specific first, and if no specific match is foun= d it will seek from top to bottom when trying to resolve a type @@ -290,7 +290,7 @@ char = Even though there is a generic match for VARCHAR, t= he - more specifc type-mapping for VARCHAR with not-null=3D"fal= se" is + more specific type-mapping for VARCHAR with not-null=3D"fa= lse" is chosen. The first VARCHAR sql-type matches in length but h= as no value for not-null and thus is not considered. @@ -356,9 +356,9 @@ Table filters (<table-filter>) = The - <table-filter> let you speci= fcy matching rules for + <table-filter> let you speci= fy matching rules for performing general filtering/setup for tables, e.g. let you include = or - exclude specific tables based on the schema or even a specifc + exclude specific tables based on the schema or even a specific prefix. = @@ -493,7 +493,7 @@ generator/class (Optional): defines which identifier generator should be used. The class name is any hibernate sh= ort - hand name or fully quailfied class name for an identifier + hand name or fully qualified class name for an identifier strategy. = --===============8834712287897274871==-- From jbosstools-commits at lists.jboss.org Thu Jan 3 08:39:46 2008 Content-Type: multipart/mixed; boundary="===============8328667565253827121==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5488 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages. Date: Thu, 03 Jan 2008 08:39:45 -0500 Message-ID: --===============8328667565253827121== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-03 08:39:45 -0500 (Thu, 03 Jan 2008) New Revision: 5488 Removed: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/actionListener.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/attribute.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/commandButton.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/commandLink.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/convertDateTime.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/convertNumber.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/converter.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/dataTable.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/facet.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/form.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/graphicImage.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/inputHidden.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/inputSecret.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/inputText.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/inputTextArea.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/loadBundle.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/message.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/messages.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/outputFormat.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/outputLabel.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/outputLink.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/outputText.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/panelGrid.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/panelGroup.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/param.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/phaseListener.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/selectBooleanCheckbox.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/selectItem.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/selectItems.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/selectManyCheckbox.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/selectManyListbox.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/selectManyMenu.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/selectOneListbox.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/selectOneMenu.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/selectOneRadio.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/setPropertyActionListener.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/subview.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/validateDoubleRange.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/validateLength.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/validateLongRange.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/validator.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/valueChangeListener.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/verbatim.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/view.jsp Log: update jsf junit Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/actionListener.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/actionListener.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/actionListener.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,18 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/attribute.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/attribute.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/attribute.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,18 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/commandButton.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/commandButton.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/commandButton.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,19 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/commandLink.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/commandLink.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/commandLink.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,19 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/convertDateTime.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/convertDateTime.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/convertDateTime.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,16 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/convertNumber.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/convertNumber.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/convertNumber.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,16 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/converter.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/converter.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/converter.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,16 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/dataTable.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/dataTable.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/dataTable.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,50 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/facet.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/facet.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/facet.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,42 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/form.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/form.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/form.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,18 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - = - - = -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/graphicImage.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/graphicImage.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/graphicImage.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,16 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - = -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/inputHidden.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/inputHidden.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/inputHidden.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,16 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - = -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/inputSecret.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/inputSecret.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/inputSecret.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,16 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - = -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/inputText.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/inputText.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/inputText.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,16 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - = -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/inputTextArea.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/inputTextArea.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/inputTextArea.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,16 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - = -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/loadBundle.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/loadBundle.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/loadBundle.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,14 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/message.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/message.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/message.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,18 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/messages.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/messages.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/messages.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,17 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/outputFormat.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/outputFormat.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/outputFormat.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,15 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/outputLabel.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/outputLabel.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/outputLabel.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,15 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/outputLink.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/outputLink.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/outputLink.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,17 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/outputText.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/outputText.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/outputText.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,15 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/panelGrid.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/panelGrid.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/panelGrid.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,24 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - - - - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/panelGroup.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/panelGroup.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/panelGroup.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,27 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - - - - - - - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/param.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/param.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/param.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,26 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - - - - - - - - - = -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/phaseListener.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/phaseListener.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/phaseListener.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,16 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - = -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/selectBooleanCheckbox.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectBooleanCheckbox.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectBooleanCheckbox.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,17 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/selectItem.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectItem.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectItem.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,22 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/selectItems.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectItems.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectItems.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,20 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/selectManyCheckbox.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectManyCheckbox.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectManyCheckbox.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,22 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/selectManyListbox.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectManyListbox.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectManyListbox.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,21 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/selectManyMenu.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectManyMenu.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectManyMenu.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,23 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - - - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/selectOneListbox.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectOneListbox.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectOneListbox.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,22 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/selectOneMenu.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectOneMenu.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectOneMenu.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,23 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - - - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/selectOneRadio.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectOneRadio.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/selectOneRadio.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,25 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - = - - - - - = - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/setPropertyActionListener.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/setPropertyActionListener.jsp 2008-01-03 12:41:58 UTC (rev 548= 7) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/setPropertyActionListener.jsp 2008-01-03 13:39:45 UTC (rev 548= 8) @@ -1,18 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/subview.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/subview.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/subview.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,16 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/validateDoubleRange.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/validateDoubleRange.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/validateDoubleRange.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,18 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/validateLength.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/validateLength.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/validateLength.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,18 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/validateLongRange.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/validateLongRange.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/validateLongRange.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,18 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/validator.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/validator.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/validator.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,18 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/valueChangeListener.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/valueChangeListener.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/valueChangeListener.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,18 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- - - - - -
- - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/verbatim.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/verbatim.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/verbatim.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,25 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

- -
- - - - - - - - -
12
34
- - - - \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/view.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/view.jsp 2008-01-03 12:41:58 UTC (rev 5487) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/view.jsp 2008-01-03 13:39:45 UTC (rev 5488) @@ -1,13 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - -

-
- - \ No newline at end of file --===============8328667565253827121==-- From jbosstools-commits at lists.jboss.org Thu Jan 3 08:40:48 2008 Content-Type: multipart/mixed; boundary="===============0014680427054239551==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5489 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages: components and 1 other directory. Date: Thu, 03 Jan 2008 08:40:47 -0500 Message-ID: --===============0014680427054239551== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-03 08:40:47 -0500 (Thu, 03 Jan 2008) New Revision: 5489 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/actionListener.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/attribute.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/commandButton.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/commandLink.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/convertDateTime.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/convertNumber.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/converter.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/dataTable.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/facet.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/form.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/graphicImage.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/inputHidden.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/inputSecret.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/inputText.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/inputTextArea.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/loadBundle.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/message.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/messages.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/outputFormat.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/outputLabel.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/outputLink.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/outputText.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/panelGrid.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/panelGroup.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/param.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/phaseListener.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/selectBooleanCheckbox.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/selectItem.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/selectItems.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/selectManyCheckbox.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/selectManyListbox.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/selectManyMenu.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/selectOneListbox.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/selectOneMenu.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/selectOneRadio.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/setPropertyActionListener.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/subview.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/validateDoubleRange.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/validateLength.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/validateLongRange.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/validator.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/valueChangeListener.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/verbatim.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/components/view.jsp Log: update jsf junit Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/actionListener.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/actionListener.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/actionListener.jsp 2008-01-03 13:40:47 UTC (rev 548= 9) @@ -0,0 +1,18 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/attribute.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/attribute.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/attribute.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,18 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/commandButton.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/commandButton.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/commandButton.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,19 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/commandLink.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/commandLink.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/commandLink.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,19 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/convertDateTime.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/convertDateTime.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/convertDateTime.jsp 2008-01-03 13:40:47 UTC (rev 54= 89) @@ -0,0 +1,16 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/convertNumber.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/convertNumber.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/convertNumber.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,16 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/converter.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/converter.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/converter.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,16 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/dataTable.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/dataTable.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/dataTable.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,50 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/facet.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/facet.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/facet.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,42 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/form.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/form.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/form.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,18 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + = + + = +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/graphicImage.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/graphicImage.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/graphicImage.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,16 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + = +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/inputHidden.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/inputHidden.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/inputHidden.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,16 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + = +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/inputSecret.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/inputSecret.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/inputSecret.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,16 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + = +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/inputText.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/inputText.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/inputText.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,16 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + = +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/inputTextArea.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/inputTextArea.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/inputTextArea.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,16 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + = +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/loadBundle.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/loadBundle.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/loadBundle.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/message.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/message.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/message.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,18 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/messages.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/messages.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/messages.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,17 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/outputFormat.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/outputFormat.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/outputFormat.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/outputLabel.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/outputLabel.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/outputLabel.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/outputLink.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/outputLink.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/outputLink.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,17 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/outputText.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/outputText.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/outputText.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/panelGrid.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/panelGrid.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/panelGrid.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,24 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + + + + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/panelGroup.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/panelGroup.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/panelGroup.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,27 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + + + + + + + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/param.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/param.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/param.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,26 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + + + + + + + + + = +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/phaseListener.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/phaseListener.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/phaseListener.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,16 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + = +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/selectBooleanCheckbox.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectBooleanCheckbox.jsp (= rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectBooleanCheckbox.jsp 2008-01-03 13:40:47 UTC (= rev 5489) @@ -0,0 +1,17 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/selectItem.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectItem.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectItem.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,22 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/selectItems.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectItems.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectItems.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,20 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/selectManyCheckbox.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectManyCheckbox.jsp (rev= 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectManyCheckbox.jsp 2008-01-03 13:40:47 UTC (rev= 5489) @@ -0,0 +1,22 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/selectManyListbox.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectManyListbox.jsp (rev = 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectManyListbox.jsp 2008-01-03 13:40:47 UTC (rev = 5489) @@ -0,0 +1,21 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/selectManyMenu.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectManyMenu.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectManyMenu.jsp 2008-01-03 13:40:47 UTC (rev 548= 9) @@ -0,0 +1,23 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + + + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/selectOneListbox.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectOneListbox.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectOneListbox.jsp 2008-01-03 13:40:47 UTC (rev 5= 489) @@ -0,0 +1,22 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/selectOneMenu.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectOneMenu.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectOneMenu.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,23 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + + + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/selectOneRadio.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectOneRadio.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/selectOneRadio.jsp 2008-01-03 13:40:47 UTC (rev 548= 9) @@ -0,0 +1,25 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + = + + + + + = + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/setPropertyActionListener.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/setPropertyActionListener.jsp = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/setPropertyActionListener.jsp 2008-01-03 13:40:47 U= TC (rev 5489) @@ -0,0 +1,18 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/subview.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/subview.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/subview.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,16 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/validateDoubleRange.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/validateDoubleRange.jsp (re= v 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/validateDoubleRange.jsp 2008-01-03 13:40:47 UTC (re= v 5489) @@ -0,0 +1,18 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/validateLength.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/validateLength.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/validateLength.jsp 2008-01-03 13:40:47 UTC (rev 548= 9) @@ -0,0 +1,18 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/validateLongRange.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/validateLongRange.jsp (rev = 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/validateLongRange.jsp 2008-01-03 13:40:47 UTC (rev = 5489) @@ -0,0 +1,18 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/validator.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/validator.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/validator.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,18 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/valueChangeListener.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/valueChangeListener.jsp (re= v 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/valueChangeListener.jsp 2008-01-03 13:40:47 UTC (re= v 5489) @@ -0,0 +1,18 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/verbatim.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/verbatim.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/verbatim.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,25 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+ + + + + + + + + + +
12
34
+
+
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/components/view.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/view.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/components/view.jsp 2008-01-03 13:40:47 UTC (rev 5489) @@ -0,0 +1,13 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + +

+
+ + \ No newline at end of file --===============0014680427054239551==-- From jbosstools-commits at lists.jboss.org Thu Jan 3 08:44:31 2008 Content-Type: multipart/mixed; boundary="===============0940091949383768730==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5490 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test. Date: Thu, 03 Jan 2008 08:44:30 -0500 Message-ID: --===============0940091949383768730== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-03 08:44:30 -0500 (Thu, 03 Jan 2008) New Revision: 5490 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfJbideTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1467 was created test for this bug Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfJbideTest.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfJbideTest.java 2008-01-03 13:40:47 UTC (rev 5489) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfJbideTest.java 2008-01-03 13:44:30 UTC (rev 5490) @@ -10,15 +10,32 @@ *************************************************************************= *****/ package org.jboss.tools.jsf.vpe.jsf.test; = +import java.util.ArrayList; +import java.util.List; + import junit.framework.TestCase; = +import org.eclipse.core.resources.IFile; import org.eclipse.core.runtime.ILogListener; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Platform; +import org.eclipse.ui.IEditorInput; import org.eclipse.ui.PartInitException; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.part.FileEditorInput; +import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; +import org.jboss.tools.vpe.editor.VpeController; +import org.jboss.tools.vpe.editor.VpeEditorPart; +import org.jboss.tools.vpe.editor.util.HTML; +import org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor; +import org.mozilla.interfaces.nsIDOMDocument; +import org.mozilla.interfaces.nsIDOMElement; +import org.mozilla.interfaces.nsIDOMNamedNodeMap; +import org.mozilla.interfaces.nsIDOMNode; +import org.mozilla.interfaces.nsIDOMNodeList; = /** - * Class for testing all jsf components + * Class for testing all jsf bugs * = * @author sdzmitrovich * = @@ -26,6 +43,9 @@ public class JsfJbideTest extends TestCase implements ILogListener { = private final static String EDITOR_ID =3D "org.jboss.tools.jst.jsp.jspedi= tor.JSPTextEditor"; // $NON-NLS-1$ + // type of input tag + private static final String ATTR_TYPE_VALUE =3D "radio"; + // $NON-NLS-1$ = // check warning log @@ -48,6 +68,10 @@ super.setUp(); = Platform.addLogListener(this); + + TestJsfUtil.waitForJobs(); + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() + .closeAllEditors(true); } = /** @@ -60,42 +84,149 @@ protected void tearDown() throws Exception { super.tearDown(); Platform.removeLogListener(this); + + TestJsfUtil.waitForJobs(); + + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() + .closeAllEditors(true); } = /* * JBIDE's test cases */ = + /** + * test for http://jira.jboss.com/jira/browse/JBIDE-1467 + * = + * REQUIREMENT :test page must have only one tag + * = + * test check that all "radio" elements ( of xulRunner DOMDocument ) have + * equal "name" attributes + */ public void testJBIDE_1467() throws PartInitException, Throwable { + // path to test page String path =3D "JBIDE/JBIDE-1467.jsp"; - = - } - - /*private void performTestForJsfComponent(String componentPage) - throws PartInitException, Throwable { - TestJsfComponentsUtil.waitForJobs(); - = + // wait + TestJsfUtil.waitForJobs(); + // set exception exception =3D null; - IPath componentPath =3D TestJsfComponentsUtil - .getComponentPath(componentPage); = - IFile file =3D ResourcesPlugin.getWorkspace().getRoot().getFile( - componentPath); + // get test page path + IFile file =3D (IFile) TestJsfUtil.getComponentPath(path); + IEditorInput input =3D new FileEditorInput(file); = - PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() + // get editor + JSPMultiPageEditor part =3D (JSPMultiPageEditor) PlatformUI + .getWorkbench().getActiveWorkbenchWindow().getActivePage() .openEditor(input, EDITOR_ID, true); = - TestJsfComponentsUtil.waitForJobs(); - TestJsfComponentsUtil.delay(3000); - PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() - .closeAllEditors(true); + // wait for jobs + TestJsfUtil.waitForJobs(); + // wait full initialization of vpe + TestJsfUtil.delay(3000); = + VpeEditorPart visualEditor =3D (VpeEditorPart) part.getVisualEditor(); + VpeController vpeController =3D visualEditor.getController(); + + // get xulRunner editor + XulRunnerEditor xulRunnerEditor =3D vpeController.getXulRunnerEditor(); + + // get dom document + nsIDOMDocument document =3D xulRunnerEditor.getDOMDocument(); + nsIDOMElement element =3D document.getDocumentElement(); + + if (element !=3D null) { + + // get root node + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "input" elements + findElementsByName(node, elements, HTML.TAG_INPUT); + + // check that "radio" elements have equal names + // (size of list of names =3D=3D 1 ) + assertEquals(getRadioNames(elements).size(), 1); + + } + + // check exception if (exception !=3D null) { throw exception; } - }*/ = + } + + /** + * find elements by name + * = + * @param node - + * current node + * @param elements - + * list of found elements + * @param name - + * name element + */ + void findElementsByName(nsIDOMNode node, List elements, + String name) { + + // get children + nsIDOMNodeList children =3D node.getChildNodes(); + for (int i =3D 0; i < children.getLength(); i++) { + nsIDOMNode child =3D children.item(i); + + // if current child is required then add his to list + if (name.equalsIgnoreCase((child.getNodeName()))) { + + elements.add(child); + return; + } + // if current child is not required + findElementsByName(child, elements, name); + + } + + } + + private List getRadioNames(List elements) { + + // list of "name" of "radio" elements + List radioNames =3D new ArrayList(); + + for (nsIDOMNode element : elements) { + // attributes + nsIDOMNamedNodeMap attributes =3D element.getAttributes(); + + if (null !=3D attributes) { + // get type of element + nsIDOMNode type =3D attributes.getNamedItem(HTML.ATTR_TYPE); + + // if type is "radio" + if ((null !=3D type) + && (ATTR_TYPE_VALUE.equalsIgnoreCase(type + .getNodeValue()))) { + + // get "name" attribute + nsIDOMNode name =3D attributes.getNamedItem(HTML.ATTR_NAME); + + // check for null + assertNotNull(name); + + // if name is unique + if (!radioNames.contains(name.getNodeValue())) + radioNames.add(name.getNodeValue()); + + } + } + } + + return radioNames; + + } + public void logging(IStatus status, String plugin) { switch (status.getSeverity()) { case IStatus.ERROR: --===============0940091949383768730==-- From jbosstools-commits at lists.jboss.org Thu Jan 3 08:45:06 2008 Content-Type: multipart/mixed; boundary="===============3308045275990451476==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5491 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test. Date: Thu, 03 Jan 2008 08:45:06 -0500 Message-ID: --===============3308045275990451476== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-03 08:45:05 -0500 (Thu, 03 Jan 2008) New Revision: 5491 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfAllTests.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfComponentTest.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/TestJsfUtil.java Log: update jsf junit Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-03 13:44:30 UTC (rev 5490) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-03 13:45:05 UTC (rev 5491) @@ -26,8 +26,7 @@ = private static void prepareTests() { = - TestJsfUtil.importJsfPages(JsfTestPlugin - .getPluginResourcePath() + TestJsfUtil.importJsfPages(JsfTestPlugin.getPluginResourcePath() + TEST_PROJECT_PATH); = } @@ -40,7 +39,7 @@ // $JUnit-BEGIN$ = suite.addTestSuite(JsfComponentTest.class); -// suite.addTestSuite(JsfJideTest.class); + suite.addTestSuite(JsfJbideTest.class); = // $JUnit-END$ return suite; Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfComponentTest.java 2008-01-03 13:44:30 UTC (rev 5490) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfComponentTest.java 2008-01-03 13:45:05 UTC (rev 5491) @@ -71,99 +71,99 @@ */ = public void testCommandButton() throws PartInitException, Throwable { - performTestForJsfComponent("commandButton.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/commandButton.jsp"); // $NON-NLS-= 1$ } = public void testCommandLink() throws PartInitException, Throwable { - performTestForJsfComponent("commandLink.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/commandLink.jsp"); // $NON-NLS-1$ } = public void testDataTable() throws PartInitException, Throwable { - performTestForJsfComponent("dataTable.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/dataTable.jsp"); // $NON-NLS-1$ } = public void testForm() throws PartInitException, Throwable { - performTestForJsfComponent("form.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/form.jsp"); // $NON-NLS-1$ } = public void testGraphicImage() throws PartInitException, Throwable { - performTestForJsfComponent("graphicImage.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/graphicImage.jsp"); // $NON-NLS-1$ } = public void testInputHidden() throws PartInitException, Throwable { - performTestForJsfComponent("inputHidden.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/inputHidden.jsp"); // $NON-NLS-1$ } = public void testInputSecret() throws PartInitException, Throwable { - performTestForJsfComponent("inputSecret.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/inputSecret.jsp"); // $NON-NLS-1$ } = public void testInputText() throws PartInitException, Throwable { - performTestForJsfComponent("inputText.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/inputText.jsp"); // $NON-NLS-1$ } = public void testInputTextArea() throws PartInitException, Throwable { - performTestForJsfComponent("inputTextArea.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/inputTextArea.jsp"); // $NON-NLS-= 1$ } = public void testMessage() throws PartInitException, Throwable { - performTestForJsfComponent("message.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/message.jsp"); // $NON-NLS-1$ } = public void testMessages() throws PartInitException, Throwable { - performTestForJsfComponent("messages.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/messages.jsp"); // $NON-NLS-1$ } = public void testOutputFormat() throws PartInitException, Throwable { - performTestForJsfComponent("outputFormat.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/outputFormat.jsp"); // $NON-NLS-1$ } = public void testOutputLabel() throws PartInitException, Throwable { - performTestForJsfComponent("outputLabel.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/outputLabel.jsp"); // $NON-NLS-1$ } = public void testOutputLink() throws PartInitException, Throwable { - performTestForJsfComponent("outputLink.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/outputLink.jsp"); // $NON-NLS-1$ } = public void testOutputText() throws PartInitException, Throwable { - performTestForJsfComponent("outputText.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/outputText.jsp"); // $NON-NLS-1$ } = public void testPanelGrid() throws PartInitException, Throwable { - performTestForJsfComponent("panelGrid.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/panelGrid.jsp"); // $NON-NLS-1$ } = public void testPanelGroup() throws PartInitException, Throwable { - performTestForJsfComponent("panelGroup.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/panelGroup.jsp"); // $NON-NLS-1$ } = public void testSelectBooleanCheckbox() throws PartInitException, Throwab= le { - performTestForJsfComponent("selectBooleanCheckbox.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/selectBooleanCheckbox.jsp"); // $= NON-NLS-1$ } = public void testSelectManyCheckbox() throws PartInitException, Throwable { - performTestForJsfComponent("selectManyCheckbox.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/selectManyCheckbox.jsp"); // $NON= -NLS-1$ } = public void testSelectManyListbox() throws PartInitException, Throwable { - performTestForJsfComponent("selectManyListbox.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/selectManyListbox.jsp"); // $NON-= NLS-1$ } = public void testSelectManyMenu() throws PartInitException, Throwable { - performTestForJsfComponent("selectManyMenu.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/selectManyMenu.jsp"); // $NON-NLS= -1$ } = public void testSelectOneListbox() throws PartInitException, Throwable { - performTestForJsfComponent("selectOneListbox.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/selectOneListbox.jsp"); // $NON-N= LS-1$ } = public void testSelectOneMenu() throws PartInitException, Throwable { - performTestForJsfComponent("selectOneMenu.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/selectOneMenu.jsp"); // $NON-NLS-= 1$ } = public void testSelectOneRadio() throws PartInitException, Throwable { - performTestForJsfComponent("selectOneRadio.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/selectOneRadio.jsp"); // $NON-NLS= -1$ } = /* @@ -171,84 +171,84 @@ */ = public void testActionListener() throws PartInitException, Throwable { - performTestForJsfComponent("actionListener.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/actionListener.jsp"); // $NON-NLS= -1$ } = public void testAttribute() throws PartInitException, Throwable { - performTestForJsfComponent("attribute.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/attribute.jsp"); // $NON-NLS-1$ } = public void testConvertDateTime() throws PartInitException, Throwable { - performTestForJsfComponent("convertDateTime.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/convertDateTime.jsp"); // $NON-NL= S-1$ } = public void testConvertNumber() throws PartInitException, Throwable { - performTestForJsfComponent("convertNumber.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/convertNumber.jsp"); // $NON-NLS-= 1$ } = public void testConverter() throws PartInitException, Throwable { - performTestForJsfComponent("converter.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/converter.jsp"); // $NON-NLS-1$ } = public void testFacet() throws PartInitException, Throwable { - performTestForJsfComponent("facet.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/facet.jsp"); // $NON-NLS-1$ } = public void testLoadBundle() throws PartInitException, Throwable { - performTestForJsfComponent("loadBundle.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/loadBundle.jsp"); // $NON-NLS-1$ } = public void testParam() throws PartInitException, Throwable { - performTestForJsfComponent("param.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/param.jsp"); // $NON-NLS-1$ } = public void testPhaseListener() throws PartInitException, Throwable { - performTestForJsfComponent("phaseListener.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/phaseListener.jsp"); // $NON-NLS-= 1$ } = public void testSelectItem() throws PartInitException, Throwable { - performTestForJsfComponent("selectItem.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/selectItem.jsp"); // $NON-NLS-1$ } = public void testSelectItems() throws PartInitException, Throwable { - performTestForJsfComponent("selectItems.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/selectItems.jsp"); // $NON-NLS-1$ } = public void testSetPropertyActionListener() throws PartInitException, Throwable { - performTestForJsfComponent("setPropertyActionListener.jsp"); // $NON-NLS= -1$ + performTestForJsfComponent("components/setPropertyActionListener.jsp"); = // $NON-NLS-1$ } = public void testSubview() throws PartInitException, Throwable { - performTestForJsfComponent("subview.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/subview.jsp"); // $NON-NLS-1$ } = public void testValidateDoubleRange() throws PartInitException, Throwable= { - performTestForJsfComponent("validateDoubleRange.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/validateDoubleRange.jsp"); // $NO= N-NLS-1$ } = public void testValidateLength() throws PartInitException, Throwable { - performTestForJsfComponent("validateLength.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/validateLength.jsp"); // $NON-NLS= -1$ } = public void testValidateLongRange() throws PartInitException, Throwable { - performTestForJsfComponent("validateLongRange.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/validateLongRange.jsp"); // $NON-= NLS-1$ } = public void testValidator() throws PartInitException, Throwable { - performTestForJsfComponent("validator.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/validator.jsp"); // $NON-NLS-1$ } = public void testValueChangeListener() throws PartInitException, Throwable= { - performTestForJsfComponent("valueChangeListener.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/valueChangeListener.jsp"); // $NO= N-NLS-1$ } = public void testVerbatim() throws PartInitException, Throwable { - performTestForJsfComponent("verbatim.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/verbatim.jsp"); // $NON-NLS-1$ } = public void testView() throws PartInitException, Throwable { - performTestForJsfComponent("view.jsp"); // $NON-NLS-1$ + performTestForJsfComponent("components/view.jsp"); // $NON-NLS-1$ } = private void performTestForJsfComponent(String componentPage) @@ -256,15 +256,8 @@ TestJsfUtil.waitForJobs(); = exception =3D null; - = - // IPath componentPath =3D TestJsfComponentsUtil - // .getComponentPath(componentPage); - // - // IFile file =3D ResourcesPlugin.getWorkspace().getRoot().getFile( - // componentPath); = - IFile file =3D (IFile) TestJsfUtil - .getComponentPath(componentPage); + IFile file =3D (IFile) TestJsfUtil.getComponentPath(componentPage); = IEditorInput input =3D new FileEditorInput(file); = @@ -273,6 +266,7 @@ = TestJsfUtil.waitForJobs(); TestJsfUtil.delay(3000); + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() .closeAllEditors(true); = Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/TestJsfUtil.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/TestJsfUtil.java 2008-01-03 13:44:30 UTC (rev 5490) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/TestJsfUtil.java 2008-01-03 13:45:05 UTC (rev 5491) @@ -100,9 +100,6 @@ PROJECT_NAME); if (project !=3D null) { return project.getFolder(COMPONENTS_PATH).findMember(componentPage); - // if (resource !=3D null) { - // return resource.getFullPath(); - // } = } = --===============3308045275990451476==-- From jbosstools-commits at lists.jboss.org Thu Jan 3 08:49:07 2008 Content-Type: multipart/mixed; boundary="===============6124707503156161781==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5492 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF. Date: Thu, 03 Jan 2008 08:49:07 -0500 Message-ID: --===============6124707503156161781== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-03 08:49:07 -0500 (Thu, 03 Jan 2008) New Revision: 5492 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF Log: update jsf junit Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF 2= 008-01-03 13:45:05 UTC (rev 5491) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF 2= 008-01-03 13:49:07 UTC (rev 5492) @@ -10,6 +10,11 @@ org.junit, org.eclipse.core.resources, org.eclipse.ui.ide, - org.jboss.tools.common + org.jboss.tools.common, + org.jboss.tools.jst.jsp, + org.jboss.tools.common.text.ext, + org.jboss.tools.common.model, + org.jboss.tools.vpe.xulrunner, + org.mozilla.xpcom Eclipse-LazyStart: true Bundle-ClassPath: jsf-test.jar --===============6124707503156161781==-- From jbosstools-commits at lists.jboss.org Thu Jan 3 12:46:47 2008 Content-Type: multipart/mixed; boundary="===============6111489742807007007==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5493 - in trunk/hibernatetools/docs/reference/en/images: plugins and 1 other directory. Date: Thu, 03 Jan 2008 12:46:47 -0500 Message-ID: --===============6111489742807007007== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-03 12:46:47 -0500 (Thu, 03 Jan 2008) New Revision: 5493 Added: trunk/hibernatetools/docs/reference/en/images/plugins/ trunk/hibernatetools/docs/reference/en/images/plugins/plugins_1.png trunk/hibernatetools/docs/reference/en/images/plugins/plugins_12.png trunk/hibernatetools/docs/reference/en/images/plugins/plugins_2.png trunk/hibernatetools/docs/reference/en/images/plugins/plugins_3.png trunk/hibernatetools/docs/reference/en/images/plugins/plugins_4.png trunk/hibernatetools/docs/reference/en/images/plugins/plugins_5.png trunk/hibernatetools/docs/reference/en/images/plugins/plugins_6.png trunk/hibernatetools/docs/reference/en/images/plugins/plugins_7.png trunk/hibernatetools/docs/reference/en/images/plugins/plugins_8.png trunk/hibernatetools/docs/reference/en/images/plugins/plugins_9.png Log: http://jira.jboss.com/jira/browse/JBDS-185 - folder 'plugins' is added to '= images' folder Added: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_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) Property changes on: trunk/hibernatetools/docs/reference/en/images/plugins/= plugins_1.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_12.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/hibernatetools/docs/reference/en/images/plugins/= plugins_12.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_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) Property changes on: trunk/hibernatetools/docs/reference/en/images/plugins/= plugins_2.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_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) Property changes on: trunk/hibernatetools/docs/reference/en/images/plugins/= plugins_3.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_4.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/hibernatetools/docs/reference/en/images/plugins/= plugins_4.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_5.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/hibernatetools/docs/reference/en/images/plugins/= plugins_5.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_6.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/hibernatetools/docs/reference/en/images/plugins/= plugins_6.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_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) Property changes on: trunk/hibernatetools/docs/reference/en/images/plugins/= plugins_7.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_8.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/hibernatetools/docs/reference/en/images/plugins/= plugins_8.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_9.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/hibernatetools/docs/reference/en/images/plugins/= plugins_9.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream --===============6111489742807007007==-- From jbosstools-commits at lists.jboss.org Thu Jan 3 12:47:02 2008 Content-Type: multipart/mixed; boundary="===============3554390182992511911==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5494 - trunk/hibernatetools/docs/reference/en/modules. Date: Thu, 03 Jan 2008 12:47:02 -0500 Message-ID: --===============3554390182992511911== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-03 12:47:02 -0500 (Thu, 03 Jan 2008) New Revision: 5494 Modified: trunk/hibernatetools/docs/reference/en/modules/plugins.xml Log: http://jira.jboss.com/jira/browse/JBDS-185 - folder 'plugins' is added to '= images' folder Modified: trunk/hibernatetools/docs/reference/en/modules/plugins.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/hibernatetools/docs/reference/en/modules/plugins.xml 2008-01-03 1= 7:46:47 UTC (rev 5493) +++ trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2008-01-03 1= 7:47:02 UTC (rev 5494) @@ -65,11 +65,11 @@ Hibernate Configuration File Wizard - + = - + @@ -80,7 +80,7 @@ = Enter your configuration information in this dialog. Details abo= ut the configuration - options can be found in Hibernate reference doc= umentation. + options can be found in Hibernate reference documentation<= /property>.
= Press Finish @@ -121,11 +121,11 @@ Creating Hibernate Console Configuration - + = - + = @@ -304,11 +304,11 @@ Specifying Classpath in Hibernate Console Configuration</titl= e> <mediaobject> <imageobject role=3D"fo"> - <imagedata align=3D"center" fileref=3D"images/consolecfgclasspat= h.png" format=3D"PNG"/> + <imagedata align=3D"center" fileref=3D"images/plugins/plugins_3.= png" format=3D"PNG"/> </imageobject> = <imageobject role=3D"html"> - <imagedata align=3D"center" fileref=3D"images/consolecfgclasspat= h.png" format=3D"PNG"/> + <imagedata align=3D"center" fileref=3D"images/plugins/plugins_3.= png" format=3D"PNG"/> </imageobject> = </mediaobject> @@ -384,11 +384,11 @@ <title>Specifying additional Mappings in Hibernate Console Configu= ration - + = - + @@ -452,11 +452,11 @@ Console Overview - + = - + = @@ -484,7 +484,7 @@ Code Generation Launcher = When you click on - Hibernate Code Generation... + Open Hibernate Code Generation Dialog... the standard Eclipse launcher dialog will appear. In t= his dialog you can create, edit and delete named Hibernate code generation "launchers". = @@ -492,11 +492,11 @@ Getting Hibernate Code Generation Wizard - + = - + @@ -507,11 +507,11 @@ Hibernate Code Generation Wizard - + = - + @@ -521,7 +521,7 @@ New_Generation will be used. = - + Tip: The "At least one exporter option must be selected"= ; is just a warning stating that for this launch to work you need to select = an exporter on the Exporter tab. When an exporter has been selected the warning wil= l disappear. @@ -656,17 +656,17 @@ = - Detect optimistic lock columns + Detect optimistic lock columns = - Automatically detect optimistic lock columns. Control= lable via reveng. - strategy; the current default is to use columns named VERS= ION or TIMESTAMP. + Automatically detect optimistic lock columns. C= ontrollable via reveng. + strategy; the current default is to use columns named VERS= ION or TIMESTAMP. = - Detect many-to-many tables + Detect many-to-many tables = - Automatically detect many-to-many tables. Controllabl= e via reveng. - strategy. + Automatically detect many-to-many tables. Contr= ollable via reveng. + strategy. = @@ -708,11 +708,11 @@ Selecting Exporters - + = - + @@ -1052,11 +1052,11 @@ Property Completion - + = - + @@ -1074,7 +1074,7 @@ configure the reverse engineering process.
= The editor is intended to allow easy definition of type mappings= , table include/excludes - and specific override settings for columns, e.g. define a explicit n= ame for a column when the + and specific override settings for columns, e.g. define an explicit = name for a column when the default naming rules is not applicable. = Note that not all the features of the @@ -1189,7 +1189,7 @@ = = - Hibernate Console perspective showing ent= ity structure, query editor and + Hibernate Console perspective shows entit= y structure, query editor and result = = --===============3554390182992511911==-- From jbosstools-commits at lists.jboss.org Thu Jan 3 20:54:38 2008 Content-Type: multipart/mixed; boundary="===============7722655236949111785==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5495 - trunk/common/plugins/org.jboss.tools.common.kb/src/org/jboss/tools/common/kb. Date: Thu, 03 Jan 2008 20:54:38 -0500 Message-ID: --===============7722655236949111785== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-03 20:54:38 -0500 (Thu, 03 Jan 2008) New Revision: 5495 Modified: trunk/common/plugins/org.jboss.tools.common.kb/src/org/jboss/tools/commo= n/kb/KbDinamicResource.java trunk/common/plugins/org.jboss.tools.common.kb/src/org/jboss/tools/commo= n/kb/KbDtdStore.java trunk/common/plugins/org.jboss.tools.common.kb/src/org/jboss/tools/commo= n/kb/KbHtmlMap.java Log: http://jira.jboss.org/jira/browse/JBIDE-1544 Need add @catalogProperty@@schemaProperty@ back to persistence.xml template= s file in seam-gen. JUnit tests also added. Modified: trunk/common/plugins/org.jboss.tools.common.kb/src/org/jboss/tool= s/common/kb/KbDinamicResource.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.kb/src/org/jboss/tools/comm= on/kb/KbDinamicResource.java 2008-01-03 17:47:02 UTC (rev 5494) +++ trunk/common/plugins/org.jboss.tools.common.kb/src/org/jboss/tools/comm= on/kb/KbDinamicResource.java 2008-01-04 01:54:38 UTC (rev 5495) @@ -19,19 +19,19 @@ */ public interface KbDinamicResource extends KbResource { = - public static final String BUNDLE_PROPERTY_TYPE =3D "bundleProperty"; - public static final String BEAN_PROPERTY_TYPE =3D "beanProperty"; - public static final String BEAN_METHOD_BY_SYGNATURE_TYPE =3D "beanMethodB= ySignature"; - public static final String JSP_PATH_TYPE =3D "jspPath"; - public static final String BUNDLE_NAME_TYPE =3D "bundleName"; - public static final String VIEW_ACTIONS_TYPE =3D "viewActions"; - public static final String IMAGE_FILE_TYPE =3D "file"; - public static final String ENUMERATION_TYPE =3D "enumeration"; - public static final String JSF_VARIABLES_TYPE =3D "jsfVariables"; - public static final String FACELETS_JSFC_TYPE =3D "faceletsJsfCTags"; - public static final String MANAGED_BEAN_NAME_TYPE =3D "managedBeanName"; - public static final String JSF_ID =3D "jsfID"; - public static final String TAGLIB_TYPE =3D "taglib"; + String BUNDLE_PROPERTY_TYPE =3D "bundleProperty"; + String BEAN_PROPERTY_TYPE =3D "beanProperty"; + String BEAN_METHOD_BY_SYGNATURE_TYPE =3D "beanMethodBySignature"; + String JSP_PATH_TYPE =3D "jspPath"; + String BUNDLE_NAME_TYPE =3D "bundleName"; + String VIEW_ACTIONS_TYPE =3D "viewActions"; + String IMAGE_FILE_TYPE =3D "file"; + String ENUMERATION_TYPE =3D "enumeration"; + String JSF_VARIABLES_TYPE =3D "jsfVariables"; + String FACELETS_JSFC_TYPE =3D "faceletsJsfCTags"; + String MANAGED_BEAN_NAME_TYPE =3D "managedBeanName"; + String JSF_ID =3D "jsfID"; + String TAGLIB_TYPE =3D "taglib"; = /** * Sets a parameter for resource. Modified: trunk/common/plugins/org.jboss.tools.common.kb/src/org/jboss/tool= s/common/kb/KbDtdStore.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.kb/src/org/jboss/tools/comm= on/kb/KbDtdStore.java 2008-01-03 17:47:02 UTC (rev 5494) +++ trunk/common/plugins/org.jboss.tools.common.kb/src/org/jboss/tools/comm= on/kb/KbDtdStore.java 2008-01-04 01:54:38 UTC (rev 5495) @@ -21,18 +21,18 @@ import java.util.Collections; import java.util.HashSet; import java.util.Iterator; +import java.util.List; import java.util.StringTokenizer; import java.util.Vector; = import org.apache.xml.serialize.OutputFormat; import org.apache.xml.serialize.XMLSerializer; +import org.jboss.tools.common.kb.configuration.KbConfigurationFactory; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; = -import org.jboss.tools.common.kb.configuration.KbConfigurationFactory; - /** * @author eskimo */ @@ -41,9 +41,9 @@ public static final String XML_DECLARATION =3D ""; = private String schemaLocation; = - private Vector activeDocuments; - private Vector registratedResources; - private Vector downloadingResources; + private List activeDocuments; + private List registratedResources; + private List downloadingResources; = private static final KbDtdStore INSTANCE =3D new KbDtdStore(); = @@ -83,7 +83,7 @@ } = InerDtdQuery inerDtdQuery =3D getInerDtdQery(new KbQuery(queryForLastTag= , query.getResources())); - ArrayList elementTypes =3D inerDtdQuery.getElementTypes(); + List elementTypes =3D inerDtdQuery.getElementTypes(); = return KbSchemaUtil.getTagInformationFromElementTypes(elementTypes, last= Tag, new HashSet()); } @@ -115,7 +115,7 @@ return proposals; } = - ArrayList proposals =3D queryTagProposal(getInerDtdQery(quer= y)); + List proposals =3D queryTagProposal(getInerDtdQery(query)); KbProposal endTag =3D getEndTagProposal(query); if(endTag !=3D null) { proposals.add(endTag); @@ -141,7 +141,7 @@ throw new IllegalArgumentException("Bad query: " + strQuery + ". Query = must starts with \"" + KbQuery.TAG_SEPARATOR + "\" or \"" + KbQuery.XML_DEC= LARATION_QUERY + "\""); } = - ArrayList elementTypes =3D new ArrayList(); + List elementTypes =3D new ArrayList(); String tagQuery =3D null; int lastTagSeparator =3D strQuery.lastIndexOf(KbQuery.TAG_SEPARATOR); if(lastTagSeparator > firstTagSeparator) { @@ -325,7 +325,7 @@ } } = - private ArrayList getChildElementTypes(Collection resources, Str= ingTokenizer tagNames) { + private List getChildElementTypes(Collection resources, StringTo= kenizer tagNames) { // KbPlugin.log("--> getChildElementTypes(Collection resources, StringTok= enizer tagNames)"); // KbPlugin.log(" resources size =3D " + resources.size()); // KbPlugin.log(" tagNames =3D " + tagNames); @@ -333,7 +333,7 @@ String tagName =3D tagNames.nextToken(); // KbPlugin.log(" tagName =3D " + tagName); = - ArrayList childElements =3D getChildElements(resources, tagName= , true); + List childElements =3D getChildElements(resources, tagName, tru= e); = // KbPlugin.log(" childElements size =3D " + childElements.size()); = @@ -405,7 +405,7 @@ return null; } = - private ArrayList addCollection(Collection col1, Collec= tion col2) { + private List addCollection(Collection col1, Collection<= Element> col2) { ArrayList arrayList =3D new ArrayList(); Iterator iterator =3D col1.iterator(); while(iterator.hasNext()) { @@ -418,7 +418,7 @@ return arrayList; } = - private ArrayList getChildElements(Collection resources, String = elementTypeName, boolean rootTag) { + private List getChildElements(Collection resources, String eleme= ntTypeName, boolean rootTag) { // KbPlugin.log("--> getChildElements(Collection resources, String elemen= tTypeName, boolean rootTag)"); // KbPlugin.log(" resources size =3D " + resources.size()); // KbPlugin.log(" elementTypeName =3D " + elementTypeName); @@ -473,11 +473,11 @@ return elements; } = - private ArrayList queryTagProposal(InerDtdQuery query) { + private List queryTagProposal(InerDtdQuery query) { return queryTagProposal(query.getElementTypes(), query.getTagQuery()); } = - private ArrayList queryTagProposal(ArrayList elementTypes, St= ring query) { + private List queryTagProposal(List elementTypes, String query= ) { // KbPlugin.log("--> queryTagProposal(ArrayList elementTypes, String que= ry)"); // KbPlugin.log(" Query =3D " + query); // KbPlugin.log(" elementTypes size =3D " + elementTypes.size()); @@ -722,7 +722,7 @@ } } = - private ArrayList getTags(Collection elementTypes, String tag= Mask) { + private List getTags(Collection elementTypes, String tagMask)= { // KbPlugin.log("--> getTags(Collection elementTypes, String tagMask)"); // KbPlugin.log(" elementTypes size =3D " + elementTypes.size()); // KbPlugin.log(" tagMask =3D " + tagMask); @@ -730,7 +730,7 @@ return getTagProposal(getElementTypesByName(elementTypes, tagMask, true)= ); } = - private ArrayList getElementTypesByName(Collection elementTypes,= String name, boolean mask) { + private List getElementTypesByName(Collection elementTypes, Stri= ng name, boolean mask) { // KbPlugin.log("--> getElementTypesByName(Collection elementTypes, Strin= g name, boolean mask)"); // KbPlugin.log(" elementTypes size =3D " + elementTypes.size()); // KbPlugin.log(" name =3D " + name); @@ -755,7 +755,7 @@ return elements; } = - private ArrayList getAttributes(Collection elementTypes, Stri= ng tagName, String attributeMask) { + private List getAttributes(Collection elementTypes, String ta= gName, String attributeMask) { // KbPlugin.log("--> getAttributes(String prefix, String tagName, String = attributeMask)"); // KbPlugin.log(" prefix =3D " + prefix); // KbPlugin.log(" tagName =3D " + tagName); @@ -764,10 +764,10 @@ return getAttributeProposal(getAttributeTypesByName(elementTypes, tagNam= e, attributeMask, true)); } = - private ArrayList getAttributeTypesByName(Collection elementType= s, String tagName, String attributeName, boolean mask) { - ArrayList attributes =3D new ArrayList(); + private List getAttributeTypesByName(Collection elementTypes, St= ring tagName, String attributeName, boolean mask) { + List attributes =3D new ArrayList(); = - ArrayList elements =3D getElementTypesByName(elementTypes, tagName, fals= e); + List elements =3D getElementTypesByName(elementTypes, tagName, false); if(!elements.isEmpty()) { Element element =3D (Element)elements.get(0); = @@ -785,10 +785,10 @@ return attributes; } = - private ArrayList getEnumeration(Collection elementTypes, Str= ing tagName, String attributeName, String valueMask) { - ArrayList enumeration =3D new ArrayList(); + private List getEnumeration(Collection elementTypes, String t= agName, String attributeName, String valueMask) { + List enumeration =3D new ArrayList(); = - ArrayList attributeTypes =3D new ArrayList(); + List attributeTypes =3D new ArrayList(); attributeTypes =3D getAttributeTypesByName(elementTypes, tagName, attrib= uteName, false); if(!attributeTypes.isEmpty()) { Element attributeType =3D (Element)attributeTypes.get(0); @@ -814,15 +814,15 @@ return enumeration; } = - private ArrayList getTagProposal(ArrayList elements)= { + private List getTagProposal(List elements) { return getProposal(elements, true); } = - private ArrayList getAttributeProposal(ArrayList elements) { + private List getAttributeProposal(List elements) { return getProposal(elements, false); } = - private ArrayList getProposal(ArrayList elements, boolean tag= ) { + private List getProposal(List elements, boolean tag) { // KbPlugin.log("--> getProposal(ArrayList elements, boolean tag)"); // KbPlugin.log(" elemnets size =3D " + elements.size()); // KbPlugin.log(" tag =3D " + tag); @@ -959,10 +959,10 @@ = private class InerDtdQuery { = - private ArrayList elementTypes; + private List elementTypes; private String tagQuery; = - public InerDtdQuery(ArrayList elementTypes, String tagQuery) { + public InerDtdQuery(List elementTypes, String tagQuery) { this.elementTypes =3D elementTypes; this.tagQuery =3D tagQuery; } @@ -970,7 +970,7 @@ /** * @return */ - public ArrayList getElementTypes() { + public List getElementTypes() { return elementTypes; } = Modified: trunk/common/plugins/org.jboss.tools.common.kb/src/org/jboss/tool= s/common/kb/KbHtmlMap.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.kb/src/org/jboss/tools/comm= on/kb/KbHtmlMap.java 2008-01-03 17:47:02 UTC (rev 5494) +++ trunk/common/plugins/org.jboss.tools.common.kb/src/org/jboss/tools/comm= on/kb/KbHtmlMap.java 2008-01-04 01:54:38 UTC (rev 5495) @@ -22,6 +22,8 @@ import java.util.Collection; import java.util.HashMap; import java.util.Iterator; +import java.util.List; +import java.util.Map; import java.util.Properties; = import org.apache.xml.serialize.OutputFormat; @@ -39,13 +41,13 @@ public class KbHtmlMap { private final static String ROOT_ELEMENT_ATTRIBUTE_VALUE =3D "HTML"; = - private HashMap htmlMap; + private Map htmlMap; private static File hashMapLocation =3D new File(KbConfigurationFactory.g= etInstance().getDefaultConfiguration().getHtmlMapFilePath()); = /** * = */ - private KbHtmlMap(HashMap proposals) { + private KbHtmlMap(Map proposals) { htmlMap =3D proposals; } = @@ -56,7 +58,7 @@ HashMap children =3D new HashMap(); Element elementType =3D (Element)nodeList.item(i); String tagName =3D elementType.getAttribute(SchemaNodeFactory.NAME_ATTR= IBUTE); - ArrayList childrenElementTypes =3D getChildElementTypes(schema, tagName= ); + List childrenElementTypes =3D getChildElementTypes(schema, tagName); addOptionalTags(children, elementType); for(int j=3D0; j children =3D new HashMap(); Element elementType =3D (Element)nodeList.item(i); String tagName =3D elementType.getAttribute(SchemaNodeFactory.NAME_ATTR= IBUTE); - ArrayList childrenElementTypes =3D getChildElementTypes(schema, tagName= ); + List childrenElementTypes =3D getChildElementTypes(schema, tagName); addOptionalTags(children, elementType); for(int j=3D0; j getChildElementTypes(Document schema, S= tring tagName) { - ArrayList childElementTypes =3D new ArrayList(); + private static List getChildElementTypes(Document schema, String= tagName) { + List childElementTypes =3D new ArrayList(); = - ArrayList childElements =3D getChildElements(schema, tagName); + List childElements =3D getChildElements(schema, tagName); = for(Iterator iter =3D childElements.iterator(); iter.hasNext();) { Element element =3D (Element)iter.next(); --===============7722655236949111785==-- From jbosstools-commits at lists.jboss.org Thu Jan 3 20:54:41 2008 Content-Type: multipart/mixed; boundary="===============2702021838698346265==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5496 - trunk/jst/plugins/org.jboss.tools.jst.web.debug.ui/src/org/jboss/tools/jst/web/debug/ui/internal/views/properties/xpl. Date: Thu, 03 Jan 2008 20:54:41 -0500 Message-ID: --===============2702021838698346265== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-03 20:54:41 -0500 (Thu, 03 Jan 2008) New Revision: 5496 Modified: trunk/jst/plugins/org.jboss.tools.jst.web.debug.ui/src/org/jboss/tools/j= st/web/debug/ui/internal/views/properties/xpl/WebDataProperties.java Log: http://jira.jboss.org/jira/browse/JBIDE-1544 Need add @catalogProperty@@schemaProperty@ back to persistence.xml template= s file in seam-gen. JUnit tests also added. Modified: trunk/jst/plugins/org.jboss.tools.jst.web.debug.ui/src/org/jboss/= tools/jst/web/debug/ui/internal/views/properties/xpl/WebDataProperties.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.debug.ui/src/org/jboss/tools/= jst/web/debug/ui/internal/views/properties/xpl/WebDataProperties.java 2008-= 01-04 01:54:38 UTC (rev 5495) +++ trunk/jst/plugins/org.jboss.tools.jst.web.debug.ui/src/org/jboss/tools/= jst/web/debug/ui/internal/views/properties/xpl/WebDataProperties.java 2008-= 01-04 01:54:41 UTC (rev 5496) @@ -71,7 +71,7 @@ private static Map enablements =3D new HashMap(12); private static Map filters =3D new HashMap(2); = - private IPreferenceStore fStore; + private final IPreferenceStore fStore; = public WebDataProperties (IPreferenceStore store) { this.fStore =3D store; @@ -87,7 +87,7 @@ try { Boolean value =3D (Boolean)enablements.get(filter); if (value =3D=3D null && fStore !=3D null) { - value =3D new Boolean(fStore.getBoolean(filter)); + value =3D Boolean.valueOf(fStore.getBoolean(filter)); synchronized (this) { enablements.put(filter, value); } @@ -135,7 +135,7 @@ newValue=3D false; } = - enablements.put(p, new Boolean(newValue)); + enablements.put(p, Boolean.valueOf(newValue)); fireWebDataPropertyChanged(p); } if (filters.containsKey(p)) { @@ -213,7 +213,7 @@ store.setDefault(SHOW_STRUTS_DYNAACTIONFORM_FILTER+VALUE_POSTFIX, "*"); = } - private List fListeners =3D new ArrayList(); + private final List fListeners =3D new ArrayList(); public void addWebDataPropertyChangeListener (IWebDataPropertyChangeListe= ner listener) { if (!fListeners.contains(listener)) fListeners.add(listener); } --===============2702021838698346265==-- From jbosstools-commits at lists.jboss.org Thu Jan 3 20:54:45 2008 Content-Type: multipart/mixed; boundary="===============4396634057151126643==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5497 - trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet. Date: Thu, 03 Jan 2008 20:54:44 -0500 Message-ID: --===============4396634057151126643== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-03 20:54:44 -0500 (Thu, 03 Jan 2008) New Revision: 5497 Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam= /core/test/project/facet/AbstractSeamFacetTest.java trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam= /core/test/project/facet/SeamFacetInstallDelegateTest.java Log: http://jira.jboss.org/jira/browse/JBIDE-1544 Need add @catalogProperty@@schemaProperty@ back to persistence.xml template= s file in seam-gen. JUnit tests also added. Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/too= ls/seam/core/test/project/facet/AbstractSeamFacetTest.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/project/facet/AbstractSeamFacetTest.java 2008-01-04 01:54:41 UT= C (rev 5496) +++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/sea= m/core/test/project/facet/AbstractSeamFacetTest.java 2008-01-04 01:54:44 UT= C (rev 5497) @@ -24,6 +24,7 @@ import org.jboss.tools.seam.core.project.facet.SeamVersion; import org.jboss.tools.seam.internal.core.project.facet.ISeamFacetDataMode= lProperties; import org.jboss.tools.seam.internal.core.project.facet.SeamFacetInstallDa= taModelProvider; +import org.jboss.tools.seam.internal.core.project.facet.SeamFacetPreInstal= lDelegate; = /** * Base class for facet related tests; based on the facet test class found= in @@ -68,16 +69,16 @@ super.setUp(); assertSeamHomeAvailable(); File folder =3D getSeamHomeFolder(); - = - = - = + SeamRuntimeManager.getInstance().addRuntime(SEAM_1_2_0, folder.getAbsolu= tePath(), SeamVersion.SEAM_1_2, true); seamRuntime =3D SeamRuntimeManager.getInstance().findRuntimeByName(SEAM_= 1_2_0); = } = protected File getSeamHomeFolder() { - return new File(System.getProperty("jbosstools.test.seam.1.2.1.eap.home"= , "/home/max/rhdevstudio/jboss-eap/seam")); + return new File( + System.getProperty("jbosstools.test.seam.1.2.1.eap.home", = + "C:/jbdevstudio/jboss-eap/seam")); } = = @@ -152,7 +153,7 @@ null); = installDependentFacets(fproj); - = +// new SeamFacetPreInstallDelegate().execute(fproj.getProject(), getSeamF= acetVersion(), config, null); fproj.installProjectFacet(getSeamFacetVersion(), config, null); = SeamProjectsSet seamProjectsSet =3D new SeamProjectsSet(fproj.getProject= ()); Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/too= ls/seam/core/test/project/facet/SeamFacetInstallDelegateTest.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/project/facet/SeamFacetInstallDelegateTest.java 2008-01-04 01:5= 4:41 UTC (rev 5496) +++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/sea= m/core/test/project/facet/SeamFacetInstallDelegateTest.java 2008-01-04 01:5= 4:44 UTC (rev 5497) @@ -12,10 +12,14 @@ = import java.io.IOException; = +import org.eclipse.core.resources.IFile; import org.eclipse.core.runtime.CoreException; +import org.eclipse.osgi.util.NLS; import org.eclipse.wst.common.frameworks.datamodel.IDataModel; import org.eclipse.wst.common.project.facet.core.IFacetedProject; import org.jboss.tools.seam.internal.core.project.facet.ISeamFacetDataMode= lProperties; +import org.jboss.tools.seam.internal.core.project.facet.SeamFacetPreInstal= lDelegate; +import org.jboss.tools.test.util.ResourcesUtils; = public class SeamFacetInstallDelegateTest extends AbstractSeamFacetTest { = @@ -46,4 +50,73 @@ = } = + public void testJiraJbide1544() throws CoreException, IOException { + + final String catalogName =3D "catalog1"; + final String schemaName =3D "schema1"; + = + IDataModel createSeamDataModel =3D createSeamDataModel("war"); + createSeamDataModel.setProperty(ISeamFacetDataModelProperties.DB_DEFAULT= _CATALOG_NAME, catalogName); + createSeamDataModel.setProperty(ISeamFacetDataModelProperties.DB_DEFAULT= _SCHEMA_NAME, schemaName); = + IFacetedProject fproj =3D createSeamProject("customSchemaAndCatalog",cre= ateSeamDataModel); + IFile persistence =3D (IFile)fproj.getProject().findMember("src/model/M= ETA-INF/persistence.xml"); + assertTrue(persistence.exists()); + boolean schemaExists =3D ResourcesUtils.findLineInFile(persistence, ".*"= + + NLS.bind( + SeamFacetPreInstallDelegate.PROP_DECL, = + new String[]{ + ISeamFacetDataModelProperties.DB_DEFAULT_SCHEMA_NAME.replace(".","\= \."), + schemaName})); + boolean catalogExists =3D ResourcesUtils.findLineInFile(persistence, ".*= " + + NLS.bind( + SeamFacetPreInstallDelegate.PROP_DECL, = + new String[]{ + ISeamFacetDataModelProperties.DB_DEFAULT_CATALOG_NAME.replace(".",= "\\."), + catalogName})); = + assertTrue( + NLS.bind( + "Cannot find ''{0}'' property in persistence.xml file", + new String[]{ + ISeamFacetDataModelProperties.DB_DEFAULT_SCHEMA_NAME}) + , schemaExists); + = + assertTrue( + NLS.bind( + "Cannot find ''{0}'' property in persistence.xml file", + new String[]{ + ISeamFacetDataModelProperties.DB_DEFAULT_CATALOG_NAME}) + , catalogExists); + = + createSeamDataModel =3D createSeamDataModel("war"); + fproj =3D createSeamProject("noSchemaAndCatalog",createSeamDataModel); + persistence =3D (IFile)fproj.getProject().findMember("src/model/META-INF= /persistence.xml"); + assertTrue(persistence.exists()); + schemaExists =3D ResourcesUtils.findLineInFile(persistence, ".*" + + NLS.bind( + SeamFacetPreInstallDelegate.PROP_DECL, = + new String[]{ + ISeamFacetDataModelProperties.DB_DEFAULT_SCHEMA_NAME.replace(".","\= \."), + ".*"})); + catalogExists =3D ResourcesUtils.findLineInFile(persistence, ".*" + + NLS.bind( + SeamFacetPreInstallDelegate.PROP_DECL, = + new String[]{ + ISeamFacetDataModelProperties.DB_DEFAULT_CATALOG_NAME.replace(".",= "\\."), + ".*"})); = + assertTrue( + NLS.bind( + "''{0}'' property mustn't be in persistence.xml file", + new String[]{ + ISeamFacetDataModelProperties.DB_DEFAULT_SCHEMA_NAME}) + , !schemaExists); + = + assertTrue( + NLS.bind( + "''{0}'' property mustn't be in persistence.xml file", + new String[]{ + ISeamFacetDataModelProperties.DB_DEFAULT_CATALOG_NAME}) + , !catalogExists); + + } + } --===============4396634057151126643==-- From jbosstools-commits at lists.jboss.org Thu Jan 3 20:54:49 2008 Content-Type: multipart/mixed; boundary="===============3403699122556251454==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5498 - trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util. Date: Thu, 03 Jan 2008 20:54:47 -0500 Message-ID: --===============3403699122556251454== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-03 20:54:47 -0500 (Thu, 03 Jan 2008) New Revision: 5498 Modified: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/Res= ourcesUtils.java Log: http://jira.jboss.org/jira/browse/JBIDE-1544 Need add @catalogProperty@@schemaProperty@ back to persistence.xml template= s file in seam-gen. JUnit tests also added. Modified: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/u= til/ResourcesUtils.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/test/util/Re= sourcesUtils.java 2008-01-04 01:54:44 UTC (rev 5497) +++ trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/Re= sourcesUtils.java 2008-01-04 01:54:47 UTC (rev 5498) @@ -12,9 +12,13 @@ = import java.io.File; import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.LineNumberReader; import java.lang.reflect.InvocationTargetException; import java.util.Arrays; = +import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IProjectDescription; import org.eclipse.core.resources.IResource; @@ -108,4 +112,18 @@ = return project; } + = + public static boolean findLineInFile(IFile file, String pattern) throws C= oreException, IOException { + InputStream content =3D file.getContents(true); + LineNumberReader contentReader =3D new LineNumberReader(new InputStreamR= eader(content)); + String line; + boolean patternIsFound =3D false; + do { + line =3D contentReader.readLine(); + if(line!=3Dnull && !patternIsFound) { + patternIsFound =3D line.matches(pattern); + } + } while (line !=3D null && !patternIsFound); + return patternIsFound; + } } --===============3403699122556251454==-- From jbosstools-commits at lists.jboss.org Thu Jan 3 20:54:51 2008 Content-Type: multipart/mixed; boundary="===============3887917179010311218==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5499 - in trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui: widget/field and 1 other directory. Date: Thu, 03 Jan 2008 20:54:51 -0500 Message-ID: --===============3887917179010311218== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-03 20:54:51 -0500 (Thu, 03 Jan 2008) New Revision: 5499 Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/i= nternal/project/facet/SeamInstallWizardPage.java trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/w= idget/field/TextField.java Log: http://jira.jboss.org/jira/browse/JBIDE-1544 Need add @catalogProperty@@schemaProperty@ back to persistence.xml template= s file in seam-gen. JUnit tests also added. Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/se= am/ui/internal/project/facet/SeamInstallWizardPage.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/= internal/project/facet/SeamInstallWizardPage.java 2008-01-04 01:54:47 UTC (= rev 5498) +++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/= internal/project/facet/SeamInstallWizardPage.java 2008-01-04 01:54:51 UTC (= rev 5499) @@ -121,11 +121,11 @@ .getDialectNames()), getDefaultDbType(), false); = private IFieldEditor dbSchemaName =3D IFieldEditorFactory.INSTANCE.create= TextEditor( - ISeamFacetDataModelProperties.DB_SCHEMA_NAME, + ISeamFacetDataModelProperties.DB_DEFAULT_SCHEMA_NAME, SeamUIMessages.SEAM_INSTALL_WIZARD_PAGE_DATABASE_SCHEMA_NAME, ""); //$N= ON-NLS-1$ = private IFieldEditor dbCatalogName =3D IFieldEditorFactory.INSTANCE.creat= eTextEditor( - ISeamFacetDataModelProperties.DB_CATALOG_NAME, + ISeamFacetDataModelProperties.DB_DEFAULT_CATALOG_NAME, SeamUIMessages.SEAM_INSTALL_WIZARD_PAGE_DATABASE_CATALOG_NAME, ""); //$= NON-NLS-1$ = private IFieldEditor dbTablesExists =3D IFieldEditorFactory.INSTANCE Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/se= am/ui/widget/field/TextField.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/= widget/field/TextField.java 2008-01-04 01:54:47 UTC (rev 5498) +++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/= widget/field/TextField.java 2008-01-04 01:54:51 UTC (rev 5499) @@ -27,7 +27,7 @@ } = public void modifyText(ModifyEvent e) { - firePropertyChange(new Object(),((Text)e.widget).getText()); + firePropertyChange(new Object(),((Text)e.widget).getText().trim()); } = public Text getTextControl() { --===============3887917179010311218==-- From jbosstools-commits at lists.jboss.org Thu Jan 3 20:54:54 2008 Content-Type: multipart/mixed; boundary="===============6408897870610824632==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5500 - trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/special. Date: Thu, 03 Jan 2008 20:54:54 -0500 Message-ID: --===============6408897870610824632== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-03 20:54:54 -0500 (Thu, 03 Jan 2008) New Revision: 5500 Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools= /common/model/ui/wizards/special/DefaultSpecialWizard.java Log: http://jira.jboss.org/jira/browse/JBIDE-1544 Need add @catalogProperty@@schemaProperty@ back to persistence.xml template= s file in seam-gen. JUnit tests also added. Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jbos= s/tools/common/model/ui/wizards/special/DefaultSpecialWizard.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.ui/src/org/jboss/tool= s/common/model/ui/wizards/special/DefaultSpecialWizard.java 2008-01-04 01:5= 4:51 UTC (rev 5499) +++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tool= s/common/model/ui/wizards/special/DefaultSpecialWizard.java 2008-01-04 01:5= 4:54 UTC (rev 5500) @@ -88,11 +88,7 @@ } catch (Exception e) { ModelUIPlugin.getPluginLog().logError(e); } - try { - setStep(); - } catch (Exception t) { - ModelUIPlugin.getPluginLog().logError("Error while executing action " += name, t); - } + setStep(); } = private void setStep() { --===============6408897870610824632==-- From jbosstools-commits at lists.jboss.org Thu Jan 3 20:54:58 2008 Content-Type: multipart/mixed; boundary="===============1738001824482535747==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5501 - trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util. Date: Thu, 03 Jan 2008 20:54:58 -0500 Message-ID: --===============1738001824482535747== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-03 20:54:58 -0500 (Thu, 03 Jan 2008) New Revision: 5501 Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/co= mmon/model/util/EclipseResourceUtil.java Log: http://jira.jboss.org/jira/browse/JBIDE-1544 Need add @catalogProperty@@schemaProperty@ back to persistence.xml template= s file in seam-gen. JUnit tests also added. Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/t= ools/common/model/util/EclipseResourceUtil.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/EclipseResourceUtil.java 2008-01-04 01:54:54 UTC (rev 5500) +++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/c= ommon/model/util/EclipseResourceUtil.java 2008-01-04 01:54:58 UTC (rev 5501) @@ -499,7 +499,7 @@ } = public static IType getValidType(IProject project, String className) { - if (className =3D=3D null && className.length() =3D=3D 0) return null; + if (className =3D=3D null || className.length() =3D=3D 0) return null; IJavaProject javaProject =3D getJavaProject(project); if(javaProject =3D=3D null) return null; IFile f =3D null; @@ -546,7 +546,7 @@ * Returns true only if project has no sources but output contains *.clas= s file = */ = public static boolean isContainedInOutput(IProject project, String classN= ame) { - if (className =3D=3D null && className.length() =3D=3D 0) return false; + if (className =3D=3D null || className.length() =3D=3D 0) return false; IJavaProject javaProject =3D getJavaProject(project); if(javaProject =3D=3D null) return false; try { --===============1738001824482535747==-- From jbosstools-commits at lists.jboss.org Thu Jan 3 20:55:05 2008 Content-Type: multipart/mixed; boundary="===============3900270170968958150==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5502 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet. Date: Thu, 03 Jan 2008 20:55:05 -0500 Message-ID: --===============3900270170968958150== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-03 20:55:05 -0500 (Thu, 03 Jan 2008) New Revision: 5502 Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/in= ternal/core/project/facet/ISeamFacetDataModelProperties.java trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/in= ternal/core/project/facet/SeamFacetInstallDataModelProvider.java trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/in= ternal/core/project/facet/SeamFacetInstallDelegate.java trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/in= ternal/core/project/facet/SeamFacetPreInstallDelegate.java Log: http://jira.jboss.org/jira/browse/JBIDE-1544 Need add @catalogProperty@@schemaProperty@ back to persistence.xml template= s file in seam-gen. JUnit tests also added. Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/= seam/internal/core/project/facet/ISeamFacetDataModelProperties.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/project/facet/ISeamFacetDataModelProperties.java 2008-01-04 01= :54:58 UTC (rev 5501) +++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/i= nternal/core/project/facet/ISeamFacetDataModelProperties.java 2008-01-04 01= :55:05 UTC (rev 5502) @@ -132,6 +132,14 @@ * Schema name */ String DB_SCHEMA_NAME =3D "schema.property"; //$NON-NLS-1$ + + /** + * If it is empty schema.property is empty + * If is not empty schema.property should be set to + * <property name=3D"hibernate.default_schema" value= =3D"${hibernate.default_schema}"/> = + * = + */ + String DB_DEFAULT_SCHEMA_NAME =3D "hibernate.default_schema"; //$NON-NLS-= 1$ = /** * Catalog name @@ -139,6 +147,13 @@ String DB_CATALOG_NAME =3D "catalog.property"; //$NON-NLS-1$ = /** + * If it is empty catalog.property is empty + * If is not empty catalog.property should be set to + * <property name=3D"hibernate.default_catalog" value= =3D"${hibernate.default_catalog}"/> = + */ + String DB_DEFAULT_CATALOG_NAME =3D "hibernate.default_catalog"; //$NON-NL= S-1$ + = + /** * DB tables already exists in database check box value */ String DB_ALREADY_EXISTS =3D "database.exists"; //$NON-NLS-1$ Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/= seam/internal/core/project/facet/SeamFacetInstallDataModelProvider.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/project/facet/SeamFacetInstallDataModelProvider.java 2008-01-0= 4 01:54:58 UTC (rev 5501) +++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/i= nternal/core/project/facet/SeamFacetInstallDataModelProvider.java 2008-01-0= 4 01:55:05 UTC (rev 5502) @@ -7,55 +7,44 @@ * = * Contributors: = * Red Hat, Inc. - initial API and implementation = - *************************************************************************= *****/ = + *************************************************************************= *****/ package org.jboss.tools.seam.internal.core.project.facet; = import java.io.File; import java.io.IOException; -import java.util.HashMap; -import java.util.Map; import java.util.Set; = import org.eclipse.core.runtime.FileLocator; -import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Platform; import org.eclipse.wst.common.componentcore.datamodel.FacetInstallDataMode= lProvider; import org.jboss.tools.seam.core.SeamCorePlugin; = /** * Data model provider for Seam facet wizard page + * = * @author eskimo - * + * = */ public class SeamFacetInstallDataModelProvider extends FacetInstallDataModelProvider implements ISeamFacetDataModelProperties { - = - @Override - public IStatus validate(String name) { - // TODO Auto-generated method stub - return super.validate(name); - } = - public static final Map SEAM_LIBRARIES=3D new HashMap(); - = - static { - SEAM_LIBRARIES.put("1.2",new String[] { //$NON-NLS-1$ - }); - } + private static final String EMPTY_STRING =3D ""; + /** * Returns set of facet properties for facet wizard page + * = + * @return set of property names */ - @Override public Set getPropertyNames() { Set names =3D super.getPropertyNames(); - = + // General group names.add(ISeamFacetDataModelProperties.JBOSS_AS_HOME); names.add(ISeamFacetDataModelProperties.JBOSS_SEAM_HOME); names.add(ISeamFacetDataModelProperties.JBOSS_AS_DEPLOY_AS); names.add(ISeamFacetDataModelProperties.JBOSS_AS_TARGET_SERVER); names.add(ISeamFacetDataModelProperties.JBOSS_AS_TARGET_RUNTIME); - = + // Database group names.add(ISeamFacetDataModelProperties.DB_TYPE); names.add(ISeamFacetDataModelProperties.HIBERNATE_DIALECT); @@ -65,8 +54,9 @@ names.add(ISeamFacetDataModelProperties.DB_USER_NAME); names.add(ISeamFacetDataModelProperties.DB_USER_PASSWORD); names.add(ISeamFacetDataModelProperties.DB_SCHEMA_NAME); + names.add(ISeamFacetDataModelProperties.DB_DEFAULT_SCHEMA_NAME); names.add(ISeamFacetDataModelProperties.DB_CATALOG_NAME); - + names.add(ISeamFacetDataModelProperties.DB_DEFAULT_CATALOG_NAME); names.add(ISeamFacetDataModelProperties.DB_ALREADY_EXISTS); names.add(ISeamFacetDataModelProperties.RECREATE_TABLES_AND_DATA_ON_DEPL= OY); = @@ -84,31 +74,46 @@ names.add(ISeamFacetDataModelProperties.SEAM_TEST_PROJECT); names.add(ISeamFacetDataModelProperties.SEAM_RUNTIME_NAME); names.add(ISeamFacetDataModelProperties.HIBERNATE_HBM2DDL_AUTO); - = + return names; } - = + /** * Returns default value for a given property + * = + * @param propertyName name of property which default value requested + * @return default value = */ public Object getDefaultProperty(String propertyName) { - if(JBOSS_AS_HOME.equals(propertyName)) { + if (JBOSS_AS_HOME.equals(propertyName)) { return "Jboss_AS_HOME"; //$NON-NLS-1$ - } else if(JBOSS_AS_DEPLOY_AS.equals(propertyName)) { + } else if (JBOSS_AS_DEPLOY_AS.equals(propertyName)) { return "Jboos_DEPLOY_AS"; //$NON-NLS-1$ } else if (propertyName.equals(FACET_ID)) { - return ISeamCoreConstants.SEAM_CORE_FACET_ID; - } else if(SEAM_TEST_PROJECT.equals(propertyName)) { - return ""; - } else if(SEAM_EJB_PROJECT.equals(propertyName)) { - return ""; - } else if(SEAM_EAR_PROJECT.equals(propertyName)) { - return ""; + return ISeamCoreConstants.SEAM_CORE_FACET_ID; + } else if (SEAM_TEST_PROJECT.equals(propertyName)) { + return EMPTY_STRING; + } else if (SEAM_EJB_PROJECT.equals(propertyName)) { + return EMPTY_STRING; + } else if (SEAM_EAR_PROJECT.equals(propertyName)) { + return EMPTY_STRING; + } else if (DB_DEFAULT_CATALOG_NAME.equals(propertyName)) { + return EMPTY_STRING; + } else if (DB_DEFAULT_SCHEMA_NAME.equals(propertyName)) { + return EMPTY_STRING; } return super.getDefaultProperty(propertyName); } - = + + /** + * Calculate path to templates folder + * = + * @return path to templates + * @throws IOException if templates folder not found + */ public static File getTemplatesFolder() throws IOException { - return new File(FileLocator.resolve(Platform.getBundle(SeamCorePlugin.PL= UGIN_ID).getEntry("/templates")).getPath()); //$NON-NLS-1$ + return new File(FileLocator.resolve( + Platform.getBundle(SeamCorePlugin.PLUGIN_ID).getEntry( + "/templates")).getPath()); //$NON-NLS-1$ } } Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/= seam/internal/core/project/facet/SeamFacetInstallDelegate.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/project/facet/SeamFacetInstallDelegate.java 2008-01-04 01:54:5= 8 UTC (rev 5501) +++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/i= nternal/core/project/facet/SeamFacetInstallDelegate.java 2008-01-04 01:55:0= 5 UTC (rev 5502) @@ -50,15 +50,37 @@ import org.osgi.service.prefs.BackingStoreException; import org.osgi.service.prefs.Preferences; = +/** + * Install delegate for seam faset version 1.2 + * = + * @author eskimo = + */ public class SeamFacetInstallDelegate extends SeamFacetAbstractInstallDele= gate { = - public static String DEV_WAR_PROFILE =3D "dev-war"; //$NON-NLS-1$ - public static String DEV_EAR_PROFILE =3D "dev"; //$NON-NLS-1$ - public static String TEST_WAR_PROFILE =3D "test-war"; //$NON-NLS-1$ - public static String TEST_EAR_PROFILE =3D "test"; //$NON-NLS-1$ + /** + * + **/ + public static final String DEV_WAR_PROFILE =3D "dev-war"; //$NON-NLS-1$ = + /** + * = + */ + public static final String DEV_EAR_PROFILE =3D "dev"; //$NON-NLS-1$ = - public static AntCopyUtils.FileSet JBOSS_WAR_LIB_FILESET_WAR_CONFIG =3D n= ew AntCopyUtils.FileSet() = + /** + * = + */ + public static final String TEST_WAR_PROFILE =3D "test-war"; //$NON-NLS-1$ + + /** + * = + */ + public static final String TEST_EAR_PROFILE =3D "test"; //$NON-NLS-1$ + = + /** + * = + */ + public static final AntCopyUtils.FileSet JBOSS_WAR_LIB_FILESET_WAR_CONFIG= =3D new AntCopyUtils.FileSet() = .include("ajax4jsf.*\\.jar") //$NON-NLS-1$ .include("richfaces.*\\.jar") //$NON-NLS-1$ .include("antlr.*\\.jar") //$NON-NLS-1$ @@ -83,7 +105,10 @@ .include("stringtemplate.*\\.jar") //$NON-NLS-1$ // el-ri needed for JBIDE-939 .include("el-ri.*\\.jar"); //$NON-NLS-1$ = - = + + /** + * = + */ public static AntCopyUtils.FileSet JBOSS_TEST_LIB_FILESET =3D new AntCopy= Utils.FileSet() = .include("testng-.*-jdk15\\.jar") //$NON-NLS-1$ .include("myfaces-api-.*\\.jar") //$NON-NLS-1$ @@ -95,6 +120,9 @@ .exclude(".*/CVS") //$NON-NLS-1$ .exclude(".*/\\.svn"); //$NON-NLS-1$ = + /** + * = + */ public static AntCopyUtils.FileSet JBOSS_WAR_LIB_FILESET_EAR_CONFIG =3D n= ew AntCopyUtils.FileSet() = .include("ajax4jsf.*\\.jar") //$NON-NLS-1$ .include("richfaces.*\\.jar") //$NON-NLS-1$ @@ -110,7 +138,9 @@ .include("jsf-facelets\\.jar") //$NON-NLS-1$ .include("oscache.*\\.jar"); //$NON-NLS-1$ = - = + /** + * = + */ public static AntCopyUtils.FileSet JBOSS_EAR_CONTENT =3D new AntCopyUtil= s.FileSet() .include("antlr.*\\.jar") //$NON-NLS-1$ .include("commons-jci-core.*\\.jar") //$NON-NLS-1$ @@ -125,10 +155,16 @@ // el-ri needed for JBIDE-939 .include("el-ri.*\\.jar"); //$NON-NLS-1$ = = + /** + * = + */ public static AntCopyUtils.FileSet JBOSS_EAR_CONTENT_META_INF =3D new Ant= CopyUtils.FileSet() .include("META-INF/application\\.xml") //$NON-NLS-1$ .include("META-INF/jboss-app\\.xml"); //$NON-NLS-1$ - = + + /** + * = + */ public static AntCopyUtils.FileSet VIEW_FILESET =3D new AntCopyUtils.File= Set() .include("home\\.xhtml") //$NON-NLS-1$ .include("error\\.xhtml") //$NON-NLS-1$ @@ -145,13 +181,19 @@ .exclude(".*/CVS") //$NON-NLS-1$ .exclude(".*/\\.svn"); //$NON-NLS-1$ = + /** + * = + */ public static AntCopyUtils.FileSet CVS_SVN =3D new AntCopyUtils.FileSet() .include(".*") //$NON-NLS-1$ .exclude(".*/CVS") //$NON-NLS-1$ .exclude("CVS") //$NON-NLS-1$ .exclude(".*\\.svn") //$NON-NLS-1$ .exclude(".*/\\.svn"); //$NON-NLS-1$ - = + + /** + * = + */ public static AntCopyUtils.FileSet JBOOS_WAR_WEBINF_SET =3D new AntCopyUt= ils.FileSet() .include("WEB-INF") //$NON-NLS-1$ .include("WEB-INF/web\\.xml") //$NON-NLS-1$ @@ -159,27 +201,48 @@ .include("WEB-INF/jboss-web\\.xml") //$NON-NLS-1$ .include("WEB-INF/faces-config\\.xml") //$NON-NLS-1$ .include("WEB-INF/componets\\.xml"); //$NON-NLS-1$ - = + + /** + * = + */ public static AntCopyUtils.FileSet JBOOS_WAR_WEB_INF_CLASSES_SET =3D new = AntCopyUtils.FileSet() .include("import\\.sql") //$NON-NLS-1$ .include("security\\.drl") //$NON-NLS-1$ .include("seam\\.properties") //$NON-NLS-1$ .include("messages_en\\.properties"); //$NON-NLS-1$ - = + + /** + * = + */ public static AntCopyUtils.FileSet JBOOS_EJB_WEB_INF_CLASSES_SET =3D new = AntCopyUtils.FileSet() .include("import\\.sql") //$NON-NLS-1$ .include("seam\\.properties") .exclude(".*/WEB-INF"); //$NON-NLS-1$ - = + + /** + * = + */ public static AntCopyUtils.FileSet JBOSS_EAR_META_INF_SET =3D new AntCopy= Utils.FileSet() .include("META-INF/jboss-app\\.xml"); //$NON-NLS-1$ - = + + /** + * = + */ public static String DROOLS_LIB_SEAM_RELATED_PATH =3D "drools/lib"; //$NO= N-NLS-1$ - = + + /** + * = + */ public static String SEAM_LIB_RELATED_PATH =3D "lib"; //$NON-NLS-1$ - = + + /** + * = + */ public static String WEB_LIBRARIES_RELATED_PATH =3D "WEB-INF/lib"; //$NON= -NLS-1$ - = + + /** + * = + */ public void doExecute(final IProject project, IProjectFacetVersion fv, Object config, IProgressMonitor monitor) throws CoreException { final IDataModel model =3D (IDataModel)config; @@ -191,51 +254,50 @@ IContainer webRootFolder =3D webRootVirtFolder.getUnderlyingFolder(); = model.setProperty(ISeamFacetDataModelProperties.SEAM_PROJECT_NAME, proje= ct.getName()); - model.setProperty(ISeamFacetDataModelProperties.SEAM_TEST_PROJECT, proje= ct.getName()+"-test"); //$NON-NLS-1$ + model.setProperty(ISeamFacetDataModelProperties.SEAM_TEST_PROJECT, proje= ct.getName() + "-test"); //$NON-NLS-1$ = - Boolean dbExists =3D (Boolean)model.getProperty(ISeamFacetDataModelPrope= rties.DB_ALREADY_EXISTS); - Boolean dbRecreate =3D (Boolean)model.getProperty(ISeamFacetDataModelPro= perties.RECREATE_TABLES_AND_DATA_ON_DEPLOY); - if(!dbExists && !dbRecreate) { - model.setProperty(ISeamFacetDataModelProperties.HIBERNATE_HBM2DDL_AUTO,= "update"); //$NON-NLS-1$ - } else if(dbExists && !dbRecreate) { - model.setProperty(ISeamFacetDataModelProperties.HIBERNATE_HBM2DDL_AUTO,= "validate"); //$NON-NLS-1$ - } else if(dbRecreate) { - model.setProperty(ISeamFacetDataModelProperties.HIBERNATE_HBM2DDL_AUTO,= "create-drop"); //$NON-NLS-1$ + Boolean dbExists =3D (Boolean) model.getProperty(ISeamFacetDataModelProp= erties.DB_ALREADY_EXISTS); + Boolean dbRecreate =3D (Boolean) model.getProperty(ISeamFacetDataModelPr= operties.RECREATE_TABLES_AND_DATA_ON_DEPLOY); + if (!dbExists && !dbRecreate) { + model.setProperty(ISeamFacetDataModelProperties.HIBERNATE_HBM2DDL_AUTO,= "update"); //$NON-NLS-1$ + } else if (dbExists && !dbRecreate) { + model.setProperty(ISeamFacetDataModelProperties.HIBERNATE_HBM2DDL_AUTO,= "validate"); //$NON-NLS-1$ + } else if (dbRecreate) { + model.setProperty(ISeamFacetDataModelProperties.HIBERNATE_HBM2DDL_AUTO,= "create-drop"); //$NON-NLS-1$ } = + final String consoleName =3D isWarConfiguration(model) ? project.getName= () : project.getName() + "-ejb"; = - final String consoleName =3D isWarConfiguration(model)?project.getName()= :project.getName()+"-ejb"; = - = final File webContentFolder =3D webRootFolder.getLocation().toFile(); - final File webInfFolder =3D new File(webContentFolder,"WEB-INF"); //$NON= -NLS-1$ - final File webInfClasses =3D new File(webInfFolder,"classes"); //$NON-NL= S-1$ + final File webInfFolder =3D new File(webContentFolder, "WEB-INF"); //$NO= N-NLS-1$ + final File webInfClasses =3D new File(webInfFolder, "classes"); //$NON-N= LS-1$ final File webInfClassesMetaInf =3D new File(webInfClasses, "META-INF");= //$NON-NLS-1$ webInfClassesMetaInf.mkdirs(); - final File webLibFolder =3D new File(webContentFolder,WEB_LIBRARIES_RELA= TED_PATH); - final File srcFolder =3D isWarConfiguration(model)?new File(srcRootFolde= r.getUnderlyingFolder().getLocation().toFile(),"model"):srcRootFolder.getUn= derlyingFolder().getLocation().toFile(); //$NON-NLS-1$ + final File webLibFolder =3D new File(webContentFolder, WEB_LIBRARIES_REL= ATED_PATH); + final File srcFolder =3D isWarConfiguration(model) ? new File(srcRootFol= der.getUnderlyingFolder().getLocation().toFile(), "model") : srcRootFolder.= getUnderlyingFolder().getLocation().toFile(); //$NON-NLS-1$ final File webMetaInf =3D new File(webContentFolder, "META-INF"); //$NON= -NLS-1$ final SeamRuntime selectedRuntime =3D SeamRuntimeManager.getInstance().f= indRuntimeByName(model.getProperty(ISeamFacetDataModelProperties.SEAM_RUNTI= ME_NAME).toString()); = final String seamHomePath =3D selectedRuntime.getHomeDir(); = final File seamHomeFolder =3D new File(seamHomePath); - final File seamLibFolder =3D new File(seamHomePath,SEAM_LIB_RELATED_PATH= ); - final File seamGenResFolder =3D new File(seamHomePath,"seam-gen/resource= s"); //$NON-NLS-1$ - final File seamGenResMetainfFolder =3D new File(seamGenResFolder,"META-I= NF"); //$NON-NLS-1$ + final File seamLibFolder =3D new File(seamHomePath, SEAM_LIB_RELATED_PAT= H); + final File seamGenResFolder =3D new File(seamHomePath, "seam-gen/resourc= es"); //$NON-NLS-1$ + final File seamGenResMetainfFolder =3D new File(seamGenResFolder, "META-= INF"); //$NON-NLS-1$ = - final File droolsLibFolder =3D new File(seamHomePath,DROOLS_LIB_SEAM_REL= ATED_PATH); - final File seamGenHomeFolder =3D new File(seamHomePath,"seam-gen"); //$N= ON-NLS-1$ - final File seamGenViewSource =3D new File(seamGenHomeFolder,"view"); //$= NON-NLS-1$ + final File droolsLibFolder =3D new File(seamHomePath, DROOLS_LIB_SEAM_RE= LATED_PATH); + final File seamGenHomeFolder =3D new File(seamHomePath, "seam-gen"); //$= NON-NLS-1$ + final File seamGenViewSource =3D new File(seamGenHomeFolder, "view"); //= $NON-NLS-1$ final File dataSourceDsFile =3D new File(seamGenResFolder, "datasource-d= s.xml"); //$NON-NLS-1$ - final File componentsFile =3D new File(seamGenResFolder,"WEB-INF/compone= nts"+(isWarConfiguration(model)?"-war":"")+".xml"); //$NON-NLS-1$ //$NON-NL= S-2$ //$NON-NLS-3$ //$NON-NLS-4$ + final File componentsFile =3D new File(seamGenResFolder, "WEB-INF/compon= ents" + (isWarConfiguration(model) ? "-war" : "") + ".xml"); //$NON-NLS-1$ = //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ = final File hibernateConsoleLaunchFile =3D new File(seamGenHomeFolder, "h= ibernatetools/hibernate-console.launch"); //$NON-NLS-1$ final File hibernateConsolePropsFile =3D new File(seamGenHomeFolder, "hi= bernatetools/hibernate-console.properties"); //$NON-NLS-1$ //final File hibernateConsolePref =3D new File(seamGenHomeFolder, "hiber= natetools/.settings/org.hibernate.eclipse.console.prefs"); //$NON-NLS-1$ - final File persistenceFile =3D new File(seamGenResFolder,"META-INF/persi= stence-" + (isWarConfiguration(model)?DEV_WAR_PROFILE:DEV_EAR_PROFILE) + ".= xml"); //$NON-NLS-1$ //$NON-NLS-2$ + final File persistenceFile =3D new File(seamGenResFolder, "META-INF/pers= istence-" + (isWarConfiguration(model) ? DEV_WAR_PROFILE : DEV_EAR_PROFILE)= + ".xml"); //$NON-NLS-1$ //$NON-NLS-2$ = - final File applicationFile =3D new File(seamGenResFolder,"META-INF/appli= cation.xml"); //$NON-NLS-1$ + final File applicationFile =3D new File(seamGenResFolder, "META-INF/appl= ication.xml"); //$NON-NLS-1$ = final FilterSet jdbcFilterSet =3D SeamFacetFilterSetFactory.createJdbcFi= lterSet(model); final FilterSet projectFilterSet =3D SeamFacetFilterSetFactory.createPr= ojectFilterSet(model); @@ -263,11 +325,11 @@ = AntCopyUtils.copyFileToFile( componentsFile, - new File(webInfFolder,"components.xml"), //$NON-NLS-1$ + new File(webInfFolder, "components.xml"), //$NON-NLS-1$ new FilterSetCollection(projectFilterSet), true); = AntCopyUtils.copyFilesAndFolders( - seamGenResFolder,webContentFolder,new AntCopyUtils.FileSetFileFilter(w= ebInfSet), viewFilterSetCollection, true); + seamGenResFolder, webContentFolder, new AntCopyUtils.FileSetFileFilter= (webInfSet), viewFilterSetCollection, true); = = final FilterSetCollection hibernateDialectFilterSet =3D new FilterSetCol= lection(); @@ -276,18 +338,18 @@ hibernateDialectFilterSet.addFilterSet(SeamFacetFilterSetFactory.createH= ibernateDialectFilterSet(model)); = = - createTestProject(model,project,selectedRuntime); + createTestProject(model, project, selectedRuntime); = // *********************************************************************= *********************** // Handle WAR/EAR configurations // *********************************************************************= *********************** - if(isWarConfiguration(model)) { + if (isWarConfiguration(model)) { = AntCopyUtils.FileSet webInfClassesSet =3D new AntCopyUtils.FileSet(JBOO= S_WAR_WEB_INF_CLASSES_SET).dir(seamGenResFolder); AntCopyUtils.copyFilesAndFolders( - seamGenResFolder,srcFolder,new AntCopyUtils.FileSetFileFilter(webInfC= lassesSet), viewFilterSetCollection, true); + seamGenResFolder, srcFolder, new AntCopyUtils.FileSetFileFilter(webIn= fClassesSet), viewFilterSetCollection, true); = - createComponentsProperties(srcFolder, isWarConfiguration(model)?"":proj= ect.getName()+"-ear", false); //$NON-NLS-1$ //$NON-NLS-2$ + createComponentsProperties(srcFolder, isWarConfiguration(model) ? "" : = project.getName() + "-ear", false); //$NON-NLS-1$ //$NON-NLS-2$ = /*AntCopyUtils.copyFileToFolder( hibernateConsolePref, @@ -295,18 +357,18 @@ new FilterSetCollection(projectFilterSet), true);*/ = // In case of WAR configuration - AntCopyUtils.copyFiles(seamHomeFolder,webLibFolder,new AntCopyUtils.Fil= eSetFileFilter(new AntCopyUtils.FileSet(JBOSS_WAR_LIB_FILESET_WAR_CONFIG).d= ir(seamHomeFolder))); - AntCopyUtils.copyFiles(seamLibFolder,webLibFolder,new AntCopyUtils.File= SetFileFilter(new AntCopyUtils.FileSet(JBOSS_WAR_LIB_FILESET_WAR_CONFIG).di= r(seamLibFolder))); - AntCopyUtils.copyFiles(droolsLibFolder,webLibFolder,new AntCopyUtils.Fi= leSetFileFilter(new AntCopyUtils.FileSet(JBOSS_WAR_LIB_FILESET_WAR_CONFIG).= dir(droolsLibFolder))); + AntCopyUtils.copyFiles(seamHomeFolder, webLibFolder, new AntCopyUtils.F= ileSetFileFilter(new AntCopyUtils.FileSet(JBOSS_WAR_LIB_FILESET_WAR_CONFIG)= .dir(seamHomeFolder))); + AntCopyUtils.copyFiles(seamLibFolder, webLibFolder, new AntCopyUtils.Fi= leSetFileFilter(new AntCopyUtils.FileSet(JBOSS_WAR_LIB_FILESET_WAR_CONFIG).= dir(seamLibFolder))); + AntCopyUtils.copyFiles(droolsLibFolder, webLibFolder, new AntCopyUtils.= FileSetFileFilter(new AntCopyUtils.FileSet(JBOSS_WAR_LIB_FILESET_WAR_CONFIG= ).dir(droolsLibFolder))); = // ********************************************************************= ************************ // Copy seam project indicator // ********************************************************************= ************************ - AntCopyUtils.copyFileToFolder(new File(seamGenResFolder,"seam.propertie= s"), srcFolder, true); //$NON-NLS-1$ + AntCopyUtils.copyFileToFolder(new File(seamGenResFolder, "seam.properti= es"), srcFolder, true); //$NON-NLS-1$ final IContainer source =3D srcRootFolder.getUnderlyingFolder(); = - IPath actionSrcPath =3D new Path(source.getFullPath().removeFirstSegmen= ts(1)+"/action"); //$NON-NLS-1$ - IPath modelSrcPath =3D new Path(source.getFullPath().removeFirstSegment= s(1)+"/model"); //$NON-NLS-1$ + IPath actionSrcPath =3D new Path(source.getFullPath().removeFirstSegmen= ts(1) + "/action"); //$NON-NLS-1$ + IPath modelSrcPath =3D new Path(source.getFullPath().removeFirstSegment= s(1) + "/model"); //$NON-NLS-1$ = srcRootFolder.delete(IVirtualFolder.FORCE, monitor); WtpUtils.createSourceFolder(project, actionSrcPath, source.getFullPath(= ).removeFirstSegments(1), webRootFolder.getFullPath().removeFirstSegments(1= ).append("WEB-INF/dev")); //$NON-NLS-1$ @@ -316,24 +378,24 @@ srcRootFolder.createLink(modelSrcPath, 0, null); = = AntCopyUtils.copyFileToFile( - new File(seamGenHomeFolder,"src/Authenticator.java"), //$NON-NLS-1$ - new File(project.getLocation().toFile(),source.getFullPath().removeFi= rstSegments(1)+"/action/" + model.getProperty(ISeamFacetDataModelProperties= .SESION_BEAN_PACKAGE_NAME).toString().replace('.', '/')+"/"+"Authenticator.= java"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + new File(seamGenHomeFolder, "src/Authenticator.java"), //$NON-NLS-1$ + new File(project.getLocation().toFile(), source.getFullPath().removeF= irstSegments(1) + "/action/" + model.getProperty(ISeamFacetDataModelPropert= ies.SESION_BEAN_PACKAGE_NAME).toString().replace('.', '/') + "/" + "Authent= icator.java"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ new FilterSetCollection(filtersFilterSet), true); = AntCopyUtils.copyFileToFile( persistenceFile, - new File(srcFolder,"META-INF/persistence.xml"), //$NON-NLS-1$ + new File(srcFolder, "META-INF/persistence.xml"), //$NON-NLS-1$ viewFilterSetCollection, true); = - File resources =3D new File(project.getLocation().toFile(),"resources"); + File resources =3D new File(project.getLocation().toFile(), "resources"= ); AntCopyUtils.copyFileToFile( dataSourceDsFile, = - new File(resources,project.getName()+"-ds.xml"), //$NON-NLS-1$ + new File(resources, project.getName() + "-ds.xml"), //$NON-NLS-1$ viewFilterSetCollection, true); = AntCopyUtils.copyFileToFile( hibernateConsoleLaunchFile, = - new File(project.getLocation().toFile(),project.getName()+".launch"),= //$NON-NLS-1$ + new File(project.getLocation().toFile(), project.getName() + ".launch= "), //$NON-NLS-1$ viewFilterSetCollection, true); = AntCopyUtils.copyFileToFolder( @@ -344,17 +406,17 @@ WtpUtils.setClasspathEntryAsExported(project, new Path("org.eclipse.jst= .j2ee.internal.web.container"), monitor); //$NON-NLS-1$ = } else { - model.setProperty(ISeamFacetDataModelProperties.SEAM_EJB_PROJECT, proje= ct.getName()+"-ejb"); //$NON-NLS-1$ - model.setProperty(ISeamFacetDataModelProperties.SEAM_EAR_PROJECT, proje= ct.getName()+"-ear"); //$NON-NLS-1$ + model.setProperty(ISeamFacetDataModelProperties.SEAM_EJB_PROJECT, proje= ct.getName() + "-ejb"); //$NON-NLS-1$ + model.setProperty(ISeamFacetDataModelProperties.SEAM_EAR_PROJECT, proje= ct.getName() + "-ear"); //$NON-NLS-1$ = // In case of EAR configuration - AntCopyUtils.copyFiles(seamHomeFolder,webLibFolder,new AntCopyUtils.Fil= eSetFileFilter(new AntCopyUtils.FileSet(JBOSS_WAR_LIB_FILESET_EAR_CONFIG).d= ir(seamHomeFolder))); - AntCopyUtils.copyFiles(seamLibFolder,webLibFolder,new AntCopyUtils.File= SetFileFilter(new AntCopyUtils.FileSet(JBOSS_WAR_LIB_FILESET_EAR_CONFIG).di= r(seamLibFolder))); - AntCopyUtils.copyFiles(droolsLibFolder,webLibFolder,new AntCopyUtils.Fi= leSetFileFilter(new AntCopyUtils.FileSet(JBOSS_WAR_LIB_FILESET_EAR_CONFIG).= dir(droolsLibFolder))); - AntCopyUtils.copyFileToFolder(new File(seamGenResFolder,"messages_en.pr= operties"),srcFolder, true); //$NON-NLS-1$ + AntCopyUtils.copyFiles(seamHomeFolder, webLibFolder, new AntCopyUtils.F= ileSetFileFilter(new AntCopyUtils.FileSet(JBOSS_WAR_LIB_FILESET_EAR_CONFIG)= .dir(seamHomeFolder))); + AntCopyUtils.copyFiles(seamLibFolder, webLibFolder, new AntCopyUtils.Fi= leSetFileFilter(new AntCopyUtils.FileSet(JBOSS_WAR_LIB_FILESET_EAR_CONFIG).= dir(seamLibFolder))); + AntCopyUtils.copyFiles(droolsLibFolder, webLibFolder, new AntCopyUtils.= FileSetFileFilter(new AntCopyUtils.FileSet(JBOSS_WAR_LIB_FILESET_EAR_CONFIG= ).dir(droolsLibFolder))); + AntCopyUtils.copyFileToFolder(new File(seamGenResFolder, "messages_en.p= roperties"), srcFolder, true); //$NON-NLS-1$ = - File ear =3D new File(project.getLocation().removeLastSegments(1).toFil= e(),model.getProperty(ISeamFacetDataModelProperties.SEAM_PROJECT_NAME)+"-ea= r"); //$NON-NLS-1$ - File ejb =3D new File(project.getLocation().removeLastSegments(1).toFil= e(),model.getProperty(ISeamFacetDataModelProperties.SEAM_PROJECT_NAME)+"-ej= b"); //$NON-NLS-1$ + File ear =3D new File(project.getLocation().removeLastSegments(1).toFil= e(), model.getProperty(ISeamFacetDataModelProperties.SEAM_PROJECT_NAME) + "= -ear"); //$NON-NLS-1$ + File ejb =3D new File(project.getLocation().removeLastSegments(1).toFil= e(), model.getProperty(ISeamFacetDataModelProperties.SEAM_PROJECT_NAME) + "= -ejb"); //$NON-NLS-1$ ear.mkdir(); ejb.mkdir(); = @@ -362,16 +424,16 @@ FilterSet filterSet =3D new FilterSet(); filterSet.addFilter("projectName", project.getName()); //$NON-NLS-1$ filterSet.addFilter("runtimeName", WtpUtils.getServerRuntimeName(proje= ct)); //$NON-NLS-1$ - if(model.getProperty(ISeamFacetDataModelProperties.JDBC_DRIVER_JAR_PAT= H)!=3Dnull) { - File driver =3D new File(((String[])model.getProperty(ISeamFacetDataM= odelProperties.JDBC_DRIVER_JAR_PATH))[0]); - filterSet.addFilter("driverJar"," " + driver.getName() + "\n"); //$NO= N-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + if (model.getProperty(ISeamFacetDataModelProperties.JDBC_DRIVER_JAR_PA= TH) !=3D null) { + File driver =3D new File(((String[]) model.getProperty(ISeamFacetData= ModelProperties.JDBC_DRIVER_JAR_PATH))[0]); + filterSet.addFilter("driverJar", " " + driver.getName() + "\n"); //$N= ON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ } else { - filterSet.addFilter("driverJar",""); //$NON-NLS-1$ //$NON-NLS-2$ + filterSet.addFilter("driverJar", ""); //$NON-NLS-1$ //$NON-NLS-2$ } AntCopyUtils.FileSet excludeCvsSvn =3D new AntCopyUtils.FileSet(CVS_SV= N).dir(seamGenResFolder); = AntCopyUtils.copyFilesAndFolders( - new File(SeamFacetInstallDataModelProvider.getTemplatesFolder(),"ejb= "), //$NON-NLS-1$ + new File(SeamFacetInstallDataModelProvider.getTemplatesFolder(), "ej= b"), //$NON-NLS-1$ ejb, new AntCopyUtils.FileSetFileFilter(excludeCvsSvn), new FilterSetCollection(filterSet), true); = @@ -379,31 +441,31 @@ // Copy sources to ejb project in case of EAR configuration // *******************************************************************= ************************ AntCopyUtils.copyFileToFile( - new File(seamGenHomeFolder,"src/Authenticator.java"), //$NON-NLS-1$ - new File(ejb,"ejbModule/" + model.getProperty(ISeamFacetDataModelPro= perties.SESION_BEAN_PACKAGE_NAME).toString().replace('.', '/')+"/"+"Authent= icator.java"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + new File(seamGenHomeFolder, "src/Authenticator.java"), //$NON-NLS-1$ + new File(ejb, "ejbModule/" + model.getProperty(ISeamFacetDataModelPr= operties.SESION_BEAN_PACKAGE_NAME).toString().replace('.', '/') + "/" + "Au= thenticator.java"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ new FilterSetCollection(filtersFilterSet), true); AntCopyUtils.copyFileToFile( persistenceFile, - new File(ejb,"ejbModule/META-INF/persistence.xml"), //$NON-NLS-1$ + new File(ejb, "ejbModule/META-INF/persistence.xml"), //$NON-NLS-1$ viewFilterSetCollection, true); = - createComponentsProperties(new File(ejb,"ejbModule"), isWarConfigurati= on(model)?"":project.getName()+"-ear", false); //$NON-NLS-1$ //$NON-NLS-2$ = //$NON-NLS-3$ + createComponentsProperties(new File(ejb, "ejbModule"), isWarConfigurat= ion(model) ? "" : project.getName() + "-ear", false); //$NON-NLS-1$ //$NON-= NLS-2$ //$NON-NLS-3$ = AntCopyUtils.FileSet ejbSrcResourcesSet =3D new AntCopyUtils.FileSet(J= BOOS_EJB_WEB_INF_CLASSES_SET).dir(seamGenResFolder); AntCopyUtils.copyFilesAndFolders( - seamGenResFolder,new File(ejb,"ejbModule"),new AntCopyUtils.FileSetF= ileFilter(ejbSrcResourcesSet), viewFilterSetCollection, true); //$NON-NLS-1$ + seamGenResFolder, new File(ejb, "ejbModule"), new AntCopyUtils.FileS= etFileFilter(ejbSrcResourcesSet), viewFilterSetCollection, true); //$NON-NL= S-1$ = = // *******************************************************************= ************************* // Copy seam project indicator // *******************************************************************= ************************* - AntCopyUtils.copyFileToFolder(new File(seamGenResFolder,"seam.properti= es"), new File(ejb,"ejbModule/"), true); //$NON-NLS-1$ //$NON-NLS-2$ + AntCopyUtils.copyFileToFolder(new File(seamGenResFolder, "seam.propert= ies"), new File(ejb, "ejbModule/"), true); //$NON-NLS-1$ //$NON-NLS-2$ = = = AntCopyUtils.copyFileToFolder( - new File(seamGenResFolder,"META-INF/ejb-jar.xml"), //$NON-NLS-1$ - new File(ejb,"ejbModule/META-INF/"), //$NON-NLS-1$ + new File(seamGenResFolder, "META-INF/ejb-jar.xml"), //$NON-NLS-1$ + new File(ejb, "ejbModule/META-INF/"), //$NON-NLS-1$ viewFilterSetCollection, true); = /*AntCopyUtils.copyFileToFolder( @@ -412,11 +474,11 @@ new FilterSetCollection(projectFilterSet), true);*/ = FilterSet ejbFilterSet =3D new FilterSet(); - ejbFilterSet.addFilter("projectName",ejb.getName()); //$NON-NLS-1$ + ejbFilterSet.addFilter("projectName", ejb.getName()); //$NON-NLS-1$ = AntCopyUtils.copyFileToFile( hibernateConsoleLaunchFile, = - new File(ejb,ejb.getName()+".launch"), //$NON-NLS-1$ + new File(ejb, ejb.getName() + ".launch"), //$NON-NLS-1$ new FilterSetCollection(ejbFilterSet), true); = AntCopyUtils.copyFileToFolder( @@ -424,34 +486,34 @@ ejb, hibernateDialectFilterSet, true); = - File earContentsFolder =3D new File(ear,"EarContent"); //$NON-NLS-1$ + File earContentsFolder =3D new File(ear, "EarContent"); //$NON-NLS-1$ = FilterSet earFilterSet =3D new FilterSet(); - earFilterSet.addFilter("projectName",ear.getName()+".ear"); //$NON-NLS= -1$ //$NON-NLS-2$ + earFilterSet.addFilter("projectName", ear.getName() + ".ear"); //$NON-= NLS-1$ //$NON-NLS-2$ = AntCopyUtils.copyFileToFolder( - new File(seamGenResFolder,"META-INF/jboss-app.xml"), //$NON-NLS-1$ - new File(earContentsFolder,"META-INF"), //$NON-NLS-1$ - new FilterSetCollection(earFilterSet),true); + new File(seamGenResFolder, "META-INF/jboss-app.xml"), //$NON-NLS-1$ + new File(earContentsFolder, "META-INF"), //$NON-NLS-1$ + new FilterSetCollection(earFilterSet), true); = // Copy configuration files from template AntCopyUtils.copyFilesAndFolders( - new File(SeamFacetInstallDataModelProvider.getTemplatesFolder(),"ear= "), //$NON-NLS-1$ + new File(SeamFacetInstallDataModelProvider.getTemplatesFolder(), "ea= r"), //$NON-NLS-1$ ear, new AntCopyUtils.FileSetFileFilter(excludeCvsSvn), new FilterSetCollection(filterSet), true); = // Fill ear contents - AntCopyUtils.copyFiles(seamHomeFolder,earContentsFolder,new AntCopyUti= ls.FileSetFileFilter(new AntCopyUtils.FileSet(JBOSS_EAR_CONTENT).dir(seamHo= meFolder))); - AntCopyUtils.copyFiles(seamLibFolder,earContentsFolder,new AntCopyUtil= s.FileSetFileFilter(new AntCopyUtils.FileSet(JBOSS_EAR_CONTENT).dir(seamLib= Folder))); - AntCopyUtils.copyFiles(droolsLibFolder,earContentsFolder,new AntCopyUt= ils.FileSetFileFilter(new AntCopyUtils.FileSet(JBOSS_EAR_CONTENT).dir(drool= sLibFolder))); - AntCopyUtils.copyFiles(seamLibFolder,earContentsFolder,new AntCopyUtil= s.FileSetFileFilter(new AntCopyUtils.FileSet(JBOSS_EAR_CONTENT).dir(seamLib= Folder))); - AntCopyUtils.copyFiles(seamGenResFolder,earContentsFolder,new AntCopyU= tils.FileSetFileFilter(new AntCopyUtils.FileSet(JBOSS_EAR_CONTENT).dir(seam= GenResFolder))); = + AntCopyUtils.copyFiles(seamHomeFolder, earContentsFolder, new AntCopyU= tils.FileSetFileFilter(new AntCopyUtils.FileSet(JBOSS_EAR_CONTENT).dir(seam= HomeFolder))); + AntCopyUtils.copyFiles(seamLibFolder, earContentsFolder, new AntCopyUt= ils.FileSetFileFilter(new AntCopyUtils.FileSet(JBOSS_EAR_CONTENT).dir(seamL= ibFolder))); + AntCopyUtils.copyFiles(droolsLibFolder, earContentsFolder, new AntCopy= Utils.FileSetFileFilter(new AntCopyUtils.FileSet(JBOSS_EAR_CONTENT).dir(dro= olsLibFolder))); + AntCopyUtils.copyFiles(seamLibFolder, earContentsFolder, new AntCopyUt= ils.FileSetFileFilter(new AntCopyUtils.FileSet(JBOSS_EAR_CONTENT).dir(seamL= ibFolder))); + AntCopyUtils.copyFiles(seamGenResFolder, earContentsFolder, new AntCop= yUtils.FileSetFileFilter(new AntCopyUtils.FileSet(JBOSS_EAR_CONTENT).dir(se= amGenResFolder))); = = = - File resources =3D new File(ear,"resources"); + File resources =3D new File(ear, "resources"); AntCopyUtils.copyFileToFile( dataSourceDsFile, = - new File(resources,project.getName()+"-ds.xml"), //$NON-NLS-1$ //$N= ON-NLS-2$ + new File(resources, project.getName() + "-ds.xml"), //$NON-NLS-1$ /= /$NON-NLS-2$ viewFilterSetCollection, true); = try { @@ -461,22 +523,21 @@ * @see java.io.FilenameFilter#accept(java.io.File, java.lang.String) */ public boolean accept(File dir, String name) { - if(name.lastIndexOf(".jar")>0) return true; //$NON-NLS-1$ - return false; + return name.lastIndexOf(".jar") > 0; //$NON-NLS-1$ } }); String earJarsStr =3D ""; //$NON-NLS-1$ for (File file : earJars) { - earJarsStr +=3D" " + file.getName() +" \n"; //$NON-NLS-1$ //$NON-NLS= -2$ + earJarsStr +=3D " " + file.getName() + " \n"; //$NON-NLS-1$ //$NON-N= LS-2$ } = FilterSetCollection manifestFilterCol =3D new FilterSetCollection(pro= jectFilterSet); FilterSet manifestFilter =3D new FilterSet(); - manifestFilter.addFilter("earLibs",earJarsStr); //$NON-NLS-1$ + manifestFilter.addFilter("earLibs", earJarsStr); //$NON-NLS-1$ manifestFilterCol.addFilterSet(manifestFilter); - AntCopyUtils.copyFileToFolder(new File(SeamFacetInstallDataModelProvi= der.getTemplatesFolder(),"war/META-INF/MANIFEST.MF"), webMetaInf, manifestF= ilterCol, true); //$NON-NLS-1$ - File ejbMetaInf =3D new File(ejb,"ejbModule/META-INF"); //$NON-NLS-1$ - AntCopyUtils.copyFileToFolder(new File(SeamFacetInstallDataModelProvi= der.getTemplatesFolder(),"ejb/ejbModule/META-INF/MANIFEST.MF"), ejbMetaInf,= manifestFilterCol, true); //$NON-NLS-1$ + AntCopyUtils.copyFileToFolder(new File(SeamFacetInstallDataModelProvi= der.getTemplatesFolder(), "war/META-INF/MANIFEST.MF"), webMetaInf, manifest= FilterCol, true); //$NON-NLS-1$ + File ejbMetaInf =3D new File(ejb, "ejbModule/META-INF"); //$NON-NLS-1$ + AntCopyUtils.copyFileToFolder(new File(SeamFacetInstallDataModelProvi= der.getTemplatesFolder(), "ejb/ejbModule/META-INF/MANIFEST.MF"), ejbMetaInf= , manifestFilterCol, true); //$NON-NLS-1$ } catch (IOException e) { SeamCorePlugin.getPluginLog().logError(e); } @@ -500,28 +561,32 @@ = IWorkspaceRoot wsRoot =3D ResourcesPlugin.getWorkspace().getRoot(); = - if(!isWarConfiguration(model)) { + if (!isWarConfiguration(model)) { = - IProject ejbProjectToBeImported =3D wsRoot.getProject(project.getName()= +"-ejb"); - ResourcesUtils.importExistingProject(ejbProjectToBeImported, wsPath+"/"= +project.getName()+"-ejb", project.getName()+"-ejb"); + IProject ejbProjectToBeImported =3D wsRoot.getProject(project.getName()= + "-ejb"); + ResourcesUtils.importExistingProject(ejbProjectToBeImported, wsPath + "= /" + project.getName() + "-ejb", project.getName() + "-ejb"); toggleHibernateOnProject(ejbProjectToBeImported, consoleName); IProjectFacet sf =3D ProjectFacetsManager.getProjectFacet("jst.ejb"); = IProjectFacetVersion pfv =3D ProjectFacetsManager.create(ejbProjectToBe= Imported).getInstalledVersion(sf); ClasspathHelper.addClasspathEntries(ejbProjectToBeImported, pfv); = - IProject earProjectToBeImported =3D wsRoot.getProject(project.getName()= +"-ear"); - ResourcesUtils.importExistingProject(earProjectToBeImported, wsPath+"/"= +project.getName()+"-ear", project.getName()+"-ear"); + IProject earProjectToBeImported =3D wsRoot.getProject(project.getName()= + "-ear"); + ResourcesUtils.importExistingProject(earProjectToBeImported, wsPath + "= /" + project.getName() + "-ear", project.getName() + "-ear"); = } = - IProject testProjectToBeImported =3D wsRoot.getProject(project.getName()= +"-test"); - ResourcesUtils.importExistingProject(testProjectToBeImported, wsPath+"/"= +project.getName()+"-test", project.getName()+"-test"); + IProject testProjectToBeImported =3D wsRoot.getProject(project.getName()= + "-test"); + ResourcesUtils.importExistingProject(testProjectToBeImported, wsPath + "= /" + project.getName() + "-test", project.getName() + "-test"); toggleHibernateOnProject(testProjectToBeImported, consoleName); = } = = - + /** + * = + * @param model + * @return + */ public static boolean isWarConfiguration(IDataModel model) { return "war".equals(model.getProperty(ISeamFacetDataModelProperties.JBOS= S_AS_DEPLOY_AS)); //$NON-NLS-1$ } @@ -540,7 +605,7 @@ = prefs.put(SEAM_RUNTIME_NAME, model.getProperty(SEAM_RUNTIME_NAME).toStri= ng()); = - prefs.put(SEAM_CONNECTION_PROFILE,model.getProperty(SEAM_CONNECTION_PROF= ILE).toString()); + prefs.put(SEAM_CONNECTION_PROFILE, model.getProperty(SEAM_CONNECTION_PRO= FILE).toString()); = prefs.put(SESION_BEAN_PACKAGE_NAME, model.getProperty(SESION_BEAN_PACKAG= E_NAME).toString()); = @@ -549,17 +614,17 @@ prefs.put(TEST_CASES_PACKAGE_NAME, model.getProperty(TEST_CASES_PACKAGE_= NAME).toString()); = prefs.put(SEAM_TEST_PROJECT, = - model.getProperty(SEAM_TEST_PROJECT)=3D=3Dnull? - "":model.getProperty(SEAM_TEST_PROJECT).toString()); //$NON-NLS-1$ + model.getProperty(SEAM_TEST_PROJECT) =3D=3D null = + ? "" : model.getProperty(SEAM_TEST_PROJECT).toString()); //$NON-NLS-1$ = - if(DEPLOY_AS_EAR.equals(model.getProperty(JBOSS_AS_DEPLOY_AS))) { + if (DEPLOY_AS_EAR.equals(model.getProperty(JBOSS_AS_DEPLOY_AS))) { prefs.put(SEAM_EJB_PROJECT, = - model.getProperty(SEAM_EJB_PROJECT)=3D=3Dnull? - "":model.getProperty(SEAM_EJB_PROJECT).toString()); //$NON-NLS-1$ + model.getProperty(SEAM_EJB_PROJECT) =3D=3D null = + ? "" : model.getProperty(SEAM_EJB_PROJECT).toString()); //$NON-NLS-1$ = prefs.put(SEAM_EAR_PROJECT, = - model.getProperty(SEAM_EAR_PROJECT)=3D=3Dnull? - "":model.getProperty(SEAM_EAR_PROJECT).toString()); //$NON-NLS-1$ + model.getProperty(SEAM_EAR_PROJECT) =3D=3D null = + ? "" : model.getProperty(SEAM_EAR_PROJECT).toString()); //$NON-NLS-1$ } = try { @@ -571,29 +636,29 @@ = private void createTestProject(IDataModel model, IProject seamWebProject,= SeamRuntime seamRuntime) { String projectName =3D model.getProperty(ISeamFacetDataModelProperties.= SEAM_PROJECT_NAME).toString(); - File testProjectDir =3D new File(seamWebProject.getLocation().removeLas= tSegments(1).toFile(),projectName+"-test"); //$NON-NLS-1$ + File testProjectDir =3D new File(seamWebProject.getLocation().removeLas= tSegments(1).toFile(), projectName + "-test"); //$NON-NLS-1$ testProjectDir.mkdir(); = IVirtualComponent component =3D ComponentCore.createComponent(seamWebPr= oject); IVirtualFolder webRootVirtFolder =3D component.getRootFolder().getFolde= r(new Path("/")); //$NON-NLS-1$ = - File testLibDir =3D new File(testProjectDir,"lib"); //$NON-NLS-1$ - File embededEjbDir =3D new File(testProjectDir,"embedded-ejb"); //$NON-= NLS-1$ - File testSrcDir =3D new File(testProjectDir,"test-src"); //$NON-NLS-1$ + File testLibDir =3D new File(testProjectDir, "lib"); //$NON-NLS-1$ + File embededEjbDir =3D new File(testProjectDir, "embedded-ejb"); //$NON= -NLS-1$ + File testSrcDir =3D new File(testProjectDir, "test-src"); //$NON-NLS-1$ String seamGenResFolder =3D seamRuntime.getResourceTemplatesDir(); - File persistenceFile =3D new File(seamGenResFolder ,"META-INF/persisten= ce-" + (isWarConfiguration(model)?TEST_WAR_PROFILE:TEST_EAR_PROFILE) + ".xm= l"); //$NON-NLS-1$ //$NON-NLS-2$ - File jbossBeansFile =3D new File(seamGenResFolder ,"META-INF/jboss-bean= s.xml"); //$NON-NLS-1$ + File persistenceFile =3D new File(seamGenResFolder , "META-INF/persiste= nce-" + (isWarConfiguration(model) ? TEST_WAR_PROFILE:TEST_EAR_PROFILE) + "= .xml"); //$NON-NLS-1$ //$NON-NLS-2$ + File jbossBeansFile =3D new File(seamGenResFolder , "META-INF/jboss-bea= ns.xml"); //$NON-NLS-1$ FilterSet filterSet =3D new FilterSet(); filterSet.addFilter("projectName", projectName); //$NON-NLS-1$ filterSet.addFilter("runtimeName", WtpUtils.getServerRuntimeName(seamWe= bProject)); //$NON-NLS-1$ - filterSet.addFilter("webRootFolder",webRootVirtFolder.getUnderlyingFold= er().getFullPath().removeFirstSegments(1).toString()); //$NON-NLS-1$ + filterSet.addFilter("webRootFolder", webRootVirtFolder.getUnderlyingFol= der().getFullPath().removeFirstSegments(1).toString()); //$NON-NLS-1$ = final SeamRuntime selectedRuntime =3D SeamRuntimeManager.getInstance().= findRuntimeByName(model.getProperty(ISeamFacetDataModelProperties.SEAM_RUNT= IME_NAME).toString()); final String seamHomePath =3D selectedRuntime.getHomeDir(); = AntCopyUtils.FileSet includeLibs = =3D new AntCopyUtils.FileSet(JBOSS_TEST_LIB_FILESET) - .dir(new File(seamRuntime.getHomeDir(),"lib")); //$NON-NLS-1$ + .dir(new File(seamRuntime.getHomeDir(), "lib")); //$NON-NLS-1$ File[] libs =3D includeLibs.getDir().listFiles(new AntCopyUtils.FileSet= FileFilter(includeLibs)); StringBuffer testLibraries =3D new StringBuffer(); = @@ -604,15 +669,15 @@ StringBuffer requiredProjects =3D new StringBuffer(); requiredProjects.append( "\t"); //$NON-NLS-1$ //$NON-NLS-2$ - if(!isWarConfiguration(model)) { + if (!isWarConfiguration(model)) { requiredProjects.append( "\n\t"); //$NON-NLS-1$ //$NON-N= LS-2$ } = - filterSet.addFilter("testLibraries",testLibraries.toString()); //$NON-N= LS-1$ - filterSet.addFilter("requiredProjects",requiredProjects.toString()); //= $NON-NLS-1$ + filterSet.addFilter("testLibraries", testLibraries.toString()); //$NON-= NLS-1$ + filterSet.addFilter("requiredProjects", requiredProjects.toString()); /= /$NON-NLS-1$ File testTemplateDir =3D null; try { - testTemplateDir =3D new File(SeamFacetInstallDataModelProvider.getTemp= latesFolder(),"test"); //$NON-NLS-1$ + testTemplateDir =3D new File(SeamFacetInstallDataModelProvider.getTemp= latesFolder(), "test"); //$NON-NLS-1$ } catch (IOException e) { SeamCorePlugin.getPluginLog().logError(e); return; @@ -626,14 +691,14 @@ new AntCopyUtils.FileSetFileFilter(excludeCvsSvn), new FilterSetCollection(filterSet), true); = - excludeCvsSvn.dir(new File(seamRuntime.getHomeDir(),"embedded-ejb/conf"= )); //$NON-NLS-1$ + excludeCvsSvn.dir(new File(seamRuntime.getHomeDir(), "embedded-ejb/conf= ")); //$NON-NLS-1$ AntCopyUtils.copyFiles( - new File(seamRuntime.getHomeDir(),"embedded-ejb/conf"), //$NON-NLS-1$ + new File(seamRuntime.getHomeDir(), "embedded-ejb/conf"), //$NON-NLS-1$ embededEjbDir, new AntCopyUtils.FileSetFileFilter(excludeCvsSvn)); = AntCopyUtils.copyFiles( - new File(seamRuntime.getHomeDir(),"lib"), //$NON-NLS-1$ + new File(seamRuntime.getHomeDir(), "lib"), //$NON-NLS-1$ testLibDir, new AntCopyUtils.FileSetFileFilter(includeLibs)); = @@ -641,14 +706,17 @@ } = /** + * = * @param seamGenResFolder + * @param projectName + * @param embedded */ private void createComponentsProperties(final File seamGenResFolder, Stri= ng projectName, Boolean embedded) { Properties components =3D new Properties(); - String prefix =3D "".equals(projectName)?"":projectName+"/"; //$NON-NLS-= 1$ //$NON-NLS-2$ //$NON-NLS-3$ + String prefix =3D "".equals(projectName) ? "" : projectName + "/"; //$NO= N-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ components.put("embeddedEjb", embedded.toString()); //$NON-NLS-1$ - components.put("jndiPattern", prefix+"#{ejbName}/local"); //$NON-NLS-1$ = //$NON-NLS-2$ - File componentsProps =3D new File(seamGenResFolder,"components.propertie= s"); //$NON-NLS-1$ + components.put("jndiPattern", prefix + "#{ejbName}/local"); //$NON-NLS-1= $ //$NON-NLS-2$ + File componentsProps =3D new File(seamGenResFolder, "components.properti= es"); //$NON-NLS-1$ try { componentsProps.createNewFile(); components.store(new FileOutputStream(componentsProps), ""); //$NON-NLS= -1$ @@ -657,14 +725,20 @@ } } = + /** + * = + * @param project + * @param defaultConsoleName + * @return + */ public static boolean toggleHibernateOnProject(IProject project, String d= efaultConsoleName) { IScopeContext scope =3D new ProjectScope(project); = Preferences node =3D scope.getNode("org.hibernate.eclipse.console"); = - if(node!=3Dnull) { - node.putBoolean("hibernate3.enabled", true ); - node.put("default.configuration", defaultConsoleName ); + if (node !=3D null) { + node.putBoolean("hibernate3.enabled", true); + node.put("default.configuration", defaultConsoleName); try { node.flush(); } catch (BackingStoreException e) { @@ -676,9 +750,9 @@ } = try { - addProjectNature(project, "org.hibernate.eclipse.console.hibernateNatur= e", new NullProgressMonitor() ); + addProjectNature(project, "org.hibernate.eclipse.console.hibernateNatur= e", new NullProgressMonitor()); return true; - } catch(CoreException ce) { + } catch (CoreException ce) { SeamCorePlugin.getDefault().logError("Could not activate Hibernate natu= re on project " + project.getName(), ce); = return false; } = @@ -687,20 +761,24 @@ = /** * Add the given project nature to the given project (if it isn't already= added). + * = + * @param project + * @param nature + * @param monitor * @return true if nature where added, false if not - * @throws OperationCanceledException if job were cancelled or CoreExcept= ion if something went wrong. = + * @throws OperationCanceledException if job were canceled or CoreExcepti= on if something went wrong. = */ public static boolean addProjectNature(IProject project, String nature, I= ProgressMonitor monitor) throws CoreException { - if (monitor !=3D null && monitor.isCanceled() ) { + if (monitor !=3D null && monitor.isCanceled()) { throw new OperationCanceledException(); } = - if (!project.hasNature(nature) ) { + if (!project.hasNature(nature)) { IProjectDescription description =3D project.getDescription(); - String[] prevNatures=3D description.getNatureIds(); - String[] newNatures=3D new String[prevNatures.length + 1]; + String[] prevNatures =3D description.getNatureIds(); + String[] newNatures =3D new String[prevNatures.length + 1]; System.arraycopy(prevNatures, 0, newNatures, 0, prevNatures.length); - newNatures[prevNatures.length]=3D nature; + newNatures[prevNatures.length] =3D nature; description.setNatureIds(newNatures); project.setDescription(description, monitor); return true; Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/= seam/internal/core/project/facet/SeamFacetPreInstallDelegate.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/project/facet/SeamFacetPreInstallDelegate.java 2008-01-04 01:5= 4:58 UTC (rev 5501) +++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/i= nternal/core/project/facet/SeamFacetPreInstallDelegate.java 2008-01-04 01:5= 5:05 UTC (rev 5502) @@ -11,6 +11,7 @@ = package org.jboss.tools.seam.internal.core.project.facet; = +import java.text.Format; import java.util.Properties; = import org.eclipse.core.resources.IProject; @@ -19,40 +20,89 @@ import org.eclipse.datatools.connectivity.IConnectionProfile; import org.eclipse.datatools.connectivity.ProfileManager; import org.eclipse.datatools.connectivity.drivers.DriverManager; +import org.eclipse.osgi.util.NLS; import org.eclipse.wst.common.frameworks.datamodel.IDataModel; import org.eclipse.wst.common.project.facet.core.IDelegate; import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion; - +/** + * TBD + * = + * @author eskimo + */ public class SeamFacetPreInstallDelegate implements IDelegate { + = + = + /** + * Indentation for hibernate property declaration + */ + public static final String PROP_INDENT =3D "\n "; = + /** + * Property declaration in persistence.xml + */ + public static final String PROP_DECL =3D ""; + = + private static final String EMPTY_STRING =3D ""; + = + /** + * Execute pre-install operations for installed facet + * = + * @param project created after finish pressed in wizard + * @param fv -IProjectFacetversion described facet that will be installed + * @param config - IDataModel that provide data collected from user + * @param monitor - IProgressMonitor + * @throws CoreException when meet the problems + */ public void execute(IProject project, IProjectFacetVersion fv, Object config, IProgressMonitor monitor) throws CoreException { - IDataModel model =3D (IDataModel)config; + IDataModel model =3D (IDataModel) config; = - if(model.getProperty(ISeamFacetDataModelProperties.SEAM_CONNECTION_PROFI= LE)!=3Dnull) { + if (model.getProperty(ISeamFacetDataModelProperties.SEAM_CONNECTION_PROF= ILE) !=3D null) { IConnectionProfile connProfile =3D ProfileManager.getInstance().getProf= ileByName(model.getProperty(ISeamFacetDataModelProperties.SEAM_CONNECTION_P= ROFILE).toString()); - Properties props =3D connProfile.getBaseProperties(); //Properties("org= .eclipse.datatools.connectivity.db.generic.connectionProfile"); + if (connProfile!=3Dnull) { + Properties props =3D connProfile.getBaseProperties(); //Properties("or= g.eclipse.datatools.connectivity.db.generic.connectionProfile"); = - // Collect properties name from DTP Connection Profile - model.setProperty(ISeamFacetDataModelProperties.DB_USER_NAME, - props.get("org.eclipse.datatools.connectivity.db.username")=3D=3Dnull= //$NON-NLS-1$ - ?"":props.get("org.eclipse.datatools.connectivity.db.username").toStr= ing()); //$NON-NLS-1$ //$NON-NLS-2$ - = - model.setProperty(ISeamFacetDataModelProperties.JDBC_DRIVER_CLASS_NAME, - props.get("org.eclipse.datatools.connectivity.db.driverClass")=3D=3Dn= ull //$NON-NLS-1$ - ?"":props.get("org.eclipse.datatools.connectivity.db.driverClass").to= String()); //$NON-NLS-1$ //$NON-NLS-2$ - = - model.setProperty(ISeamFacetDataModelProperties.DB_USER_PASSWORD, - props.get("org.eclipse.datatools.connectivity.db.password")=3D=3Dnull= //$NON-NLS-1$ - ?"":props.get("org.eclipse.datatools.connectivity.db.password").toStr= ing()); //$NON-NLS-1$ //$NON-NLS-2$ - = - model.setProperty(ISeamFacetDataModelProperties.JDBC_URL_FOR_DB, - props.get("org.eclipse.datatools.connectivity.db.URL")=3D=3Dnull //$N= ON-NLS-1$ - ?"":props.get("org.eclipse.datatools.connectivity.db.URL").toString()= ); //$NON-NLS-1$ //$NON-NLS-2$ - = - model.setProperty(ISeamFacetDataModelProperties.JDBC_DRIVER_JAR_PATH, - DriverManager.getInstance().getDriverInstanceByID( - props.get("org.eclipse.datatools.connectivity.driverDefinitionID")= .toString()).getJarListAsArray()); //$NON-NLS-1$ + // Collect properties name from DTP Connection Profile + model.setProperty(ISeamFacetDataModelProperties.DB_USER_NAME, + props.get("org.eclipse.datatools.connectivity.db.username") =3D=3D n= ull //$NON-NLS-1$ + ? "" : props.get("org.eclipse.datatools.connectivity.db.username").t= oString()); //$NON-NLS-1$ //$NON-NLS-2$ + = + model.setProperty(ISeamFacetDataModelProperties.JDBC_DRIVER_CLASS_NAME, + props.get("org.eclipse.datatools.connectivity.db.driverClass") =3D= =3D null //$NON-NLS-1$ + ? "" : props.get("org.eclipse.datatools.connectivity.db.driverClass"= ).toString()); //$NON-NLS-1$ //$NON-NLS-2$ + = + model.setProperty(ISeamFacetDataModelProperties.DB_USER_PASSWORD, + props.get("org.eclipse.datatools.connectivity.db.password") =3D=3D n= ull //$NON-NLS-1$ + ? "" : props.get("org.eclipse.datatools.connectivity.db.password").t= oString()); //$NON-NLS-1$ //$NON-NLS-2$ + = + model.setProperty(ISeamFacetDataModelProperties.JDBC_URL_FOR_DB, + props.get("org.eclipse.datatools.connectivity.db.URL") =3D=3D null /= /$NON-NLS-1$ + ? "" : props.get("org.eclipse.datatools.connectivity.db.URL").toStri= ng()); //$NON-NLS-1$ //$NON-NLS-2$ + = + model.setProperty(ISeamFacetDataModelProperties.JDBC_DRIVER_JAR_PATH, + DriverManager.getInstance().getDriverInstanceByID( + props.get("org.eclipse.datatools.connectivity.driverDefinitionID"= ).toString()).getJarListAsArray()); //$NON-NLS-1$ + } } + = + String defaultSchema =3D (String) model.getProperty(ISeamFacetDataModelP= roperties.DB_DEFAULT_SCHEMA_NAME); + = + if (!EMPTY_STRING.equals(defaultSchema)) { + model.setStringProperty(ISeamFacetDataModelProperties.DB_SCHEMA_NAME, = + PROP_INDENT + NLS.bind(PROP_DECL, = + new String[]{ + ISeamFacetDataModelProperties.DB_DEFAULT_SCHEMA_NAME, + defaultSchema})); + } + + String defaultCatalog =3D (String) model.getProperty(ISeamFacetDataModel= Properties.DB_DEFAULT_CATALOG_NAME); = + = + if (!EMPTY_STRING.equals(defaultCatalog)) { + model.setStringProperty(ISeamFacetDataModelProperties.DB_CATALOG_NAME, = + PROP_INDENT + NLS.bind(PROP_DECL, = + new String[]{ + ISeamFacetDataModelProperties.DB_DEFAULT_CATALOG_NAME, + defaultCatalog})); + } } } --===============3900270170968958150==-- From jbosstools-commits at lists.jboss.org Thu Jan 3 20:55:09 2008 Content-Type: multipart/mixed; boundary="===============7466177461987677992==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5503 - trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink. Date: Thu, 03 Jan 2008 20:55:08 -0500 Message-ID: --===============7466177461987677992== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-03 20:55:08 -0500 (Thu, 03 Jan 2008) New Revision: 5503 Modified: trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools= /common/text/ext/hyperlink/HyperlinkPartitionerDefinition.java Log: http://jira.jboss.org/jira/browse/JBIDE-1544 Need add @catalogProperty@@schemaProperty@ back to persistence.xml template= s file in seam-gen. JUnit tests also added. Modified: trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jbos= s/tools/common/text/ext/hyperlink/HyperlinkPartitionerDefinition.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.text.ext/src/org/jboss/tool= s/common/text/ext/hyperlink/HyperlinkPartitionerDefinition.java 2008-01-04 = 01:55:05 UTC (rev 5502) +++ trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tool= s/common/text/ext/hyperlink/HyperlinkPartitionerDefinition.java 2008-01-04 = 01:55:08 UTC (rev 5503) @@ -234,7 +234,7 @@ } = public boolean equals(Object obj) { - if(obj =3D=3D null && !(obj instanceof ContentType)) { + if(obj =3D=3D null || !(obj instanceof ContentType)) { return false; } ContentType type =3D (ContentType)obj; @@ -285,7 +285,7 @@ } = public boolean equals(Object obj) { - if(obj =3D=3D null && !(obj instanceof PartitionType)) { + if(obj =3D=3D null || !(obj instanceof PartitionType)) { return false; } PartitionType type =3D (PartitionType)obj; @@ -392,7 +392,7 @@ } = public boolean equals(Object obj) { - if(obj =3D=3D null && !(obj instanceof Axis)) { + if(obj =3D=3D null || !(obj instanceof Axis)) { return false; } Axis axis =3D (Axis)obj; --===============7466177461987677992==-- From jbosstools-commits at lists.jboss.org Fri Jan 4 06:05:05 2008 Content-Type: multipart/mixed; boundary="===============0876735026743446283==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5504 - in trunk/vpe/plugins/org.jboss.tools.vpe: src/org/jboss/tools/vpe/editor/util and 1 other directories. Date: Fri, 04 Jan 2008 06:01:05 -0500 Message-ID: --===============0876735026743446283== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-04 06:01:05 -0500 (Fri, 04 Jan 2008) New Revision: 5504 Added: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/tem= plate/JsfSelectManyListbox.java trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/tem= plate/JsfSelectOneListbox.java Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/uti= l/HTML.java trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf.xml Log: http://jira.jboss.com/jira/browse/JBIDE-1501 Added: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor= /template/JsfSelectManyListbox.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/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/te= mplate/JsfSelectManyListbox.java (rev 0) +++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/te= mplate/JsfSelectManyListbox.java 2008-01-04 11:01:05 UTC (rev 5504) @@ -0,0 +1,153 @@ +/*************************************************************************= ****** + * 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.vpe.editor.template; + +import java.util.ArrayList; +import java.util.List; + +import org.jboss.tools.vpe.editor.context.VpePageContext; +import org.jboss.tools.vpe.editor.util.HTML; +import org.mozilla.interfaces.nsIDOMDocument; +import org.mozilla.interfaces.nsIDOMElement; +import org.mozilla.interfaces.nsIDOMNode; +import org.w3c.dom.Element; +import org.w3c.dom.Node; +import org.w3c.dom.NodeList; + +/** + * @author Sergey Dzmitrovich + * = + * template for selectOneListbox select item + * = + */ +public class JsfSelectManyListbox extends VpeAbstractTemplate { + + /** + * "size" attribute + */ + private static final String ATTR_SIZE =3D "size"; + + /** + * "size" attribute + */ + private static final String ATTR_MULTIPLE_VALUE =3D "multiple"; + /** + * list of visible children + */ + private static List CHILDREN_LIST =3D new ArrayList(); + + static { + CHILDREN_LIST.add("selectItem"); + CHILDREN_LIST.add("selectItems"); + } + + /** + * list of copied attributes + */ + private static List ATTR_LIST_COPY =3D new ArrayList(); + + static { + ATTR_LIST_COPY.add("style"); + ATTR_LIST_COPY.add("styleClass"); + } + + /** + * = + */ + public JsfSelectManyListbox() { + + // TODO Auto-generated constructor stub + } + + /* + * (non-Javadoc) + * = + * @see org.jboss.tools.vpe.editor.template.VpeTemplate#create(org.jboss.= tools.vpe.editor.context.VpePageContext, + * org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMDocument) + */ + public VpeCreationData create(VpePageContext pageContext, Node sourceNode, + nsIDOMDocument visualDocument) { + + // create select element + nsIDOMElement select =3D visualDocument.createElement(HTML.TAG_SELECT); + + Element element =3D (Element) sourceNode; + + // import attributes from source + for (String attributeName : ATTR_LIST_COPY) { + + // get attribute + String attr =3D element.getAttribute(attributeName); + + // add attribute to "select" + if (attr !=3D null) + select.setAttribute(HTML.ATTR_STYLE, attr); + + } + + // set "multiple" attribute + select.setAttribute(HTML.ATTR_MULTIPLE, ATTR_MULTIPLE_VALUE); + + // get "size" attribute + String size =3D element.getAttribute(ATTR_SIZE); + + // add "size" attribute to "select" + if (size !=3D null) + // if source has "size" attribute import it + select.setAttribute(HTML.ATTR_SIZE, size); + else + // count size + select.setAttribute(HTML.ATTR_SIZE, String + .valueOf(countSize(element))); + + return new VpeCreationData(select); + } + + /** + * Count size for "select" (size =3D number of "selectItem" and "selectIt= ems" + * children ) + * = + * = + * @param sourceNode + * @return size of select (1 or more) + */ + private int countSize(Node sourceNode) { + + NodeList children =3D sourceNode.getChildNodes(); + int size =3D 0; + for (int i =3D 0; i < children.getLength(); i++) { + + Node child =3D children.item(i); + // if children is one of visible items + if (CHILDREN_LIST.contains(child.getLocalName())) + size++; + } + // if 'size' =3D=3D 0 return 1 else 'size' + return size =3D=3D 0 ? 1 : size; + + } + + /** + * = + */ + public void removeAttribute(VpePageContext pageContext, + Element sourceElement, nsIDOMDocument visualDocument, + nsIDOMNode visualNode, Object data, String name) { + + // get DOMElement(root element is select) + nsIDOMElement select =3D (nsIDOMElement) visualNode + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + + // remove attribute + select.removeAttribute(name); + } + +} Added: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor= /template/JsfSelectOneListbox.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/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/te= mplate/JsfSelectOneListbox.java (rev 0) +++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/te= mplate/JsfSelectOneListbox.java 2008-01-04 11:01:05 UTC (rev 5504) @@ -0,0 +1,145 @@ +/*************************************************************************= ****** + * 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.vpe.editor.template; + +import java.util.ArrayList; +import java.util.List; + +import org.jboss.tools.vpe.editor.context.VpePageContext; +import org.jboss.tools.vpe.editor.util.HTML; +import org.mozilla.interfaces.nsIDOMDocument; +import org.mozilla.interfaces.nsIDOMElement; +import org.mozilla.interfaces.nsIDOMNode; +import org.w3c.dom.Element; +import org.w3c.dom.Node; +import org.w3c.dom.NodeList; + +/** + * @author Sergey Dzmitrovich + * = + * template for selectOneListbox select item + * = + */ +public class JsfSelectOneListbox extends VpeAbstractTemplate { + + /** + * "size" attribute + */ + private static final String ATTR_SIZE =3D "size"; + + /** + * list of visible children + */ + private static List CHILDREN_LIST =3D new ArrayList(); + + static { + CHILDREN_LIST.add("selectItem"); + CHILDREN_LIST.add("selectItems"); + } + + /** + * list of copied attributes + */ + private static List ATTR_LIST_COPY =3D new ArrayList(); + + static { + ATTR_LIST_COPY.add("style"); + ATTR_LIST_COPY.add("styleClass"); + } + + /** + * = + */ + public JsfSelectOneListbox() { + + // TODO Auto-generated constructor stub + } + + /* + * (non-Javadoc) + * = + * @see org.jboss.tools.vpe.editor.template.VpeTemplate#create(org.jboss.= tools.vpe.editor.context.VpePageContext, + * org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMDocument) + */ + public VpeCreationData create(VpePageContext pageContext, Node sourceNode, + nsIDOMDocument visualDocument) { + + // create select element + nsIDOMElement select =3D visualDocument.createElement(HTML.TAG_SELECT); + + Element element =3D (Element) sourceNode; + + // import attributes from source + for (String attributeName : ATTR_LIST_COPY) { + + // get attribute + String attr =3D element.getAttribute(attributeName); + + // add attribute to "select" + if (attr !=3D null) + select.setAttribute(HTML.ATTR_STYLE, attr); + + } + + // get "size" attribute + String size =3D element.getAttribute(ATTR_SIZE); + + // add "size" attribute to "select" + if (size !=3D null) + // if source has "size" attribute import it + select.setAttribute(HTML.ATTR_SIZE, size); + else + // count size + select.setAttribute(HTML.ATTR_SIZE, String + .valueOf(countSize(element))); + + return new VpeCreationData(select); + } + + /** + * Count size for "select" (size =3D number of "selectItem" and "selectIt= ems" + * children ) + * = + * = + * @param sourceNode + * @return size of select (1 or more) + */ + private int countSize(Node sourceNode) { + + NodeList children =3D sourceNode.getChildNodes(); + int size =3D 0; + for (int i =3D 0; i < children.getLength(); i++) { + + Node child =3D children.item(i); + // if children is one of visible items + if (CHILDREN_LIST.contains(child.getLocalName())) + size++; + } + // if 'size' =3D=3D 0 return 1 else 'size' + return size =3D=3D 0 ? 1 : size; + + } + + /** + * = + */ + public void removeAttribute(VpePageContext pageContext, + Element sourceElement, nsIDOMDocument visualDocument, + nsIDOMNode visualNode, Object data, String name) { + + // get DOMElement(root element is select) + nsIDOMElement select =3D (nsIDOMElement) visualNode + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + + // remove attribute + select.removeAttribute(name); + } +} Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/edi= tor/util/HTML.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/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/ut= il/HTML.java 2008-01-04 01:55:08 UTC (rev 5503) +++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/ut= il/HTML.java 2008-01-04 11:01:05 UTC (rev 5504) @@ -19,43 +19,45 @@ = private HTML() {} = - public static final String TAG_HTML =3D "HTML"; - public static final String TAG_HEAD =3D "HEAD"; - public static final String TAG_BODY =3D "BODY"; - public static final String TAG_IMG =3D "IMG"; - public static final String TAG_LINK =3D "LINK"; - public static final String TAG_SELECT =3D "SELECT"; - public static final String TAG_OPTION =3D "OPTION"; - public static final String TAG_STYLE =3D "STYLE"; - public static final String TAG_TABLE =3D "TABLE"; - public static final String TAG_TBODY =3D "TBODY"; - public static final String TAG_THEAD =3D "THEAD"; - public static final String TAG_TFOOT =3D "TFOOT"; - public static final String TAG_TH =3D "TH"; = - public static final String TAG_TR =3D "TR"; - public static final String TAG_TD =3D "TD"; - public static final String TAG_COL =3D "COL"; - public static final String TAG_COLS =3D "COLS"; - public static final String TAG_COLGROUP =3D "COLGROUP"; - public static final String TAG_BR =3D "BR"; - public static final String TAG_LI =3D "LI"; - public static final String TAG_DIV =3D "DIV"; - public static final String TAG_SPAN =3D "SPAN"; - public static final String TAG_P =3D "P"; - public static final String TAG_TEXTAREA =3D "TEXTAREA"; - public static final String TAG_INPUT =3D "INPUT"; - public static final String TAG_BUTTON =3D "BUTTON"; - public static final String TAG_OL =3D "OL"; - public static final String TAG_UL =3D "UL"; + public static final String TAG_HTML =3D "HTML"; + public static final String TAG_HEAD =3D "HEAD"; + public static final String TAG_BODY =3D "BODY"; + public static final String TAG_IMG =3D "IMG"; + public static final String TAG_LINK =3D "LINK"; + public static final String TAG_SELECT =3D "SELECT"; + public static final String TAG_OPTION =3D "OPTION"; + public static final String TAG_STYLE =3D "STYLE"; + public static final String TAG_TABLE =3D "TABLE"; + public static final String TAG_TBODY =3D "TBODY"; + public static final String TAG_THEAD =3D "THEAD"; + public static final String TAG_TFOOT =3D "TFOOT"; + public static final String TAG_TH =3D "TH"; = + public static final String TAG_TR =3D "TR"; + public static final String TAG_TD =3D "TD"; + public static final String TAG_COL =3D "COL"; + public static final String TAG_COLS =3D "COLS"; + public static final String TAG_COLGROUP =3D "COLGROUP"; + public static final String TAG_BR =3D "BR"; + public static final String TAG_LI =3D "LI"; + public static final String TAG_DIV =3D "DIV"; + public static final String TAG_SPAN =3D "SPAN"; + public static final String TAG_P =3D "P"; + public static final String TAG_TEXTAREA =3D "TEXTAREA"; + public static final String TAG_INPUT =3D "INPUT"; + public static final String TAG_BUTTON =3D "BUTTON"; + public static final String TAG_OL =3D "OL"; + public static final String TAG_UL =3D "UL"; = = = - public static final String ATTR_ID =3D "ID"; - public static final String ATTR_TYPE =3D"TYPE"; - public static final String ATTR_TEXT =3D"TEXT"; - public static final String ATTR_CLASS =3D"CLASS"; - public static final String ATTR_TITLE =3D"TITLE"; - public static final String ATTR_NAME =3D"NAME"; - public static final String ATTR_VALUE =3D"VALUE"; - public static final String ATTR_STYLE =3D"STYLE"; + public static final String ATTR_ID =3D "ID"; + public static final String ATTR_TYPE =3D"TYPE"; + public static final String ATTR_TEXT =3D"TEXT"; + public static final String ATTR_CLASS =3D"CLASS"; + public static final String ATTR_TITLE =3D"TITLE"; + public static final String ATTR_NAME =3D"NAME"; + public static final String ATTR_VALUE =3D"VALUE"; + public static final String ATTR_STYLE =3D"STYLE"; + public static final String ATTR_SIZE =3D"SIZE"; + public static final String ATTR_MULTIPLE =3D "MULTIPLE"; } \ No newline at end of file Modified: trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf= .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/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf.xml 2= 008-01-04 01:55:08 UTC (rev 5503) +++ trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf.xml 2= 008-01-04 11:01:05 UTC (rev 5504) @@ -671,45 +671,9 @@ = - - - + @@ -740,82 +704,45 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tags ( which vpe template for= ms + * when process "selectOneRadio" jsf tag ) didn't have equal "name" + * attribute * = - * test check that all "radio" elements ( of xulRunner DOMDocument ) have + * REQUIREMENT :test page must has only one tag + * = + * test checks that all "radio" elements ( of xulRunner DOMDocument ) have * equal "name" attributes */ public void testJBIDE_1467() throws PartInitException, Throwable { - // path to test page - String path =3D "JBIDE/JBIDE-1467.jsp"; + // wait TestJsfUtil.waitForJobs(); // set exception exception =3D null; = // get test page path - IFile file =3D (IFile) TestJsfUtil.getComponentPath(path); + IFile file =3D (IFile) TestJsfUtil + .getComponentPath("JBIDE/1467/JBIDE-1467.jsp"); = IEditorInput input =3D new FileEditorInput(file); = - // get editor - JSPMultiPageEditor part =3D (JSPMultiPageEditor) PlatformUI - .getWorkbench().getActiveWorkbenchWindow().getActivePage() - .openEditor(input, EDITOR_ID, true); + // open and get editor + JSPMultiPageEditor part =3D openEditor(input); = - // wait for jobs - TestJsfUtil.waitForJobs(); - // wait full initialization of vpe - TestJsfUtil.delay(3000); - - VpeEditorPart visualEditor =3D (VpeEditorPart) part.getVisualEditor(); - VpeController vpeController =3D visualEditor.getController(); - - // get xulRunner editor - XulRunnerEditor xulRunnerEditor =3D vpeController.getXulRunnerEditor(); - // get dom document - nsIDOMDocument document =3D xulRunnerEditor.getDOMDocument(); + nsIDOMDocument document =3D getVpePageSource(part); nsIDOMElement element =3D document.getDocumentElement(); = if (element !=3D null) { @@ -149,7 +138,7 @@ = // check that "radio" elements have equal names // (size of list of names =3D=3D 1 ) - assertEquals(getRadioNames(elements).size(), 1); + assertEquals(1, getRadioNames(elements).size()); = } = @@ -161,6 +150,131 @@ } = /** + * test for http://jira.jboss.com/jira/browse/JBIDE-1467 + * = + * the cause of bug : + * = + * 1. tag ( which vpe template forms when process + * "selectOneListbox" and "selectManyListbox" jsf tags ) sometimes had + * incorrect "size" attribute + * = + * DISCRIPTION: test consist of two part + * = + * 1. The first page (JBIDE-1501_multiple.jsp) has "selectManyMenu" and + * "selectManyListbox" jsf tags. And test checks that all "select" elemen= ts + * have "multiple" attribute + * = + * 2. The second page (JBIDE-1501_size.jsp) has "selectOneListbox" and + * "selectManyListbox" jsf tags and they was formed so that all "select" + * elements must have size=3D"2" attribute . And test checks "size" attri= bute + */ + public void testJBIDE_1501() throws PartInitException, Throwable { + + // wait + TestJsfUtil.waitForJobs(); + // set exception + exception =3D null; + + // _____1st Part____// + + // get test page path + IFile file =3D (IFile) TestJsfUtil + .getComponentPath("JBIDE/1501/JBIDE-1501_multiple.jsp"); + + IEditorInput input =3D new FileEditorInput(file); + + // open and get editor + JSPMultiPageEditor part =3D openEditor(input); + + // get dom document + nsIDOMDocument document =3D getVpePageSource(part); + assertNotNull(document); + + // get dom element + nsIDOMElement element =3D document.getDocumentElement(); + assertNotNull(element); + + // get root node + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "select" elements + findElementsByName(node, elements, HTML.TAG_SELECT); + + System.out.print("\n1:" + elements.size()); + for (nsIDOMNode select : elements) { + + // get attributes + nsIDOMNamedNodeMap attributes =3D select.getAttributes(); + + // "select" must have attributes + assertNotNull(attributes); + + // select must have "multiple" attribute + assertNotNull(attributes.getNamedItem(HTML.ATTR_MULTIPLE)); + + } + + // _____2nd Part____// + + // get test page path + file =3D (IFile) TestJsfUtil + .getComponentPath("JBIDE/1501/JBIDE-1501_size.jsp"); + + input =3D new FileEditorInput(file); + + // open and get editor + part =3D openEditor(input); + + // get dom document + document =3D getVpePageSource(part); + assertNotNull(document); + + // get dom element + element =3D document.getDocumentElement(); + assertNotNull(element); + + // get root node + node =3D (nsIDOMNode) element.queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + elements =3D new ArrayList(); + + // find "select" elements + findElementsByName(node, elements, HTML.TAG_SELECT); + + System.out.print("\n2:" + elements.size()); + + for (nsIDOMNode select : elements) { + + // get attributes + nsIDOMNamedNodeMap attributes =3D select.getAttributes(); + + // "select" must have attributes + assertNotNull(attributes); + + // select must have "size" attribute + nsIDOMNode size =3D attributes.getNamedItem(HTML.ATTR_SIZE); + assertNotNull(size); + + // + assertEquals(2, Integer.parseInt(size.getNodeValue())); + + } + + // check exception + if (exception !=3D null) { + throw exception; + } + + } + + /** * find elements by name * = * @param node - @@ -170,7 +284,7 @@ * @param name - * name element */ - void findElementsByName(nsIDOMNode node, List elements, + private void findElementsByName(nsIDOMNode node, List element= s, String name) { = // get children @@ -182,15 +296,22 @@ if (name.equalsIgnoreCase((child.getNodeName()))) { = elements.add(child); - return; + + } else { + + findElementsByName(child, elements, name); + } - // if current child is not required - findElementsByName(child, elements, name); - } = } = + /** + * = + * @param elements + * list of "input" elements + * @return list of names + */ private List getRadioNames(List elements) { = // list of "name" of "radio" elements @@ -200,12 +321,12 @@ // attributes nsIDOMNamedNodeMap attributes =3D element.getAttributes(); = - if (null !=3D attributes) { + if (attributes !=3D null) { // get type of element nsIDOMNode type =3D attributes.getNamedItem(HTML.ATTR_TYPE); = // if type is "radio" - if ((null !=3D type) + if ((type !=3D null) && (ATTR_TYPE_VALUE.equalsIgnoreCase(type .getNodeValue()))) { = @@ -227,6 +348,65 @@ = } = + /** + * close all opened editors + */ + private void closeEditors() { + + // wait + TestJsfUtil.waitForJobs(); + + // close + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() + .closeAllEditors(true); + + } + + /** + * Open JSPMultiPageEditor editor + * = + * @param input + * @return + * @throws PartInitException + */ + private JSPMultiPageEditor openEditor(IEditorInput input) + throws PartInitException { + + // get editor + JSPMultiPageEditor part =3D (JSPMultiPageEditor) PlatformUI + .getWorkbench().getActiveWorkbenchWindow().getActivePage() + .openEditor(input, EDITOR_ID, true); + + // wait for jobs + TestJsfUtil.waitForJobs(); + // wait full initialization of vpe + TestJsfUtil.delay(3000); + + return part; + + } + + /** + * get xulrunner source page + * = + * @param part - + * JSPMultiPageEditor + * @return nsIDOMDocument + */ + private nsIDOMDocument getVpePageSource(JSPMultiPageEditor part) { + + VpeEditorPart visualEditor =3D (VpeEditorPart) part.getVisualEditor(); + VpeController vpeController =3D visualEditor.getController(); + + // get xulRunner editor + XulRunnerEditor xulRunnerEditor =3D vpeController.getXulRunnerEditor(); + + // get dom document + nsIDOMDocument document =3D xulRunnerEditor.getDOMDocument(); + + return document; + } + public void logging(IStatus status, String plugin) { switch (status.getSeverity()) { case IStatus.ERROR: --===============8253072307947032448==-- From jbosstools-commits at lists.jboss.org Fri Jan 4 09:44:05 2008 Content-Type: multipart/mixed; boundary="===============7733114993042009313==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5515 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE. Date: Fri, 04 Jan 2008 09:44:04 -0500 Message-ID: --===============7733114993042009313== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-04 09:44:04 -0500 (Fri, 04 Jan 2008) New Revision: 5515 Removed: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/JBIDE-1467.jsp Log: http://jira.jboss.com/jira/browse/JBIDE-1501 was added junit Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/JBIDE/JBIDE-1467.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/JBIDE-1467.jsp 2008-01-04 14:43:36 UTC (rev 5514) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/JBIDE-1467.jsp 2008-01-04 14:44:04 UTC (rev 5515) @@ -1,22 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - - - - - - - - - - - - - - \ No newline at end of file --===============7733114993042009313==-- From jbosstools-commits at lists.jboss.org Fri Jan 4 09:44:55 2008 Content-Type: multipart/mixed; boundary="===============3361207486207872896==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5516 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE: 1501 and 1 other directory. Date: Fri, 04 Jan 2008 09:44:55 -0500 Message-ID: --===============3361207486207872896== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-04 09:44:55 -0500 (Fri, 04 Jan 2008) New Revision: 5516 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1501/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1501/JBIDE-1501_multiple.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1501/JBIDE-1501_size.jsp Log: http://jira.jboss.com/jira/browse/JBIDE-1501 was added junit Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1501/JBIDE-1501_multiple.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1501/JBIDE-1501_multiple.jsp (re= v 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1501/JBIDE-1501_multiple.jsp 2008-01-04 14:44:55 UTC (re= v 5516) @@ -0,0 +1,27 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1501/JBIDE-1501_size.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1501/JBIDE-1501_size.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1501/JBIDE-1501_size.jsp 2008-01-04 14:44:55 UTC (rev 55= 16) @@ -0,0 +1,37 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file --===============3361207486207872896==-- From jbosstools-commits at lists.jboss.org Fri Jan 4 09:46:47 2008 Content-Type: multipart/mixed; boundary="===============4077658078218564658==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5517 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE: JBIDE-1467 and 1 other directory. Date: Fri, 04 Jan 2008 09:46:47 -0500 Message-ID: --===============4077658078218564658== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-04 09:46:47 -0500 (Fri, 04 Jan 2008) New Revision: 5517 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/JBIDE-1467/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/JBIDE-1467/JBIDE-1467.jsp Log: Copied: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/= WebContent/pages/JBIDE/JBIDE-1467/JBIDE-1467.jsp (from rev 5492, trunk/jsf/= tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/J= BIDE/JBIDE-1467.jsp) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/JBIDE-1467/JBIDE-1467.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/JBIDE-1467/JBIDE-1467.jsp 2008-01-04 14:46:47 UTC (rev 5= 517) @@ -0,0 +1,22 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + + + + + + + + + + + + + + \ No newline at end of file --===============4077658078218564658==-- From jbosstools-commits at lists.jboss.org Fri Jan 4 09:55:13 2008 Content-Type: multipart/mixed; boundary="===============0052698935401266377==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5518 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test. Date: Fri, 04 Jan 2008 09:55:12 -0500 Message-ID: --===============0052698935401266377== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-04 09:55:12 -0500 (Fri, 04 Jan 2008) New Revision: 5518 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfJbideTest.java Log: removed "system.out.println" Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfJbideTest.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfJbideTest.java 2008-01-04 14:46:47 UTC (rev 5517) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfJbideTest.java 2008-01-04 14:55:12 UTC (rev 5518) @@ -207,7 +207,6 @@ // find "select" elements findElementsByName(node, elements, HTML.TAG_SELECT); = - System.out.print("\n1:" + elements.size()); for (nsIDOMNode select : elements) { = // get attributes @@ -248,8 +247,6 @@ // find "select" elements findElementsByName(node, elements, HTML.TAG_SELECT); = - System.out.print("\n2:" + elements.size()); - for (nsIDOMNode select : elements) { = // get attributes --===============0052698935401266377==-- From jbosstools-commits at lists.jboss.org Fri Jan 4 12:44:58 2008 Content-Type: multipart/mixed; boundary="===============6392695738225116409==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5519 - trunk/hibernatetools/docs/reference/en/images. Date: Fri, 04 Jan 2008 12:44:58 -0500 Message-ID: --===============6392695738225116409== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-04 12:44:58 -0500 (Fri, 04 Jan 2008) New Revision: 5519 Added: trunk/hibernatetools/docs/reference/en/images/codegendropdown.png trunk/hibernatetools/docs/reference/en/images/consoleoutline-before-reve= n.png Modified: trunk/hibernatetools/docs/reference/en/images/hbmxml-namecompletion.png trunk/hibernatetools/docs/reference/en/images/hbmxml-typecompletion.png Log: http://jira.jboss.com/jira/browse/JBDS-185 - correcting screenshots Added: trunk/hibernatetools/docs/reference/en/images/codegendropdown.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/hibernatetools/docs/reference/en/images/codegend= ropdown.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/hibernatetools/docs/reference/en/images/consoleoutline-before-= reven.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/hibernatetools/docs/reference/en/images/consoleo= utline-before-reven.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/hibernatetools/docs/reference/en/images/hbmxml-namecompleti= on.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/hibernatetools/docs/reference/en/images/hbmxml-typecompleti= on.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) --===============6392695738225116409==-- From jbosstools-commits at lists.jboss.org Fri Jan 4 12:45:51 2008 Content-Type: multipart/mixed; boundary="===============4654231058584083672==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5520 - trunk/hibernatetools/docs/reference/en/modules. Date: Fri, 04 Jan 2008 12:45:51 -0500 Message-ID: --===============4654231058584083672== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-04 12:45:51 -0500 (Fri, 04 Jan 2008) New Revision: 5520 Modified: trunk/hibernatetools/docs/reference/en/modules/ant.xml Log: http://jira.jboss.com/jira/browse/JBDS-236 - adding a link Modified: trunk/hibernatetools/docs/reference/en/modules/ant.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/hibernatetools/docs/reference/en/modules/ant.xml 2008-01-04 17:44= :58 UTC (rev 5519) +++ trunk/hibernatetools/docs/reference/en/modules/ant.xml 2008-01-04 17:45= :51 UTC (rev 5520) @@ -12,11 +12,10 @@ from tools.hibernate.org The hibernate-tools.jar is located in your eclipse plugins directory at - /plugins/org.hibernate.eclipse.x.x.x/lib/tools/hibernate= -tools.jar - - - . This jar is 100% independent from the eclipse platform and c= an thus be used - independently of eclipse. + /plugins/org.hibernate.eclipse.x.x.x/lib/tools/hibernate= -tools.jar + .
+ This jar is 100% independent from the eclipse platform and can t= hus be used independently + of eclipse. = There might be incapabilities with respect to the Hibernate3.j= ar bundled with the tools @@ -28,13 +27,14 @@
=
- The <literal><hibernatetool></literal> ant Task + The <hibernatetool> Ant Task = - To use the ant tasks you need to have the hibernatetool task def= ined. That is done in your + To use the ant tasks you need to have the + hibernatetool + task defined. That is done in your build.xml by inserting the following xml (assuming the jars are in= the - lib directory): = - + lib directory): @@ -51,9 +51,7 @@ <taskdef> defines an Ant task called - - <hibernatetool> - + hibernatetool which now can be used anywhere in your ant build.xml files. It is important to include all the Hibe= rnate Tools @@ -65,9 +63,7 @@ = When using the - - <hibernatetool> - + hibernatetool task you have to specify one or more of the following: = @@ -140,9 +136,9 @@ hibernate.cfg.xml - . The output will be put in the - ${build.dir}/generated - directory. + . The output will be put in the + ${build.dir}/generated + directory. = @@ -157,8 +153,8 @@ and finally runs a custom code generation via <hbmtemplate> . This is again from a normal - hibernate.cfg.xml and the output - is still put in the + hibernate.cfg.xml + and the output is still put in the ${build.dir}/generated @@ -201,8 +197,12 @@ = Each have in common that they are able to build up a Hibernate Configuration object from which a set of exporter= s can be run to generate - various output. Note: output can be anything, e.g. specific files, s= tatements execution against - a database, error reporting or anything else that can be done in jav= a code. + various output. = + = + Output can be anything, e.g. specific files, statements executi= on + against a database, error reporting or anything else that can be don= e in java code. + + = The following section describes what the various configuration c= an do, plus list the individual settings they have. @@ -265,8 +265,8 @@ = - A standard Ant fileset. Used to include hibernate mapp= ing files. Remember that if - mappings are already specified in the hibernate.cfg.xml th= en it should not be + A standard Ant fileset. Used to include hibernate mapp= ing files. Remember that + if mappings are already specified in the hibernate.cfg.xml= then it should not be included via the fileset as it will result in duplicate im= port exceptions. @@ -277,15 +277,18 @@ Example = This example shows an example where no - hibernate.cfg.xml exists, - and a - hibernate.properties + fileset is used instead. = - + + hibernate.cfg.xml + + exists, and a + + hibernate.properties + + + fileset is used instead. - - Hibernate will still read any global /hibernate.propert= ies available in - the classpath, but the specified properties file here will overr= ide those values for any - non-global property. + Hibernate will still read any global /hibernate.= properties + available in the classpath, but the specified properties file = here will override those + values for any non-global property. = @@ -308,18 +311,20 @@ Annotation based Configuration (<annotationconfiguration&g= t;) = An - <annotationconfiguration> is= used when you want to - read the metamodel from EJB3/Hibernate Annotations based POJO's. T= o use it remember to put - the jars file needed for using hibernate annotations in the classp= ath of the - - <taskdef>. + <annotationconfiguration> + is used when you want to read the metamodel from EJB3/= Hibernate Annotations + based POJO's. To use it remember to put the jars file needed for u= sing hibernate annotations + in the classpath of the + <taskdef> + . = The - <annotationconfiguration> su= pports the same attributes as a - - <configuration> except tha= t the configurationfile attribute is now required as - that is from where an AnnotationConfiguration g= ets the list of - classes/packages it should load. + <annotationconfiguration> + supports the same attributes as a + <configuration> + except that the configurationfile attribute is now req= uired as that is from + where an AnnotationConfiguration gets the list = of classes/packages it + should load. = Thus the minimal usage is: = @@ -339,29 +344,31 @@ JPA based configuration (<jpaconfiguration>) = A - <jpaconfiguration> is used w= hen you want to read the metamodel from - JPA/Hibernate Annotation where you want to use the auto-scan confi= guration as defined in the - JPA spec (part of EJB3). In other words, when you do not have a - - hibernate.cfg.xml, but instead h= ave a setup where you use a - - persistence.xml packaged in a JP= A compliant manner. + <jpaconfiguration> + is used when you want to read the metamodel from JPA/H= ibernate Annotation where + you want to use the auto-scan configuration as defined in the JPA = spec (part of EJB3). In + other words, when you do not have a + hibernate.cfg.xml + , but instead have a setup where you use a + persistence.xml + packaged in a JPA compliant manner. = <jpaconfiguration> will simply just t= ry and - auto-configure it self based on the available classpath, e.g. look= for - - META-INF/persistence.xml. + auto-configure it self based on the available classpath, e.g. look= for + META-INF/persistence.xml + . = The persistenceunit attribute can be used t= o select a specific persistence unit. If no persistenceunit is specified it will autom= atically search for one - and if an unique one is found use it, but if multiple persistence = units are available it will - error. + and if an unique one is found use it, but if multiple persistence = units are available it + will error. = To use a - <jpaconfiguration> you will = need to specify some additional jars - from Hibernate EntityManager in the - <taskdef> of the hibernate= tool. The - following shows a full setup: + <jpaconfiguration> + you will need to specify some additional jars from Hib= ernate EntityManager in + the + <taskdef> + of the hibernatetool. The following shows a full setup= : = @@ -389,27 +396,35 @@ ]]> = - = - ejb3configuration were the name used = in previous versions. It - still works but will emit a warning telling you to use jp= aconfiguration - instead. - = + + ejb3configuration were the name used in p= revious versions. It still + works but will emit a warning telling you to use jpacon= figuration + instead. + +
=
JDBC Configuration for reverse engineering (<jdbcconfigura= tion>) = A - <jdbcconfiguration><= /emphasis> is used to perform reverse - engineering of the database from a JDBC connection. + + <jdbcconfiguration> + + is used to perform reverse engineering of the database= from a JDBC connection. = This configuration works by reading the connection properties = from = The - <jdbcconfiguration><= /emphasis> has the same attributes as a - - <configuration> plus the following additional attributes: + + <jdbcconfiguration> + + has the same attributes as a + + <configuration> + + plus the following additional attributes: = @@ -474,12 +489,17 @@ Example = Here is an example of using - <jdbcconfiguration> to - generate Hibernate xml mappings via <hbm2hbmxml><= /literal>. The - connection settings is here read from a - hibernate.properties file but - could just as well have been read from a - hibernate.cfg.xml. + + <jdbcconfiguration> + + to generate Hibernate xml mappings via + <hbm2hbmxml>. The connection settings i= s here read from a + + hibernate.properties + + file but could just as well have been read from a + hibernate.cfg.xml + . = @@ -493,20 +513,24 @@
Exporters = - Exporters are the parts that does the actual job of converting t= he hibernate metamodel into - various artifacts, mainly code. The following section describes the = current supported set of - exporters in the Hibernate Tool distribution. I= t is also possible for userdefined exporters, - that is done through the - <hbmtemplate> exporter. + Exporters are the parts that does the actual job of converting t= he hibernate metamodel + into various artifacts, mainly code. The following section describes= the current supported set + of exporters in the Hibernate Tool distribution= . It is also possible for + userdefined exporters, that is done through the + + <hbmtemplate> + + exporter. =
Database schema exporter (<hbm2ddl>) = - <hbm2ddl> lets you run schem= aexport and schemaupdate which generates the - appropriate SQL DDL and allow you to store the result in a file or= export it directly to the - database. Remember that if a custom naming strategy is needed it i= s placed on the - configuration element. + <hbm2ddl> + lets you run schemaexport and schemaupdate which gener= ates the appropriate SQL + DDL and allow you to store the result in a file or export it direc= tly to the database. + Remember that if a custom naming strategy is needed it is placed o= n the configuration + element. = @@ -545,11 +569,12 @@ = - update(default: false): Try and create an update scrip= t representing the "delta" - between what is in the database and what the mappings spec= ify. Ignores create/update - attributes. (Do *not* use against production dat= abases, no guarantees at - all that the proper delta can be generated nor that the = underlying database can - actually execute the needed operations) + update(default: false): Try and create an update scrip= t representing the + "delta" between what is in the database and what= the mappings + specify. Ignores create/update attributes. (Do *= not* use against + production databases, no guarantees at all that the prop= er delta can be generated + nor that the underlying database can actually execute th= e needed + operations) = @@ -587,9 +612,11 @@ Example = Basic example of using - <hbm2ddl>, which does not = export to the database - but simply dumps the sql to a file named - sql.ddl. + <hbm2ddl> + , which does not export to the database but simply du= mps the sql to a file + named + sql.ddl + . = @@ -602,8 +629,9 @@ POJO java code exporter (<literal><hbm2java></literal>)= = - <hbm2java> is a java codegen= erator. Options for controlling whether JDK 5 - syntax can be used and whether the POJO should be annotated with E= JB3/Hibernate Annotations. + <hbm2java> + is a java codegenerator. Options for controlling wheth= er JDK 5 syntax can be + used and whether the POJO should be annotated with EJB3/Hibernate = Annotations. = @@ -636,8 +664,8 @@ Example = Basic example of using - <hbm2java> to generate POJ= O's that utilize jdk5 - constructs. + <hbm2java> + to generate POJO's that utilize jdk5 constructs. = @@ -650,12 +678,13 @@ Hibernate Mapping files exporter (<literal><hbm2hbmxml>= </literal>) = - <hbm2hbmxml> generates a set= of .hbm files. Intended to be used together - with a - <jdbcconfiguration> when p= erforming reverse engineering, but can be - used with any kind of configuration. e.g. to convert from annotati= on based pojo's to - - hbm.xml. Note that not every pos= sible mapping transformation is possible/implemented + <hbm2hbmxml> + generates a set of .hbm files. Intended to be used tog= ether with a + <jdbcconfiguration> + when performing reverse engineering, but can be used w= ith any kind of + configuration. e.g. to convert from annotation based pojo's to + hbm.xml + . Note that not every possible mapping transformation i= s possible/implemented (contributions welcome) so some hand editing might be necessary. = ]]> @@ -663,8 +692,9 @@
Example = - Basic usage of - <hbm2hbmxml>. + Basic usage of + <hbm2hbmxml> + . = @@ -672,19 +702,20 @@ ]]> = - <hbm2hbmxml> - is normally used with a - <jdbcconfiguration> - - like in the above example, but any other configuration can also = be used to convert between - the different ways of performing mappings. Here is an example of= that, using an - - <annotationconfiguration>. - = - Not all conversions is implemented - (contributions welcome), so some hand editing might be necessary.<= /para> - + <hbm2hbmxml> + is normally used with a + <jdbcconfiguration> + like in the above example, but any other configurati= on can also be used to + convert between the different ways of performing mappings. Here = is an example of that, + using an + <annotationconfiguration> + . = + + Not all conversions is implemented (contributions welcome)= , so some hand editing + might be necessary. + + @@ -698,13 +729,15 @@ Hibernate Configuration file exporter (<literal><hbm2cfgxm= l></literal>) = - <hbm2cfgxml> generates a - hibernate.cfg.xml. Intended to b= e used together - with a - <jdbcconfiguration> when p= erforming reverse engineering, but can be - used with any kind of configuration. The - <hbm2cfgxml> will contain = the - properties used and adds mapping entries for each mapped class. + <hbm2cfgxml> + generates a + hibernate.cfg.xml + . Intended to be used together with a + <jdbcconfiguration> + when performing reverse engineering, but can be used w= ith any kind of + configuration. The + <hbm2cfgxml> + will contain the properties used and adds mapping entr= ies for each mapped class. = @@ -732,8 +765,8 @@ Documentation exporter (<literal><hbm2doc></literal>)</= title> = <para><emphasis> - <property><hbm2doc></property></emphasis> generates html doc= umentation a'la javadoc for the database - schema et.al.</para> + <property><hbm2doc></property> + </emphasis> generates html documentation a'la javadoc for the data= base schema et.al.</para> = <programlisting><![CDATA[<hbm2doc/>]]></programlisting> </section> @@ -742,8 +775,9 @@ <title>Query exporter (<query>) = - <query> is used to execute a= HQL query statements and optionally send the - output to a file. Can be used for verifying the mappings and for b= asic data extraction. + <query> + is used to execute a HQL query statements and optional= ly send the output to a + file. Can be used for verifying the mappings and for basic data ex= traction. = @@ -761,8 +795,9 @@ Examples = Simplest usage of - <query> will just execute = the query without dumping to - a file. This can be used to verify that queries can actually be = performed. + <query> + will just execute the query without dumping to a fil= e. This can be used to + verify that queries can actually be performed. = @@ -770,14 +805,15 @@ ]]> = Multiple queries can be executed by nested - <hql> elements. In this - example we also let the output be dumped to - queryresult.txt. - = - - Currently the dump is simply a call to toString on each element.= - + <hql> + elements. In this example we also let the output be = dumped to + queryresult.txt + . = + + Currently the dump is simply a call to toString on each e= lement. + + @@ -800,18 +836,19 @@ exporterclass=3D"Exporter classname" />]]> = - Previous versions of the tools used Velocity. We are now= using Freemarker which - provides us much better exception and error handling. - + + Previous versions of the tools used Velocity. We are now usi= ng Freemarker which + provides us much better exception and error handling. + =
Exporter via <literal><hbmtemplate></literal> = - The following is an example of reverse engineering via - - <jdbcconfiguration> and = use a custom Exporter via the - - <hbmtemplate>. + The following is an example of reverse engineering via + <jdbcconfiguration> + and use a custom Exporter via the + <hbmtemplate> + . = @@ -837,63 +874,78 @@
Using properties to configure Exporters = - Exporters can be controlled by user properties. The user propert= ies are specified via - - <property> or - - <propertyset> and each exporter will have access to them - directly in the templates and via Exporter.setProperties()<= /literal>. + Exporters can be controlled by user properties. The user propert= ies are specified via + <property> + or + + <propertyset> + + and each exporter will have access to them directly in t= he templates and via + Exporter.setProperties(). =
<literal><property></literal> and <literal><propertyset></literal> = The - <property> allows you bind a= string value to a key. The value will be - available in the templates via $<key>. The following example= will assign the - string value - "true" to the variable= $descriptors. + <property> + allows you bind a string value to a key. The value wil= l be available in the + templates via $<key>. The following example will assign the = string value + "true" + to the variable $descriptors. = ]]> = Most times using - <property> is enough for specifying - the properties needed for the exporters. Still the ant tools suppo= rts the notion of - - <propertyset>. The functionality of - - <propertyset> is explained in detail in the Ant task - manual. + + <property> + + is enough for specifying the properties needed for the= exporters. Still the ant + tools supports the notion of + + <propertyset> + + . The functionality of + + <propertyset> + + is explained in detail in the Ant task manual.
=
Getting access to user specific classes = - If the templates need to access some user class it is possible= by specifying a - - "toolclass" in the pro= perties. + If the templates need to access some user class it is possible= by specifying a + "toolclass" + in the properties. = ]]> = Placing the above - <property> tag in - - <hibernatetool> or inside any exporter will automatically - create an instance of x.y.z.NameOfToolClass and= it will be available in - the templates as $sometool. This is useful to d= elegate logic and code - generation to java code instead of placing such logic in the templ= ates. + + <property> + + tag in + + <hibernatetool> + + or inside any exporter will automatically create an in= stance of + x.y.z.NameOfToolClass and it will be availabl= e in the templates as + $sometool. This is useful to delegate logic a= nd code generation to java + code instead of placing such logic in the templates. =
Example = Here is an example that uses - <hbmtemplate> together with - - <property> which will be= available to the templates/exporter. - This - example actually simulates what <hbm2java> actually does.<= /para> - + <hbmtemplate> + together with + <property> + which will be available to the templates/exporter. <= /para> + + This example actually simulates what <hbm2java> act= ually does. + = --===============0172345248342365471== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-04 12:46:57 -0500 (Fri, 04 Jan 2008) New Revision: 5521 Modified: trunk/hibernatetools/docs/reference/en/modules/codegenarchitecture.xml trunk/hibernatetools/docs/reference/en/modules/setup.xml Log: http://jira.jboss.com/jira/browse/JBDS-236 - adding highlighting Modified: trunk/hibernatetools/docs/reference/en/modules/codegenarchitectur= e.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/hibernatetools/docs/reference/en/modules/codegenarchitecture.xml = 2008-01-04 17:45:51 UTC (rev 5520) +++ trunk/hibernatetools/docs/reference/en/modules/codegenarchitecture.xml = 2008-01-04 17:46:57 UTC (rev 5521) @@ -21,9 +21,7 @@ - A - Core configuration - uses Hibernate Core and supports reading + A Core configuration uses Hibernate Core and supports read= ing hbm.xml files, requires a hibernate.cfg.xml @@ -33,9 +31,7 @@ = - An - Annotation configuration - uses Hibernate Annotations and supports + An Annotation configuration uses Hibernate Annotations and= supports hbm.xml and annotated classes, requires a hibernate.cfg.xml @@ -45,9 +41,7 @@ = - A - JPA configuration - uses a Hibernate EntityManager and supports + A JPA configuration uses a Hibernate EntityManager and sup= ports hbm.xml and annotated classes requires that the project ha= s a META-INF/persistence.xml @@ -57,9 +51,7 @@ = - A - JDBC configuration - uses Hibernate Tools reverse = engineering and reads its + A JDBC configuration uses Hibernate Tools reverse engineering and reads its mappings via JDBC metadata + additional reverse engineering fi= les (reveng.xml). Automatically used in Eclipse when doing reverse engineering f= rom JDBC and named Modified: trunk/hibernatetools/docs/reference/en/modules/setup.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/hibernatetools/docs/reference/en/modules/setup.xml 2008-01-04 17:= 45:51 UTC (rev 5520) +++ trunk/hibernatetools/docs/reference/en/modules/setup.xml 2008-01-04 17:= 46:57 UTC (rev 5521) @@ -69,11 +69,7 @@ hibernate-tools.jar and associated libraries. The libraries are included in = the distribution from the Hibernate website and the Eclipse updatesite. The libraries are loca= ted in the eclipse plugins - directory at - - /plugins/org.hibernate.eclipse.x.x.x/lib/tools/. - - These libraries are 100% independent from the eclipse pla= tform. How to use these - via ant tasks are described in the Ant chapter. + directory at /plugins/org.hibernate.eclipse.x.x.x/lib/tools/. These= libraries are 100% independent from the eclipse platform. How to use these + via ant tasks are described in the Ant Tools chapter.
--===============0172345248342365471==-- From jbosstools-commits at lists.jboss.org Fri Jan 4 14:09:04 2008 Content-Type: multipart/mixed; boundary="===============5401954917957630987==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5522 - trunk/jsf/tests. Date: Fri, 04 Jan 2008 14:09:03 -0500 Message-ID: --===============5401954917957630987== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-04 14:09:03 -0500 (Fri, 04 Jan 2008) New Revision: 5522 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/ Log: http://jira.jboss.com/jira/browse/JBIDE-1504 --===============5401954917957630987==-- From jbosstools-commits at lists.jboss.org Fri Jan 4 14:10:16 2008 Content-Type: multipart/mixed; boundary="===============8838659892701238234==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5523 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test: META-INF and 9 other directories. Date: Fri, 04 Jan 2008 14:10:15 -0500 Message-ID: --===============8838659892701238234== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-04 14:10:15 -0500 (Fri, 04 Jan 2008) New Revision: 5523 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/.classpath trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/.project trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/META-INF/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/META-INF/MANIFEST.= MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/build.properties trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= test.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsAllTests.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsComponentTest.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsTestPlugin.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/ImportFaceletsComponents.java Log: http://jira.jboss.com/jira/browse/JBIDE-1504 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/.classpath = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/.classpath 2008-0= 1-04 19:10:15 UTC (rev 5523) @@ -0,0 +1,7 @@ + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/.project = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/.project 2008-01-= 04 19:10:15 UTC (rev 5523) @@ -0,0 +1,28 @@ + + + org.jboss.tools.jsf.vpe.facelets.test + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/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/tests/org.jboss.tools.jsf.vpe.facelets.test/META-INF/MANIFEST= .MF (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/META-INF/MANIFEST= .MF 2008-01-04 19:10:15 UTC (rev 5523) @@ -0,0 +1,14 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Test Plug-in +Bundle-SymbolicName: org.jboss.tools.jsf.vpe.facelets.test +Bundle-Version: 1.0.0 +Bundle-Activator: org.jboss.tools.jsf.vpe.facelets.test.FaceletsTestPlugin +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.jboss.tools.vpe, + org.junit, + org.eclipse.core.resources, + org.eclipse.ui.ide, + org.jboss.tools.common +Eclipse-LazyStart: true Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/build.properties = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/build.properties = 2008-01-04 19:10:15 UTC (rev 5523) @@ -0,0 +1,4 @@ +source.. =3D src/ +output.. =3D bin/ +bin.includes =3D META-INF/,\ + . Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letstest.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/= resources/faceletstest.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/= tools/jsf/vpe/facelets/test/FaceletsAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsAllTests.java (rev= 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsAllTests.java 2008-01-04 19:10:15 UTC (rev= 5523) @@ -0,0 +1,19 @@ +package org.jboss.tools.jsf.vpe.facelets.test; + +import junit.framework.Test; +import junit.framework.TestSuite; + +public class FaceletsAllTests { + + public static Test suite() { + + TestSuite suite =3D new TestSuite("Tests for Vpe Facelets components"); /= / $NON-NLS-1$ + // $JUnit-BEGIN$ + + suite.addTestSuite(FaceletsComponentTest.class); + + // $JUnit-END$ + return suite; + + } +} Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/= tools/jsf/vpe/facelets/test/FaceletsComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-04 19:10:15 UTC= (rev 5523) @@ -0,0 +1,172 @@ +/*************************************************************************= ****** + * 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.jsf.vpe.facelets.test; + +import junit.framework.TestCase; + +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.core.runtime.ILogListener; +import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Platform; +import org.eclipse.core.runtime.jobs.Job; +import org.eclipse.swt.widgets.Display; +import org.eclipse.ui.IEditorInput; +import org.eclipse.ui.PartInitException; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.part.FileEditorInput; + +/** + * Class for testing all Seam components + * = + * @author dsakovich(a)exadel.com + * = + */ +public class FaceletsComponentTest extends TestCase implements ILogListene= r { + + private final static String EDITOR_ID =3D "org.jboss.tools.jst.jsp.jsp= editor.JSPTextEditor"; // $NON-NLS-1$ + private final static String TEST_PROJECT_JAR_PATH =3D "/faceletstest.j= ar"; // $NON-NLS-1$ + + // check warning log + private final static boolean checkWarning =3D false; + private Throwable exception; + + public FaceletsComponentTest(String name) { + super(name); + } + + /** + * Perform pre-test initialization. + * = + * @throws Exception + * = + * @see TestCase#setUp() + */ + protected void setUp() throws Exception { + super.setUp(); + + // TODO: Use TestSetup to create and remove project once for all tests + // not for every one + if (ResourcesPlugin.getWorkspace().getRoot().findMember("faceletsTest") = =3D=3D null) { + + ImportFaceletsComponents.importFaceletsPages(FaceletsTestPlugin + .getPluginResourcePath() + + TEST_PROJECT_JAR_PATH); + + waitForJobs(); + delay(5000); + } + Platform.addLogListener(this); + } + + /** + * Perform post-test cleanup. + * = + * @throws Exception + * = + * @see TestCase#tearDown() + */ + protected void tearDown() throws Exception { + super.tearDown(); + if (ResourcesPlugin.getWorkspace().getRoot().findMember("faceletsTest") != =3D null) { + ImportFaceletsComponents.removeProject(); + } + Platform.removeLogListener(this); + } + + /** + * Process UI input but do not return for the specified time interval. + * = + * @param waitTimeMillis + * the number of milliseconds + */ + private void delay(long waitTimeMillis) { + Display display =3D Display.getCurrent(); + if (display !=3D null) { + long endTimeMillis =3D System.currentTimeMillis() + waitTimeMillis; + while (System.currentTimeMillis() < endTimeMillis) { + if (!display.readAndDispatch()) + display.sleep(); + } + display.update(); + } + // Otherwise, perform a simple sleep. + else { + try { + Thread.sleep(waitTimeMillis); + } catch (InterruptedException e) { + // Ignored. + } + } + } + + /** + * Wait until all background tasks are complete. + */ + public void waitForJobs() { + while (Job.getJobManager().currentJob() !=3D null) + delay(5000); + } + + public void testInsert() throws PartInitException, Throwable { + performTestForFaceletComponent("insert.xhtml"); // $NON-NLS-1$ + } + + public void testDefine() throws PartInitException, Throwable { + performTestForFaceletComponent("define.xhtml"); // $NON-NLS-1$ + } + + public void testComposite() throws PartInitException, Throwable { + performTestForFaceletComponent("composition.xhtml"); // $NON-NLS-1$ + } + + private void performTestForFaceletComponent(String componentPage) + throws PartInitException, Throwable { + waitForJobs(); + + exception =3D null; + IPath componentPath =3D ImportFaceletsComponents + .getComponentPath(componentPage); + + IFile file =3D ResourcesPlugin.getWorkspace().getRoot().getFile( + componentPath); + IEditorInput input =3D new FileEditorInput(file); + + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() + .openEditor(input, EDITOR_ID, true); + + waitForJobs(); + delay(5000); + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() + .closeAllEditors(true); + + if (exception !=3D null) { + throw exception; + } + } + + public void logging(IStatus status, String plugin) { + switch (status.getSeverity()) { + case IStatus.ERROR: + exception =3D status.getException(); + break; + case IStatus.WARNING: + if (checkWarning) + exception =3D status.getException(); + break; + default: + break; + } + + } + +} Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/= tools/jsf/vpe/facelets/test/FaceletsTestPlugin.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsTestPlugin.java (r= ev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsTestPlugin.java 2008-01-04 19:10:15 UTC (r= ev 5523) @@ -0,0 +1,74 @@ +package org.jboss.tools.jsf.vpe.facelets.test; + +import java.net.URL; + +import org.eclipse.core.runtime.FileLocator; +import org.eclipse.core.runtime.Platform; +import org.jboss.tools.common.log.BaseUIPlugin; +import org.jboss.tools.common.log.IPluginLog; +import org.osgi.framework.Bundle; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class FaceletsTestPlugin extends BaseUIPlugin { + + // The plug-in ID + public static final String PLUGIN_ID =3D "org.jboss.tools.jsf.vpe.face= lets.test"; + + // The shared instance + private static FaceletsTestPlugin plugin; + + /** + * The constructor + */ + public FaceletsTestPlugin() { + } + + /* + * (non-Javadoc) + * = + * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framewor= k.BundleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin =3D this; + } + + /* + * (non-Javadoc) + * = + * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework= .BundleContext) + */ + public void stop(BundleContext context) throws Exception { + plugin =3D null; + super.stop(context); + } + + /** + * Returns the shared instance + * = + * @return the shared instance + */ + public static FaceletsTestPlugin getDefault() { + return plugin; + } + + public static IPluginLog getPluginLog() { + return getDefault(); + } + + public static String getPluginResourcePath() { + Bundle bundle =3D Platform.getBundle(PLUGIN_ID); + URL url =3D null; + try { + url =3D bundle =3D=3D null ? null : FileLocator.resolve(bundle + .getEntry("/resources")); // $NON-NLS-1$ + } catch (Exception e) { + url =3D bundle.getEntry("/resources"); // $NON-NLS-1$ + } + return (url =3D=3D null) ? null : url.getPath(); + } + +} Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/= tools/jsf/vpe/facelets/test/ImportFaceletsComponents.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/ImportFaceletsComponents.java = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/ImportFaceletsComponents.java 2008-01-04 19:10:15 = UTC (rev 5523) @@ -0,0 +1,92 @@ +package org.jboss.tools.jsf.vpe.facelets.test; + +import java.io.IOException; +import java.lang.reflect.InvocationTargetException; +import java.util.zip.ZipFile; + +import org.eclipse.core.resources.IProject; +import org.eclipse.core.resources.IResource; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.NullProgressMonitor; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.dialogs.IOverwriteQuery; +import org.eclipse.ui.internal.wizards.datatransfer.ZipLeveledStructurePro= vider; +import org.eclipse.ui.wizards.datatransfer.ImportOperation; + +/** + * Class for importing project from jar file + * = + * @author dsakovich(a)exadel.com + * = + */ +public class ImportFaceletsComponents { + private static final String PROJECT_NAME =3D "faceletsTest"; // $NON-N= LS-1$ + private static final String COMPONENTS_PATH =3D "WebContent/pages"; //= $NON-NLS-1$ + + @SuppressWarnings("restriction") + static void importFaceletsPages(String path) { + IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject( + PROJECT_NAME); + ZipLeveledStructureProvider zipStructureProvider; + try { + zipStructureProvider =3D new ZipLeveledStructureProvider(new ZipFile( + path)); + + IOverwriteQuery overwrite =3D new IOverwriteQuery() { + public String queryOverwrite(String pathString) { + return ALL; + } + }; + + ImportOperation importOp =3D new ImportOperation(project + .getFullPath(), zipStructureProvider.getRoot(), + zipStructureProvider, overwrite); + + importOp.setContext(PlatformUI.getWorkbench() + .getActiveWorkbenchWindow().getShell()); + + importOp.run(new NullProgressMonitor()); + } catch (InvocationTargetException ite) { + FaceletsTestPlugin.getPluginLog().logError(ite.getCause()); + } catch (InterruptedException ie) { + FaceletsTestPlugin.getPluginLog().logError(ie); + } catch (IOException e) { + FaceletsTestPlugin.getPluginLog().logError(e); + } + } + + /** + * = + * @return + * @throws CoreException + */ + static IPath getComponentPath(String componentPage) throws CoreExcepti= on { + IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject( + PROJECT_NAME); + if (project !=3D null) { + IResource resource =3D project.getFolder(COMPONENTS_PATH).findMember( + componentPage); + if (resource !=3D null) { + return resource.getFullPath(); + } + + } + + return null; + } + + /** + * = + * @throws CoreException + */ + static void removeProject() throws CoreException { + IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject( + PROJECT_NAME); + if (project !=3D null) { + project.delete(IResource.ALWAYS_DELETE_PROJECT_CONTENT, + new NullProgressMonitor()); + } + } +} --===============8838659892701238234==-- From jbosstools-commits at lists.jboss.org Mon Jan 7 13:15:45 2008 Content-Type: multipart/mixed; boundary="===============3895758834739464720==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5524 - trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/preferencepages. Date: Mon, 07 Jan 2008 13:15:45 -0500 Message-ID: --===============3895758834739464720== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-07 13:15:45 -0500 (Mon, 07 Jan 2008) New Revision: 5524 Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclip= se/as/ui/preferencepages/ViewPreferencePage.java Log: http://jira.jboss.com/jira/browse/JBIDE-1483 Check for null value added Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/id= e/eclipse/as/ui/preferencepages/ViewPreferencePage.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/preferencepages/ViewPreferencePage.java 2008-01-04 19:10:15 UTC (= rev 5523) +++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/ecli= pse/as/ui/preferencepages/ViewPreferencePage.java 2008-01-07 18:15:45 UTC (= rev 5524) @@ -117,8 +117,10 @@ retval =3D retval && comp.performOk(); } = - // refresh the viewer - JBossServerView.getDefault().refreshAll(); + // refresh the viewer if it is opened + if (JBossServerView.getDefault() !=3D null) { + JBossServerView.getDefault().refreshAll(); + } = return retval; } --===============3895758834739464720==-- From jbosstools-commits at lists.jboss.org Tue Jan 8 09:51:09 2008 Content-Type: multipart/mixed; boundary="===============5677393823333679620==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5525 - trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/popup. Date: Tue, 08 Jan 2008 09:51:09 -0500 Message-ID: --===============5677393823333679620== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vyemialyanchyk Date: 2008-01-08 09:51:09 -0500 (Tue, 08 Jan 2008) New Revision: 5525 Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/or= g/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.java Log: http://jira.jboss.org/jira/browse/JBIDE-1560 Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor= /src/org/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.j= ava =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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.veditor/src/o= rg/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.java 20= 08-01-07 18:15:45 UTC (rev 5524) +++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/o= rg/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.java 20= 08-01-08 14:51:09 UTC (rev 5525) @@ -1,3 +1,13 @@ +/*************************************************************************= ****** + * 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.hibernate.ui.veditor.editors.popup; = import org.eclipse.gef.ContextMenuProvider; @@ -44,19 +54,22 @@ if (getViewer().getSelection() instanceof StructuredSelection){ IStructuredSelection selection =3D (IStructuredSelection) getViewer().g= etSelection(); if (selection !=3D null && selection.getFirstElement() instanceof OrmE= ditPart) { - Shape shape =3D (Shape)((OrmEditPart)selection.getFirstElement()).getM= odel(); - Object first =3D shape.getOrmElement(); - if (first instanceof PersistentClass - || first instanceof Property - || first instanceof Table - || first instanceof Column){ = - action =3D getActionRegistry().getAction(OpenSourceAction.ACTION_ID); - appendToGroup(GEFActionConstants.MB_ADDITIONS, action); - createMenuItem(getMenu(), action); - = - action =3D getActionRegistry().getAction(OpenMappingAction.ACTION_ID); - appendToGroup(GEFActionConstants.MB_ADDITIONS, action); - createMenuItem(getMenu(), action); = + Object obj =3D ((OrmEditPart)selection.getFirstElement()).getModel(); + if (null !=3D obj && obj instanceof Shape) { + Shape shape =3D (Shape)obj; + Object first =3D shape.getOrmElement(); + if (first instanceof PersistentClass + || first instanceof Property + || first instanceof Table + || first instanceof Column){ = + action =3D getActionRegistry().getAction(OpenSourceAction.ACTION_ID); + appendToGroup(GEFActionConstants.MB_ADDITIONS, action); + createMenuItem(getMenu(), action); + = + action =3D getActionRegistry().getAction(OpenMappingAction.ACTION_ID= ); + appendToGroup(GEFActionConstants.MB_ADDITIONS, action); + createMenuItem(getMenu(), action); = + } = } = } = } --===============5677393823333679620==-- From jbosstools-commits at lists.jboss.org Tue Jan 8 11:17:00 2008 Content-Type: multipart/mixed; boundary="===============8297380560152063917==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5526 - trunk/hibernatetools/docs/reference/en/modules. Date: Tue, 08 Jan 2008 11:13:00 -0500 Message-ID: --===============8297380560152063917== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-08 11:12:59 -0500 (Tue, 08 Jan 2008) New Revision: 5526 Modified: trunk/hibernatetools/docs/reference/en/modules/ant.xml trunk/hibernatetools/docs/reference/en/modules/codegen.xml Log: http://jira.jboss.com/jira/browse/JBDS-173 - highlighting meeningful words Modified: trunk/hibernatetools/docs/reference/en/modules/ant.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/hibernatetools/docs/reference/en/modules/ant.xml 2008-01-08 14:51= :09 UTC (rev 5525) +++ trunk/hibernatetools/docs/reference/en/modules/ant.xml 2008-01-08 16:12= :59 UTC (rev 5526) @@ -9,20 +9,19 @@ hibernate-tools.jar contains the core for the Hibernate Tools. It is used as the basis for both the Ant tasks described in this document and the ecli= pse plugins both available - from tools.hibernate.org The + from tools.hibernate.org. The hibernate-tools.jar - is located in your eclipse plugins directory at - /plugins/org.hibernate.eclipse.x.x.x/lib/tools/hibernate= -tools.jar - . + is located in your eclipse plugins directory at + /plugins/org.hibernate.eclipse.x.x.x/lib/tools/hibernate-tools.jar.<= /para> This jar is 100% independent from the eclipse platform and can t= hus be used independently of eclipse. = There might be incapabilities with respect to the Hibernate3.j= ar bundled with the tools and your own jar. Thus to avoid any confusion it is recommended to= use the hibernate3.jar - & hibernate-annotations.jar bundled with the tools when you wa= nt to use the Ant - tasks. Do not worry about using e.g. Hibernate 3.2 jar's with e.g.= a Hibernate 3.1 project - since the output generated will work with previous Hibernate 3 ver= sions. + and hibernate-annotations.jar bundled with the tools when you want= to use the Ant tasks. Do + not worry about using e.g. Hibernate 3.2 jar's with e.g. a Hiberna= te 3.1 project since the + output generated will work with previous Hibernate 3 versions.
= @@ -106,8 +105,8 @@ = - classpath (optional): A classpath to = be used to resolve - resources, such as mappings and usertypes. Optional, but ver= y often required. + classpath (optional): A classpath to be used to resolve = resources, such as + mappings and usertypes. Optional, but very often required. = @@ -131,8 +130,9 @@
Basic examples = - The following example shows the most basic setup for generatin= g pojo's via - hbm2java from a normal + The following example shows the most basic setup for generatin= g pojo's via + <hbm2java> + from a normal hibernate.cfg.xml @@ -148,7 +148,9 @@ = The following example is similar, but now we are performing mu= ltiple exports from the - same configuration. We are exporting the schema via hbm2dll, gener= ates some DAO code via + same configuration. We are exporting the schema via + <hbm2dll> + , generates some DAO code via <hbm2dao> and finally runs a custom code generation via <hbmtemplate> @@ -197,11 +199,10 @@ = Each have in common that they are able to build up a Hibernate Configuration object from which a set of exporter= s can be run to generate - various output. = - = - Output can be anything, e.g. specific files, statements executi= on - against a database, error reporting or anything else that can be don= e in java code. - + various output. + Output can be anything, e.g. specific files, statements exec= ution against a database, + error reporting or anything else that can be done in java code.<= /para> + = The following section describes what the various configuration c= an do, plus list the @@ -353,13 +354,17 @@ persistence.xml packaged in a JPA compliant manner. = - <jpaconfiguration> will simply just t= ry and - auto-configure it self based on the available classpath, e.g. look= for + The + <jpaconfiguration> + will simply just try and auto-configure it self based = on the available + classpath, e.g. look for META-INF/persistence.xml . = - The persistenceunit attribute can be used t= o select a specific - persistence unit. If no persistenceunit is specified it will autom= atically search for one + The + persistenceunit attribute can be u= sed to select a specific + persistence unit. If no + persistenceunit is specified it = will automatically search for one and if an unique one is found use it, but if multiple persistence = units are available it will error. = @@ -493,7 +498,8 @@ <jdbcconfiguration> to generate Hibernate xml mappings via - <hbm2hbmxml>. The connection settings i= s here read from a + + <hbm2hbmxml>. The connec= tion settings is here read from a hibernate.properties @@ -712,7 +718,7 @@ . = - Not all conversions is implemented (contributions welcome)= , so some hand editing + Not all conversions are implemented (contributions welcome= ), so some hand editing might be necessary. = @@ -811,6 +817,7 @@ . = + Tip: Currently the dump is simply a call to toString on each e= lement. = Modified: trunk/hibernatetools/docs/reference/en/modules/codegen.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/hibernatetools/docs/reference/en/modules/codegen.xml 2008-01-08 1= 4:51:09 UTC (rev 5525) +++ trunk/hibernatetools/docs/reference/en/modules/codegen.xml 2008-01-08 1= 6:12:59 UTC (rev 5526) @@ -21,7 +21,8 @@ = You can use the <meta> tag to e.g. tell - hbm2java to only generate + + <hbm2java> to only generate = "protected" setters, have classes always implement a certain set of interfaces or even have them extend a certain base class and even more. --===============8297380560152063917==-- From jbosstools-commits at lists.jboss.org Tue Jan 8 13:54:40 2008 Content-Type: multipart/mixed; boundary="===============0891839782012468068==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5527 - trunk/jsf/tests. Date: Tue, 08 Jan 2008 13:54:40 -0500 Message-ID: --===============0891839782012468068== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-08 13:54:40 -0500 (Tue, 08 Jan 2008) New Revision: 5527 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/ Log: Was created base junit plugin in which contains functionality to import pro= ject for testing and base class. --===============0891839782012468068==-- From jbosstools-commits at lists.jboss.org Tue Jan 8 13:55:16 2008 Content-Type: multipart/mixed; boundary="===============3643662938918130238==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5528 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test: META-INF and 7 other directories. Date: Tue, 08 Jan 2008 13:55:16 -0500 Message-ID: --===============3643662938918130238== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-08 13:55:16 -0500 (Tue, 08 Jan 2008) New Revision: 5528 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/.classpath trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/.project trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/META-INF/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/META-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/build.properties trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/ImportProvider.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/TestUtil.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/VPETestPlugin.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/VpeTest.java Log: Was created base junit plugin in which contains functionality to import pro= ject for testing and base class. Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/.classpath = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/.classpath 2008-01-08 1= 8:55:16 UTC (rev 5528) @@ -0,0 +1,7 @@ + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/.project = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/.project 2008-01-08 18:= 55:16 UTC (rev 5528) @@ -0,0 +1,28 @@ + + + org.jboss.tools.jsf.vpe.ui.test + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/META-INF/MANIFEST.MF = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/META-INF/MANIFEST.MF 20= 08-01-08 18:55:16 UTC (rev 5528) @@ -0,0 +1,21 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Visual Editor Test Plugin +Bundle-SymbolicName: org.jboss.tools.jsf.vpe.ui.test +Bundle-Version: 1.0.0 +Bundle-Activator: org.jboss.tools.vpe.ui.test.VPETestPlugin +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.jboss.tools.vpe, + org.junit, + org.eclipse.core.resources, + org.eclipse.ui.ide, + org.jboss.tools.common, + org.jboss.tools.jst.jsp, + org.jboss.tools.common.text.ext, + org.jboss.tools.common.model, + org.jboss.tools.vpe.xulrunner, + org.mozilla.xpcom +Eclipse-LazyStart: true +Bundle-ClassPath: . +Export-Package: org.jboss.tools.vpe.ui.test Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/build.properties = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/build.properties 2008-0= 1-08 18:55:16 UTC (rev 5528) @@ -0,0 +1,4 @@ +source.. =3D src/ +output.. =3D bin/ +bin.includes =3D META-INF/,\ + . Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/= vpe/ui/test/ImportProvider.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/ImportProvider.java (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/ImportProvider.java 2008-01-08 18:55:16 UTC (rev 5528) @@ -0,0 +1,107 @@ +/*************************************************************************= ****** + * 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.vpe.ui.test; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.InputStream; +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin; +import org.eclipse.ui.wizards.datatransfer.IImportStructureProvider; + +/** + * @author sdzmitrovich + * = + */ +public class ImportProvider implements IImportStructureProvider { + + /** + * list of files which will not be imported + */ + List unimportedFiles =3D new ArrayList(); + + /** + * Creates an instance of ImportProvider. + */ + public ImportProvider() { + super(); + } + + /* + * (non-Javadoc) Method declared on IImportStructureProvider + */ + public List getChildren(Object element) { + File folder =3D (File) element; + String[] children =3D folder.list(); + int childrenLength =3D children =3D=3D null ? 0 : children.length; + List result =3D new ArrayList(childrenLength); + + for (int i =3D 0; i < childrenLength; i++) { + if (!unimportedFiles.contains(children[i])) + result.add(new File(folder, children[i])); + } + + return result; + } + + /* + * (non-Javadoc) Method declared on IImportStructureProvider + */ + public InputStream getContents(Object element) { + try { + return new FileInputStream((File) element); + } catch (FileNotFoundException e) { + IDEWorkbenchPlugin.log(e.getLocalizedMessage(), e); + return null; + } + } + + /* + * (non-Javadoc) Method declared on IImportStructureProvider + */ + public String getFullPath(Object element) { + return ((File) element).getPath(); + } + + /* + * (non-Javadoc) Method declared on IImportStructureProvider + */ + public String getLabel(Object element) { + + // Get the name - if it is empty then return the path as it is a file + // root + File file =3D (File) element; + String name =3D file.getName(); + if (name.length() =3D=3D 0) { + return file.getPath(); + } + return name; + } + + /* + * (non-Javadoc) Method declared on IImportStructureProvider + */ + public boolean isFolder(Object element) { + return ((File) element).isDirectory(); + } + + public List getUnimportedFiles() { + return unimportedFiles; + } + + public void setUnimportedFiles(List unimportedFiles) { + this.unimportedFiles =3D unimportedFiles; + } + +} Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/= vpe/ui/test/TestUtil.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/TestUtil.java (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/TestUtil.java 2008-01-08 18:55:16 UTC (rev 5528) @@ -0,0 +1,145 @@ +/*************************************************************************= ****** = + * 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.vpe.ui.test; + +import java.io.File; +import java.lang.reflect.InvocationTargetException; +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.core.resources.IProject; +import org.eclipse.core.resources.IResource; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.NullProgressMonitor; +import org.eclipse.core.runtime.jobs.Job; +import org.eclipse.swt.widgets.Display; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.dialogs.IOverwriteQuery; +import org.eclipse.ui.wizards.datatransfer.ImportOperation; + +/** + * Class for importing project from jar file + * = + * @author sdzmitrovich + * = + */ +public class TestUtil { + = + private static final String COMPONENTS_PATH =3D "WebContent/pages"; // $N= ON-NLS-1$ + + @SuppressWarnings("restriction") + static void importProjectIntoWorkspace(String path,String projectName) { + + IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject( + projectName); + + try { + + IOverwriteQuery overwrite =3D new IOverwriteQuery() { + public String queryOverwrite(String pathString) { + return ALL; + } + }; + + ImportProvider importProvider =3D new ImportProvider(); + + // need to remove from imported project "svn" files + List unimportedFiles =3D new ArrayList(); + unimportedFiles.add(".svn"); + + importProvider.setUnimportedFiles(unimportedFiles); + + // create import operation + ImportOperation importOp =3D new ImportOperation(project + .getFullPath(), new File(path), importProvider, overwrite); + + // import files just to project folder ( without old structure ) + importOp.setCreateContainerStructure(false); + + importOp.setContext(PlatformUI.getWorkbench() + .getActiveWorkbenchWindow().getShell()); + + // run import + importOp.run(new NullProgressMonitor()); + + } catch (InvocationTargetException ite) { + VPETestPlugin.getDefault().logError(ite.getCause()); + } catch (InterruptedException ie) { + VPETestPlugin.getDefault().logError(ie); + } + } + + /** + * = + * @return + * @throws CoreException + */ + public static IResource getComponentPath(String componentPage,String proj= ectName) + throws CoreException { + IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject( + projectName); + if (project !=3D null) { + return project.getFolder(COMPONENTS_PATH).findMember(componentPage); + + } + + return null; + } + + /** + * = + * @throws CoreException + */ + static void removeProject(String projectName) throws CoreException { + IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject( + projectName); + if (project !=3D null) { + project.delete(IResource.ALWAYS_DELETE_PROJECT_CONTENT, + new NullProgressMonitor()); + } + } + + /** + * Process UI input but do not return for the specified time interval. + * = + * @param waitTimeMillis + * the number of milliseconds + */ + public static void delay(long waitTimeMillis) { + Display display =3D Display.getCurrent(); + if (display !=3D null) { + long endTimeMillis =3D System.currentTimeMillis() + waitTimeMillis; + while (System.currentTimeMillis() < endTimeMillis) { + if (!display.readAndDispatch()) + display.sleep(); + } + display.update(); + } + // Otherwise, perform a simple sleep. + else { + try { + Thread.sleep(waitTimeMillis); + } catch (InterruptedException e) { + // Ignored. + } + } + } + + /** + * Wait until all background tasks are complete. + */ + public static void waitForJobs() { + while (Job.getJobManager().currentJob() !=3D null) + delay(100); + } + +} Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/= vpe/ui/test/VPETestPlugin.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VPETestPlugin.java (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VPETestPlugin.java 2008-01-08 18:55:16 UTC (rev 5528) @@ -0,0 +1,60 @@ +/*************************************************************************= ****** = +* 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.vpe.ui.test; + +import org.jboss.tools.common.log.BaseUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class VPETestPlugin extends BaseUIPlugin { + + // The plug-in ID + public static final String PLUGIN_ID =3D "org.jboss.tools.vpe.ui.test"; + + // The shared instance + private static VPETestPlugin plugin; + = + /** + * The constructor + */ + public VPETestPlugin() { + } + + /* + * (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 VPETestPlugin getDefault() { + return plugin; + } + +} Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/= vpe/ui/test/VpeTest.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeTest.java (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeTest.java 2008-01-08 18:55:16 UTC (rev 5528) @@ -0,0 +1,259 @@ +/*************************************************************************= ****** = +* 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.vpe.ui.test; + + +import java.io.File; + +import junit.framework.TestCase; +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.core.runtime.ILogListener; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Platform; +import org.eclipse.ui.IEditorInput; +import org.eclipse.ui.PartInitException; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.part.FileEditorInput; +import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; +import org.jboss.tools.vpe.editor.VpeController; +import org.jboss.tools.vpe.editor.VpeEditorPart; +import org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor; +import org.mozilla.interfaces.nsIDOMDocument; + +/** + * @author Max Areshkau + * = + * Base Class for VPE tests + */ +public class VpeTest extends TestCase implements ILogListener { + + /** + * Editor in which we open visual page + */ + private final static String EDITOR_ID =3D "org.jboss.tools.jst.jsp.jspedi= tor.JSPTextEditor"; + = + /** + * Collects exceptions + */ + private Throwable exception; + = + // check warning log + private Boolean checkWarning; + = + /** + * Contains project name with information for testing + */ + private String importProjectName; + = + /** + * Contains plugin resource path + */ + private String pluginResourcePath; + /** + * = + * @param name + * @param importProjectName + */ + = + public VpeTest(String name, String importProjectName,String pluginResourc= ePath) { + super(name); + setImportProjectName(importProjectName); + setPluginResourcePath(pluginResourcePath); + } + /** + * Perform pre-test initialization. + * = + * @throws Exception + * = + * @see TestCase#setUp() + */ + protected void setUp() throws Exception { + + super.setUp(); + closeEditors(); + if (ResourcesPlugin.getWorkspace().getRoot().findMember(getImportProject= Name()) =3D=3D null) { + closeEditors(); + TestUtil.importProjectIntoWorkspace((getPluginResourcePath() + + File.separator+getImportProjectName()),getImportProjectName()); + } + Platform.addLogListener(this); + closeEditors(); + } + /** + * Perform post-test cleanup. + * = + * @throws Exception + * = + * @see TestCase#tearDown() + */ + protected void tearDown() throws Exception { + + super.tearDown(); + TestUtil.removeProject(getImportProjectName()); + Platform.removeLogListener(this); + = + closeEditors(); + } + /* (non-Javadoc) + * @see org.eclipse.core.runtime.ILogListener#logging(org.eclipse.core.ru= ntime.IStatus, java.lang.String) + */ + public void logging(IStatus status, String plugin) { + switch (status.getSeverity()) { + case IStatus.ERROR: + setException(status.getException()); + break; + case IStatus.WARNING: + if (getCheckWarning()) + setException(status.getException()); + break; + default: + break; + } + + } + /** + * close all opened editors + */ + protected void closeEditors() { + + // wait + TestUtil.waitForJobs(); + + // close + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() + .closeAllEditors(true); + + } + /** + * get xulrunner source page + * = + * @param part - + * JSPMultiPageEditor + * @return nsIDOMDocument + */ + protected nsIDOMDocument getVpeVisualDocument(JSPMultiPageEditor part) { + + VpeEditorPart visualEditor =3D (VpeEditorPart) part.getVisualEditor(); + VpeController vpeController =3D visualEditor.getController(); + + // get xulRunner editor + XulRunnerEditor xulRunnerEditor =3D vpeController.getXulRunnerEditor(); + + // get dom document + nsIDOMDocument document =3D xulRunnerEditor.getDOMDocument(); + + return document; + } + /** + * Perfoms test for some page + * = + * @param componentPage + * @throws PartInitException + * @throws Throwable + */ + protected void performTestForJsfComponent(String componentPage) + throws PartInitException, Throwable { + TestUtil.waitForJobs(); + + setException(null); + + IFile file =3D (IFile) TestUtil.getComponentPath(componentPage,getImport= ProjectName()); + IEditorInput input =3D new FileEditorInput(file); + = + TestUtil.waitForJobs(); + = + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() + .openEditor(input, EDITOR_ID, true); + + TestUtil.waitForJobs(); + TestUtil.delay(3000); + = + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() + .closeAllEditors(true); + + if (getException() !=3D null) { + throw getException(); + } + } = + /** + * Open JSPMultiPageEditor editor + * = + * @param input + * @return + * @throws PartInitException + */ + protected JSPMultiPageEditor openEditor(IEditorInput input) + throws PartInitException { + + // get editor + JSPMultiPageEditor part =3D (JSPMultiPageEditor) PlatformUI + .getWorkbench().getActiveWorkbenchWindow().getActivePage() + .openEditor(input, EDITOR_ID, true); + + // wait for jobs + TestUtil.waitForJobs(); +// // wait full initialization of vpe + TestUtil.delay(3000); + + return part; + + } + /** + * @return the exception + */ + protected Throwable getException() { + return exception; + } + /** + * @param exception the exception to set + */ + protected void setException(Throwable exception) { + this.exception =3D exception; + } + /** + * @return the checkWarning + */ + protected Boolean getCheckWarning() { + return checkWarning; + } + /** + * @param checkWarning the checkWarning to set + */ + protected void setCheckWarning(Boolean checkWarning) { + this.checkWarning =3D checkWarning; + } + /** + * @return the importProjectName + */ + protected String getImportProjectName() { + return importProjectName; + } + /** + * @param importProjectName the importProjectName to set + */ + protected void setImportProjectName(String importProjectName) { + this.importProjectName =3D importProjectName; + } + /** + * @return the pluginResourcePath + */ + protected String getPluginResourcePath() { + return pluginResourcePath; + } + /** + * @param pluginResourcePath the pluginResourcePath to set + */ + protected void setPluginResourcePath(String pluginResourcePath) { + this.pluginResourcePath =3D pluginResourcePath; + } + +} --===============3643662938918130238==-- From jbosstools-commits at lists.jboss.org Tue Jan 8 13:59:01 2008 Content-Type: multipart/mixed; boundary="===============2396900393724226458==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5529 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test: resources/jsfTest/WebContent/pages/JBIDE and 1 other directories. Date: Tue, 08 Jan 2008 13:59:01 -0500 Message-ID: --===============2396900393724226458== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-08 13:59:01 -0500 (Tue, 08 Jan 2008) New Revision: 5529 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/JBIDE-1484.jsp Removed: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/ImportProvider.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/TestJsfUtil.java Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfAllTests.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfComponentTest.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfJbideTest.java Log: junit code adjustment Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF 2= 008-01-08 18:55:16 UTC (rev 5528) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF 2= 008-01-08 18:59:01 UTC (rev 5529) @@ -15,6 +15,7 @@ org.jboss.tools.common.text.ext, org.jboss.tools.common.model, org.jboss.tools.vpe.xulrunner, - org.mozilla.xpcom + org.mozilla.xpcom, + org.jboss.tools.jsf.vpe.ui.test;visibility:=3Dreexport Eclipse-LazyStart: true Bundle-ClassPath: jsf-test.jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/JBIDE-1484.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/JBIDE-1484.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/JBIDE-1484.jsp 2008-01-08 18:59:01 UTC (rev 5529) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + + = + + + + \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/too= ls/jsf/vpe/jsf/test/ImportProvider.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/ImportProvider.java 2008-01-08 18:55:16 UTC (rev 5528) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/ImportProvider.java 2008-01-08 18:59:01 UTC (rev 5529) @@ -1,107 +0,0 @@ -/*************************************************************************= ****** - * 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.jsf.vpe.jsf.test; - -import java.io.File; -import java.io.FileInputStream; -import java.io.FileNotFoundException; -import java.io.InputStream; -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin; -import org.eclipse.ui.wizards.datatransfer.IImportStructureProvider; - -/** - * @author sdzmitrovich - * = - */ -public class ImportProvider implements IImportStructureProvider { - - /** - * list of files which will not be imported - */ - List unimportedFiles =3D new ArrayList(); - - /** - * Creates an instance of ImportProvider. - */ - public ImportProvider() { - super(); - } - - /* - * (non-Javadoc) Method declared on IImportStructureProvider - */ - public List getChildren(Object element) { - File folder =3D (File) element; - String[] children =3D folder.list(); - int childrenLength =3D children =3D=3D null ? 0 : children.length; - List result =3D new ArrayList(childrenLength); - - for (int i =3D 0; i < childrenLength; i++) { - if (!unimportedFiles.contains(children[i])) - result.add(new File(folder, children[i])); - } - - return result; - } - - /* - * (non-Javadoc) Method declared on IImportStructureProvider - */ - public InputStream getContents(Object element) { - try { - return new FileInputStream((File) element); - } catch (FileNotFoundException e) { - IDEWorkbenchPlugin.log(e.getLocalizedMessage(), e); - return null; - } - } - - /* - * (non-Javadoc) Method declared on IImportStructureProvider - */ - public String getFullPath(Object element) { - return ((File) element).getPath(); - } - - /* - * (non-Javadoc) Method declared on IImportStructureProvider - */ - public String getLabel(Object element) { - - // Get the name - if it is empty then return the path as it is a file - // root - File file =3D (File) element; - String name =3D file.getName(); - if (name.length() =3D=3D 0) { - return file.getPath(); - } - return name; - } - - /* - * (non-Javadoc) Method declared on IImportStructureProvider - */ - public boolean isFolder(Object element) { - return ((File) element).isDirectory(); - } - - public List getUnimportedFiles() { - return unimportedFiles; - } - - public void setUnimportedFiles(List unimportedFiles) { - this.unimportedFiles =3D unimportedFiles; - } - -} Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-08 18:55:16 UTC (rev 5528) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-08 18:59:01 UTC (rev 5529) @@ -10,6 +10,8 @@ *************************************************************************= *****/ package org.jboss.tools.jsf.vpe.jsf.test; = +import org.eclipse.core.runtime.CoreException; + import junit.framework.Test; import junit.framework.TestSuite; = @@ -22,25 +24,13 @@ = public class JsfAllTests { = - private final static String TEST_PROJECT_PATH =3D "/jsfTest"; - - private static void prepareTests() { - - TestJsfUtil.importJsfPages(JsfTestPlugin.getPluginResourcePath() - + TEST_PROJECT_PATH); - - } - public static Test suite() { - // prepare tests - prepareTests(); = TestSuite suite =3D new TestSuite("Tests for Vpe Jsf components"); // $N= ON-NLS-1$ // $JUnit-BEGIN$ - suite.addTestSuite(JsfComponentTest.class); suite.addTestSuite(JsfJbideTest.class); - + //cleanUpTests(); // $JUnit-END$ return suite; = Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfComponentTest.java 2008-01-08 18:55:16 UTC (rev 5528) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfComponentTest.java 2008-01-08 18:59:01 UTC (rev 5529) @@ -10,16 +10,8 @@ *************************************************************************= *****/ package org.jboss.tools.jsf.vpe.jsf.test; = -import junit.framework.TestCase; - -import org.eclipse.core.resources.IFile; -import org.eclipse.core.runtime.ILogListener; -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Platform; -import org.eclipse.ui.IEditorInput; import org.eclipse.ui.PartInitException; -import org.eclipse.ui.PlatformUI; -import org.eclipse.ui.part.FileEditorInput; +import org.jboss.tools.vpe.ui.test.VpeTest; = /** * Class for testing all jsf components @@ -27,45 +19,15 @@ * @author sdzmitrovich * = */ -public class JsfComponentTest extends TestCase implements ILogListener { +public class JsfComponentTest extends VpeTest { = - private final static String EDITOR_ID =3D "org.jboss.tools.jst.jsp.jspedi= tor.JSPTextEditor"; // $NON-NLS-1$ - // $NON-NLS-1$ - - // check warning log - private final static boolean checkWarning =3D false; - private Throwable exception; - + //import project name = + private static final String IMPORT_PROJECT_NAME =3D "jsfTest"; = + = public JsfComponentTest(String name) { - super(name); + super(name,IMPORT_PROJECT_NAME,JsfTestPlugin.getPluginResourcePath()); } = - /** - * Perform pre-test initialization. - * = - * @throws Exception - * = - * @see TestCase#setUp() - */ - - protected void setUp() throws Exception { - super.setUp(); - - Platform.addLogListener(this); - } - - /** - * Perform post-test cleanup. - * = - * @throws Exception - * = - * @see TestCase#tearDown() - */ - protected void tearDown() throws Exception { - super.tearDown(); - Platform.removeLogListener(this); - } - /* * JSF HTML test cases */ @@ -250,44 +212,4 @@ public void testView() throws PartInitException, Throwable { performTestForJsfComponent("components/view.jsp"); // $NON-NLS-1$ } - - private void performTestForJsfComponent(String componentPage) - throws PartInitException, Throwable { - TestJsfUtil.waitForJobs(); - - exception =3D null; - - IFile file =3D (IFile) TestJsfUtil.getComponentPath(componentPage); - - IEditorInput input =3D new FileEditorInput(file); - - PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() - .openEditor(input, EDITOR_ID, true); - - TestJsfUtil.waitForJobs(); - TestJsfUtil.delay(3000); - - PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() - .closeAllEditors(true); - - if (exception !=3D null) { - throw exception; - } - } - - public void logging(IStatus status, String plugin) { - switch (status.getSeverity()) { - case IStatus.ERROR: - exception =3D status.getException(); - break; - case IStatus.WARNING: - if (checkWarning) - exception =3D status.getException(); - break; - default: - break; - } - - } - } Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfJbideTest.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfJbideTest.java 2008-01-08 18:55:16 UTC (rev 5528) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfJbideTest.java 2008-01-08 18:59:01 UTC (rev 5529) @@ -14,81 +14,39 @@ import java.util.ArrayList; import java.util.List; = -import junit.framework.TestCase; - import org.eclipse.core.resources.IFile; -import org.eclipse.core.runtime.ILogListener; -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Platform; import org.eclipse.ui.IEditorInput; import org.eclipse.ui.PartInitException; -import org.eclipse.ui.PlatformUI; import org.eclipse.ui.part.FileEditorInput; import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; -import org.jboss.tools.vpe.editor.VpeController; -import org.jboss.tools.vpe.editor.VpeEditorPart; import org.jboss.tools.vpe.editor.util.HTML; -import org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; import org.mozilla.interfaces.nsIDOMDocument; import org.mozilla.interfaces.nsIDOMElement; import org.mozilla.interfaces.nsIDOMNamedNodeMap; import org.mozilla.interfaces.nsIDOMNode; import org.mozilla.interfaces.nsIDOMNodeList; - /** * Class for testing all jsf bugs * = * @author sdzmitrovich * = */ -public class JsfJbideTest extends TestCase implements ILogListener { +public class JsfJbideTest extends VpeTest { = - private final static String EDITOR_ID =3D "org.jboss.tools.jst.jsp.jspedi= tor.JSPTextEditor"; // $NON-NLS-1$ // type of input tag private static final String ATTR_TYPE_VALUE =3D "radio"; + = + //import project name + = + private static final String IMPORT_PROJECT_NAME =3D "jsfTest"; = = - // check warning log - private final static boolean checkWarning =3D false; - - private Throwable exception; - public JsfJbideTest(String name) { - super(name); + super(name,IMPORT_PROJECT_NAME,JsfTestPlugin.getPluginResourcePath()); } = - /** - * Perform pre-test initialization. - * = - * @throws Exception - * = - * @see TestCase#setUp() - */ = - protected void setUp() throws Exception { - - super.setUp(); - - Platform.addLogListener(this); - - closeEditors(); - } - - /** - * Perform post-test cleanup. - * = - * @throws Exception - * = - * @see TestCase#tearDown() - */ - protected void tearDown() throws Exception { - - super.tearDown(); - - Platform.removeLogListener(this); - - closeEditors(); - } - /* * JBIDE's test cases */ @@ -108,13 +66,13 @@ public void testJBIDE_1467() throws PartInitException, Throwable { = // wait - TestJsfUtil.waitForJobs(); + TestUtil.waitForJobs(); // set exception - exception =3D null; + setException(null); = // get test page path - IFile file =3D (IFile) TestJsfUtil - .getComponentPath("JBIDE/1467/JBIDE-1467.jsp"); + IFile file =3D (IFile) TestUtil + .getComponentPath("JBIDE/1467/JBIDE-1467.jsp",getImportProjectName()); = IEditorInput input =3D new FileEditorInput(file); = @@ -122,7 +80,7 @@ JSPMultiPageEditor part =3D openEditor(input); = // get dom document - nsIDOMDocument document =3D getVpePageSource(part); + nsIDOMDocument document =3D getVpeVisualDocument(part); nsIDOMElement element =3D document.getDocumentElement(); = if (element !=3D null) { @@ -143,8 +101,8 @@ } = // check exception - if (exception !=3D null) { - throw exception; + if (getException() !=3D null) { + throw getException(); } = } @@ -175,15 +133,15 @@ public void testJBIDE_1501() throws PartInitException, Throwable { = // wait - TestJsfUtil.waitForJobs(); + TestUtil.waitForJobs(); // set exception - exception =3D null; + setException(null); = // _____1st Part____// = // get test page path - IFile file =3D (IFile) TestJsfUtil - .getComponentPath("JBIDE/1501/JBIDE-1501_multiple.jsp"); + IFile file =3D (IFile) TestUtil + .getComponentPath("JBIDE/1501/JBIDE-1501_multiple.jsp",getImportProjec= tName()); = IEditorInput input =3D new FileEditorInput(file); = @@ -191,7 +149,7 @@ JSPMultiPageEditor part =3D openEditor(input); = // get dom document - nsIDOMDocument document =3D getVpePageSource(part); + nsIDOMDocument document =3D getVpeVisualDocument(part); assertNotNull(document); = // get dom element @@ -223,8 +181,8 @@ // _____2nd Part____// = // get test page path - file =3D (IFile) TestJsfUtil - .getComponentPath("JBIDE/1501/JBIDE-1501_size.jsp"); + file =3D (IFile) TestUtil + .getComponentPath("JBIDE/1501/JBIDE-1501_size.jsp",getImportProjectNam= e()); = input =3D new FileEditorInput(file); = @@ -232,7 +190,7 @@ part =3D openEditor(input); = // get dom document - document =3D getVpePageSource(part); + document =3D getVpeVisualDocument(part); assertNotNull(document); = // get dom element @@ -265,8 +223,8 @@ } = // check exception - if (exception !=3D null) { - throw exception; + if (getException() !=3D null) { + throw getException(); } = } @@ -345,78 +303,4 @@ = } = - /** - * close all opened editors - */ - private void closeEditors() { - - // wait - TestJsfUtil.waitForJobs(); - - // close - PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() - .closeAllEditors(true); - - } - - /** - * Open JSPMultiPageEditor editor - * = - * @param input - * @return - * @throws PartInitException - */ - private JSPMultiPageEditor openEditor(IEditorInput input) - throws PartInitException { - - // get editor - JSPMultiPageEditor part =3D (JSPMultiPageEditor) PlatformUI - .getWorkbench().getActiveWorkbenchWindow().getActivePage() - .openEditor(input, EDITOR_ID, true); - - // wait for jobs - TestJsfUtil.waitForJobs(); - // wait full initialization of vpe - TestJsfUtil.delay(3000); - - return part; - - } - - /** - * get xulrunner source page - * = - * @param part - - * JSPMultiPageEditor - * @return nsIDOMDocument - */ - private nsIDOMDocument getVpePageSource(JSPMultiPageEditor part) { - - VpeEditorPart visualEditor =3D (VpeEditorPart) part.getVisualEditor(); - VpeController vpeController =3D visualEditor.getController(); - - // get xulRunner editor - XulRunnerEditor xulRunnerEditor =3D vpeController.getXulRunnerEditor(); - - // get dom document - nsIDOMDocument document =3D xulRunnerEditor.getDOMDocument(); - - return document; - } - - public void logging(IStatus status, String plugin) { - switch (status.getSeverity()) { - case IStatus.ERROR: - exception =3D status.getException(); - break; - case IStatus.WARNING: - if (checkWarning) - exception =3D status.getException(); - break; - default: - break; - } - - } - } Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/too= ls/jsf/vpe/jsf/test/TestJsfUtil.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/TestJsfUtil.java 2008-01-08 18:55:16 UTC (rev 5528) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/TestJsfUtil.java 2008-01-08 18:59:01 UTC (rev 5529) @@ -1,157 +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.jsf.vpe.jsf.test; - -import java.io.File; -import java.lang.reflect.InvocationTargetException; -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.core.resources.IProject; -import org.eclipse.core.resources.IResource; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.NullProgressMonitor; -import org.eclipse.core.runtime.jobs.Job; -import org.eclipse.swt.widgets.Display; -import org.eclipse.ui.PlatformUI; -import org.eclipse.ui.dialogs.IOverwriteQuery; -import org.eclipse.ui.wizards.datatransfer.ImportOperation; - -/** - * Class for importing project from jar file - * = - * @author sdzmitrovich - * = - */ -public class TestJsfUtil { - private static final String PROJECT_NAME =3D "JsfTest"; // $NON-NLS-1$ - private static final String COMPONENTS_PATH =3D "WebContent/pages"; // $N= ON-NLS-1$ - - @SuppressWarnings("restriction") - static void importJsfPages(String path) { - - if (ResourcesPlugin.getWorkspace().getRoot().findMember( - TestJsfUtil.PROJECT_NAME) !=3D null) { - waitForJobs(); - - try { - removeProject(); - } catch (CoreException e) { - e.printStackTrace(); - } - } - - IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject( - PROJECT_NAME); - - try { - - IOverwriteQuery overwrite =3D new IOverwriteQuery() { - public String queryOverwrite(String pathString) { - return ALL; - } - }; - - ImportProvider importProvider =3D new ImportProvider(); - - // need to remove from imported project "svn" files - List unimportedFiles =3D new ArrayList(); - unimportedFiles.add(".svn"); - - importProvider.setUnimportedFiles(unimportedFiles); - - // create import operation - ImportOperation importOp =3D new ImportOperation(project - .getFullPath(), new File(path), importProvider, overwrite); - - // import files just to project folder ( without old structure ) - importOp.setCreateContainerStructure(false); - - importOp.setContext(PlatformUI.getWorkbench() - .getActiveWorkbenchWindow().getShell()); - - // run import - importOp.run(new NullProgressMonitor()); - - } catch (InvocationTargetException ite) { - JsfTestPlugin.getPluginLog().logError(ite.getCause()); - } catch (InterruptedException ie) { - JsfTestPlugin.getPluginLog().logError(ie); - } - } - - /** - * = - * @return - * @throws CoreException - */ - static IResource getComponentPath(String componentPage) - throws CoreException { - IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject( - PROJECT_NAME); - if (project !=3D null) { - return project.getFolder(COMPONENTS_PATH).findMember(componentPage); - - } - - return null; - } - - /** - * = - * @throws CoreException - */ - static void removeProject() throws CoreException { - IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject( - PROJECT_NAME); - if (project !=3D null) { - project.delete(IResource.ALWAYS_DELETE_PROJECT_CONTENT, - new NullProgressMonitor()); - } - } - - /** - * Process UI input but do not return for the specified time interval. - * = - * @param waitTimeMillis - * the number of milliseconds - */ - public static void delay(long waitTimeMillis) { - Display display =3D Display.getCurrent(); - if (display !=3D null) { - long endTimeMillis =3D System.currentTimeMillis() + waitTimeMillis; - while (System.currentTimeMillis() < endTimeMillis) { - if (!display.readAndDispatch()) - display.sleep(); - } - display.update(); - } - // Otherwise, perform a simple sleep. - else { - try { - Thread.sleep(waitTimeMillis); - } catch (InterruptedException e) { - // Ignored. - } - } - } - - /** - * Wait until all background tasks are complete. - */ - public static void waitForJobs() { - while (Job.getJobManager().currentJob() !=3D null) - delay(5000); - } - -} --===============2396900393724226458==-- From jbosstools-commits at lists.jboss.org Tue Jan 8 14:48:46 2008 Content-Type: multipart/mixed; boundary="===============4422473271990312050==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5530 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test. Date: Tue, 08 Jan 2008 14:48:45 -0500 Message-ID: --===============4422473271990312050== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-08 14:48:45 -0500 (Tue, 08 Jan 2008) New Revision: 5530 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfJbideTest.java Log: junit code adjustment Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfJbideTest.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfJbideTest.java 2008-01-08 18:59:01 UTC (rev 5529) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfJbideTest.java 2008-01-08 19:48:45 UTC (rev 5530) @@ -72,10 +72,13 @@ = // get test page path IFile file =3D (IFile) TestUtil - .getComponentPath("JBIDE/1467/JBIDE-1467.jsp",getImportProjectName()); - + .getComponentPath("JBIDE/JBIDE-1467/JBIDE-1467.jsp",getImportProjectNa= me()); + = + assertNotNull("Could not open specified file "+file.getFullPath(), file); + = IEditorInput input =3D new FileEditorInput(file); - + = + assertNotNull("Editor input is null",input); // open and get editor JSPMultiPageEditor part =3D openEditor(input); = @@ -260,7 +263,6 @@ } = } - /** * = * @param elements --===============4422473271990312050==-- From jbosstools-commits at lists.jboss.org Tue Jan 8 19:56:43 2008 Content-Type: multipart/mixed; boundary="===============1134678445628449165==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5531 - trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util. Date: Tue, 08 Jan 2008 19:56:43 -0500 Message-ID: --===============1134678445628449165== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-08 19:56:43 -0500 (Tue, 08 Jan 2008) New Revision: 5531 Added: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/xpl/ Log: Test Utils to be able Join to background tasks and delay in UI threads. Cla= sses were taken from org.eclipse.ui.tests.navigator plugin on :pserver:anon= ymous(a)dev.eclipse.org:/cvsroot/eclipse/org.eclipse.ui.tests.navigator --===============1134678445628449165==-- From jbosstools-commits at lists.jboss.org Tue Jan 8 19:57:00 2008 Content-Type: multipart/mixed; boundary="===============3582002917706340556==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5532 - trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/xpl. Date: Tue, 08 Jan 2008 19:57:00 -0500 Message-ID: --===============3582002917706340556== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-08 19:57:00 -0500 (Tue, 08 Jan 2008) New Revision: 5532 Added: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/xpl= /DisplayHelper.java trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/xpl= /DisplayWaiter.java trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/xpl= /EditorTestHelper.java Log: Test Utils to be able Join to background tasks and delay in UI threads. Cla= sses were taken from org.eclipse.ui.tests.navigator plugin on :pserver:anon= ymous(a)dev.eclipse.org:/cvsroot/eclipse/org.eclipse.ui.tests.navigator Added: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util= /xpl/DisplayHelper.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/test/util/xp= l/DisplayHelper.java (rev 0) +++ trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/xp= l/DisplayHelper.java 2008-01-09 00:57:00 UTC (rev 5532) @@ -0,0 +1,222 @@ +/*************************************************************************= ****** + * Copyright (c) 2000, 2005 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.tools.test.util.xpl; + +import org.eclipse.swt.widgets.Display; + +/** + * Runs the event loop of the given display until {@link #condition()} bec= omes + * true or no events have occurred for the supplied timeout. + * Between running the event loop, {@link Display#sleep()} is called. + *

+ * There is a caveat: the given timeouts must be long enough that the call= ing + * thread can enter Display.sleep() before the timeout elapse= s, + * otherwise, the waiter may time out before sleep is called = and + * the sleeping thread may never be waken up. + *

+ * = + * @since 3.1 + */ +public abstract class DisplayHelper { + /** + * Creates a new instance. + */ + protected DisplayHelper() { + } + = + /** + * Until {@link #condition()} becomes true or the timeout + * elapses, call {@link Display#sleep()} and run the event loop. + *

+ * If timeout < 0, the event loop is never driven and + * only the condition is checked. If timeout =3D=3D 0, the e= vent + * loop is driven at most once, but Display.sleep() is never + * invoked. + *

+ * = + * @param display the display to run the event loop of + * @param timeout the timeout in milliseconds + * @return true if the condition became true, + * false if the timeout elapsed + */ + public final boolean waitForCondition(Display display, long timeout) { + // if the condition already holds, succeed + if (condition()) + return true; + = + if (timeout < 0) + return false; + = + // if driving the event loop once makes the condition hold, succeed + // without spawning a thread. + driveEventQueue(display); + if (condition()) + return true; + = + // if the timeout is negative or zero, fail + if (timeout =3D=3D 0) + return false; + + // repeatedly sleep until condition becomes true or timeout elapses + DisplayWaiter waiter=3D new DisplayWaiter(display); + DisplayWaiter.Timeout timeoutState=3D waiter.start(timeout); + boolean condition; + try { + do { + if (display.sleep()) + driveEventQueue(display); + condition=3D condition(); + } while (!condition && !timeoutState.hasTimedOut()); + } finally { + waiter.stop(); + } + return condition; + } + = + /** + * Call {@link Display#sleep()} and run the event loop until the given + * timeout has elapsed. + *

+ * If timeout < 0, nothing happens. If + * timeout =3D=3D 0, the event loop is driven exactly once, = but + * Display.sleep() is never invoked. + *

+ * = + * @param display the display to run the event loop of + * @param millis the timeout in milliseconds + */ + public static void sleep(Display display, long millis) { + new DisplayHelper() { + public boolean condition() { + return false; + } + }.waitForCondition(display, millis); + } + = + /** + * Call {@link Display#sleep()} and run the event loop once if + * sleep returns before the timeout elapses. Returns + * true if any events were processed, false if + * not. + *

+ * If timeout < 0, nothing happens and false is returned. + * If timeout =3D=3D 0, the event loop is driven exactly onc= e, + * but Display.sleep() is never invoked. + *

+ * = + * @param display the display to run the event loop of + * @param timeout the timeout in milliseconds + * @return true if any event was taken off the event queue, + * false if not + */ + public static boolean runEventLoop(Display display, long timeout) { + if (timeout < 0) + return false; + = + if (timeout =3D=3D 0) + return driveEventQueue(display); + = + // repeatedly sleep until condition becomes true or timeout elapses + DisplayWaiter waiter=3D new DisplayWaiter(display); + DisplayWaiter.Timeout timeoutState=3D waiter.start(timeout); + boolean events=3D false; + if (display.sleep() && !timeoutState.hasTimedOut()) { + driveEventQueue(display); + events=3D true; + } + waiter.stop(); + return events; + } + = + /** + * The condition which has to be met in order for + * {@link #waitForCondition(Display, int)} to return before the timeout + * elapses. + * = + * @return true if the condition is met, false + * if the event loop should be driven some more + */ + protected abstract boolean condition(); + + /** + * Runs the event loop on the given display. + * = + * @param display the display + * @return if display.readAndDispatch returned + * true at least once + */ + private static boolean driveEventQueue(Display display) { + boolean events=3D false; + while (display.readAndDispatch()) { + events=3D true; + } + return events; + } + + /** + * Until {@link #condition()} becomes true or the timeout + * elapses, call {@link Display#sleep()} and run the event loop. + *

+ * If timeout < 0, the event loop is never driven and + * only the condition is checked. If timeout =3D=3D 0, the e= vent + * loop is driven at most once, but Display.sleep() is never + * invoked. + *

+ *

+ * The condition gets rechecked every interval milliseconds,= even + * if no events were read from the queue. + *

+ * = + * @param display the display to run the event loop of + * @param timeout the timeout in milliseconds + * @param interval the interval to re-check the condition in milliseconds + * @return true if the condition became true, + * false if the timeout elapsed + */ + public final boolean waitForCondition(Display display, long timeout, long= interval) { + // if the condition already holds, succeed + if (condition()) + return true; + = + if (timeout < 0) + return false; + = + // if driving the event loop once makes the condition hold, succeed + // without spawning a thread. + driveEventQueue(display); + if (condition()) + return true; + = + // if the timeout is negative or zero, fail + if (timeout =3D=3D 0) + return false; + = + // repeatedly sleep until condition becomes true or timeout elapses + DisplayWaiter waiter=3D new DisplayWaiter(display, true); + long currentTimeMillis=3D System.currentTimeMillis(); + long finalTimeout=3D timeout + currentTimeMillis; + if (finalTimeout < currentTimeMillis) + finalTimeout=3D Long.MAX_VALUE; + boolean condition; + try { + do { + waiter.restart(interval); + if (display.sleep()) + driveEventQueue(display); + condition=3D condition(); + } while (!condition && finalTimeout > System.currentTimeMillis()); + } finally { + waiter.stop(); + } + return condition; + } + +} \ No newline at end of file Property changes on: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/t= ools/test/util/xpl/DisplayHelper.java ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util= /xpl/DisplayWaiter.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/test/util/xp= l/DisplayWaiter.java (rev 0) +++ trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/xp= l/DisplayWaiter.java 2008-01-09 00:57:00 UTC (rev 5532) @@ -0,0 +1,410 @@ +/*************************************************************************= ****** + * Copyright (c) 2005 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.tools.test.util.xpl; + +import java.util.logging.Level; +import java.util.logging.Logger; + +import junit.framework.Assert; + +import org.eclipse.swt.widgets.Display; + +/** + * Implements the thread that will wait for the timeout and wake up the di= splay + * so it does not wait forever. The thread may be restarted after it was s= topped + * or timed out. + * = + * @since 3.1 + */ +final class DisplayWaiter { + /** + * Timeout state of a display waiter thread. + */ + public final class Timeout { + boolean fTimeoutState=3D false; + /** + * Returns true if the timeout has been reached, + * false if not. + * = + * @return true if the timeout has been reached, + * false if not + */ + public boolean hasTimedOut() { + synchronized (fMutex) { + return fTimeoutState; + } + } + void setTimedOut(boolean timedOut) { + fTimeoutState=3D timedOut; + } + Timeout(boolean initialState) { + fTimeoutState=3D initialState; + } + } + = + // configuration + private final Display fDisplay; + private final Object fMutex=3D new Object(); + private final boolean fKeepRunningOnTimeout; + = + /* State -- possible transitions: + * = + * STOPPED -> RUNNING + * RUNNING -> STOPPED + * RUNNING -> IDLE + * IDLE -> RUNNING + * IDLE -> STOPPED + */ + private static final int RUNNING=3D 1 << 1; + private static final int STOPPED=3D 1 << 2; + private static final int IDLE=3D 1 << 3; + = + /** The current state. */ + private int fState; + /** The time in milliseconds (see Date) that the timeout will occur. */ + private long fNextTimeout; + /** The thread. */ + private Thread fCurrentThread; + /** The timeout state of the current thread. */ + private Timeout fCurrentTimeoutState; + + /** + * Creates a new instance on the given display and timeout. + * = + * @param display the display to run the event loop of + */ + public DisplayWaiter(Display display) { + this(display, false); + } + = + /** + * Creates a new instance on the given display and timeout. + * = + * @param display the display to run the event loop of + * @param keepRunning true if the thread should be kept + * running after timing out + */ + public DisplayWaiter(Display display, boolean keepRunning) { + Assert.assertNotNull(display); + fDisplay=3D display; + fState=3D STOPPED; + fKeepRunningOnTimeout=3D keepRunning; + } + = + /** + * Starts the timeout thread if it is not currently running. Nothing happ= ens + * if a thread is already running. + * = + * @param delay the delay from now in milliseconds + * @return the timeout state which can be queried for its timed out status + */ + public Timeout start(long delay) { + Assert.assertTrue(delay > 0); + synchronized (fMutex) { + switch (fState) { + case STOPPED: + startThread(); + setNextTimeout(delay); + break; + case IDLE: + unhold(); + setNextTimeout(delay); + break; + } + = + return fCurrentTimeoutState; + } + } + + /** + * Sets the next timeout to current time plus delay. + * = + * @param delay the delay until the next timeout occurs in milliseconds f= rom + * now + */ + private void setNextTimeout(long delay) { + long currentTimeMillis=3D System.currentTimeMillis(); + long next=3D currentTimeMillis + delay; + if (next > currentTimeMillis) + fNextTimeout=3D next; + else + fNextTimeout=3D Long.MAX_VALUE; + } + = + /** + * Starts the thread if it is not currently running; resets the timeout if + * it is. + * = + * @param delay the delay from now in milliseconds + * @return the timeout state which can be queried for its timed out status + */ + public Timeout restart(long delay) { + Assert.assertTrue(delay > 0); + synchronized (fMutex) { + switch (fState) { + case STOPPED: + startThread(); + break; + case IDLE: + unhold(); + break; + } + setNextTimeout(delay); + + return fCurrentTimeoutState; + } + } + + /** + * Stops the thread if it is running. If not, nothing happens. Another + * thread may be started by calling {@link #start(long)} or + * {@link #restart(long)}. + */ + public void stop() { + synchronized (fMutex) { + if (tryTransition(RUNNING | IDLE, STOPPED)) + fMutex.notifyAll(); + } + } + = + /** + * Puts the reaper thread on hold but does not stop it. It may be restart= ed + * by calling {@link #start(long)} or {@link #restart(long)}. + */ + public void hold() { + synchronized (fMutex) { + // nothing to do if there is no thread + if (tryTransition(RUNNING, IDLE)) + fMutex.notifyAll(); + } + } + + /** + * Transition to RUNNING and clear the timed out flag. Assume + * current state is IDLE. + */ + private void unhold() { + checkedTransition(IDLE, RUNNING); + fCurrentTimeoutState=3D new Timeout(false); + fMutex.notifyAll(); + } + = + /** + * Start the thread. Assume the current state is STOPPED. + */ + private void startThread() { + checkedTransition(STOPPED, RUNNING); + fCurrentTimeoutState=3D new Timeout(false); + fCurrentThread=3D new Thread() { + /** + * Exception thrown when a thread notices that it has been stopped + * and a new thread has been started. + */ + final class ThreadChangedException extends Exception { + private static final long serialVersionUID=3D 1L; + } + + /* + * @see java.lang.Runnable#run() + */ + public void run() { + try { + run2(); + } catch (InterruptedException e) { + // ignore and end the thread - we never interrupt ourselves, + // so it must be an external entity that interrupted us + Logger.global.log(Level.FINE, "", e); //$NON-NLS-1$ + } catch (ThreadChangedException e) { + // the thread was stopped and restarted before we got out + // of a wait - we're no longer used + // we might have been notified instead of the current thread, + // so wake it up + Logger.global.log(Level.FINE, "", e); //$NON-NLS-1$ + synchronized (fMutex) { + fMutex.notifyAll(); + } + } + } + = + /** + * Runs the thread. + * = + * @throws InterruptedException if the thread was interrupted + * @throws ThreadChangedException if the thread changed + */ + private void run2() throws InterruptedException, ThreadChangedException= { + synchronized (fMutex) { + checkThread(); + tryHold(); // wait / potential state change + assertStates(STOPPED | RUNNING); + = + while (isState(RUNNING)) { + waitForTimeout(); // wait / potential state change + = + if (isState(RUNNING)) + timedOut(); // state change + assertStates(STOPPED | IDLE); + = + tryHold(); // wait / potential state change + assertStates(STOPPED | RUNNING); + } + assertStates(STOPPED); + } + } + + /** + * Check whether the current thread is this thread, throw an + * exception otherwise. + * = + * @throws ThreadChangedException if the current thread changed + */ + private void checkThread() throws ThreadChangedException { + if (fCurrentThread !=3D this) + throw new ThreadChangedException(); + } + + /** + * Waits until the next timeout occurs. + * = + * @throws InterruptedException if the thread was interrupted + * @throws ThreadChangedException if the thread changed + */ + private void waitForTimeout() throws InterruptedException, ThreadChange= dException { + long delta; + while (isState(RUNNING) && (delta =3D fNextTimeout - System.currentTim= eMillis()) > 0) { + delta=3D Math.max(delta, 50); // wait at least 50ms in order to avoid= timing out before the display is going to sleep + Logger.global.finest("sleeping for " + delta + "ms"); //$NON-NLS-1$ /= /$NON-NLS-2$ + fMutex.wait(delta); + checkThread(); + } + } + + /** + * Sets the timed out flag and wakes up the display. Transitions to + * IDLE (if in keep-running mode) or + * STOPPED. + */ + private void timedOut() { + Logger.global.finer("timed out"); //$NON-NLS-1$ + fCurrentTimeoutState.setTimedOut(true); + fDisplay.wake(); // wake up call! + if (fKeepRunningOnTimeout) + checkedTransition(RUNNING, IDLE); + else + checkedTransition(RUNNING, STOPPED); + } + = + /** + * Waits while the state is IDLE, then returns. The + * state must not be RUNNING when calling this + * method. The state is either STOPPED or + * RUNNING when the method returns. + * = + * @throws InterruptedException if the thread was interrupted + * @throws ThreadChangedException if the thread has changed while on + * hold + */ + private void tryHold() throws InterruptedException, ThreadChangedExcept= ion { + while (isState(IDLE)) { + fMutex.wait(0); + checkThread(); + } + assertStates(STOPPED | RUNNING); + } + }; + = + fCurrentThread.start(); + } + = + /** + * Transitions to nextState if the current state is one of + * possibleStates. Returns true if the + * transition happened, false otherwise. + * = + * @param possibleStates the states which trigger a transition + * @param nextState the state to transition to + * @return true if the transition happened, + * false otherwise + */ + private boolean tryTransition(int possibleStates, int nextState) { + if (isState(possibleStates)) { + Logger.global.finer(name(fState) + " > " + name(nextState) + " (" + nam= e(possibleStates) + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + fState=3D nextState; + return true; + } + Logger.global.finest("noTransition" + name(fState) + " !> " + name(nextS= tate) + " (" + name(possibleStates) + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$= NON-NLS-3$ //$NON-NLS-4$ + return false; + } + = + /** + * Checks the possibleStates and throws an assertion if it is + * not met, then transitions to nextState. + * = + * @param possibleStates the allowed states + * @param nextState the state to transition to + */ + private void checkedTransition(int possibleStates, int nextState) { + assertStates(possibleStates); + Logger.global.finer(name(fState) + " > " + name(nextState)); //$NON-NLS-= 1$ + fState=3D nextState; + } + = + /** + * Implements state consistency checking. + * = + * @param states the allowed states + * @throws junit.framework.AssertionFailedError if the current state is n= ot + * in states + */ + private void assertStates(int states) { + Assert.assertTrue("illegal state", isState(states)); //$NON-NLS-1$ + } + + /** + * Answers true if the current state is in the given + * states. + * = + * @param states the possible states + * @return true if the current state is in the given states, + * false otherwise + */ + private boolean isState(int states) { + return (states & fState) =3D=3D fState; + } + = + /** + * Pretty print the given states. + * = + * @param states the states + * @return a string representation of the states + */ + private String name(int states) { + StringBuffer buf=3D new StringBuffer(); + boolean comma=3D false; + if ((states & RUNNING) =3D=3D RUNNING) { + buf.append("RUNNING"); //$NON-NLS-1$ + comma=3D true; + } + if ((states & STOPPED) =3D=3D STOPPED) { + if (comma) + buf.append(","); //$NON-NLS-1$ + buf.append("STOPPED"); //$NON-NLS-1$ + comma=3D true; + } + if ((states & IDLE) =3D=3D IDLE) { + if (comma) + buf.append(","); //$NON-NLS-1$ + buf.append("IDLE"); //$NON-NLS-1$ + } + return buf.toString(); + } + +} \ No newline at end of file Property changes on: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/t= ools/test/util/xpl/DisplayWaiter.java ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util= /xpl/EditorTestHelper.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/test/util/xp= l/EditorTestHelper.java (rev 0) +++ trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/xp= l/EditorTestHelper.java 2008-01-09 00:57:00 UTC (rev 5532) @@ -0,0 +1,265 @@ +/*************************************************************************= ****** + * Copyright (c) 2000, 2006 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.tools.test.util.xpl; + + +import java.util.ArrayList; +import java.util.List; +import java.util.logging.Logger; + +import org.eclipse.core.resources.IContainer; +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IResource; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.Platform; +import org.eclipse.core.runtime.jobs.IJobManager; +import org.eclipse.core.runtime.jobs.Job; +import org.eclipse.swt.widgets.Display; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.ui.IEditorPart; +import org.eclipse.ui.IEditorReference; +import org.eclipse.ui.IViewReference; +import org.eclipse.ui.IWorkbench; +import org.eclipse.ui.IWorkbenchPage; +import org.eclipse.ui.IWorkbenchPart; +import org.eclipse.ui.IWorkbenchPartSite; +import org.eclipse.ui.IWorkbenchWindow; +import org.eclipse.ui.PartInitException; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.WorkbenchException; + + +/** + * @since 3.1 + */ +public class EditorTestHelper { + = + = + = + public static final String TEXT_EDITOR_ID=3D "org.eclipse.ui.DefaultTextE= ditor"; //$NON-NLS-1$ + = + public static final String COMPILATION_UNIT_EDITOR_ID=3D "org.eclipse.jdt= .ui.CompilationUnitEditor"; //$NON-NLS-1$ + = + public static final String RESOURCE_PERSPECTIVE_ID=3D "org.eclipse.ui.res= ourcePerspective"; //$NON-NLS-1$ + = + public static final String JAVA_PERSPECTIVE_ID=3D "org.eclipse.jdt.ui.Jav= aPerspective"; //$NON-NLS-1$ + = + public static final String OUTLINE_VIEW_ID=3D "org.eclipse.ui.views.Conte= ntOutline"; //$NON-NLS-1$ + = + public static final String PACKAGE_EXPLORER_VIEW_ID=3D "org.eclipse.jdt.u= i.PackageExplorer"; //$NON-NLS-1$ + = + public static final String NAVIGATOR_VIEW_ID=3D "org.eclipse.ui.views.Res= ourceNavigator"; //$NON-NLS-1$ + = + public static final String INTRO_VIEW_ID=3D "org.eclipse.ui.internal.intr= oview"; //$NON-NLS-1$ + = + public static void closeEditor(IEditorPart editor) { + IWorkbenchPartSite site; + IWorkbenchPage page; + if (editor !=3D null && (site=3D editor.getSite()) !=3D null && (page=3D= site.getPage()) !=3D null) + page.closeEditor(editor, false); + } + = + public static void closeAllEditors() { + IWorkbenchWindow[] windows=3D PlatformUI.getWorkbench().getWorkbenchWind= ows(); + for (int i=3D 0; i < windows.length; i++) { + IWorkbenchPage[] pages=3D windows[i].getPages(); + for (int j=3D 0; j < pages.length; j++) { + IEditorReference[] editorReferences=3D pages[j].getEditorReferences(); + for (int k=3D 0; k < editorReferences.length; k++) + closeEditor(editorReferences[k].getEditor(false)); + } + } + } + = + /** + * Runs the event queue on the current display until it is empty. + */ + public static void runEventQueue() { + IWorkbenchWindow window=3D getActiveWorkbenchWindow(); + if (window !=3D null) + runEventQueue(window.getShell()); + } + = + public static void runEventQueue(IWorkbenchPart part) { + runEventQueue(part.getSite().getShell()); + } + = + public static void runEventQueue(Shell shell) { + runEventQueue(shell.getDisplay()); + } + = + public static void runEventQueue(Display display) { + while (display.readAndDispatch()) { + // do nothing + } + } + = + /** + * Runs the event queue on the current display and lets it sleep until the + * timeout elapses. + * = + * @param millis the timeout in milliseconds + */ + public static void runEventQueue(long millis) { + runEventQueue(getActiveDisplay(), millis); + } + = + public static void runEventQueue(IWorkbenchPart part, long millis) { + runEventQueue(part.getSite().getShell(), millis); + } + = + public static void runEventQueue(Shell shell, long millis) { + runEventQueue(shell.getDisplay(), millis); + } + = + public static void runEventQueue(Display display, long minTime) { + if (display !=3D null) { + DisplayHelper.sleep(display, minTime); + } else { + sleep((int) minTime); + } + } + = + public static IWorkbenchWindow getActiveWorkbenchWindow() { + return PlatformUI.getWorkbench().getActiveWorkbenchWindow(); + } + = + public static void forceFocus() { + IWorkbenchWindow window=3D getActiveWorkbenchWindow(); + if (window =3D=3D null) { + IWorkbenchWindow[] wbWindows=3D PlatformUI.getWorkbench().getWorkbenchW= indows(); + if (wbWindows.length =3D=3D 0) + return; + window=3D wbWindows[0]; + } + Shell shell=3D window.getShell(); + if (shell !=3D null && !shell.isDisposed()) { + shell.forceActive(); + shell.forceFocus(); + } + } + = + public static IWorkbenchPage getActivePage() { + IWorkbenchWindow window=3D getActiveWorkbenchWindow(); + return window !=3D null ? window.getActivePage() : null; + } + = + public static Display getActiveDisplay() { + IWorkbenchWindow window=3D getActiveWorkbenchWindow(); + return window !=3D null ? window.getShell().getDisplay() : null; + } = + = + public static void joinBackgroundActivities() throws CoreException { + // Join Building + Logger.global.entering("EditorTestHelper", "joinBackgroundActivities"); = //$NON-NLS-1$ //$NON-NLS-2$ + Logger.global.finer("join builder"); //$NON-NLS-1$ + boolean interrupted=3D true; + while (interrupted) { + try { + Platform.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, null); + interrupted=3D false; + } catch (InterruptedException e) { + interrupted=3D true; + } + } = + // Join jobs + joinJobs(0, 0, 500); + Logger.global.exiting("EditorTestHelper", "joinBackgroundActivities"); /= /$NON-NLS-1$ //$NON-NLS-2$ + } + = + public static boolean joinJobs(long minTime, long maxTime, long intervalT= ime) { + Logger.global.entering("EditorTestHelper", "joinJobs"); //$NON-NLS-1$ //= $NON-NLS-2$ + runEventQueue(minTime); + = + DisplayHelper helper=3D new DisplayHelper() { + public boolean condition() { + return allJobsQuiet(); + } + }; + boolean quiet=3D helper.waitForCondition(getActiveDisplay(), maxTime > 0= ? maxTime : Long.MAX_VALUE, intervalTime); + Logger.global.exiting("EditorTestHelper", "joinJobs", new Boolean(quiet)= ); //$NON-NLS-1$ //$NON-NLS-2$ + return quiet; + } + = + public static void sleep(int intervalTime) { + try { + Thread.sleep(intervalTime); + } catch (InterruptedException e) { + e.printStackTrace(); + } + } + = + public static boolean allJobsQuiet() { + IJobManager jobManager=3D Platform.getJobManager(); + Job[] jobs=3D jobManager.find(null); + for (int i=3D 0; i < jobs.length; i++) { + Job job=3D jobs[i]; + int state=3D job.getState(); + if (state =3D=3D Job.RUNNING || state =3D=3D Job.WAITING) { + Logger.global.finest(job.getName()); + return false; + } + } + return true; + } + = + public static boolean isViewShown(String viewId) { + return getActivePage().findViewReference(viewId) !=3D null; + } + = + public static boolean showView(String viewId, boolean show) throws PartIn= itException { + IWorkbenchPage activePage=3D getActivePage(); + IViewReference view=3D activePage.findViewReference(viewId); + boolean shown=3D view !=3D null; + if (shown !=3D show) + if (show) + activePage.showView(viewId); + else + activePage.hideView(view); + return shown; + } + = + public static void bringToTop() { + getActiveWorkbenchWindow().getShell().forceActive(); + } = + = + public static String showPerspective(String perspective) throws Workbench= Exception { + String shownPerspective=3D getActivePage().getPerspective().getId(); + if (!perspective.equals(shownPerspective)) { + IWorkbench workbench=3D PlatformUI.getWorkbench(); + IWorkbenchWindow activeWindow=3D workbench.getActiveWorkbenchWindow(); + workbench.showPerspective(perspective, activeWindow); + } + return shownPerspective; + } + = + = + = + public static IFile[] findFiles(IResource resource) throws CoreException { + List files=3D new ArrayList(); + findFiles(resource, files); + return (IFile[]) files.toArray(new IFile[files.size()]); + } + = + private static void findFiles(IResource resource, List files) throws Core= Exception { + if (resource instanceof IFile) { + files.add(resource); + return; + } + if (resource instanceof IContainer) { + IResource[] resources=3D ((IContainer) resource).members(); + for (int i=3D 0; i < resources.length; i++) + findFiles(resources[i], files); + } + } + = +} Property changes on: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/t= ools/test/util/xpl/EditorTestHelper.java ___________________________________________________________________ Name: svn:mime-type + text/plain --===============3582002917706340556==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 01:56:37 2008 Content-Type: multipart/mixed; boundary="===============1050903399500769560==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5533 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test: src/org/jboss/tools/jsf/vpe/facelets/test and 1 other directory. Date: Wed, 09 Jan 2008 01:56:37 -0500 Message-ID: --===============1050903399500769560== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-09 01:56:37 -0500 (Wed, 09 Jan 2008) New Revision: 5533 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= test.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsComponentTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1504 comments TODO and proposed assets added Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/f= aceletstest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-09 00:57:00 UTC= (rev 5532) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-09 06:56:37 UTC= (rev 5533) @@ -118,17 +118,62 @@ } = public void testInsert() throws PartInitException, Throwable { - performTestForFaceletComponent("insert.xhtml"); // $NON-NLS-1$ + performTestForFaceletComponent("insert.xhtml"); // $NON-NLS-1$ } = public void testDefine() throws PartInitException, Throwable { - performTestForFaceletComponent("define.xhtml"); // $NON-NLS-1$ + performTestForFaceletComponent("define.xhtml"); // $NON-NLS-1$ + // TODO check that content from ui:defime element is shown + assertTrue("Defined content is not shown",false); } = public void testComposite() throws PartInitException, Throwable { - performTestForFaceletComponent("composition.xhtml"); // $NON-NLS-1$ + performTestForFaceletComponent("composition.xhtml"); // $NON-NLS-1$ + // TODO check that related and absolute path is processed + assertTrue("Template with absolute path is not included",false); + assertTrue("Template with related path is not included",false); = } = + public void testComponent() throws PartInitException, Throwable { + performTestForFaceletComponent("component.xhtml"); // $NON-NLS-1$ + // TODO check that content from ui:defime element is shown + //assertTrue("Component's content is not shown",false); + } + = + public void testRemove() throws PartInitException, Throwable { + performTestForFaceletComponent("remove.xhtml"); // $NON-NLS-1$ + // TODO check that content in ui:remove isn't shown in VPE + assertTrue("Content inside ui:remove tag shouldn't be shown",false); + } + = + public void testDecorate() throws PartInitException, Throwable { + performTestForFaceletComponent("decorate.xhtml"); // $NON-NLS-1$ + // TODO check that related and absolute path is processed + assertTrue("Template with absolute path is not included",false); + assertTrue("Template with related path is not included",false); = + } + + public void testRepeat() throws PartInitException, Throwable { + performTestForFaceletComponent("repeat.xhtml"); // $NON-NLS-1$ + assertTrue("Component's content is not shown",false); = + } = + = + public void testDebug() throws PartInitException, Throwable { + performTestForFaceletComponent("debug.xhtml"); // $NON-NLS-1$ + } + = + public void testInclude() throws PartInitException, Throwable { + performTestForFaceletComponent("include.xhtml"); // $NON-NLS-1$ + // TODO check that absolute and related path is processed + assertTrue("Template with absolute path is not included",false); + assertTrue("Template with related path is not included",false); = + } + = + public void testFragment() throws PartInitException, Throwable { + performTestForFaceletComponent("fragment.xhtml"); // $NON-NLS-1$ + // TODO check that fragment's content is showed + assertTrue("Fragment's content is not sown",false); + } private void performTestForFaceletComponent(String componentPage) throws PartInitException, Throwable { waitForJobs(); --===============1050903399500769560==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 02:51:54 2008 Content-Type: multipart/mixed; boundary="===============1580509917110279590==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5534 - trunk/jst/plugins/org.jboss.tools.jst.firstrun/src/org/jboss/tools/jst/firstrun. Date: Wed, 09 Jan 2008 02:51:54 -0500 Message-ID: --===============1580509917110279590== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-09 02:51:54 -0500 (Wed, 09 Jan 2008) New Revision: 5534 Modified: trunk/jst/plugins/org.jboss.tools.jst.firstrun/src/org/jboss/tools/jst/f= irstrun/JBossASAdapterInitializer.java Log: fix for initJBossAS that always return null Modified: trunk/jst/plugins/org.jboss.tools.jst.firstrun/src/org/jboss/tool= s/jst/firstrun/JBossASAdapterInitializer.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.firstrun/src/org/jboss/tools/jst/= firstrun/JBossASAdapterInitializer.java 2008-01-09 06:56:37 UTC (rev 5533) +++ trunk/jst/plugins/org.jboss.tools.jst.firstrun/src/org/jboss/tools/jst/= firstrun/JBossASAdapterInitializer.java 2008-01-09 07:51:54 UTC (rev 5534) @@ -94,7 +94,7 @@ try { JstFirstRunPlugin.getDefault().getPreferenceStore().setDefault(FIRST_ST= ART_PREFERENCE_NAME, true); boolean firstStart =3D JstFirstRunPlugin.getDefault().getPreferenceStor= e().getBoolean(FIRST_START_PREFERENCE_NAME); - if(!firstStart) { + if (!firstStart) { return; } JstFirstRunPlugin.getDefault().getPreferenceStore().setValue(FIRST_STAR= T_PREFERENCE_NAME, false); @@ -102,7 +102,7 @@ String jbossASLocation =3D null; String pluginLocation =3D FileLocator.resolve(JstFirstRunPlugin.getDefa= ult().getBundle().getEntry("/")).getPath(); File jbossASDir =3D new File(pluginLocation, JBOSS_AS_HOME); - if(jbossASDir.isDirectory()) { + if (jbossASDir.isDirectory()) { jbossASLocation =3D jbossASDir.getAbsolutePath(); } else { return; @@ -111,48 +111,48 @@ IPath jbossAsLocationPath =3D new Path(jbossASLocation); = IServer[] servers =3D ServerCore.getServers(); - for(int i=3D0; i0) { + if (runtimeTypes.length > 0) { runtime =3D runtimeTypes[0].createRuntime(runtimeId, progressMonitor); runtime.setLocation(jbossAsLocationPath); IVMInstall defaultVM =3D JavaRuntime.getDefaultVMInstall(); // IJBossServerRuntime.PROPERTY_VM_ID - ((RuntimeWorkingCopy)runtime).setAttribute("PROPERTY_VM_ID", defaultVM.= getId()); + ((RuntimeWorkingCopy) runtime).setAttribute("PROPERTY_VM_ID", defaultVM= .getId()); // IJBossServerRuntime.PROPERTY_VM_TYPE_ID - ((RuntimeWorkingCopy)runtime).setAttribute("PROPERTY_VM_TYPE_ID", defau= ltVM.getVMInstallType().getId()); + ((RuntimeWorkingCopy) runtime).setAttribute("PROPERTY_VM_TYPE_ID", defa= ultVM.getVMInstallType().getId()); // IJBossServerRuntime.PROPERTY_CONFIGURATION_NAME - ((RuntimeWorkingCopy)runtime).setAttribute("org.jboss.ide.eclipse.as.co= re.runtime.configurationName", JBOSS_AS_DEFAULT_CONFIGURATION_NAME); + ((RuntimeWorkingCopy) runtime).setAttribute("org.jboss.ide.eclipse.as.c= ore.runtime.configurationName", JBOSS_AS_DEFAULT_CONFIGURATION_NAME); = runtime.save(false, progressMonitor); } @@ -212,11 +212,11 @@ server.setName(JBOSS_AS_NAME); // JBossServer.DEPLOY_DIRECTORY String deployVal =3D runtime.getLocation().append("server").append(JBOSS= _AS_DEFAULT_CONFIGURATION_NAME).append("deploy").toOSString(); - ((ServerWorkingCopy)server).setAttribute("org.jboss.ide.eclipse.as.core.= server.deployDirectory", deployVal); + ((ServerWorkingCopy) server).setAttribute("org.jboss.ide.eclipse.as.core= .server.deployDirectory", deployVal); = // IDeployableServer.TEMP_DEPLOY_DIRECTORY String deployTmpFolderVal =3D runtime.getLocation().append("server").app= end(JBOSS_AS_DEFAULT_CONFIGURATION_NAME).append("tmp").append("jbosstoolsTe= mp").toOSString(); - ((ServerWorkingCopy)server).setAttribute("org.jboss.ide.eclipse.as.core.= server.tempDeployDirectory", deployTmpFolderVal); + ((ServerWorkingCopy) server).setAttribute("org.jboss.ide.eclipse.as.core= .server.tempDeployDirectory", deployTmpFolderVal); = // If we'd need to set up a username / pw for JMX, do it here. // ((ServerWorkingCopy)serverWC).setAttribute(JBossServer.SERVER_USERNAME= , authUser); @@ -260,7 +260,7 @@ } = driver =3D DriverManager.getInstance().getDriverInstanceByName(HSQL_DRIV= ER_NAME); - if (driver !=3D null) { + if (driver !=3D null && ProfileManager.getInstance().getProfileByName("D= efaultDS") =3D=3D null) { // create profile Properties props =3D new Properties(); props.setProperty(ConnectionProfileConstants.PROP_DRIVER_DEFINITION_ID,= HSQL_DRIVER_DEFINITION_ID); --===============1580509917110279590==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 02:52:38 2008 Content-Type: multipart/mixed; boundary="===============6436097358002594688==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5535 - trunk/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/common/test/util. Date: Wed, 09 Jan 2008 02:52:38 -0500 Message-ID: --===============6436097358002594688== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-09 02:52:38 -0500 (Wed, 09 Jan 2008) New Revision: 5535 Modified: trunk/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/commo= n/test/util/TestProjectProvider.java Log: System.out.println removed Modified: trunk/common/tests/org.jboss.tools.common.test/src/org/jboss/tool= s/common/test/util/TestProjectProvider.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.test/src/org/jboss/tools/comm= on/test/util/TestProjectProvider.java 2008-01-09 07:51:54 UTC (rev 5534) +++ trunk/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/comm= on/test/util/TestProjectProvider.java 2008-01-09 07:52:38 UTC (rev 5535) @@ -69,7 +69,6 @@ } = private void init(String bundleName, String projectPath, String name) thr= ows Exception { - System.out.println("init"); IProject p =3D ResourcesPlugin.getWorkspace().getRoot().getProject(name); if(p.exists()) { project =3D p; @@ -79,7 +78,6 @@ } return; } - System.out.println("create"); = Bundle bundle =3D Platform.getBundle(bundleName); URL url =3D null; --===============6436097358002594688==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 02:55:02 2008 Content-Type: multipart/mixed; boundary="===============7389567963482066949==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5536 - trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/web/test. Date: Wed, 09 Jan 2008 02:55:02 -0500 Message-ID: --===============7389567963482066949== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-09 02:55:02 -0500 (Wed, 09 Jan 2008) New Revision: 5536 Modified: trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/web= /test/WebContentAssistProviderTest.java Log: Test error was fixed Modified: trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/= jst/web/test/WebContentAssistProviderTest.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/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/we= b/test/WebContentAssistProviderTest.java 2008-01-09 07:52:38 UTC (rev 5535) +++ trunk/jst/tests/org.jboss.tools.jst.web.test/src/org/jboss/tools/jst/we= b/test/WebContentAssistProviderTest.java 2008-01-09 07:55:02 UTC (rev 5536) @@ -19,6 +19,7 @@ = import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; +import org.eclipse.core.resources.IncrementalProjectBuilder; import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.NullProgressMonitor; import org.eclipse.core.runtime.Platform; @@ -46,6 +47,7 @@ } = public void testJsfBeanPropertyList() { + waitForJobs(); // seam beans list List beanList =3D webPromptingProvider.getList(projectModel, WebPromptin= gProvider.JSF_BEAN_PROPERTIES, "facesManagedBean", new Properties()); assertTrue("Bean property list does not contain Managed bean property in= XModel.", beanList.contains("property1")); @@ -77,11 +79,9 @@ public void setUp() throws Exception { provider =3D new TestProjectProvider("org.jboss.tools.jst.web.test", nul= l, "TestsWebArtefacts", makeCopy); = project =3D provider.getProject(); - try { - project.refreshLocal(IResource.DEPTH_INFINITE, null); - } catch (Exception e) { - ModelPlugin.getPluginLog().logError(e); - } + project.refreshLocal(IResource.DEPTH_INFINITE, null); + project.build(IncrementalProjectBuilder.FULL_BUILD,null); + waitForJobs(); XModelObject xmo =3D EclipseResourceUtil.getObjectByResource(project); assertNotNull("Can't get XModel Object for test project.", xmo); projectModel =3D xmo.getModel(); --===============7389567963482066949==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 03:00:07 2008 Content-Type: multipart/mixed; boundary="===============6935927538895968726==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5537 - in trunk/seam/tests/org.jboss.tools.seam.core.test: src/org/jboss/tools/seam/core/test and 1 other directory. Date: Wed, 09 Jan 2008 03:00:05 -0500 Message-ID: --===============6935927538895968726== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-09 03:00:04 -0500 (Wed, 09 Jan 2008) New Revision: 5537 Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/META-INF/MANIFEST.MF trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam= /core/test/ScannerTest.java Log: EditorTestHelper.joinBackgroundActivities(); used to test how it works. = SetUp method was switched from TestProjectProvider to importProject that cr= eates copy of project in current workspace. Modified: trunk/seam/tests/org.jboss.tools.seam.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/seam/tests/org.jboss.tools.seam.core.test/META-INF/MANIFEST.MF 20= 08-01-09 07:55:02 UTC (rev 5536) +++ trunk/seam/tests/org.jboss.tools.seam.core.test/META-INF/MANIFEST.MF 20= 08-01-09 08:00:04 UTC (rev 5537) @@ -21,5 +21,8 @@ org.eclipse.ui.workbench, org.eclipse.wst.common.modulecore, org.eclipse.wst.common.frameworks, - org.eclipse.jface + org.eclipse.jface, + org.jboss.tools.jst.firstrun, + org.eclipse.wst.server.core, + org.eclipse.datatools.connectivity Provide-Package: org.jboss.tools.seam.core.test Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/too= ls/seam/core/test/ScannerTest.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/ScannerTest.java 2008-01-09 07:55:02 UTC (rev 5536) +++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/sea= m/core/test/ScannerTest.java 2008-01-09 08:00:04 UTC (rev 5537) @@ -50,46 +50,27 @@ import org.jboss.tools.seam.internal.core.scanner.lib.ClassPath; import org.jboss.tools.seam.internal.core.scanner.lib.LibraryScanner; import org.jboss.tools.test.util.JUnitUtils; +import org.jboss.tools.test.util.ResourcesUtils; +import org.jboss.tools.test.util.xpl.EditorTestHelper; = public class ScannerTest extends TestCase { - TestProjectProvider provider =3D null; IProject project =3D null; boolean makeCopy =3D true; = - public ScannerTest() {} + public ScannerTest() { + super("Seam Scanner test"); + } = protected void setUp() throws Exception { - provider =3D new TestProjectProvider("org.jboss.tools.seam.core.test", n= ull, "TestScanner", true); = - project =3D provider.getProject(); - try { - project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor(= )); - } catch (Exception e) { - JUnitUtils.fail("Error in refreshing",e); - } - try { - XJob.waitForJob(); - } catch (InterruptedException e) { - JUnitUtils.fail("Interrupted",e); - } + project =3D ResourcesUtils.importProject( + "org.jboss.tools.seam.core.test","/projects/TestScanner" , new NullPro= gressMonitor()); + project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor()= ); + EditorTestHelper.joinBackgroundActivities(); + project.build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMoni= tor()); + EditorTestHelper.joinBackgroundActivities(); } - = + private ISeamProject getSeamProject() { - try { - XJob.waitForJob(); - } catch (Exception e) { - JUnitUtils.fail("Interrupted",e); - } - try { - project.build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMon= itor()); - try { - XJob.waitForJob(); - } catch (InterruptedException e) { - JUnitUtils.fail("Interrupted",e); - } - } catch (Exception e) { - e.printStackTrace(); - JUnitUtils.fail("Cannot build",e); - } ISeamProject seamProject =3D null; try { seamProject =3D (ISeamProject)project.getNature(SeamProject.NATURE_ID); @@ -321,7 +302,7 @@ = try { project.build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMon= itor()); - XJob.waitForJob(); + EditorTestHelper.joinBackgroundActivities(); } catch (Exception e) { JUnitUtils.fail("Cannot build",e); } @@ -501,4 +482,9 @@ assertTrue("Component inner_JBIDE_1374 declared in inner static class is= not found.", c !=3D null); } = + @Override + protected void tearDown() throws Exception { + EditorTestHelper.joinBackgroundActivities(); + project.delete(true,true, null); + } } --===============6935927538895968726==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 03:02:39 2008 Content-Type: multipart/mixed; boundary="===============3623471175696448139==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5538 - in trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test: wizard and 1 other directory. Date: Wed, 09 Jan 2008 03:02:39 -0500 Message-ID: --===============3623471175696448139== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-09 03:02:39 -0500 (Wed, 09 Jan 2008) New Revision: 5538 Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/u= i/test/hyperlink/SeamViewHyperlinkPartitionerTest.java trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/u= i/test/wizard/SeamProjectNewWizardTest.java Log: Test errors were fixed Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools= /seam/ui/test/hyperlink/SeamViewHyperlinkPartitionerTest.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/hyperlink/SeamViewHyperlinkPartitionerTest.java 2008-01-09 08:00:04= UTC (rev 5537) +++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/= ui/test/hyperlink/SeamViewHyperlinkPartitionerTest.java 2008-01-09 08:02:39= UTC (rev 5538) @@ -11,6 +11,8 @@ import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; +import org.eclipse.core.runtime.NullProgressMonitor; +import org.eclipse.core.runtime.Platform; import org.eclipse.jface.text.BadLocationException; import org.eclipse.jface.text.IDocument; import org.eclipse.jface.text.IDocumentExtension3; @@ -30,9 +32,10 @@ import org.jboss.tools.common.text.ext.hyperlink.IHyperlinkRegion; import org.jboss.tools.common.text.ext.util.AxisUtil; import org.jboss.tools.seam.text.ext.hyperlink.SeamViewHyperlinkPartitione= r; +import org.jboss.tools.test.util.ResourcesUtils; = public class SeamViewHyperlinkPartitionerTest extends TestCase { - TestProjectProvider provider =3D null; + IProject project =3D null; boolean makeCopy =3D false; private static final String PROJECT_NAME =3D "TestSeamELContentAssist"; @@ -43,21 +46,15 @@ } = public void setUp() throws Exception { - provider =3D new TestProjectProvider("org.jboss.tools.seam.ui.test", nul= l, PROJECT_NAME, makeCopy); = - project =3D provider.getProject(); + //provider =3D new TestProjectProvider("", null, PROJECT_NAME, makeCopy)= ; = + project =3D ResourcesUtils.importProject(Platform.getBundle("org.jboss.t= ools.seam.ui.test"), "/projects/TestSeamELContentAssist", new NullProgressM= onitor()); Throwable exception =3D null; - try { - project.refreshLocal(IResource.DEPTH_INFINITE, null); - } catch (Exception x) { - exception =3D x; - x.printStackTrace(); - } - assertNull("An exception caught: " + (exception !=3D null? exception.get= Message() : ""), exception); + project.refreshLocal(IResource.DEPTH_INFINITE, null); } = protected void tearDown() throws Exception { - if(provider !=3D null) { - provider.dispose(); + if(project !=3D null) { + project.delete(true, true, null); } } = Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools= /seam/ui/test/wizard/SeamProjectNewWizardTest.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/wizard/SeamProjectNewWizardTest.java 2008-01-09 08:00:04 UTC (rev 5= 537) +++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/= ui/test/wizard/SeamProjectNewWizardTest.java 2008-01-09 08:02:39 UTC (rev 5= 538) @@ -26,6 +26,7 @@ import org.eclipse.ui.PlatformUI; import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetDat= aModelProperties; import org.eclipse.wst.common.frameworks.datamodel.IDataModel; +import org.eclipse.wst.server.core.IServerWorkingCopy; import org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWiz= ard; import org.jboss.tools.common.util.WorkbenchUtils; import org.jboss.tools.jst.firstrun.JBossASAdapterInitializer; @@ -40,9 +41,22 @@ */ public class SeamProjectNewWizardTest extends TestCase{ = + = + /** + * = + */ + private static final String SEAM_2_0_0_RT_NAME =3D "Seam 2.0"; + /** + * = + */ + private static final String SEAM_1_2_1_RT_NAME =3D "Seam 1.2.1"; + public static final String JBOSS_AS_42_HOME = + =3D System.getProperty("jbosstools.test.jboss.home.4.2", "C:\\java\\jbos= s-4.2.2.GA"); NewProjectDataModelFacetWizard wizard; IWizardPage startSeamPrjWzPg; - + SeamRuntimeManager manager =3D SeamRuntimeManager.getInstance(); + = + = @Override protected void setUp() throws Exception { super.setUp(); @@ -83,7 +97,9 @@ = // Create JBoss AS Runtime, Server, HSQL DB Driver try { - JBossASAdapterInitializer.initJBossAS("", new NullProgressMonitor()); + IServerWorkingCopy server =3D JBossASAdapterInitializer.initJBossAS(JBO= SS_AS_42_HOME, new NullProgressMonitor()); + System.out.println(server.getName()); + System.out.println(server.getRuntime().getName()); } catch (CoreException e) { fail("Cannot create JBoss AS Runtime, Server or HSQL Driver for unexist= ed AS location to test New Seam Project Wizard. " + e.getMessage()); } catch (ConnectionProfileException e) { @@ -91,14 +107,12 @@ } = // Create Seam Runtime and set proper field - SeamRuntimeManager manager =3D SeamRuntimeManager.getInstance(); - Bundle seamTest =3D Platform.getBundle("org.jboss.tools.seam.ui.test"); try { URL seamUrl =3D FileLocator.resolve(seamTest.getEntry("/seam")); File folder =3D new File(seamUrl.getPath()); - manager.addRuntime("Seam 1.2.1", folder.getAbsolutePath(), SeamVersion.= SEAM_1_2, true); - manager.addRuntime("Seam 2.0", folder.getAbsolutePath(), SeamVersion.SE= AM_2_0, true); + manager.addRuntime(SEAM_1_2_1_RT_NAME, folder.getAbsolutePath(), SeamVe= rsion.SEAM_1_2, true); + manager.addRuntime(SEAM_2_0_0_RT_NAME, folder.getAbsolutePath(), SeamVe= rsion.SEAM_2_0, true); } catch (IOException e) { fail("Cannot create Seam Runtime to test New Seam Project Wizard. " + e= .getMessage()); } @@ -122,5 +136,15 @@ assertTrue("Finish button is disabled at first wizard page in spite of c= reated JBoss AS Runtime, Server, DB Connection and Seam Runtime and valid p= roject name.", canFinish); = wizard.performCancel(); + = + manager.removeRuntime(manager.findRuntimeByName(SEAM_1_2_1_RT_NAME)); + manager.removeRuntime(manager.findRuntimeByName(SEAM_2_0_0_RT_NAME)); = + = } + + @Override + protected void tearDown() throws Exception { + super.tearDown(); + } + = } \ No newline at end of file --===============3623471175696448139==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 03:02:44 2008 Content-Type: multipart/mixed; boundary="===============5675277635824690736==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5539 - in trunk/tests/tests/org.jboss.tools.test: src/org/jboss/tools/test/util and 1 other directory. Date: Wed, 09 Jan 2008 03:02:43 -0500 Message-ID: --===============5675277635824690736== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-09 03:02:43 -0500 (Wed, 09 Jan 2008) New Revision: 5539 Modified: trunk/tests/tests/org.jboss.tools.test/META-INF/MANIFEST.MF trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/Res= ourcesUtils.java Log: Test errors were fixed 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 2008-01-09 = 08:02:39 UTC (rev 5538) +++ trunk/tests/tests/org.jboss.tools.test/META-INF/MANIFEST.MF 2008-01-09 = 08:02:43 UTC (rev 5539) @@ -12,5 +12,6 @@ Provide-Package: org.jboss.ide.tests.util Eclipse-LazyStart: true Export-Package: org.jboss.tools.test.util, + org.jboss.tools.test.util.xpl, org.jboss.tools.tests Bundle-ClassPath: tools-tests.jar Modified: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/u= til/ResourcesUtils.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/test/util/Re= sourcesUtils.java 2008-01-09 08:02:39 UTC (rev 5538) +++ trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/Re= sourcesUtils.java 2008-01-09 08:02:43 UTC (rev 5539) @@ -31,6 +31,7 @@ import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.NullProgressMonitor; import org.eclipse.core.runtime.Path; +import org.eclipse.core.runtime.Platform; import org.eclipse.core.runtime.Status; import org.eclipse.core.runtime.jobs.Job; import org.eclipse.swt.widgets.Display; @@ -113,6 +114,13 @@ return project; } = + public static IProject createEclipseProject(String bundle, + String templateLocation, IProgressMonitor monitor) + throws CoreException, IOException { + return createEclipseProject( + Platform.getBundle(bundle), templateLocation, monitor); + } + = public static boolean findLineInFile(IFile file, String pattern) throws C= oreException, IOException { InputStream content =3D file.getContents(true); LineNumberReader contentReader =3D new LineNumberReader(new InputStreamR= eader(content)); @@ -126,4 +134,20 @@ } while (line !=3D null && !patternIsFound); return patternIsFound; } + + /** + * @param string + * @param string2 + * @param nullProgressMonitor + * @return + * @throws InterruptedException = + * @throws InvocationTargetException = + * @throws CoreException = + * @throws IOException = + */ + public static IProject importProject(String bundleName, String templatePa= th, + NullProgressMonitor monitor) throws IOException, CoreException, Invocat= ionTargetException, InterruptedException { + // TODO Auto-generated method stub + return importProject(Platform.getBundle(bundleName), templatePath, monit= or); + } } --===============5675277635824690736==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 04:23:32 2008 Content-Type: multipart/mixed; boundary="===============3301855320332383367==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5540 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE. Date: Wed, 09 Jan 2008 04:23:32 -0500 Message-ID: --===============3301855320332383367== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-09 04:23:32 -0500 (Wed, 09 Jan 2008) New Revision: 5540 Removed: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/JBIDE-1467/ Log: update junit --===============3301855320332383367==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 04:34:47 2008 Content-Type: multipart/mixed; boundary="===============3467961376914688349==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5541 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE: 1467 and 1 other directory. Date: Wed, 09 Jan 2008 04:34:47 -0500 Message-ID: --===============3467961376914688349== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-09 04:34:47 -0500 (Wed, 09 Jan 2008) New Revision: 5541 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1467/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1467/JBIDE-1467.jsp Log: update junit Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1467/JBIDE-1467.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1467/JBIDE-1467.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1467/JBIDE-1467.jsp 2008-01-09 09:34:47 UTC (rev 5541) @@ -0,0 +1,22 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + + + + + + + + + + + + + + \ No newline at end of file --===============3467961376914688349==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 04:35:08 2008 Content-Type: multipart/mixed; boundary="===============3020551536881343491==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5542 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test. Date: Wed, 09 Jan 2008 04:35:07 -0500 Message-ID: --===============3020551536881343491== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-09 04:35:07 -0500 (Wed, 09 Jan 2008) New Revision: 5542 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfJbideTest.java Log: update junit Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfJbideTest.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfJbideTest.java 2008-01-09 09:34:47 UTC (rev 5541) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfJbideTest.java 2008-01-09 09:35:07 UTC (rev 5542) @@ -72,7 +72,7 @@ = // get test page path IFile file =3D (IFile) TestUtil - .getComponentPath("JBIDE/JBIDE-1467/JBIDE-1467.jsp",getImportProjectNa= me()); + .getComponentPath("JBIDE/1467/JBIDE-1467.jsp",getImportProjectName()); = assertNotNull("Could not open specified file "+file.getFullPath(), file); = --===============3020551536881343491==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 04:36:03 2008 Content-Type: multipart/mixed; boundary="===============0016257102843959674==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5543 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test. Date: Wed, 09 Jan 2008 04:36:03 -0500 Message-ID: --===============0016257102843959674== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-09 04:36:03 -0500 (Wed, 09 Jan 2008) New Revision: 5543 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/VpeTest.java Log: close editors before removing of project = Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/too= ls/vpe/ui/test/VpeTest.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeTest.java 2008-01-09 09:35:07 UTC (rev 5542) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeTest.java 2008-01-09 09:36:03 UTC (rev 5543) @@ -98,13 +98,18 @@ protected void tearDown() throws Exception { = super.tearDown(); + = + closeEditors(); + TestUtil.removeProject(getImportProjectName()); Platform.removeLogListener(this); - = - closeEditors(); + } - /* (non-Javadoc) - * @see org.eclipse.core.runtime.ILogListener#logging(org.eclipse.core.ru= ntime.IStatus, java.lang.String) + /* + * (non-Javadoc) + * = + * @see org.eclipse.core.runtime.ILogListener#logging(org.eclipse.core.ru= ntime.IStatus, + * java.lang.String) */ public void logging(IStatus status, String plugin) { switch (status.getSeverity()) { --===============0016257102843959674==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 06:03:12 2008 Content-Type: multipart/mixed; boundary="===============7638955799728859040==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5544 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject. Date: Wed, 09 Jan 2008 06:03:11 -0500 Message-ID: --===============7638955799728859040== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-09 06:03:11 -0500 (Wed, 09 Jan 2008) New Revision: 5544 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/HibernateAllMappingTests.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/HibernateNatureRemoveTest.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/TestSetAfterSetup.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/TestSetBeforeTearDown.java Removed: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/HibernateNatureTest.java Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/TestSet.java Log: http://jira.jboss.com/jira/browse/JBIDE-1571 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/or= g/hibernate/eclipse/console/test/mappingproject/HibernateAllMappingTests.ja= va =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/HibernateAllMappingTests.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/HibernateAllMappingTests.java = 2008-01-09 11:03:11 UTC (rev 5544) @@ -0,0 +1,182 @@ +package org.hibernate.eclipse.console.test.mappingproject; + +import java.util.Enumeration; + +import junit.framework.AssertionFailedError; +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestFailure; +import junit.framework.TestResult; +import junit.framework.TestSuite; + +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.Platform; +import org.eclipse.jdt.core.IJavaElement; +import org.eclipse.jdt.core.IPackageFragment; +import org.eclipse.jdt.core.IPackageFragmentRoot; +import org.eclipse.jdt.core.JavaModelException; +import org.eclipse.jdt.internal.core.PackageFragmentRoot; +import org.eclipse.jdt.ui.IPackagesViewPart; +import org.eclipse.jdt.ui.JavaUI; +import org.eclipse.swt.widgets.Display; +import org.eclipse.ui.PartInitException; +import org.eclipse.ui.PlatformUI; + +public class HibernateAllMappingTests extends TestCase { + + private MappingTestProject project; + = + private static IPackageFragment activePackage; + + public HibernateAllMappingTests(String name) { + super(name); + } + = + private TestResult result =3D null; + + protected void setUp() throws Exception { + super.setUp(); + this.project =3D MappingTestProject.getTestProject(); + + //PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().c= loseAllPerspectives(false, true); + = + = + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().set= Perspective( + PlatformUI.getWorkbench().getPerspectiveRegistry().findPerspectiveWith= Id("org.eclipse.ui.resourcePerspective")); + = + IPackagesViewPart packageExplorer =3D null; = + try { + packageExplorer =3D (IPackagesViewPart) PlatformUI.getWorkbench() + .getActiveWorkbenchWindow().getActivePage().showView(JavaUI.ID_PACKAGE= S); + } catch (PartInitException e) { + throw new RuntimeException(e); + } + = + packageExplorer.selectAndReveal(project.getIJavaProject()); + = + waitForJobs(); + runTestsAfterSetup(); + } + + private void runTestsAfterSetup() { + TestSuite suite =3D TestSetAfterSetup.getTests(); + for (int i =3D 0; i < suite.testCount(); i++) { + Test test =3D suite.testAt(i); + test.run(result); + /*if (result.failureCount() > 0 || result.errorCount() > 0){ + // we have failed tests after setup + fail(((Throwable)result.failures().nextElement()).getMessage()); + }*/ + } + } + + /* (non-Javadoc) + * @see junit.framework.TestCase#run(junit.framework.TestResult) + */ + @Override + public void run(TestResult result) { + this.result =3D result; = + super.run(result); + } = + = + public void tearDown() throws Exception { + waitForJobs(); + runTestsBeforeTearDown(); + waitForJobs(); + this.project.deleteIProject(); + waitForJobs(); + super.tearDown(); + } + + private void runTestsBeforeTearDown() { + TestSuite suite =3D TestSetBeforeTearDown.getTests(); + for (int i =3D 0; i < suite.testCount(); i++) { + Test test =3D suite.testAt(i); + test.run(result); = + } = + } + + /** + * Process UI input but do not return for the specified time interval. + * = + * @param waitTimeMillis + * the number of milliseconds + */ + protected void delay(long waitTimeMillis) { + Display display =3D Display.getCurrent(); + + // If this is the UI thread, + // then process input. + if (display !=3D null) { + long endTimeMillis =3D System.currentTimeMillis() + waitTimeMillis; + while (System.currentTimeMillis() < endTimeMillis) { + if (!display.readAndDispatch()) + display.sleep(); + } + display.update(); + } + + // Otherwise, perform a simple sleep. + else { + try { + Thread.sleep(waitTimeMillis); + } catch (InterruptedException e) { + // Ignored. + } + } + } + + /** + * Wait until all background tasks are complete. + */ + public void waitForJobs() { + while (Platform.getJobManager().currentJob() !=3D null) + delay(1000); + } + = + protected MappingTestProject getProject() { + return this.project; + } = + = + public void testEachPackWithTestSet() throws JavaModelException { + /*if (result.failureCount() > 0 || result.errorCount() > 0){ + // we have failed tests after setup + fail("One or more setup test failed."); + }*/ + TestSuite suite =3D TestSet.getTests(); + IPackageFragmentRoot[] roots =3D project.getIJavaProject().getAllPackage= FragmentRoots(); = + for (int i =3D 0; i < roots.length; i++) { + if (roots[i].getClass() !=3D PackageFragmentRoot.class) continue; + PackageFragmentRoot packageFragmentRoot =3D (PackageFragmentRoot) roots= [i]; + IJavaElement[] els =3D packageFragmentRoot.getChildren();//.getCompilat= ionUnits(); + for (int j =3D 0; j < els.length; j++) { + IJavaElement javaElement =3D els[j]; + if (javaElement instanceof IPackageFragment){ + IPackageFragment pack =3D (IPackageFragment) javaElement; + // use packages only with compilation units + if (pack.getCompilationUnits().length =3D=3D 0) continue; + = + activePackage =3D pack; + //=3D=3D=3D=3D=3D=3D=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 + for (int k =3D 0; k < suite.testCount(); k++) { + Test test =3D suite.testAt(k); + test.run(result); + waitForJobs(); + } + //=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D + } + } = + } + waitForJobs(); + //delay(2000); + } + + /** + * @return the activePackage + */ + public static IPackageFragment getActivePackage() { + return activePackage; + } +} + = \ No newline at end of file Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/or= g/hibernate/eclipse/console/test/mappingproject/HibernateNatureRemoveTest.j= ava =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/HibernateNatureRemoveTest.java= (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/HibernateNatureRemoveTest.java= 2008-01-09 11:03:11 UTC (rev 5544) @@ -0,0 +1,21 @@ +package org.hibernate.eclipse.console.test.mappingproject; + +import junit.framework.TestCase; + +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.NullProgressMonitor; +import org.eclipse.jdt.core.IJavaProject; +import org.hibernate.eclipse.console.utils.ProjectUtils; +import org.osgi.service.prefs.BackingStoreException; + +/** + * @author Dmitry Geraskov + * + */ +public class HibernateNatureRemoveTest extends TestCase { + public void testEnableHibernateNature() throws BackingStoreException, Cor= eException { + MappingTestProject project =3D MappingTestProject.getTestProject(); + IJavaProject prj =3D project.getIJavaProject(); + ProjectUtils.removeProjectNature(prj.getProject(), "org.hibernate.eclips= e.console.hibernateNature", new NullProgressMonitor() ); + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/src/org/hibernate/eclipse/console/test/mappingproject/HibernateNatu= reRemoveTest.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Deleted: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/= org/hibernate/eclipse/console/test/mappingproject/HibernateNatureTest.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/HibernateNatureTest.java 2008-= 01-09 09:36:03 UTC (rev 5543) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/HibernateNatureTest.java 2008-= 01-09 11:03:11 UTC (rev 5544) @@ -1,33 +0,0 @@ -package org.hibernate.eclipse.console.test.mappingproject; - -import org.eclipse.core.resources.ProjectScope; -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.NullProgressMonitor; -import org.eclipse.core.runtime.preferences.IScopeContext; -import org.eclipse.jdt.core.IJavaProject; -import org.hibernate.eclipse.console.utils.ProjectUtils; -import org.osgi.service.prefs.BackingStoreException; -import org.osgi.service.prefs.Preferences; - -import junit.framework.TestCase; - -/** - * @author Dmitry Geraskov - * - */ -public class HibernateNatureTest extends TestCase { - public void testEnableHibernateNature() throws BackingStoreException, Cor= eException { - MappingTestProject project =3D MappingTestProject.getTestProject(); - IJavaProject prj =3D project.getIJavaProject(); - IScopeContext scope =3D new ProjectScope(prj.getProject() ); - - Preferences node =3D scope.getNode("org.hibernate.eclipse.console"); - - node.putBoolean("hibernate3.enabled", true ); - node.put("default.configuration", "testcfg" ); - node.flush(); - - ProjectUtils.addProjectNature(prj.getProject(), "org.hibernate.eclipse.c= onsole.hibernateNature", new NullProgressMonitor() ); - ProjectUtils.removeProjectNature(prj.getProject(), "org.hibernate.eclips= e.console.hibernateNature", new NullProgressMonitor() ); - } -} Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/TestSet.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/TestSet.java 2008-01-09 09:36:= 03 UTC (rev 5543) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/TestSet.java 2008-01-09 11:03:= 11 UTC (rev 5544) @@ -8,13 +8,31 @@ */ public class TestSet{ = + /** = + * use only addTestSuit to prevent errors!!! + * @return + */ public static TestSuite getTests(){ TestSuite suite =3D new TestSuite("Test for MappingTestProject" ); - //use only addTestSuit to prevent errors - suite.addTestSuite( OpenJavaEditors.class ); - suite.addTestSuite( HibernateNatureTest.class ); + = + addTestsPackSetUp( suite ); + addPackTests( suite ); + addTestsPackTearDown( suite ); = = return suite; } + = + = + private static void addTestsPackSetUp(TestSuite suite){ + //suite.addTestSuite( UpdateConfigurationTest.class ); + } + = + private static void addPackTests(TestSuite suite){ + = + } + = + private static void addTestsPackTearDown(TestSuite suite){ + //suite.addTestSuite( CloaseAllEditorsTest.class ); + } = } Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/or= g/hibernate/eclipse/console/test/mappingproject/TestSetAfterSetup.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/TestSetAfterSetup.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/TestSetAfterSetup.java 2008-01= -09 11:03:11 UTC (rev 5544) @@ -0,0 +1,16 @@ +package org.hibernate.eclipse.console.test.mappingproject; + +import junit.framework.TestSuite; + +/** + * @author Dmitry Geraskov + * + */ +public class TestSetAfterSetup { + public static TestSuite getTests(){ + TestSuite suite =3D new TestSuite("Test for MappingTestProject" ); + suite.addTestSuite( HibernateNatureAddTest.class ); + //suite.addTestSuite( CreateConsoleConfigTest.class ); + return suite; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/src/org/hibernate/eclipse/console/test/mappingproject/TestSetAfterS= etup.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/or= g/hibernate/eclipse/console/test/mappingproject/TestSetBeforeTearDown.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/TestSetBeforeTearDown.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/TestSetBeforeTearDown.java 200= 8-01-09 11:03:11 UTC (rev 5544) @@ -0,0 +1,16 @@ +package org.hibernate.eclipse.console.test.mappingproject; + +import junit.framework.TestSuite; + +/** + * @author Dmitry Geraskov + * + */ +public class TestSetBeforeTearDown { + public static TestSuite getTests(){ + TestSuite suite =3D new TestSuite("Test for MappingTestProject" ); + suite.addTestSuite( HibernateNatureRemoveTest.class ); + = + return suite; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/src/org/hibernate/eclipse/console/test/mappingproject/TestSetBefore= TearDown.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native --===============7638955799728859040==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 06:10:22 2008 Content-Type: multipart/mixed; boundary="===============8878980589679925746==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5545 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject. Date: Wed, 09 Jan 2008 06:10:21 -0500 Message-ID: --===============8878980589679925746== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-09 06:10:21 -0500 (Wed, 09 Jan 2008) New Revision: 5545 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/ProjectUtil.java Log: http://jira.jboss.com/jira/browse/JBIDE-1571 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/or= g/hibernate/eclipse/console/test/mappingproject/ProjectUtil.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/ProjectUtil.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/ProjectUtil.java 2008-01-09 11= :10:21 UTC (rev 5545) @@ -0,0 +1,81 @@ +package org.hibernate.eclipse.console.test.mappingproject; + +import java.util.Iterator; + +import org.apache.tools.ant.filters.StringInputStream; +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IFolder; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.jdt.core.ICompilationUnit; +import org.eclipse.jdt.core.IPackageFragment; +import org.eclipse.jdt.core.IType; +import org.hibernate.mapping.PersistentClass; + +/** + * @author Dmitry Geraskov + * + */ +public class ProjectUtil { + = + private static final StringBuilder XML_HEADER =3D new StringBuilder("\n") + .append("\n"); + = + private static final StringBuilder XML_CFG_START =3D new StringBuilder("<= hibernate-configuration>\n") + .append("\n") + .append("\n") + .append("org.hibernate.dialect.SQLServerDialect\n"= ); + = + private static final StringBuilder XML_CFG_END =3D new StringBuilder("\n") + .append("\n"); = + = + = + public static final String CFG_FILE_NAME =3D "hibernate.cfg.xml"; + = + public static void customizeCFGFileForPack(IPackageFragment pack) throws = CoreException{ + IFolder srcFolder =3D (IFolder) pack.getParent().getResource(); + IFile iFile =3D srcFolder.getFile(CFG_FILE_NAME); + if (iFile.exists()) { + iFile.delete(true, null); + } + String file_boby =3D XML_HEADER.toString() + XML_CFG_START.toString(); + if (pack.getNonJavaResources().length > 0){ + Object[] ress =3D pack.getNonJavaResources(); + for (int i =3D 0; i < ress.length; i++) { + if (ress[i] instanceof IFile){ + IFile res =3D (IFile)ress[i]; + if (res.getName().endsWith(".hbm.xml")){ + file_boby +=3D "\n"; + } + } + } + } = + /*if (pack.getCompilationUnits().length > 0){ + ICompilationUnit[] comps =3D pack.getCompilationUnits(); + for (int i =3D 0; i < comps.length; i++) { + ICompilationUnit compilationUnit =3D comps[i]; + IType[] types =3D compilationUnit.getTypes(); + for (int j =3D 0; j < types.length; j++) { + IType type =3D types[j]; + if (type.isAnnotation()){ + System.out.println(type); + } + } + } + }*/ + + file_boby +=3D XML_CFG_END.toString(); + iFile.create(new StringInputStream(file_boby), + true, null); + } + = + public static String getPersistentClassName(PersistentClass persClass) { + if (persClass =3D=3D null) { + return ""; + } else { = + return persClass.getEntityName() !=3D null ? persClass.getEntityName() = : persClass.getClassName(); + } + } + +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/src/org/hibernate/eclipse/console/test/mappingproject/ProjectUtil.j= ava ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native --===============8878980589679925746==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 06:10:41 2008 Content-Type: multipart/mixed; boundary="===============6377057719595959520==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5546 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject. Date: Wed, 09 Jan 2008 06:10:41 -0500 Message-ID: --===============6377057719595959520== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-09 06:10:41 -0500 (Wed, 09 Jan 2008) New Revision: 5546 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/UpdateConfigurationTest.java Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/TestSet.java Log: Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/TestSet.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/TestSet.java 2008-01-09 11:10:= 21 UTC (rev 5545) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/TestSet.java 2008-01-09 11:10:= 41 UTC (rev 5546) @@ -24,7 +24,7 @@ = = private static void addTestsPackSetUp(TestSuite suite){ - //suite.addTestSuite( UpdateConfigurationTest.class ); + suite.addTestSuite( UpdateConfigurationTest.class ); } = private static void addPackTests(TestSuite suite){ Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/or= g/hibernate/eclipse/console/test/mappingproject/UpdateConfigurationTest.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/UpdateConfigurationTest.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/UpdateConfigurationTest.java 2= 008-01-09 11:10:41 UTC (rev 5546) @@ -0,0 +1,26 @@ +package org.hibernate.eclipse.console.test.mappingproject; + +import junit.framework.TestCase; + +import org.eclipse.core.runtime.CoreException; +import org.eclipse.jdt.core.IPackageFragment; +import org.eclipse.jdt.core.JavaModelException; + +/** + * @author Dmitry Geraskov + * + */ +public class UpdateConfigurationTest extends TestCase { + = + public void testUpdateConfiguration() throws JavaModelException{ + //fail("test fail"); + IPackageFragment pack =3D HibernateAllMappingTests.getActivePackage(); + assertNotNull( pack ); + try { + ProjectUtil.customizeCFGFileForPack(pack); + } catch (CoreException e) { + fail("Error customising " + ProjectUtil.CFG_FILE_NAME + " file for pack= age " = + + pack.getPath() + ".\n" + e.getMessage()); + } + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/src/org/hibernate/eclipse/console/test/mappingproject/UpdateConfigu= rationTest.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native --===============6377057719595959520==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 06:13:39 2008 Content-Type: multipart/mixed; boundary="===============6496205417917139857==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5547 - trunk/jsf/docs/userguide/en/images/editors_features. Date: Wed, 09 Jan 2008 06:13:39 -0500 Message-ID: --===============6496205417917139857== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-09 06:13:39 -0500 (Wed, 09 Jan 2008) New Revision: 5547 Modified: trunk/jsf/docs/userguide/en/images/editors_features/editors_features_1.p= ng trunk/jsf/docs/userguide/en/images/editors_features/editors_features_10.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_11.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_12.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_13.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_14.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_15.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_18.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_19.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_2.p= ng trunk/jsf/docs/userguide/en/images/editors_features/editors_features_3.p= ng trunk/jsf/docs/userguide/en/images/editors_features/editors_features_4.p= ng trunk/jsf/docs/userguide/en/images/editors_features/editors_features_5.p= ng trunk/jsf/docs/userguide/en/images/editors_features/editors_features_6.p= ng trunk/jsf/docs/userguide/en/images/editors_features/editors_features_7.p= ng trunk/jsf/docs/userguide/en/images/editors_features/editors_features_8.p= ng trunk/jsf/docs/userguide/en/images/editors_features/editors_features_9.p= ng Log: http://jira.jboss.com/jira/browse/JBDS-226 Screens retaken in 96 resolution= + scale parameter is defined Modified: trunk/jsf/docs/userguide/en/images/editors_features/editors_featu= res_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/jsf/docs/userguide/en/images/editors_features/editors_featu= res_10.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/editors_features/editors_featu= res_11.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/editors_features/editors_featu= res_12.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/editors_features/editors_featu= res_13.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/editors_features/editors_featu= res_14.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/editors_features/editors_featu= res_15.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/editors_features/editors_featu= res_18.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/editors_features/editors_featu= res_19.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/editors_features/editors_featu= res_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/jsf/docs/userguide/en/images/editors_features/editors_featu= res_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/jsf/docs/userguide/en/images/editors_features/editors_featu= res_4.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/editors_features/editors_featu= res_5.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/editors_features/editors_featu= res_6.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/editors_features/editors_featu= res_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/jsf/docs/userguide/en/images/editors_features/editors_featu= res_8.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/editors_features/editors_featu= res_9.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) --===============6496205417917139857==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 06:15:39 2008 Content-Type: multipart/mixed; boundary="===============1624874687086448915==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5548 - trunk/jsf/docs/userguide/en/modules. Date: Wed, 09 Jan 2008 06:15:39 -0500 Message-ID: --===============1624874687086448915== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-09 06:15:39 -0500 (Wed, 09 Jan 2008) New Revision: 5548 Modified: trunk/jsf/docs/userguide/en/modules/editors_features.xml trunk/jsf/docs/userguide/en/modules/struts_support.xml Log: http://jira.jboss.com/jira/browse/JBDS-226 Screens retaken in 96 resolution= + scale parameter is defined Modified: trunk/jsf/docs/userguide/en/modules/editors_features.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_features.xml 2008-01-09 11:= 13:39 UTC (rev 5547) +++ trunk/jsf/docs/userguide/en/modules/editors_features.xml 2008-01-09 11:= 15:39 UTC (rev 5548) @@ -27,7 +27,7 @@ NameBean Managed Bean = - + @@ -144,7 +144,7 @@ Content Assist in JSF Configuration File = - + @@ -162,7 +162,7 @@ Content Assist in web.xml File = - + @@ -222,7 +222,7 @@ Content Assist in Tree JSF Configuration Editor = - + Modified: trunk/jsf/docs/userguide/en/modules/struts_support.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/struts_support.xml 2008-01-09 11:13= :39 UTC (rev 5547) +++ trunk/jsf/docs/userguide/en/modules/struts_support.xml 2008-01-09 11:15= :39 UTC (rev 5548) @@ -437,7 +437,7 @@ Errors in Source Mode - + --===============1624874687086448915==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 07:09:14 2008 Content-Type: multipart/mixed; boundary="===============5962786738724481931==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5549 - in trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors: popup and 1 other directory. Date: Wed, 09 Jan 2008 07:09:14 -0500 Message-ID: --===============5962786738724481931== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vyemialyanchyk Date: 2008-01-09 07:09:14 -0500 (Wed, 09 Jan 2008) New Revision: 5549 Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/or= g/jboss/tools/hibernate/ui/veditor/editors/VisualEditor.java trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/or= g/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.java Log: http://jira.jboss.com/jira/browse/JBIDE-1413 Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor= /src/org/jboss/tools/hibernate/ui/veditor/editors/VisualEditor.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.veditor/src/o= rg/jboss/tools/hibernate/ui/veditor/editors/VisualEditor.java 2008-01-09 11= :15:39 UTC (rev 5548) +++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/o= rg/jboss/tools/hibernate/ui/veditor/editors/VisualEditor.java 2008-01-09 12= :09:14 UTC (rev 5549) @@ -34,6 +34,7 @@ import org.hibernate.console.ConsoleConfiguration; import org.hibernate.mapping.Column; import org.hibernate.mapping.RootClass; +import org.jboss.tools.hibernate.ui.veditor.editors.actions.AutoLayoutActi= on; import org.jboss.tools.hibernate.ui.veditor.editors.actions.ExportImageAct= ion; import org.jboss.tools.hibernate.ui.veditor.editors.actions.OpenMappingAct= ion; import org.jboss.tools.hibernate.ui.veditor.editors.actions.OpenSourceActi= on; @@ -106,6 +107,9 @@ = action =3D new ExportImageAction(this); registry.registerAction(action); + + action =3D new AutoLayoutAction(this); + registry.registerAction(action); = } = Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor= /src/org/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.j= ava =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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.veditor/src/o= rg/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.java 20= 08-01-09 11:15:39 UTC (rev 5548) +++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/o= rg/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.java 20= 08-01-09 12:09:14 UTC (rev 5549) @@ -29,6 +29,7 @@ import org.hibernate.mapping.PersistentClass; import org.hibernate.mapping.Property; import org.hibernate.mapping.Table; +import org.jboss.tools.hibernate.ui.veditor.editors.actions.AutoLayoutActi= on; import org.jboss.tools.hibernate.ui.veditor.editors.actions.ExportImageAct= ion; import org.jboss.tools.hibernate.ui.veditor.editors.actions.OpenMappingAct= ion; import org.jboss.tools.hibernate.ui.veditor.editors.actions.OpenSourceActi= on; @@ -74,6 +75,10 @@ } = } = + action =3D getActionRegistry().getAction(AutoLayoutAction.ACTION_ID); + appendToGroup(GEFActionConstants.GROUP_VIEW, action); + createMenuItem(getMenu(), action); + = action =3D getActionRegistry().getAction(ExportImageAction.ACTION_ID); appendToGroup(GEFActionConstants.MB_ADDITIONS, action); createMenuItem(getMenu(), action); --===============5962786738724481931==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 07:09:45 2008 Content-Type: multipart/mixed; boundary="===============6870595426002384304==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5550 - trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/actions. Date: Wed, 09 Jan 2008 07:09:45 -0500 Message-ID: --===============6870595426002384304== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vyemialyanchyk Date: 2008-01-09 07:09:45 -0500 (Wed, 09 Jan 2008) New Revision: 5550 Added: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/or= g/jboss/tools/hibernate/ui/veditor/editors/actions/AutoLayoutAction.java Log: http://jira.jboss.com/jira/browse/JBIDE-1413 Added: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/sr= c/org/jboss/tools/hibernate/ui/veditor/editors/actions/AutoLayoutAction.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.veditor/src/o= rg/jboss/tools/hibernate/ui/veditor/editors/actions/AutoLayoutAction.java = (rev 0) +++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/o= rg/jboss/tools/hibernate/ui/veditor/editors/actions/AutoLayoutAction.java 2= 008-01-09 12:09:45 UTC (rev 5550) @@ -0,0 +1,33 @@ +/*************************************************************************= ****** + * 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.hibernate.ui.veditor.editors.actions; + +import org.eclipse.jface.action.Action; +import org.jboss.tools.hibernate.ui.veditor.editors.VisualEditor; + +public class AutoLayoutAction extends Action { + + public static final String ACTION_ID =3D "Auto layout"; + + private VisualEditor editor; + + public AutoLayoutAction(VisualEditor editor) { + this.editor =3D editor; + setId(ACTION_ID); + setText(ACTION_ID); + //setImageDescriptor(ImageDescriptor.createFromFile( + // VisualEditor.class, "icons/export.png")); + } + + public void run() { + editor.getViewerContents().update(); + } +} --===============6870595426002384304==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 08:09:06 2008 Content-Type: multipart/mixed; boundary="===============2754442406957396832==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5551 - trunk/jsf/docs/userguide/en/images/editors_features. Date: Wed, 09 Jan 2008 08:09:05 -0500 Message-ID: --===============2754442406957396832== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-09 08:09:05 -0500 (Wed, 09 Jan 2008) New Revision: 5551 Modified: trunk/jsf/docs/userguide/en/images/editors_features/editors_features_16.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_17.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_20.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_32.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_33.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_34.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_35.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_36.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_37.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_38.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_39.= png trunk/jsf/docs/userguide/en/images/editors_features/editors_features_40.= png Log: http://jira.jboss.com/jira/browse/JBDS-226 Screens retaken in 96 resolution= + scale parameter is defined Modified: trunk/jsf/docs/userguide/en/images/editors_features/editors_featu= res_16.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/editors_features/editors_featu= res_17.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/editors_features/editors_featu= res_20.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/editors_features/editors_featu= res_32.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/editors_features/editors_featu= res_33.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/editors_features/editors_featu= res_34.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/editors_features/editors_featu= res_35.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/editors_features/editors_featu= res_36.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/editors_features/editors_featu= res_37.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/editors_features/editors_featu= res_38.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/editors_features/editors_featu= res_39.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/editors_features/editors_featu= res_40.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) --===============2754442406957396832==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 08:17:10 2008 Content-Type: multipart/mixed; boundary="===============5810266803431900886==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5552 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test. Date: Wed, 09 Jan 2008 08:17:09 -0500 Message-ID: --===============5810266803431900886== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-09 08:17:09 -0500 (Wed, 09 Jan 2008) New Revision: 5552 Removed: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfJbideTest.java Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfAllTests.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfComponentTest.java Log: update junit (Divide JsfJbideTest) Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-09 13:09:05 UTC (rev 5551) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-09 13:17:09 UTC (rev 5552) @@ -10,11 +10,12 @@ *************************************************************************= *****/ package org.jboss.tools.jsf.vpe.jsf.test; = -import org.eclipse.core.runtime.CoreException; - import junit.framework.Test; import junit.framework.TestSuite; = +import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1467Test; +import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1501Test; + /** * Class for testing all RichFaces components * = @@ -29,7 +30,8 @@ TestSuite suite =3D new TestSuite("Tests for Vpe Jsf components"); // $N= ON-NLS-1$ // $JUnit-BEGIN$ suite.addTestSuite(JsfComponentTest.class); - suite.addTestSuite(JsfJbideTest.class); + suite.addTestSuite(JsfJbide1467Test.class); + suite.addTestSuite(JsfJbide1501Test.class); //cleanUpTests(); // $JUnit-END$ return suite; Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfComponentTest.java 2008-01-09 13:09:05 UTC (rev 5551) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfComponentTest.java 2008-01-09 13:17:09 UTC (rev 5552) @@ -10,7 +10,6 @@ *************************************************************************= *****/ package org.jboss.tools.jsf.vpe.jsf.test; = -import org.eclipse.ui.PartInitException; import org.jboss.tools.vpe.ui.test.VpeTest; = /** @@ -21,110 +20,110 @@ */ public class JsfComponentTest extends VpeTest { = - //import project name = - private static final String IMPORT_PROJECT_NAME =3D "jsfTest"; = - = + // import project name + private static final String IMPORT_PROJECT_NAME =3D "jsfTest"; + public JsfComponentTest(String name) { - super(name,IMPORT_PROJECT_NAME,JsfTestPlugin.getPluginResourcePath()); + super(name, IMPORT_PROJECT_NAME, JsfTestPlugin.getPluginResourcePath()); } = /* * JSF HTML test cases */ = - public void testCommandButton() throws PartInitException, Throwable { + public void testCommandButton() throws Throwable { performTestForJsfComponent("components/commandButton.jsp"); // $NON-NLS-= 1$ } = - public void testCommandLink() throws PartInitException, Throwable { + public void testCommandLink() throws Throwable { performTestForJsfComponent("components/commandLink.jsp"); // $NON-NLS-1$ } = - public void testDataTable() throws PartInitException, Throwable { + public void testDataTable() throws Throwable { performTestForJsfComponent("components/dataTable.jsp"); // $NON-NLS-1$ } = - public void testForm() throws PartInitException, Throwable { + public void testForm() throws Throwable { performTestForJsfComponent("components/form.jsp"); // $NON-NLS-1$ } = - public void testGraphicImage() throws PartInitException, Throwable { + public void testGraphicImage() throws Throwable { performTestForJsfComponent("components/graphicImage.jsp"); // $NON-NLS-1$ } = - public void testInputHidden() throws PartInitException, Throwable { + public void testInputHidden() throws Throwable { performTestForJsfComponent("components/inputHidden.jsp"); // $NON-NLS-1$ } = - public void testInputSecret() throws PartInitException, Throwable { + public void testInputSecret() throws Throwable { performTestForJsfComponent("components/inputSecret.jsp"); // $NON-NLS-1$ } = - public void testInputText() throws PartInitException, Throwable { + public void testInputText() throws Throwable { performTestForJsfComponent("components/inputText.jsp"); // $NON-NLS-1$ } = - public void testInputTextArea() throws PartInitException, Throwable { + public void testInputTextArea() throws Throwable { performTestForJsfComponent("components/inputTextArea.jsp"); // $NON-NLS-= 1$ } = - public void testMessage() throws PartInitException, Throwable { + public void testMessage() throws Throwable { performTestForJsfComponent("components/message.jsp"); // $NON-NLS-1$ } = - public void testMessages() throws PartInitException, Throwable { + public void testMessages() throws Throwable { performTestForJsfComponent("components/messages.jsp"); // $NON-NLS-1$ } = - public void testOutputFormat() throws PartInitException, Throwable { + public void testOutputFormat() throws Throwable { performTestForJsfComponent("components/outputFormat.jsp"); // $NON-NLS-1$ } = - public void testOutputLabel() throws PartInitException, Throwable { + public void testOutputLabel() throws Throwable { performTestForJsfComponent("components/outputLabel.jsp"); // $NON-NLS-1$ } = - public void testOutputLink() throws PartInitException, Throwable { + public void testOutputLink() throws Throwable { performTestForJsfComponent("components/outputLink.jsp"); // $NON-NLS-1$ } = - public void testOutputText() throws PartInitException, Throwable { + public void testOutputText() throws Throwable { performTestForJsfComponent("components/outputText.jsp"); // $NON-NLS-1$ } = - public void testPanelGrid() throws PartInitException, Throwable { + public void testPanelGrid() throws Throwable { performTestForJsfComponent("components/panelGrid.jsp"); // $NON-NLS-1$ } = - public void testPanelGroup() throws PartInitException, Throwable { + public void testPanelGroup() throws Throwable { performTestForJsfComponent("components/panelGroup.jsp"); // $NON-NLS-1$ } = - public void testSelectBooleanCheckbox() throws PartInitException, Throwab= le { + public void testSelectBooleanCheckbox() throws Throwable { performTestForJsfComponent("components/selectBooleanCheckbox.jsp"); // $= NON-NLS-1$ } = - public void testSelectManyCheckbox() throws PartInitException, Throwable { + public void testSelectManyCheckbox() throws Throwable { performTestForJsfComponent("components/selectManyCheckbox.jsp"); // $NON= -NLS-1$ } = - public void testSelectManyListbox() throws PartInitException, Throwable { + public void testSelectManyListbox() throws Throwable { performTestForJsfComponent("components/selectManyListbox.jsp"); // $NON-= NLS-1$ } = - public void testSelectManyMenu() throws PartInitException, Throwable { + public void testSelectManyMenu() throws Throwable { performTestForJsfComponent("components/selectManyMenu.jsp"); // $NON-NLS= -1$ } = - public void testSelectOneListbox() throws PartInitException, Throwable { + public void testSelectOneListbox() throws Throwable { performTestForJsfComponent("components/selectOneListbox.jsp"); // $NON-N= LS-1$ } = - public void testSelectOneMenu() throws PartInitException, Throwable { + public void testSelectOneMenu() throws Throwable { performTestForJsfComponent("components/selectOneMenu.jsp"); // $NON-NLS-= 1$ } = - public void testSelectOneRadio() throws PartInitException, Throwable { + public void testSelectOneRadio() throws Throwable { performTestForJsfComponent("components/selectOneRadio.jsp"); // $NON-NLS= -1$ } = @@ -132,84 +131,83 @@ * JSF Core test cases */ = - public void testActionListener() throws PartInitException, Throwable { + public void testActionListener() throws Throwable { performTestForJsfComponent("components/actionListener.jsp"); // $NON-NLS= -1$ } = - public void testAttribute() throws PartInitException, Throwable { + public void testAttribute() throws Throwable { performTestForJsfComponent("components/attribute.jsp"); // $NON-NLS-1$ } = - public void testConvertDateTime() throws PartInitException, Throwable { + public void testConvertDateTime() throws Throwable { performTestForJsfComponent("components/convertDateTime.jsp"); // $NON-NL= S-1$ } = - public void testConvertNumber() throws PartInitException, Throwable { + public void testConvertNumber() throws Throwable { performTestForJsfComponent("components/convertNumber.jsp"); // $NON-NLS-= 1$ } = - public void testConverter() throws PartInitException, Throwable { + public void testConverter() throws Throwable { performTestForJsfComponent("components/converter.jsp"); // $NON-NLS-1$ } = - public void testFacet() throws PartInitException, Throwable { + public void testFacet() throws Throwable { performTestForJsfComponent("components/facet.jsp"); // $NON-NLS-1$ } = - public void testLoadBundle() throws PartInitException, Throwable { + public void testLoadBundle() throws Throwable { performTestForJsfComponent("components/loadBundle.jsp"); // $NON-NLS-1$ } = - public void testParam() throws PartInitException, Throwable { + public void testParam() throws Throwable { performTestForJsfComponent("components/param.jsp"); // $NON-NLS-1$ } = - public void testPhaseListener() throws PartInitException, Throwable { + public void testPhaseListener() throws Throwable { performTestForJsfComponent("components/phaseListener.jsp"); // $NON-NLS-= 1$ } = - public void testSelectItem() throws PartInitException, Throwable { + public void testSelectItem() throws Throwable { performTestForJsfComponent("components/selectItem.jsp"); // $NON-NLS-1$ } = - public void testSelectItems() throws PartInitException, Throwable { + public void testSelectItems() throws Throwable { performTestForJsfComponent("components/selectItems.jsp"); // $NON-NLS-1$ } = - public void testSetPropertyActionListener() throws PartInitException, - Throwable { + public void testSetPropertyActionListener() throws Throwable { performTestForJsfComponent("components/setPropertyActionListener.jsp"); = // $NON-NLS-1$ } = - public void testSubview() throws PartInitException, Throwable { + public void testSubview() throws Throwable { performTestForJsfComponent("components/subview.jsp"); // $NON-NLS-1$ } = - public void testValidateDoubleRange() throws PartInitException, Throwable= { + public void testValidateDoubleRange() throws Throwable { performTestForJsfComponent("components/validateDoubleRange.jsp"); // $NO= N-NLS-1$ } = - public void testValidateLength() throws PartInitException, Throwable { + public void testValidateLength() throws Throwable { performTestForJsfComponent("components/validateLength.jsp"); // $NON-NLS= -1$ } = - public void testValidateLongRange() throws PartInitException, Throwable { + public void testValidateLongRange() throws Throwable { performTestForJsfComponent("components/validateLongRange.jsp"); // $NON-= NLS-1$ } = - public void testValidator() throws PartInitException, Throwable { + public void testValidator() throws Throwable { performTestForJsfComponent("components/validator.jsp"); // $NON-NLS-1$ } = - public void testValueChangeListener() throws PartInitException, Throwable= { + public void testValueChangeListener() throws Throwable { performTestForJsfComponent("components/valueChangeListener.jsp"); // $NO= N-NLS-1$ } = - public void testVerbatim() throws PartInitException, Throwable { + public void testVerbatim() throws Throwable { performTestForJsfComponent("components/verbatim.jsp"); // $NON-NLS-1$ } = - public void testView() throws PartInitException, Throwable { + public void testView() throws Throwable { performTestForJsfComponent("components/view.jsp"); // $NON-NLS-1$ } } Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/too= ls/jsf/vpe/jsf/test/JsfJbideTest.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfJbideTest.java 2008-01-09 13:09:05 UTC (rev 5551) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfJbideTest.java 2008-01-09 13:17:09 UTC (rev 5552) @@ -1,308 +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.jsf.vpe.jsf.test; - -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.core.resources.IFile; -import org.eclipse.ui.IEditorInput; -import org.eclipse.ui.PartInitException; -import org.eclipse.ui.part.FileEditorInput; -import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; -import org.jboss.tools.vpe.editor.util.HTML; -import org.jboss.tools.vpe.ui.test.TestUtil; -import org.jboss.tools.vpe.ui.test.VpeTest; -import org.mozilla.interfaces.nsIDOMDocument; -import org.mozilla.interfaces.nsIDOMElement; -import org.mozilla.interfaces.nsIDOMNamedNodeMap; -import org.mozilla.interfaces.nsIDOMNode; -import org.mozilla.interfaces.nsIDOMNodeList; -/** - * Class for testing all jsf bugs - * = - * @author sdzmitrovich - * = - */ -public class JsfJbideTest extends VpeTest { - - // type of input tag - private static final String ATTR_TYPE_VALUE =3D "radio"; - = - //import project name - = - private static final String IMPORT_PROJECT_NAME =3D "jsfTest"; = - - public JsfJbideTest(String name) { - super(name,IMPORT_PROJECT_NAME,JsfTestPlugin.getPluginResourcePath()); - } - - - /* - * JBIDE's test cases - */ - - /** - * test for http://jira.jboss.com/jira/browse/JBIDE-1467 - * = - * the cause of bug : tags ( which vpe template for= ms - * when process "selectOneRadio" jsf tag ) didn't have equal "name" - * attribute - * = - * REQUIREMENT :test page must has only one tag - * = - * test checks that all "radio" elements ( of xulRunner DOMDocument ) have - * equal "name" attributes - */ - public void testJBIDE_1467() throws PartInitException, Throwable { - - // wait - TestUtil.waitForJobs(); - // set exception - setException(null); - - // get test page path - IFile file =3D (IFile) TestUtil - .getComponentPath("JBIDE/1467/JBIDE-1467.jsp",getImportProjectName()); - = - assertNotNull("Could not open specified file "+file.getFullPath(), file); - = - IEditorInput input =3D new FileEditorInput(file); - = - assertNotNull("Editor input is null",input); - // open and get editor - JSPMultiPageEditor part =3D openEditor(input); - - // get dom document - nsIDOMDocument document =3D getVpeVisualDocument(part); - nsIDOMElement element =3D document.getDocumentElement(); - - if (element !=3D null) { - - // get root node - nsIDOMNode node =3D (nsIDOMNode) element - .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); - - List elements =3D new ArrayList(); - - // find "input" elements - findElementsByName(node, elements, HTML.TAG_INPUT); - - // check that "radio" elements have equal names - // (size of list of names =3D=3D 1 ) - assertEquals(1, getRadioNames(elements).size()); - - } - - // check exception - if (getException() !=3D null) { - throw getException(); - } - - } - - /** - * test for http://jira.jboss.com/jira/browse/JBIDE-1467 - * = - * the cause of bug : - * = - * 1. tag ( which vpe template forms when process - * "selectOneListbox" and "selectManyListbox" jsf tags ) sometimes had - * incorrect "size" attribute - * = - * DISCRIPTION: test consist of two part - * = - * 1. The first page (JBIDE-1501_multiple.jsp) has "selectManyMenu" and - * "selectManyListbox" jsf tags. And test checks that all "select" elemen= ts - * have "multiple" attribute - * = - * 2. The second page (JBIDE-1501_size.jsp) has "selectOneListbox" and - * "selectManyListbox" jsf tags and they was formed so that all "select" - * elements must have size=3D"2" attribute . And test checks "size" attri= bute - */ - public void testJBIDE_1501() throws PartInitException, Throwable { - - // wait - TestUtil.waitForJobs(); - // set exception - setException(null); - - // _____1st Part____// - - // get test page path - IFile file =3D (IFile) TestUtil - .getComponentPath("JBIDE/1501/JBIDE-1501_multiple.jsp",getImportProjec= tName()); - - IEditorInput input =3D new FileEditorInput(file); - - // open and get editor - JSPMultiPageEditor part =3D openEditor(input); - - // get dom document - nsIDOMDocument document =3D getVpeVisualDocument(part); - assertNotNull(document); - - // get dom element - nsIDOMElement element =3D document.getDocumentElement(); - assertNotNull(element); - - // get root node - nsIDOMNode node =3D (nsIDOMNode) element - .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); - - List elements =3D new ArrayList(); - - // find "select" elements - findElementsByName(node, elements, HTML.TAG_SELECT); - - for (nsIDOMNode select : elements) { - - // get attributes - nsIDOMNamedNodeMap attributes =3D select.getAttributes(); - - // "select" must have attributes - assertNotNull(attributes); - - // select must have "multiple" attribute - assertNotNull(attributes.getNamedItem(HTML.ATTR_MULTIPLE)); - - } - - // _____2nd Part____// - - // get test page path - file =3D (IFile) TestUtil - .getComponentPath("JBIDE/1501/JBIDE-1501_size.jsp",getImportProjectNam= e()); - - input =3D new FileEditorInput(file); - - // open and get editor - part =3D openEditor(input); - - // get dom document - document =3D getVpeVisualDocument(part); - assertNotNull(document); - - // get dom element - element =3D document.getDocumentElement(); - assertNotNull(element); - - // get root node - node =3D (nsIDOMNode) element.queryInterface(nsIDOMNode.NS_IDOMNODE_IID); - - elements =3D new ArrayList(); - - // find "select" elements - findElementsByName(node, elements, HTML.TAG_SELECT); - - for (nsIDOMNode select : elements) { - - // get attributes - nsIDOMNamedNodeMap attributes =3D select.getAttributes(); - - // "select" must have attributes - assertNotNull(attributes); - - // select must have "size" attribute - nsIDOMNode size =3D attributes.getNamedItem(HTML.ATTR_SIZE); - assertNotNull(size); - - // - assertEquals(2, Integer.parseInt(size.getNodeValue())); - - } - - // check exception - if (getException() !=3D null) { - throw getException(); - } - - } - - /** - * find elements by name - * = - * @param node - - * current node - * @param elements - - * list of found elements - * @param name - - * name element - */ - private void findElementsByName(nsIDOMNode node, List element= s, - String name) { - - // get children - nsIDOMNodeList children =3D node.getChildNodes(); - for (int i =3D 0; i < children.getLength(); i++) { - nsIDOMNode child =3D children.item(i); - - // if current child is required then add his to list - if (name.equalsIgnoreCase((child.getNodeName()))) { - - elements.add(child); - - } else { - - findElementsByName(child, elements, name); - - } - } - - } - /** - * = - * @param elements - * list of "input" elements - * @return list of names - */ - private List getRadioNames(List elements) { - - // list of "name" of "radio" elements - List radioNames =3D new ArrayList(); - - for (nsIDOMNode element : elements) { - // attributes - nsIDOMNamedNodeMap attributes =3D element.getAttributes(); - - if (attributes !=3D null) { - // get type of element - nsIDOMNode type =3D attributes.getNamedItem(HTML.ATTR_TYPE); - - // if type is "radio" - if ((type !=3D null) - && (ATTR_TYPE_VALUE.equalsIgnoreCase(type - .getNodeValue()))) { - - // get "name" attribute - nsIDOMNode name =3D attributes.getNamedItem(HTML.ATTR_NAME); - - // check for null - assertNotNull(name); - - // if name is unique - if (!radioNames.contains(name.getNodeValue())) - radioNames.add(name.getNodeValue()); - - } - } - } - - return radioNames; - - } - -} --===============5810266803431900886==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 08:17:52 2008 Content-Type: multipart/mixed; boundary="===============1723271370983683117==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5553 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test: jbide and 1 other directory. Date: Wed, 09 Jan 2008 08:17:52 -0500 Message-ID: --===============1723271370983683117== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-09 08:17:52 -0500 (Wed, 09 Jan 2008) New Revision: 5553 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/jbide/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/jbide/JsfJbide1467Test.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/jbide/JsfJbide1501Test.java Log: update junit (Divide JsfJbideTest) Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools= /jsf/vpe/jsf/test/jbide/JsfJbide1467Test.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JsfJbide1467Test.java (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JsfJbide1467Test.java 2008-01-09 13:17:52 UTC (rev 555= 3) @@ -0,0 +1,155 @@ +/*************************************************************************= ****** = + * 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.jsf.vpe.jsf.test.jbide; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.core.resources.IFile; +import org.eclipse.ui.IEditorInput; +import org.eclipse.ui.part.FileEditorInput; +import org.jboss.tools.jsf.vpe.jsf.test.JsfTestPlugin; +import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; +import org.jboss.tools.vpe.editor.util.HTML; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; +import org.mozilla.interfaces.nsIDOMDocument; +import org.mozilla.interfaces.nsIDOMElement; +import org.mozilla.interfaces.nsIDOMNamedNodeMap; +import org.mozilla.interfaces.nsIDOMNode; + +/** + * Class for testing all jsf bugs + * = + * @author sdzmitrovich + * = + */ +public class JsfJbide1467Test extends VpeTest { + + // type of input tag + private static final String ATTR_TYPE_VALUE =3D "radio"; + + // import project name + + private static final String IMPORT_PROJECT_NAME =3D "jsfTest"; + + public JsfJbide1467Test(String name) { + super(name, IMPORT_PROJECT_NAME, JsfTestPlugin.getPluginResourcePath()); + } + + /* + * JBIDE's test cases + */ + + /** + * test for http://jira.jboss.com/jira/browse/JBIDE-1467 + * = + * the cause of bug : tags ( which vpe template for= ms + * when process "selectOneRadio" jsf tag ) didn't have equal "name" + * attribute + * = + * REQUIREMENT :test page must has only one tag + * = + * test checks that all "radio" elements ( of xulRunner DOMDocument ) have + * equal "name" attributes + */ + public void testJbide() throws Throwable { + + // wait + TestUtil.waitForJobs(); + // set exception + setException(null); + + // get test page path + IFile file =3D (IFile) TestUtil.getComponentPath( + "JBIDE/1467/JBIDE-1467.jsp", getImportProjectName()); + + assertNotNull("Could not open specified file " + file.getFullPath(), + file); + + IEditorInput input =3D new FileEditorInput(file); + + assertNotNull("Editor input is null", input); + // open and get editor + JSPMultiPageEditor part =3D openEditor(input); + + // get dom document + nsIDOMDocument document =3D getVpeVisualDocument(part); + nsIDOMElement element =3D document.getDocumentElement(); + + if (element !=3D null) { + + // get root node + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "input" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_INPUT); + + // check that "radio" elements have equal names + // (size of list of names =3D=3D 1 ) + assertEquals(1, getRadioNames(elements).size()); + + } + + // check exception + if (getException() !=3D null) { + throw getException(); + } + + } + + /** + * = + * @param elements + * list of "input" elements + * @return list of names + */ + private List getRadioNames(List elements) { + + // list of "name" of "radio" elements + List radioNames =3D new ArrayList(); + + for (nsIDOMNode element : elements) { + // attributes + nsIDOMNamedNodeMap attributes =3D element.getAttributes(); + + if (attributes !=3D null) { + // get type of element + nsIDOMNode type =3D attributes.getNamedItem(HTML.ATTR_TYPE); + + // if type is "radio" + if ((type !=3D null) + && (ATTR_TYPE_VALUE.equalsIgnoreCase(type + .getNodeValue()))) { + + // get "name" attribute + nsIDOMNode name =3D attributes.getNamedItem(HTML.ATTR_NAME); + + // check for null + assertNotNull(name); + + // if name is unique + if (!radioNames.contains(name.getNodeValue())) + radioNames.add(name.getNodeValue()); + + } + } + } + + return radioNames; + + } + +} Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools= /jsf/vpe/jsf/test/jbide/JsfJbide1501Test.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JsfJbide1501Test.java (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JsfJbide1501Test.java 2008-01-09 13:17:52 UTC (rev 555= 3) @@ -0,0 +1,166 @@ +/*************************************************************************= ****** = + * 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.jsf.vpe.jsf.test.jbide; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.core.resources.IFile; +import org.eclipse.ui.IEditorInput; +import org.eclipse.ui.part.FileEditorInput; +import org.jboss.tools.jsf.vpe.jsf.test.JsfTestPlugin; +import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; +import org.jboss.tools.vpe.editor.util.HTML; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; +import org.mozilla.interfaces.nsIDOMDocument; +import org.mozilla.interfaces.nsIDOMElement; +import org.mozilla.interfaces.nsIDOMNamedNodeMap; +import org.mozilla.interfaces.nsIDOMNode; + +/** + * Class for testing all jsf bugs + * = + * @author sdzmitrovich + * = + */ +public class JsfJbide1501Test extends VpeTest { + + private static final String IMPORT_PROJECT_NAME =3D "jsfTest"; + + public JsfJbide1501Test(String name) { + super(name, IMPORT_PROJECT_NAME, JsfTestPlugin.getPluginResourcePath()); + } + + /** + * test for http://jira.jboss.com/jira/browse/JBIDE-1467 + * = + * the cause of bug : + * = + * 1. tag ( which vpe template forms when process + * "selectOneListbox" and "selectManyListbox" jsf tags ) sometimes had + * incorrect "size" attribute + * = + * DISCRIPTION: test consist of two part + * = + * 1. The first page (JBIDE-1501_multiple.jsp) has "selectManyMenu" and + * "selectManyListbox" jsf tags. And test checks that all "select" elemen= ts + * have "multiple" attribute + * = + * 2. The second page (JBIDE-1501_size.jsp) has "selectOneListbox" and + * "selectManyListbox" jsf tags and they was formed so that all "select" + * elements must have size=3D"2" attribute . And test checks "size" attri= bute + */ + public void testJbide() throws Throwable { + + // wait + TestUtil.waitForJobs(); + // set exception + setException(null); + + // _____1st Part____// + + // get test page path + IFile file =3D (IFile) TestUtil.getComponentPath( + "JBIDE/1501/JBIDE-1501_multiple.jsp", getImportProjectName()); + + IEditorInput input =3D new FileEditorInput(file); + + // open and get editor + JSPMultiPageEditor part =3D openEditor(input); + + // get dom document + nsIDOMDocument document =3D getVpeVisualDocument(part); + assertNotNull(document); + + // get dom element + nsIDOMElement element =3D document.getDocumentElement(); + assertNotNull(element); + + // get root node + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "select" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_SELECT); + + for (nsIDOMNode select : elements) { + + // get attributes + nsIDOMNamedNodeMap attributes =3D select.getAttributes(); + + // "select" must have attributes + assertNotNull(attributes); + + // select must have "multiple" attribute + assertNotNull(attributes.getNamedItem(HTML.ATTR_MULTIPLE)); + + } + + // _____2nd Part____// + + // get test page path + file =3D (IFile) TestUtil.getComponentPath( + "JBIDE/1501/JBIDE-1501_size.jsp", getImportProjectName()); + + input =3D new FileEditorInput(file); + + // open and get editor + part =3D openEditor(input); + + // get dom document + document =3D getVpeVisualDocument(part); + assertNotNull(document); + + // get dom element + element =3D document.getDocumentElement(); + assertNotNull(element); + + // get root node + node =3D (nsIDOMNode) element.queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + elements =3D new ArrayList(); + + // find "select" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_SELECT); + + for (nsIDOMNode select : elements) { + + // get attributes + nsIDOMNamedNodeMap attributes =3D select.getAttributes(); + + // "select" must have attributes + assertNotNull(attributes); + + // select must have "size" attribute + nsIDOMNode size =3D attributes.getNamedItem(HTML.ATTR_SIZE); + assertNotNull(size); + + // + assertEquals(2, Integer.parseInt(size.getNodeValue())); + + } + + // check exception + if (getException() !=3D null) { + throw getException(); + } + + } + +} --===============1723271370983683117==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 08:19:29 2008 Content-Type: multipart/mixed; boundary="===============8485137425693540514==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5554 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test. Date: Wed, 09 Jan 2008 08:19:29 -0500 Message-ID: --===============8485137425693540514== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-09 08:19:29 -0500 (Wed, 09 Jan 2008) New Revision: 5554 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/TestUtil.java Log: update junit (Divide JsfJbideTest) Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/too= ls/vpe/ui/test/TestUtil.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/TestUtil.java 2008-01-09 13:17:52 UTC (rev 5553) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/TestUtil.java 2008-01-09 13:19:29 UTC (rev 5554) @@ -25,6 +25,8 @@ import org.eclipse.ui.PlatformUI; import org.eclipse.ui.dialogs.IOverwriteQuery; import org.eclipse.ui.wizards.datatransfer.ImportOperation; +import org.mozilla.interfaces.nsIDOMNode; +import org.mozilla.interfaces.nsIDOMNodeList; = /** * Class for importing project from jar file @@ -141,5 +143,37 @@ while (Job.getJobManager().currentJob() !=3D null) delay(100); } + = + /** + * find elements by name + * = + * @param node - + * current node + * @param elements - + * list of found elements + * @param name - + * name element + */ + static public void findElementsByName(nsIDOMNode node, List e= lements, + String name) { = + // get children + nsIDOMNodeList children =3D node.getChildNodes(); + for (int i =3D 0; i < children.getLength(); i++) { + nsIDOMNode child =3D children.item(i); + + // if current child is required then add his to list + if (name.equalsIgnoreCase((child.getNodeName()))) { + + elements.add(child); + + } else { + + findElementsByName(child, elements, name); + + } + } + + } + } --===============8485137425693540514==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 09:25:00 2008 Content-Type: multipart/mixed; boundary="===============2236266658581956241==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5555 - trunk/jsf/docs/userguide/en/images/more_editors. Date: Wed, 09 Jan 2008 09:21:00 -0500 Message-ID: --===============2236266658581956241== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-09 09:21:00 -0500 (Wed, 09 Jan 2008) New Revision: 5555 Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_15.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_16.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_17.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_18.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_19.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_20.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_21.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_22.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_23.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_24.png Log: http://jira.jboss.com/jira/browse/JBDS-226 Screens retaken in 96 resolution= + scale parameter is defined Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_15.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_16.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_17.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_18.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_19.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_20.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_21.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_22.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_23.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_24.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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) --===============2236266658581956241==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 09:29:55 2008 Content-Type: multipart/mixed; boundary="===============3953813211096688464==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5556 - trunk/jsf/docs/userguide/en/modules. Date: Wed, 09 Jan 2008 09:25:55 -0500 Message-ID: --===============3953813211096688464== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-09 09:25:54 -0500 (Wed, 09 Jan 2008) New Revision: 5556 Modified: trunk/jsf/docs/userguide/en/modules/editors.xml Log: http://jira.jboss.com/jira/browse/JBDS-226 Screens retaken in 96 resolution= + scale parameter is defined 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 2008-01-09 14:21:00 UTC= (rev 5555) +++ trunk/jsf/docs/userguide/en/modules/editors.xml 2008-01-09 14:25:54 UTC= (rev 5556) @@ -1450,7 +1450,7 @@ Content Assist - + @@ -1460,7 +1460,7 @@ Error Reporting - + @@ -1473,7 +1473,7 @@ Outline View - + --===============3953813211096688464==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 09:52:45 2008 Content-Type: multipart/mixed; boundary="===============7249851675835466652==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5557 - trunk/jsf/docs/userguide/en/images/more_editors. Date: Wed, 09 Jan 2008 09:52:44 -0500 Message-ID: --===============7249851675835466652== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-09 09:52:44 -0500 (Wed, 09 Jan 2008) New Revision: 5557 Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_26.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_27.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_28.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_29.png Log: http://jira.jboss.com/jira/browse/JBDS-226 Screens retaken in 96 resolution= + scale parameter is defined Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_26.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_27.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_28.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_29.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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) --===============7249851675835466652==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 09:52:57 2008 Content-Type: multipart/mixed; boundary="===============2431633470454664136==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5558 - trunk/jsf/docs/userguide/en/modules. Date: Wed, 09 Jan 2008 09:52:56 -0500 Message-ID: --===============2431633470454664136== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-09 09:52:56 -0500 (Wed, 09 Jan 2008) New Revision: 5558 Modified: trunk/jsf/docs/userguide/en/modules/editors.xml Log: http://jira.jboss.com/jira/browse/JBDS-226 Screens retaken in 96 resolution= + scale parameter is defined 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 2008-01-09 14:52:44 UTC= (rev 5557) +++ trunk/jsf/docs/userguide/en/modules/editors.xml 2008-01-09 14:52:56 UTC= (rev 5558) @@ -1450,7 +1450,7 @@ Content Assist - + @@ -1557,7 +1557,7 @@ Validation Rules - + @@ -1568,7 +1568,7 @@ Validation Rules in Source Viewer - + --===============2431633470454664136==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 09:58:19 2008 Content-Type: multipart/mixed; boundary="===============4313713070574015519==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5559 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test: resources/jsfTest/WebContent/pages/JBIDE/1484 and 2 other directories. Date: Wed, 09 Jan 2008 09:58:14 -0500 Message-ID: --===============4313713070574015519== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-09 09:58:14 -0500 (Wed, 09 Jan 2008) New Revision: 5559 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1484/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1484/JBIDE-1484.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/jbide/JBIDE1484Test.java Removed: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/JBIDE-1484.jsp Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfAllTests.java Log: http://jira.jboss.com/jira/browse/JBIDE-1484, junit was added Copied: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/= WebContent/pages/JBIDE/1484/JBIDE-1484.jsp (from rev 5543, trunk/jsf/tests/= org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/J= BIDE-1484.jsp) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1484/JBIDE-1484.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1484/JBIDE-1484.jsp 2008-01-09 14:58:14 UTC (rev 5559) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://jboss.com/products/seam/taglib" prefix=3D"s"%> + + + + + + + + + = + + + + \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest= /WebContent/pages/JBIDE/JBIDE-1484.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/JBIDE-1484.jsp 2008-01-09 14:52:56 UTC (rev 5558) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/JBIDE-1484.jsp 2008-01-09 14:58:14 UTC (rev 5559) @@ -1,14 +0,0 @@ -<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> -<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> - - - - - - - - = - - - - \ No newline at end of file Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-09 14:52:56 UTC (rev 5558) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-09 14:58:14 UTC (rev 5559) @@ -13,6 +13,7 @@ import junit.framework.Test; import junit.framework.TestSuite; = +import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1484Test; import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1467Test; import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1501Test; = @@ -32,6 +33,7 @@ suite.addTestSuite(JsfComponentTest.class); suite.addTestSuite(JsfJbide1467Test.class); suite.addTestSuite(JsfJbide1501Test.class); + suite.addTestSuite(JBIDE1484Test.class); //cleanUpTests(); // $JUnit-END$ return suite; Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools= /jsf/vpe/jsf/test/jbide/JBIDE1484Test.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JBIDE1484Test.java (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JBIDE1484Test.java 2008-01-09 14:58:14 UTC (rev 5559) @@ -0,0 +1,93 @@ +/*************************************************************************= ****** = +* 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.jsf.vpe.jsf.test.jbide; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.core.resources.IFile; +import org.eclipse.ui.IEditorInput; +import org.eclipse.ui.part.FileEditorInput; +import org.jboss.tools.jsf.vpe.jsf.test.JsfTestPlugin; +import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; +import org.jboss.tools.vpe.editor.util.HTML; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; +import org.mozilla.interfaces.nsIDOMDocument; +import org.mozilla.interfaces.nsIDOMElement; +import org.mozilla.interfaces.nsIDOMNode; + +/** + * @author Max Areshkau + * = + * junit for JBIDE-1484(http://jira.jboss.com/jira/browse/JBIDE-1484) + */ +public class JBIDE1484Test extends VpeTest { + + private static final String IMPORT_PROJECT_NAME =3D "jsfTest"; + = + private static final String TEST_PAGE_NAME =3D "JBIDE/1484/JBIDE-1484.jsp= "; + = + public JBIDE1484Test(String name) { + = + super(name, IMPORT_PROJECT_NAME, JsfTestPlugin.getPluginResourcePath()); + } + = + //test method for JBIDE 1484 + public void testJBIDE_1484() throws Throwable{ + // wait + TestUtil.waitForJobs(); + // set exception + setException(null); + + // get test page path + IFile file =3D (IFile) TestUtil.getComponentPath( + TEST_PAGE_NAME, getImportProjectName()); + + assertNotNull("Could not open specified file " + file.getFullPath(), + file); + + IEditorInput input =3D new FileEditorInput(file); + + assertNotNull("Editor input is null", input); + // open and get editor + JSPMultiPageEditor part =3D openEditor(input); + + // get dom document + nsIDOMDocument document =3D getVpeVisualDocument(part); + nsIDOMElement element =3D document.getDocumentElement(); + = + //check that element is not null + assertNotNull(element); + + // get root node + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + = + // find "input" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_INPUT); + = + assertEquals(3, elements.size()); + nsIDOMElement elementInput0 =3D (nsIDOMElement) elements.get(0).queryInt= erface(nsIDOMElement.NS_IDOMELEMENT_IID); + nsIDOMElement elementInput1 =3D (nsIDOMElement) elements.get(1).queryInt= erface(nsIDOMElement.NS_IDOMELEMENT_IID); + nsIDOMElement elementInput2 =3D (nsIDOMElement) elements.get(2).queryInt= erface(nsIDOMElement.NS_IDOMELEMENT_IID); + = + assertEquals(elementInput0.getAttribute("value"),""); + assertNotNull(elementInput1.getAttribute("value"),""); + assertNotNull(elementInput2.getAttribute("value"),"test"); + if(getException()!=3Dnull) { + throw getException(); + } + } + +} --===============4313713070574015519==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 09:58:54 2008 Content-Type: multipart/mixed; boundary="===============1496944210977996073==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5560 - trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld. Date: Wed, 09 Jan 2008 09:58:54 -0500 Message-ID: --===============1496944210977996073== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-09 09:58:54 -0500 (Wed, 09 Jan 2008) New Revision: 5560 Modified: trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/JBossSeam1_2.= xml trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/JBossSeam2_0.= xml Log: http://jira.jboss.com/jira/browse/JBIDE-1493 = Modified: trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/JBossS= eam1_2.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.kb/schemas/tld/JBossSeam1_2= .xml 2008-01-09 14:58:14 UTC (rev 5559) +++ trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/JBossSeam1_2= .xml 2008-01-09 14:58:54 UTC (rev 5560) @@ -702,7 +702,10 @@ HTML: The URL of an image that renders in place o= f the button. - + + + + Modified: trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/JBossS= eam2_0.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.kb/schemas/tld/JBossSeam2_0= .xml 2008-01-09 14:58:14 UTC (rev 5559) +++ trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/JBossSeam2_0= .xml 2008-01-09 14:58:54 UTC (rev 5560) @@ -109,7 +109,10 @@ - + + + + --===============1496944210977996073==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 10:17:45 2008 Content-Type: multipart/mixed; boundary="===============3895243665921124467==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5561 - trunk/hibernatetools. Date: Wed, 09 Jan 2008 10:17:45 -0500 Message-ID: --===============3895243665921124467== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-09 10:17:45 -0500 (Wed, 09 Jan 2008) New Revision: 5561 Removed: trunk/hibernatetools/.project Log: There should not be a overall hibernatetools project since that will confus= e one-shot import of plugins. Deleted: trunk/hibernatetools/.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/hibernatetools/.project 2008-01-09 14:58:54 UTC (rev 5560) +++ trunk/hibernatetools/.project 2008-01-09 15:17:45 UTC (rev 5561) @@ -1,11 +0,0 @@ - - - hibernatetools - - - - - - - - --===============3895243665921124467==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 10:26:20 2008 Content-Type: multipart/mixed; boundary="===============2483232192960276078==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5562 - trunk/jsf/docs/userguide/en/modules. Date: Wed, 09 Jan 2008 10:26:20 -0500 Message-ID: --===============2483232192960276078== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-09 10:26:20 -0500 (Wed, 09 Jan 2008) New Revision: 5562 Modified: trunk/jsf/docs/userguide/en/modules/editors.xml Log: http://jira.jboss.com/jira/browse/JBDS-226 Screens retaken in 96 resolution= + scale parameter is defined 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 2008-01-09 15:17:45 UTC= (rev 5561) +++ trunk/jsf/docs/userguide/en/modules/editors.xml 2008-01-09 15:26:20 UTC= (rev 5562) @@ -191,7 +191,7 @@ + fileref=3D"images/editors_features= /editors_features_9.png" scale=3D"85"/> @@ -201,7 +201,7 @@ + fileref=3D"images/editors_features= /editors_features_10.png" scale=3D"85"/> @@ -211,7 +211,7 @@ + fileref=3D"images/editors_features= /editors_features_11.png" scale=3D"85"/> @@ -299,7 +299,7 @@ + fileref=3D"images/editors_features= /editors_features_15.png" scale=3D"85"/> --===============2483232192960276078==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 11:20:47 2008 Content-Type: multipart/mixed; boundary="===============6742477360586768794==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5563 - trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces. Date: Wed, 09 Jan 2008 11:20:46 -0500 Message-ID: --===============6742477360586768794== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: akazakov Date: 2008-01-09 11:20:46 -0500 (Wed, 09 Jan 2008) New Revision: 5563 Added: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFac= es/richfaces-api-3.1.3.GA.jar trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFac= es/richfaces-impl-3.1.3.GA.jar trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFac= es/richfaces-ui-3.1.3.GA.jar Removed: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFac= es/richfaces-api-3.1.0.jar trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFac= es/richfaces-impl-3.1.0.jar trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFac= es/richfaces-ui-3.1.0.jar Log: http://jira.jboss.com/jira/browse/JBIDE-1599 Updated RichFaces jars. Deleted: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/R= ichFaces/richfaces-api-3.1.0.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) Added: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/Ric= hFaces/richfaces-api-3.1.3.GA.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) Property changes on: trunk/common/plugins/org.jboss.tools.common.projecttem= plates/lib/RichFaces/richfaces-api-3.1.3.GA.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Deleted: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/R= ichFaces/richfaces-impl-3.1.0.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) Added: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/Ric= hFaces/richfaces-impl-3.1.3.GA.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) Property changes on: trunk/common/plugins/org.jboss.tools.common.projecttem= plates/lib/RichFaces/richfaces-impl-3.1.3.GA.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Deleted: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/R= ichFaces/richfaces-ui-3.1.0.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) Added: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/Ric= hFaces/richfaces-ui-3.1.3.GA.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) Property changes on: trunk/common/plugins/org.jboss.tools.common.projecttem= plates/lib/RichFaces/richfaces-ui-3.1.3.GA.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream --===============6742477360586768794==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 11:27:33 2008 Content-Type: multipart/mixed; boundary="===============5350962384610812887==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5564 - trunk/hibernatetools/docs/reference/en/modules. Date: Wed, 09 Jan 2008 11:27:32 -0500 Message-ID: --===============5350962384610812887== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-09 11:27:32 -0500 (Wed, 09 Jan 2008) New Revision: 5564 Modified: trunk/hibernatetools/docs/reference/en/modules/ant.xml trunk/hibernatetools/docs/reference/en/modules/codegen.xml Log: http://jira.jboss.com/jira/browse/JBDS-173 - highlighting some meaningful w= ords Modified: trunk/hibernatetools/docs/reference/en/modules/ant.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/hibernatetools/docs/reference/en/modules/ant.xml 2008-01-09 16:20= :46 UTC (rev 5563) +++ trunk/hibernatetools/docs/reference/en/modules/ant.xml 2008-01-09 16:27= :32 UTC (rev 5564) @@ -142,6 +142,10 @@ = + + + + = ]]> Modified: trunk/hibernatetools/docs/reference/en/modules/codegen.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/hibernatetools/docs/reference/en/modules/codegen.xml 2008-01-09 1= 6:20:46 UTC (rev 5563) +++ trunk/hibernatetools/docs/reference/en/modules/codegen.xml 2008-01-09 1= 6:27:32 UTC (rev 5564) @@ -2,34 +2,34 @@ Controlling POJO code generation = - When using - <hbm2java> or the eclipse plugin= to generate POJO - java code you have the possibility to control certain aspects of the code - generation. This is primarily done through the <meta> tag in the - mapping files. The following section describes the possible meta tags and - their use. + When using + <hbm2java> + or the eclipse plugin to generate POJO java code you have = the possibility to control + certain aspects of the code generation. This is primarily done through= the <meta> + tag in the mapping files. The following section describes the possible= meta tags and their use. =
The <literal><meta></literal> attribute = - The - <meta> tag is a simple way of - annotating the - hbm.xml with information, so tools= have - a natural place to store/read information that is not directly related= to - the Hibernate core. + The + <meta> + tag is a simple way of annotating the + hbm.xml + with information, so tools have a natural place to store= /read information that is + not directly related to the Hibernate core. = - You can use the - <meta> tag to e.g. tell - - <hbm2java> to only generate = - "protected" setters, have - classes always implement a certain set of interfaces or even have them - extend a certain base class and even more. + You can use the + <meta> + tag to e.g. tell + <hbm2java> + to only generate + "protected" + setters, have classes always implement a certain set of = interfaces or even have + them extend a certain base class and even more. = The following example shows how to use various - <meta> - attributes and the resulting java code. + <meta> + attributes and the resulting java code. = <class name=3D"Person"> <meta attribute=3D"class-description"> @@ -47,9 +47,9 @@ </class> = The above - hbm.xml will produce something like = the following (code - shortened for better understanding). Notice the Javadoc comment and the - protected set methods: + hbm.xml + will produce something like the following (code shortene= d for better + understanding). Notice the Javadoc comment and the protected set met= hods: = // default package = @@ -100,9 +100,9 @@ Supported meta tags = - + = - + = @@ -114,172 +114,200 @@ = - class-description + + class-description + = inserted into the javadoc for classes = - field-description + + field-description + = inserted into the javadoc for fields/properties = - interface + + interface + = - If true an interface is generated instead of an - class. + If true an interface is generated instead of an class.<= /entry> = - implements + + implements + = interface the class should implement = - extends + + extends + = - class the class should extend (ignored for - subclasses) + class the class should extend (ignored for subclasses)<= /entry> = - generated-class + + generated-class + = overrule the name of the actual class generated = - scope-class + + scope-class + = scope for class = - scope-set + + scope-set + = scope for setter method = - scope-get + + scope-get + = scope for getter method = - scope-field + + scope-field + = scope for actual field = - default-value + + default-value + = default initialization value for a field = - use-in-tostring + + use-in-tostring + = - include this property in the - toString() + include this property in the toString() = - use-in-equals + + use-in-equals + = - include this property in the equals() - and hashCode() method. If no use-in-equals = is - specified, no equals/hashcode will be generated. + include this property in the equals() and + hashCode() method. If no use-in-equals is= specified, no + equals/hashcode will be generated. = - gen-property + + gen-property + = - property will not be generated if false (use with - care) + property will not be generated if false (use with care)= = - property-type + + property-type + = - Overrides the default type of property. Use this with a= ny - tag's to specify the concrete type instead of just Object. + Overrides the default type of property. Use this with a= ny tag's to specify the + concrete type instead of just Object. = - class-code + + class-code + = - Extra code that will inserted at the end of the - class + Extra code that will inserted at the end of the class = - extra-import + + extra-import + = - Extra import that will inserted at the end of all other - imports + Extra import that will inserted at the end of all other= imports = Attributes declared via the - <meta> tag are - per default - "inherited" inside an - hbm.xml file. + <meta> + tag are per default + "inherited" + inside an + hbm.xml + file. = - What does that mean? It means that if you e.g want to have all y= our - classes implement IAuditable then you just add an - - <meta - attribute=3D"implements">IAuditable</meta> in the = top of - the - hbm.xml file, just after - - <hibernate-mapping>. Now all= classes defined in - that - hbm.xml file will implement - IAuditable! + What does that mean? It means that if you e.g want to have all y= our classes implement + IAuditable then you just add an <= meta + attribute=3D"implements">IAuditable</meta> in = the top of the + hbm.xml + file, just after + <hibernate-mapping> + . Now all classes defined in that + hbm.xml + file will implement IAuditable! = - This applies to all - <meta>-tags. Thus it can also e.g. be used to - specify that all fields should be declare protected, instead of the - default private. This is done by adding <meta - attribute=3D"scope-field">protected</meta> at e.g. = just - under the <class> tag and all fields of that - class will be protected. - + + This applies to all + <meta>-tags. Thus it can also e.g. be use= d to specify that + all fields should be declare protected, instead of the default pri= vate. This is done by + adding <meta + attribute=3D"scope-field">protected</meta> at e= .g. just under + the <class> tag and all fields of that cl= ass will be + protected. + = To avoid having a - <meta> tag inherited then - you can simply specify - inherit =3D "false" for the - attribute, e.g. - <meta attribute =3D "scope-class" - inherit =3D "false">public abstract</meta> will r= estrict - the - "class-scope" to the cu= rrent class, not the subclasses. + <meta> + tag inherited then you can simply specify inh= erit =3D "false" + for the attribute, e.g. <meta attribute =3D "scope-cla= ss" inherit =3D + "false">public abstract</meta> will restrict t= he + "class-scope" + to the current class, not the subclasses. =
Recommendations = - The following are some good practices when using - - <meta> attributes. + The following are some good practices when using + <meta> + attributes. =
- Dangers of a class level <literal>use-in-string and - use-in-equals</literal> meta attributes when having bi-directional - associations + Dangers of a class level <literal>use-in-string and use-in-= equals</literal> meta + attributes when having bi-directional associations = - If we have two entities with a bi-directional association - between them and define at class scope level the meta attributes: - use-in-string, use-in-equals: + If we have two entities with a bi-directional association be= tween them and define at + class scope level the meta attributes: + use-in-string + , + use-in-equals + : = <hibernate-mapping> <class name=3D"Person"> @@ -290,7 +318,8 @@ </hibernate-mapping> = And for - Event.hbm file: + Event.hbm + file: = <hibernate-mapping> = <class name=3D"events.Event" table=3D"EVENTS"> @@ -309,19 +338,21 @@ </hibernate-mapping> = Then - <hbm2java> will assume you= want to - include all properties and collections in the - toString()/equals() methods and this can result= in - infinite recursive calls. + <hbm2java> + will assume you want to include all properties and c= ollections in the + toString()/equals() = methods and this can + result in infinite recursive calls. = - To remedy this you have to decide which side of the associat= ion - will include the other part (if at all) in the - toString()/equals() methods. Therefore it is no= t a - good practice to put at class scope such meta attributes, unless y= ou - are defining a class without bi-directional associations. + To remedy this you have to decide which side of the associat= ion will include the other + part (if at all) in the toString()/equals() + methods. Therefore it is not a good practice to put at class sco= pe such + meta + attributes, unless you are defining a class without = bi-directional + associations. = - We recomend instead to add the meta - attributes at the property level: + We recomend instead to add the + meta + attributes at the property level: = <hibernate-mapping> = <class name=3D"events.Event" table=3D"EVENTS"> = @@ -364,75 +395,68 @@
=
- Be aware of putting at class scope level - <literal><meta></literal> attribute - <literal>use-in-equals</literal> + Be aware of putting at class scope level <literal><meta&= gt;</literal> + attribute <literal>use-in-equals</literal> = - For equal()/hashCode() method generation,= you - have to take into account that the attributes that participate on = such - method definition, should take into account only attributes with - business meaning (the name, social security number, etc, but no - generated id's, for example). + For equal()/hashCode() method generatio= n, + you have to take into account that the attributes that participa= te on such method + definition, should take into account only attributes with busine= ss meaning (the name, + social security number, etc, but no generated id's, for example)= . = This is important because Java's hashbased collections, such= as - java.util.Set relies on equals() and hashcode() to be correct and = not - change for objects in the set; this can be a problem if the id gets - assigned for an object after you inserted it into a set. + java.util.Set relies on equals(= ) and + hashcode() to be correct and not change f= or objects in the set; + this can be a problem if the id gets assigned for an object afte= r you inserted it into a + set. = Therefore automatically configuration the generation of - equals()/hashCode() methods specifying at class - scope level the - <meta> attribute - use-in-equals could be a dangerous decision that - could produce non expected side-effect. + equals()/hashCode() methods specifying at c= lass scope level the + <meta> + attribute use-in-equals could be a dangerous decision that + could produce non expected side-effect. = - Here you can = get more in-depth - explanation on the subject of equals() and hashcode(). + Here you can get more in-depth + explanation on the subject of equals() and = hashcode().
=
- Advanced <literal><meta></literal> attribute - examples + Advanced <emphasis><property><meta></property></emphasi= s> attribute examples = - This section shows an example for using meta attributes (inclu= ding - userspecific attributes) together with the code generation features = in - Hibernate Tools. + This section shows an example for using meta attributes (inclu= ding userspecific + attributes) together with the code generation features in Hibernate + Tools. = - The usecase being implemented is to automatically insert some = pre- - and post-conditions into the getter and setters of the generated POJ= O. - + The usecase being implemented is to automatically insert some = pre- and post-conditions + into the getter and setters of the generated POJO. =
Generate pre/post-conditions for methods = - With an - <meta attribute=3D"class-code">, - you can add additional methods on a given class, nevertheless such - - <meta> attribute can not= be used at property - scope level and Hibernate Tools does not prov= ide such - - <meta> attributes. + With an <meta attribute=3D"class-code">, you can add + additional methods on a given class, nevertheless such + <meta> + attribute can not be used at property scope level an= d Hibernate + Tools does not provide such + <meta> + attributes. = - A possibly solution for this is to modify the freemarker - templates responsible for generating the POJO's. If you look inside - - hibernate-tools.jar, you can f= ind the template: - - pojo/PojoPropertyAccessor.ftl<= /para> + A possibly solution for this is to modify the freemarker tem= plates responsible for + generating the POJO's. If you look inside + hibernate-tools.jar + , you can find the template: + pojo/PojoPropertyAccessor.ftl + = - This file is as the named indicates used to generate property - accessors for pojo's. + This file is as the named indicates used to generate propert= y accessors for pojo's. = Extract the - PojoPropertyAccessor.ftl into a - local folder i.e. - ${hbm.template.path}, respecti= ng - the whole path, for example: - - ${hbm.template.path}/pojo/PojoPropertyAccessor.ftl + PojoPropertyAccessor.ftl + into a local folder i.e. + ${hbm.template.path} + , respecting the whole path, for example: + ${hbm.template.path}/pojo/PojoPropertyAccessor.ftl + = The contents of the file is something like this: = @@ -446,9 +470,8 @@ } </#foreach> = - We can add conditionally pre/post-conditions on our - set method generation just adding a little - Freemarker syntax to the above source code: + We can add conditionally pre/post-conditions on our set method + generation just adding a little Freemarker syntax to the above s= ource code: = <#foreach property in pojo.getAllPropertiesIter= ator()> ${pojo.getPropertyGetModifiers(property)} ${pojo.getJavaTypeName(prope= rty, jdk5)} ${pojo.getGetterSignature(property)}() { @@ -468,18 +491,16 @@ = Now if in any - *hbm.xml file we define the - - <meta> attributes: - pre-cond or post-cond, their - contents will be generated into the body of the relevant - set method. + *hbm.xml + file we define the + <meta> + attributes: pre-cond or = post-cond, their + contents will be generated into the body of the relevant set method. = - As an example let us add a pre-condition for property - name preventing no Person can - have an empty name. So we have to modify the - - Person.hbm.xml file like this:= + As an example let us add a pre-condition for property name + preventing no Person can have an empty name. = So we have to modify the + Person.hbm.xml + file like this: = <hibernate-mapping> <class name=3D"Person"> @@ -496,20 +517,19 @@ </class> </hibernate-mapping> = - I) If you don'' use <[[CDATA[]]> - you have to scape the & symbol, i.e.: &amp; - II). Note that we - are referring to "firstName" directly and this is the parameter na= me - not the actual field name. If you want to refer the field you have= to - use "this.firstName" instead. - + + I) If you don'' use <[[CDATA[]]> you have + to scape the & symbol, i.e.: &amp; + II). Note that we are referring to "firstName" directly an= d this is the parameter + name not the actual field name. If you want to refer the field= you have to use + "this.firstName" instead. + = - Finally we have to generate the Person.java - class, for this we can use both Eclipse and Ant as long as you - remember to set or fill in the templatepath setting. For Ant we - configure - <hibernatetool> task via - the templatepath attribute as in: + Finally we have to generate the Person.java class, for this we + can use both Eclipse and Ant as long as you remember to set or f= ill in the templatepath + setting. For Ant we configure + <hibernatetool> + task via the templatepath attribu= te as in: = <target name=3D"hbm2java"> @@ -531,10 +551,10 @@ </target> = Invoking the target - <hbm2java> will - generate on the - ${hbm2java.dest.dir} the file - Person.java: + <hbm2java> + will generate on the + ${hbm2java.dest.dir} + the file Person.java: = // default package import java.io.Serializable; @@ -571,8 +591,8 @@ } } = - +
-
\ No newline at end of file + --===============5350962384610812887==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 11:58:44 2008 Content-Type: multipart/mixed; boundary="===============0598747736414800019==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5565 - trunk/jsf/docs/userguide/en/images/more_editors. Date: Wed, 09 Jan 2008 11:58:44 -0500 Message-ID: --===============0598747736414800019== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-09 11:58:44 -0500 (Wed, 09 Jan 2008) New Revision: 5565 Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_1.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_10.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_11.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_12.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_13.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_14.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_2.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_3.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_4.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_5.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_6.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_7.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_9.png Log: http://jira.jboss.com/jira/browse/JBDS-226 Screens retaken in 96 resolution= + scale parameter is defined Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_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/jsf/docs/userguide/en/images/more_editors/more_editors_10.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_11.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_12.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_13.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_14.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_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/jsf/docs/userguide/en/images/more_editors/more_editors_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/jsf/docs/userguide/en/images/more_editors/more_editors_4.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/more_editors/more_editors_5.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/more_editors/more_editors_6.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/more_editors/more_editors_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/jsf/docs/userguide/en/images/more_editors/more_editors_9.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) --===============0598747736414800019==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 11:58:53 2008 Content-Type: multipart/mixed; boundary="===============9196612850444490699==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5566 - trunk/jsf/docs/userguide/en/modules. Date: Wed, 09 Jan 2008 11:58:53 -0500 Message-ID: --===============9196612850444490699== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-09 11:58:53 -0500 (Wed, 09 Jan 2008) New Revision: 5566 Modified: trunk/jsf/docs/userguide/en/modules/editors.xml Log: http://jira.jboss.com/jira/browse/JBDS-226 Screens retaken in 96 resolution= + scale parameter is defined 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 2008-01-09 16:58:44 UTC= (rev 5565) +++ trunk/jsf/docs/userguide/en/modules/editors.xml 2008-01-09 16:58:53 UTC= (rev 5566) @@ -1196,7 +1196,7 @@ Adding a New Tag - + @@ -1207,7 +1207,7 @@ Adding a New Attribute - + @@ -1217,7 +1217,7 @@ Content Assist - + @@ -1303,7 +1303,7 @@ Content Assist - + --===============9196612850444490699==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 12:21:15 2008 Content-Type: multipart/mixed; boundary="===============8652723661774766683==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5567 - in trunk/jsf/docs/userguide/en/images: web_projects and 1 other directory. Date: Wed, 09 Jan 2008 12:21:15 -0500 Message-ID: --===============8652723661774766683== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-09 12:21:15 -0500 (Wed, 09 Jan 2008) New Revision: 5567 Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_25.png trunk/jsf/docs/userguide/en/images/web_projects/web_projects_14.png trunk/jsf/docs/userguide/en/images/web_projects/web_projects_15.png trunk/jsf/docs/userguide/en/images/web_projects/web_projects_16.png Log: http://jira.jboss.com/jira/browse/JBDS-226 Screens retaken in 96 resolution= + scale parameter is defined Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_25.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/web_projects/web_projects_14.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/web_projects/web_projects_15.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/web_projects/web_projects_16.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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) --===============8652723661774766683==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 14:05:11 2008 Content-Type: multipart/mixed; boundary="===============3765457591573776625==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5568 - in trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console: viewers and 1 other directories. Date: Wed, 09 Jan 2008 14:05:11 -0500 Message-ID: --===============3765457591573776625== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vyemialyanchyk Date: 2008-01-09 14:05:11 -0500 (Wed, 09 Jan 2008) New Revision: 5568 Added: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/viewers/ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/viewers/MTreeViewer.java Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/views/KnownConfigurationsView.java Log: http://jira.jboss.org/jira/browse/JBIDE-1482 Added: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/h= ibernate/eclipse/console/viewers/MTreeViewer.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.console/src/org/hibe= rnate/eclipse/console/viewers/MTreeViewer.java (rev= 0) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/viewers/MTreeViewer.java 2008-01-09 19:05:11 UTC (rev= 5568) @@ -0,0 +1,196 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ +package org.hibernate.eclipse.console.viewers; + +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; +import java.util.ArrayList; + +import org.eclipse.core.runtime.Assert; +import org.eclipse.jface.viewers.AbstractTreeViewer; +import org.eclipse.jface.viewers.TreePath; +import org.eclipse.jface.viewers.TreeViewer; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Item; +import org.eclipse.swt.widgets.Widget; + +public class MTreeViewer extends TreeViewer { + + public MTreeViewer(Composite parent, int style) { + super(parent, style); + } + + // some little hack + public boolean isBusy() { + = + Object obj =3D null; + Class clazz =3D org.eclipse.jface.viewers.ColumnViewer.class; + try { + Method hiddenMethod =3D clazz.getDeclaredMethod("isBusy"); + if (null !=3D hiddenMethod) { + hiddenMethod.setAccessible(true); + obj =3D hiddenMethod.invoke(this); + } + } catch (IllegalArgumentException e) { + e.printStackTrace(); + } catch (IllegalAccessException e) { + e.printStackTrace(); + } catch (InvocationTargetException e) { + e.printStackTrace(); + } catch (SecurityException e) { + e.printStackTrace(); + } catch (NoSuchMethodException e) { + e.printStackTrace(); + } + if (obj instanceof Boolean) { + return ((Boolean)obj).booleanValue(); + } + return false; + } + + /** + * Adds the given child elements to this viewer as children of the given + * parent element. If this viewer does not have a sorter, the elements are + * added at the end of the parent's list of children in the order given; + * otherwise, the elements are inserted at the appropriate positions. + *

+ * This method should be called (by the content provider) when elements h= ave + * been added to the model, in order to cause the viewer to accurately + * reflect the model. This method only affects the viewer, not the model. + *

+ * = + * @param parentElementOrTreePath + * the parent element + * @param childElements + * the child elements to add + */ + public void add(Object parentElementOrTreePath, Object[] childElements) { + Assert.isNotNull(parentElementOrTreePath); + assertElementsNotNull(childElements); + if (isBusy()) + return; + Widget[] widgets =3D internalFindItems2(parentElementOrTreePath); + // If parent hasn't been realized yet, just ignore the add. + if (widgets.length =3D=3D 0) { + return; + } + + for (int i =3D 0; i < widgets.length; i++) { + internalAdd(widgets[i], parentElementOrTreePath, childElements); + } + } + + /** + * Find the items for the given element of tree path + * = + * @param parentElementOrTreePath + * the element or tree path + * @return the items for that element + */ + protected Widget[] internalFindItems2(Object parentElementOrTreePath) { + Widget[] widgets; + if (parentElementOrTreePath instanceof TreePath) { + widgets =3D internalFindItems(parentElementOrTreePath); + } else { + widgets =3D findItems2(parentElementOrTreePath); + } + return widgets; + } + = + /** + * Finds the widgets which represent the given element. The returned array + * must not be changed by clients; it might change upon calling other + * methods on this viewer. + *

+ * This method was introduced to support multiple equal elements in a vie= wer + * (@see {@link AbstractTreeViewer}). Multiple equal elements are only + * supported if the element map is enabled by calling + * {@link #setUseHashlookup(boolean)} and passing true. + *

+ *

+ * The default implementation of this method tries first to find the widg= et + * for the given element assuming that it is the viewer's input; this is + * done by calling doFindInputItem. If it is not found + * there, the widgets are looked up in the internal element map provided + * that this feature has been enabled. If the element map is disabled, the + * widget is found via doFindInputItem. + *

+ * = + * @param element + * the element + * @return the corresponding widgets + */ + protected Widget[] findItems2(Object element) { + Widget result =3D doFindInputItem(element); + if (result !=3D null) { + return new Widget[] { result }; + } + // if we have an element map use it, otherwise search for the item. + if (usingElementMap()) { + return findItems2(element); + } + return doFindItems(element); + } + + /** + * Recursively tries to find the given element. + * = + * @param parent + * the parent item + * @param element + * the element + * @return Widget + */ + protected ArrayList internalFindItem(Item parent, Object element)= { + + ArrayList ret =3D new ArrayList(); + // compare with node + Object data =3D parent.getData(); + if (data !=3D null) { + if (equals(data, element)) { + ret.add(parent); + return ret; + } + } + // recurse over children + Item[] items =3D getChildren(parent); + for (int i =3D 0; i < items.length; i++) { + Item item =3D items[i]; + ArrayList o =3D internalFindItem(item, element); + if (null !=3D o) { + ret.addAll(o); + } + } + return ret; + } + + protected Widget[] doFindItems(Object element) { + Widget[] ret =3D new Widget[0]; + // compare with root + Object root =3D getRoot(); + if (null =3D=3D root) { + return ret; + } + ArrayList res =3D new ArrayList(); + Item[] items =3D getChildren(getControl()); + if (items !=3D null) { + for (int i =3D 0; i < items.length; i++) { + ArrayList o =3D internalFindItem(items[i], element); + if (null !=3D o) { + res.addAll(o); + } + } + } + ret =3D res.toArray(ret); + return ret; + } + +} Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/views/KnownConfigurationsView.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.console/src/org/hibe= rnate/eclipse/console/views/KnownConfigurationsView.java 2008-01-09 17:21:1= 5 UTC (rev 5567) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/views/KnownConfigurationsView.java 2008-01-09 19:05:1= 1 UTC (rev 5568) @@ -49,6 +49,7 @@ import org.hibernate.console.node.BaseNode; import org.hibernate.eclipse.console.actions.EditConsoleConfiguration; import org.hibernate.eclipse.console.actions.OpenMappingAction; +import org.hibernate.eclipse.console.viewers.MTreeViewer; import org.hibernate.eclipse.console.workbench.xpl.AnyAdaptableLabelProvid= er; import org.hibernate.mapping.Property; import org.hibernate.mapping.RootClass; @@ -74,7 +75,8 @@ } = public void createPartControl(Composite parent) { - viewer =3D new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROL= L); + //viewer =3D new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCR= OLL); + viewer =3D new MTreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCRO= LL); = /*viewer.setContentProvider(new ConfigurationsContentProvider() );*/ = --===============3765457591573776625==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 16:00:20 2008 Content-Type: multipart/mixed; boundary="===============7033952880415213934==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5569 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test: META-INF and 12 other directories. Date: Wed, 09 Jan 2008 16:00:20 -0500 Message-ID: --===============7033952880415213934== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-09 16:00:20 -0500 (Wed, 09 Jan 2008) New Revision: 5569 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/.classpath trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/.project trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/.settings/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/.settings/org.eclipse.jdt.core.prefs trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/.settings/org.eclipse.jst.common.project.facet.core.prefs trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/.settings/org.eclipse.wst.common.component trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/.settings/org.eclipse.wst.common.project.facet.core.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/.settings/org.jboss.tools.jst.web.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/JavaSource/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/JavaSource/resources.properties trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/META-INF/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/META-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/.faces-config.xml.jsfdia trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/classes/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/classes/resources.properties trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/faces-config.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/lib/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/lib/common-annotations.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/lib/commons-beanutils.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/lib/commons-collections.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/lib/commons-digester.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/lib/commons-logging.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/lib/el-api.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/lib/el-ri.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/lib/jsf-api.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/lib/jsf-facelets.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/lib/jsf-impl.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/lib/jsf-tlds.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/lib/jstl.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/lib/standard.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/WEB-INF/web.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/index.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/component.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/composition.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/debug.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/decorate.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/define.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/fragment.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/include.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/insert.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/param.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/remove.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/repeat.xhtml Removed: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= test.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/ImportFaceletsComponents.java Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/META-INF/MANIFEST.= MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/build.properties trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsAllTests.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsComponentTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1504 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/META-INF/MA= NIFEST.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/tests/org.jboss.tools.jsf.vpe.facelets.test/META-INF/MANIFEST= .MF 2008-01-09 19:05:11 UTC (rev 5568) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/META-INF/MANIFEST= .MF 2008-01-09 21:00:20 UTC (rev 5569) @@ -10,5 +10,9 @@ org.junit, org.eclipse.core.resources, org.eclipse.ui.ide, - org.jboss.tools.common + org.jboss.tools.common, + org.jboss.tools.jsf.vpe.ui.test, + org.jboss.tools.jst.jsp, + org.jboss.tools.vpe.xulrunner, + org.mozilla.xpcom Eclipse-LazyStart: true Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/build.prope= rties =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/build.properties = 2008-01-09 19:05:11 UTC (rev 5568) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/build.properties = 2008-01-09 21:00:20 UTC (rev 5569) @@ -1,4 +1,9 @@ -source.. =3D src/ -output.. =3D bin/ +source.facelets-tests.jar =3D src/ +output.facelets-tests.jar =3D bin/ bin.includes =3D META-INF/,\ - . + facelets-tests.jar,\ + resources/ +src.includes =3D META-INF/,\ + build.properties,\ + resources/,\ + src/ Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/.classpath (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/.classpath 2008-01-09 21:00:20 UTC (rev 5569) @@ -0,0 +1,8 @@ + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/.project (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/.project 2008-01-09 21:00:20 UTC (rev 5569) @@ -0,0 +1,36 @@ + + + faceletsTest + + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.jboss.tools.common.verification.verifybuilder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.jdt.core.javanature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.jboss.tools.jsf.jsfnature + org.eclipse.wst.common.project.facet.core.nature + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/.settings/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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/.settings/org.eclipse.jdt.core.prefs (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/.settings/org.eclipse.jdt.core.prefs 2008-01-09 21:00:20 UTC (rev 556= 9) @@ -0,0 +1,7 @@ +#Fri Jan 04 16:25:56 GMT+02:00 2008 +eclipse.preferences.version=3D1 +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 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/.settings/org.eclipse.jst.common.project.facet.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/.settings/org.eclipse.jst.common.project.facet.core.prefs = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/.settings/org.eclipse.jst.common.project.facet.core.prefs 2008-01-09 = 21:00:20 UTC (rev 5569) @@ -0,0 +1,4 @@ +#Fri Jan 04 16:25:56 GMT+02:00 2008 +classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER/owners=3Djst.java= \:5.0 +classpath.helper/org.eclipse.jst.server.core.container\:\:org.eclipse.jst.= server.tomcat.runtimeTarget\:\:Apache\ Tomcat\ v6.0/owners=3Djst.web\:2.4 +eclipse.preferences.version=3D1 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/.settings/org.eclipse.wst.common.component =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/.settings/org.eclipse.wst.common.component (r= ev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/.settings/org.eclipse.wst.common.component 2008-01-09 21:00:20 UTC (r= ev 5569) @@ -0,0 +1,9 @@ + + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/.settings/org.eclipse.wst.common.project.facet.core.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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/.settings/org.eclipse.wst.common.project.facet.core.xml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/.settings/org.eclipse.wst.common.project.facet.core.xml 2008-01-09 21= :00:20 UTC (rev 5569) @@ -0,0 +1,8 @@ + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/.settings/org.jboss.tools.jst.web.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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/.settings/org.jboss.tools.jst.web.xml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/.settings/org.jboss.tools.jst.web.xml 2008-01-09 21:00:20 UTC (rev 55= 69) @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/JavaSource/resources.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/JavaSource/resources.properties (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/JavaSource/resources.properties 2008-01-09 21:00:20 UTC (rev 5569) @@ -0,0 +1,2 @@ +prompt=3DYour Name\: +greeting=3DHello Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/META-INF/MANIFEST.MF (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/META-INF/MANIFEST.MF 2008-01-09 21:00:20 UTC (rev 5569) @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: = + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/WEB-INF/.faces-config.xml.jsfdia =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/WEB-INF/.faces-config.xml.jsfdia (= rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/WEB-INF/.faces-config.xml.jsfdia 2008-01-09 21:00:20 UTC (= rev 5569) @@ -0,0 +1,6 @@ + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/WEB-INF/classes/resources.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/WEB-INF/classes/resources.properties = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/WEB-INF/classes/resources.properties 2008-01-09 21:00:20 U= TC (rev 5569) @@ -0,0 +1,2 @@ +prompt=3DYour Name\: +greeting=3DHello Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/WEB-INF/faces-config.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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/WEB-INF/faces-config.xml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/WEB-INF/faces-config.xml 2008-01-09 21:00:20 UTC (rev 5569) @@ -0,0 +1,9 @@ + + + + + com.sun.facelets.FaceletViewHandler + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/= resources/faceletsTest/WebContent/WEB-INF/lib/common-annotations.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/= resources/faceletsTest/WebContent/WEB-INF/lib/commons-beanutils.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/= resources/faceletsTest/WebContent/WEB-INF/lib/commons-collections.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/= resources/faceletsTest/WebContent/WEB-INF/lib/commons-digester.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/= resources/faceletsTest/WebContent/WEB-INF/lib/commons-logging.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/WEB-INF/lib/el-api.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/= resources/faceletsTest/WebContent/WEB-INF/lib/el-api.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/WEB-INF/lib/el-ri.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/= resources/faceletsTest/WebContent/WEB-INF/lib/el-ri.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/WEB-INF/lib/jsf-api.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/= resources/faceletsTest/WebContent/WEB-INF/lib/jsf-api.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/WEB-INF/lib/jsf-facelets.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/= resources/faceletsTest/WebContent/WEB-INF/lib/jsf-facelets.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/WEB-INF/lib/jsf-impl.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/= resources/faceletsTest/WebContent/WEB-INF/lib/jsf-impl.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/WEB-INF/lib/jsf-tlds.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/= resources/faceletsTest/WebContent/WEB-INF/lib/jsf-tlds.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/WEB-INF/lib/jstl.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/= resources/faceletsTest/WebContent/WEB-INF/lib/jstl.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/= resources/faceletsTest/WebContent/WEB-INF/lib/standard.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/WEB-INF/web.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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/WEB-INF/web.xml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/WEB-INF/web.xml 2008-01-09 21:00:20 UTC (rev 5569) @@ -0,0 +1,42 @@ + + + Facelets StarterKit + faceletsTest + + javax.faces.DEFAULT_SUFFIX + .xhtml + + + facelets.REFRESH_PERIOD + 2 + + + facelets.DEVELOPMENT + true + + + javax.faces.STATE_SAVING_METHOD + client + + + com.sun.faces.validateXml + true + + + com.sun.faces.verifyObjects + true + + + Faces Servlet + javax.faces.webapp.FacesServlet + 1 + + + Faces Servlet + *.jsf + + + BASIC + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/index.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/index.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/index.jsp 2008-01-09 21:00:20 UTC (rev 5569) @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/pages/components/component.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/component.xhtml (= rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/component.xhtml 2008-01-09 21:00:20 UTC (= rev 5569) @@ -0,0 +1,18 @@ + + + + +Component Test + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/pages/components/composition.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/composition.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/composition.xhtml 2008-01-09 21:00:20 UTC= (rev 5569) @@ -0,0 +1,14 @@ + + + = + + = + JSF 1.2 and Facelets under Tomcat. KickSt= art Application + = + JSF 1.2 Hello Application + = + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/pages/components/debug.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/debug.xhtml (rev = 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/debug.xhtml 2008-01-09 21:00:20 UTC (rev = 5569) @@ -0,0 +1,14 @@ + + + + +Debug Test + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/pages/components/decorate.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/decorate.xhtml (r= ev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/decorate.xhtml 2008-01-09 21:00:20 UTC (r= ev 5569) @@ -0,0 +1,14 @@ + + + = + + = + JSF 1.2 and Facelets under Tomcat. KickSt= art Application + = + JSF 1.2 Hello Application + = + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/pages/components/define.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/define.xhtml (rev= 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/define.xhtml 2008-01-09 21:00:20 UTC (rev= 5569) @@ -0,0 +1,13 @@ + + + + JSF 1.2 and Facelets under Tomcat. KickSt= art Application + Greeting Page + + #{person.name}! + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/pages/components/fragment.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/fragment.xhtml (r= ev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/fragment.xhtml 2008-01-09 21:00:20 UTC (r= ev 5569) @@ -0,0 +1,18 @@ + + + + +Fragment Test + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/pages/components/include.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/include.xhtml (re= v 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/include.xhtml 2008-01-09 21:00:20 UTC (re= v 5569) @@ -0,0 +1,15 @@ + + + + +Debug Test + + + +

ui:include test page

+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/pages/components/insert.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/insert.xhtml (rev= 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/insert.xhtml 2008-01-09 21:00:20 UTC (rev= 5569) @@ -0,0 +1,66 @@ + + + + +<ui:insert name=3D"pageTitle">Page Title</ui:insert> + + + + + + + + + + + + + + + + + + + + + + +
Page= Header +
+ + + + + + +
Page Body
+
+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/pages/components/param.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/param.xhtml (rev = 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/param.xhtml 2008-01-09 21:00:20 UTC (rev = 5569) @@ -0,0 +1,17 @@ + + + + +Param Test + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/pages/components/remove.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/remove.xhtml (rev= 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/remove.xhtml 2008-01-09 21:00:20 UTC (rev= 5569) @@ -0,0 +1,18 @@ + + + + +Remove Test + + + + + This will be removed. + + This won't be compiled either + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/pages/components/repeat.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/repeat.xhtml (rev= 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/repeat.xhtml 2008-01-09 21:00:20 UTC (rev= 5569) @@ -0,0 +1,20 @@ + + + + +Repeat Test + + +
+ +
#{dept.name}
+ +
#{emp.lastName}, #{emp.firstName}
+
+
+
+ + \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/fa= celetstest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsAllTests.java 2008-01-09 19:05:11 UTC (rev= 5568) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsAllTests.java 2008-01-09 21:00:20 UTC (rev= 5569) @@ -7,7 +7,7 @@ = public static Test suite() { = - TestSuite suite =3D new TestSuite("Tests for Vpe Facelets components"); /= / $NON-NLS-1$ + TestSuite suite =3D new TestSuite("Tests for Vpe Facelets components"); // $JUnit-BEGIN$ = suite.addTestSuite(FaceletsComponentTest.class); Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-09 19:05:11 UTC= (rev 5568) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-09 21:00:20 UTC= (rev 5569) @@ -10,20 +10,19 @@ *************************************************************************= *****/ package org.jboss.tools.jsf.vpe.facelets.test; = -import junit.framework.TestCase; +import java.util.ArrayList; +import java.util.List; = import org.eclipse.core.resources.IFile; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.ILogListener; -import org.eclipse.core.runtime.IPath; -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Platform; -import org.eclipse.core.runtime.jobs.Job; -import org.eclipse.swt.widgets.Display; import org.eclipse.ui.IEditorInput; -import org.eclipse.ui.PartInitException; -import org.eclipse.ui.PlatformUI; import org.eclipse.ui.part.FileEditorInput; +import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; +import org.jboss.tools.vpe.editor.util.HTML; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; +import org.mozilla.interfaces.nsIDOMDocument; +import org.mozilla.interfaces.nsIDOMElement; +import org.mozilla.interfaces.nsIDOMNode; = /** * Class for testing all Seam components @@ -31,187 +30,79 @@ * @author dsakovich(a)exadel.com * = */ -public class FaceletsComponentTest extends TestCase implements ILogListene= r { +public class FaceletsComponentTest extends VpeTest { = - private final static String EDITOR_ID =3D "org.jboss.tools.jst.jsp.jsp= editor.JSPTextEditor"; // $NON-NLS-1$ - private final static String TEST_PROJECT_JAR_PATH =3D "/faceletstest.j= ar"; // $NON-NLS-1$ + // import project name + private static final String IMPORT_PROJECT_NAME =3D "faceletsTest"; = - // check warning log - private final static boolean checkWarning =3D false; - private Throwable exception; - public FaceletsComponentTest(String name) { - super(name); + super(name, IMPORT_PROJECT_NAME, FaceletsTestPlugin + .getPluginResourcePath()); } = - /** - * Perform pre-test initialization. - * = - * @throws Exception - * = - * @see TestCase#setUp() - */ - protected void setUp() throws Exception { - super.setUp(); - - // TODO: Use TestSetup to create and remove project once for all tests - // not for every one - if (ResourcesPlugin.getWorkspace().getRoot().findMember("faceletsTest") = =3D=3D null) { - - ImportFaceletsComponents.importFaceletsPages(FaceletsTestPlugin - .getPluginResourcePath() - + TEST_PROJECT_JAR_PATH); - - waitForJobs(); - delay(5000); - } - Platform.addLogListener(this); + public void testDebug() throws Throwable { + performTestForJsfComponent("components/debug.xhtml"); // $NON-NLS-1$ } = - /** - * Perform post-test cleanup. - * = - * @throws Exception - * = - * @see TestCase#tearDown() - */ - protected void tearDown() throws Exception { - super.tearDown(); - if (ResourcesPlugin.getWorkspace().getRoot().findMember("faceletsTest") != =3D null) { - ImportFaceletsComponents.removeProject(); - } - Platform.removeLogListener(this); - } + public void testDefine() throws Throwable { + TestUtil.waitForJobs(); + // set exception + setException(null); = - /** - * Process UI input but do not return for the specified time interval. - * = - * @param waitTimeMillis - * the number of milliseconds - */ - private void delay(long waitTimeMillis) { - Display display =3D Display.getCurrent(); - if (display !=3D null) { - long endTimeMillis =3D System.currentTimeMillis() + waitTimeMillis; - while (System.currentTimeMillis() < endTimeMillis) { - if (!display.readAndDispatch()) - display.sleep(); - } - display.update(); - } - // Otherwise, perform a simple sleep. - else { - try { - Thread.sleep(waitTimeMillis); - } catch (InterruptedException e) { - // Ignored. - } - } - } + // get test page path + IFile file =3D (IFile) TestUtil.getComponentPath( + "components/define.xhtml", getImportProjectName()); = - /** - * Wait until all background tasks are complete. - */ - public void waitForJobs() { - while (Job.getJobManager().currentJob() !=3D null) - delay(5000); - } + assertNotNull("Could not open specified file " + file.getFullPath(), + file); = - public void testInsert() throws PartInitException, Throwable { - performTestForFaceletComponent("insert.xhtml"); // $NON-NLS-1$ - } + IEditorInput input =3D new FileEditorInput(file); = - public void testDefine() throws PartInitException, Throwable { - performTestForFaceletComponent("define.xhtml"); // $NON-NLS-1$ - // TODO check that content from ui:defime element is shown - assertTrue("Defined content is not shown",false); - } + assertNotNull("Editor input is null", input); + // open and get editor + JSPMultiPageEditor part =3D openEditor(input); = - public void testComposite() throws PartInitException, Throwable { - performTestForFaceletComponent("composition.xhtml"); // $NON-NLS-1$ - // TODO check that related and absolute path is processed - assertTrue("Template with absolute path is not included",false); - assertTrue("Template with related path is not included",false); = - } + // get dom document + nsIDOMDocument document =3D getVpeVisualDocument(part); + nsIDOMElement element =3D document.getDocumentElement(); = - public void testComponent() throws PartInitException, Throwable { - performTestForFaceletComponent("component.xhtml"); // $NON-NLS-1$ - // TODO check that content from ui:defime element is shown - //assertTrue("Component's content is not shown",false); - } - = - public void testRemove() throws PartInitException, Throwable { - performTestForFaceletComponent("remove.xhtml"); // $NON-NLS-1$ - // TODO check that content in ui:remove isn't shown in VPE - assertTrue("Content inside ui:remove tag shouldn't be shown",false); - } - = - public void testDecorate() throws PartInitException, Throwable { - performTestForFaceletComponent("decorate.xhtml"); // $NON-NLS-1$ - // TODO check that related and absolute path is processed - assertTrue("Template with absolute path is not included",false); - assertTrue("Template with related path is not included",false); = - } + // check that element is not null + assertNotNull(element); = - public void testRepeat() throws PartInitException, Throwable { - performTestForFaceletComponent("repeat.xhtml"); // $NON-NLS-1$ - assertTrue("Component's content is not shown",false); = - } = - = - public void testDebug() throws PartInitException, Throwable { - performTestForFaceletComponent("debug.xhtml"); // $NON-NLS-1$ - } - = - public void testInclude() throws PartInitException, Throwable { - performTestForFaceletComponent("include.xhtml"); // $NON-NLS-1$ - // TODO check that absolute and related path is processed - assertTrue("Template with absolute path is not included",false); - assertTrue("Template with related path is not included",false); = - } - = - public void testFragment() throws PartInitException, Throwable { - performTestForFaceletComponent("fragment.xhtml"); // $NON-NLS-1$ - // TODO check that fragment's content is showed - assertTrue("Fragment's content is not sown",false); - } - private void performTestForFaceletComponent(String componentPage) - throws PartInitException, Throwable { - waitForJobs(); + // get root node + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); = - exception =3D null; - IPath componentPath =3D ImportFaceletsComponents - .getComponentPath(componentPage); + List elements =3D new ArrayList(); = - IFile file =3D ResourcesPlugin.getWorkspace().getRoot().getFile( - componentPath); - IEditorInput input =3D new FileEditorInput(file); + // find "span" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_SPAN); = - PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() - .openEditor(input, EDITOR_ID, true); + assertEquals(2, elements.size()); = - waitForJobs(); - delay(5000); - PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() - .closeAllEditors(true); + nsIDOMElement elementSpan0 =3D (nsIDOMElement) elements.get(0) + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + nsIDOMElement elementSpan1 =3D (nsIDOMElement) elements.get(1) + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); = - if (exception !=3D null) { - throw exception; + /* + * nsIDOMText text0 =3D (nsIDOMText) elementSpan0.getFirstChild(); + * nsIDOMText text1 =3D (nsIDOMText) elementSpan1.getFirstChild(); + * System.out.println(text0.getNodeValue()); + * assertEquals(elementInput0.getAttribute("value"), ""); + * assertNotNull(elementInput1.getAttribute("value"), ""); + * assertNotNull(elementInput2.getAttribute("value"), "test"); + */ + + // TODO Dzmitry Sakovich Test not complete + assertTrue("Defined content is not shown", false); + if (getException() !=3D null) { + throw getException(); } } = - public void logging(IStatus status, String plugin) { - switch (status.getSeverity()) { - case IStatus.ERROR: - exception =3D status.getException(); - break; - case IStatus.WARNING: - if (checkWarning) - exception =3D status.getException(); - break; - default: - break; - } - + public void testInsert() throws Throwable { + performTestForJsfComponent("components/insert.xhtml"); // $NON-NLS-1$ } = } Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbos= s/tools/jsf/vpe/facelets/test/ImportFaceletsComponents.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/ImportFaceletsComponents.java 2008-01-09 19:05:11 = UTC (rev 5568) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/ImportFaceletsComponents.java 2008-01-09 21:00:20 = UTC (rev 5569) @@ -1,92 +0,0 @@ -package org.jboss.tools.jsf.vpe.facelets.test; - -import java.io.IOException; -import java.lang.reflect.InvocationTargetException; -import java.util.zip.ZipFile; - -import org.eclipse.core.resources.IProject; -import org.eclipse.core.resources.IResource; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.IPath; -import org.eclipse.core.runtime.NullProgressMonitor; -import org.eclipse.ui.PlatformUI; -import org.eclipse.ui.dialogs.IOverwriteQuery; -import org.eclipse.ui.internal.wizards.datatransfer.ZipLeveledStructurePro= vider; -import org.eclipse.ui.wizards.datatransfer.ImportOperation; - -/** - * Class for importing project from jar file - * = - * @author dsakovich(a)exadel.com - * = - */ -public class ImportFaceletsComponents { - private static final String PROJECT_NAME =3D "faceletsTest"; // $NON-N= LS-1$ - private static final String COMPONENTS_PATH =3D "WebContent/pages"; //= $NON-NLS-1$ - - @SuppressWarnings("restriction") - static void importFaceletsPages(String path) { - IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject( - PROJECT_NAME); - ZipLeveledStructureProvider zipStructureProvider; - try { - zipStructureProvider =3D new ZipLeveledStructureProvider(new ZipFile( - path)); - - IOverwriteQuery overwrite =3D new IOverwriteQuery() { - public String queryOverwrite(String pathString) { - return ALL; - } - }; - - ImportOperation importOp =3D new ImportOperation(project - .getFullPath(), zipStructureProvider.getRoot(), - zipStructureProvider, overwrite); - - importOp.setContext(PlatformUI.getWorkbench() - .getActiveWorkbenchWindow().getShell()); - - importOp.run(new NullProgressMonitor()); - } catch (InvocationTargetException ite) { - FaceletsTestPlugin.getPluginLog().logError(ite.getCause()); - } catch (InterruptedException ie) { - FaceletsTestPlugin.getPluginLog().logError(ie); - } catch (IOException e) { - FaceletsTestPlugin.getPluginLog().logError(e); - } - } - - /** - * = - * @return - * @throws CoreException - */ - static IPath getComponentPath(String componentPage) throws CoreExcepti= on { - IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject( - PROJECT_NAME); - if (project !=3D null) { - IResource resource =3D project.getFolder(COMPONENTS_PATH).findMember( - componentPage); - if (resource !=3D null) { - return resource.getFullPath(); - } - - } - - return null; - } - - /** - * = - * @throws CoreException - */ - static void removeProject() throws CoreException { - IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject( - PROJECT_NAME); - if (project !=3D null) { - project.delete(IResource.ALWAYS_DELETE_PROJECT_CONTENT, - new NullProgressMonitor()); - } - } -} --===============7033952880415213934==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 16:32:32 2008 Content-Type: multipart/mixed; boundary="===============1107048538787227755==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5570 - trunk/tests/features/org.jboss.tools.test.feature. Date: Wed, 09 Jan 2008 16:32:32 -0500 Message-ID: --===============1107048538787227755== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-09 16:32:32 -0500 (Wed, 09 Jan 2008) New Revision: 5570 Modified: trunk/tests/features/org.jboss.tools.test.feature/feature.xml Log: New test plugins have been added to the test beature Modified: trunk/tests/features/org.jboss.tools.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/tests/features/org.jboss.tools.test.feature/feature.xml 2008-01-0= 9 21:00:20 UTC (rev 5569) +++ trunk/tests/features/org.jboss.tools.test.feature/feature.xml 2008-01-0= 9 21:32:32 UTC (rev 5570) @@ -308,4 +308,31 @@ install-size=3D"0" version=3D"0.0.0"/> = + + + + + + + + --===============1107048538787227755==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 18:55:43 2008 Content-Type: multipart/mixed; boundary="===============3105897985675883969==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5571 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject. Date: Wed, 09 Jan 2008 18:55:43 -0500 Message-ID: --===============3105897985675883969== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-09 18:55:43 -0500 (Wed, 09 Jan 2008) New Revision: 5571 Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/TestSetAfterSetup.java Log: Fix compilation error HibernateNatureAddTest class is missing Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/TestSetAfterSetup.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/TestSetAfterSetup.java 2008-01= -09 21:32:32 UTC (rev 5570) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/TestSetAfterSetup.java 2008-01= -09 23:55:43 UTC (rev 5571) @@ -9,7 +9,7 @@ public class TestSetAfterSetup { public static TestSuite getTests(){ TestSuite suite =3D new TestSuite("Test for MappingTestProject" ); - suite.addTestSuite( HibernateNatureAddTest.class ); + //suite.addTestSuite( HibernateNatureAddTest.class ); //suite.addTestSuite( CreateConsoleConfigTest.class ); return suite; } --===============3105897985675883969==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 20:07:36 2008 Content-Type: multipart/mixed; boundary="===============3898991019575111711==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5572 - trunk/tests/features/org.jboss.tools.test.feature. Date: Wed, 09 Jan 2008 20:07:35 -0500 Message-ID: --===============3898991019575111711== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-09 20:07:35 -0500 (Wed, 09 Jan 2008) New Revision: 5572 Modified: trunk/tests/features/org.jboss.tools.test.feature/feature.xml Log: include new tests in build Modified: trunk/tests/features/org.jboss.tools.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/tests/features/org.jboss.tools.test.feature/feature.xml 2008-01-0= 9 23:55:43 UTC (rev 5571) +++ trunk/tests/features/org.jboss.tools.test.feature/feature.xml 2008-01-1= 0 01:07:35 UTC (rev 5572) @@ -281,8 +281,7 @@ id=3D"org.jboss.tools.jst.web.ui.test" download-size=3D"0" install-size=3D"0" - version=3D"0.0.0" - unpack=3D"false"/> + version=3D"0.0.0"/> = + version=3D"0.0.0"/> = + version=3D"0.0.0"/> = --===============3898991019575111711==-- From jbosstools-commits at lists.jboss.org Wed Jan 9 20:07:39 2008 Content-Type: multipart/mixed; boundary="===============6415641205763921608==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5573 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test: META-INF and 1 other directory. Date: Wed, 09 Jan 2008 20:07:39 -0500 Message-ID: --===============6415641205763921608== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-09 20:07:39 -0500 (Wed, 09 Jan 2008) New Revision: 5573 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/META-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/build.properties Log: include new tests in build Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/META-INF/MANIFE= ST.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/tests/org.jboss.tools.jsf.vpe.seam.test/META-INF/MANIFEST.MF = 2008-01-10 01:07:35 UTC (rev 5572) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/META-INF/MANIFEST.MF = 2008-01-10 01:07:39 UTC (rev 5573) @@ -12,3 +12,4 @@ org.junit, org.jboss.tools.vpe Eclipse-LazyStart: true +Bundle-ClassPath: vpe-seam-test.jar Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.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/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/build.properties 2008= -01-10 01:07:35 UTC (rev 5572) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/build.properties 2008= -01-10 01:07:39 UTC (rev 5573) @@ -1,4 +1,13 @@ -source.. =3D src/ -output.. =3D bin/ bin.includes =3D META-INF/,\ - . + vpe-seam-test.jar,\ + resources/ +jars.compile.order =3D vpe-seam-test.jar +source.vpe-seam-test.jar =3D src/ +output.vpe-seam-test.jar =3D bin/ +src.includes =3D src/,\ + resources/,\ + build.properties,\ + META-INF/,\ + .project,\ + .classpath +source.vpe-seam-test.jar =3D src/ --===============6415641205763921608==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 04:49:37 2008 Content-Type: multipart/mixed; boundary="===============6468585158817347361==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5574 - trunk/core/util/packaging-convert. Date: Thu, 10 Jan 2008 04:49:35 -0500 Message-ID: --===============6468585158817347361== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-10 04:49:35 -0500 (Thu, 10 Jan 2008) New Revision: 5574 Modified: trunk/core/util/packaging-convert/ trunk/core/util/packaging-convert/build.xml Log: updated bin ignore and build.xml Property changes on: trunk/core/util/packaging-convert ___________________________________________________________________ Name: svn:ignore + bin build packaging-convert.zip packaging-converter.jar Modified: trunk/core/util/packaging-convert/build.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/core/util/packaging-convert/build.xml 2008-01-10 01:07:39 UTC (re= v 5573) +++ trunk/core/util/packaging-convert/build.xml 2008-01-10 09:49:35 UTC (re= v 5574) @@ -25,7 +25,13 @@ = = - + + = + + + + + = --===============6468585158817347361==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 08:04:57 2008 Content-Type: multipart/mixed; boundary="===============3440397894921997575==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5576 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test: src/org/jboss/tools/vpe/ui/test and 1 other directories. Date: Thu, 10 Jan 2008 08:00:56 -0500 Message-ID: --===============3440397894921997575== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-10 08:00:56 -0500 (Thu, 10 Jan 2008) New Revision: 5576 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/VpeTestSetup.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/beans/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/beans/ImportBean.java Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/META-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/VpeTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1562, junit tests was adjusted, was= added VpeTest setup class which allows correctly import-remove test projec= t from workspace(only once for each test suite, not for every test case).So= me code was refactored. Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/META-INF/MANIFEST.MF 20= 08-01-10 10:29:54 UTC (rev 5575) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/META-INF/MANIFEST.MF 20= 08-01-10 13:00:56 UTC (rev 5576) @@ -18,4 +18,5 @@ org.mozilla.xpcom Eclipse-LazyStart: true Bundle-ClassPath: . -Export-Package: org.jboss.tools.vpe.ui.test +Export-Package: org.jboss.tools.vpe.ui.test, + org.jboss.tools.vpe.ui.test.beans Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/too= ls/vpe/ui/test/VpeTest.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeTest.java 2008-01-10 10:29:54 UTC (rev 5575) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeTest.java 2008-01-10 13:00:56 UTC (rev 5576) @@ -11,15 +11,13 @@ package org.jboss.tools.vpe.ui.test; = = -import java.io.File; - import junit.framework.TestCase; import org.eclipse.core.resources.IFile; -import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.ILogListener; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Platform; import org.eclipse.ui.IEditorInput; +import org.eclipse.ui.IEditorPart; import org.eclipse.ui.PartInitException; import org.eclipse.ui.PlatformUI; import org.eclipse.ui.part.FileEditorInput; @@ -50,24 +48,14 @@ private Boolean checkWarning; = /** - * Contains project name with information for testing - */ - private String importProjectName; - = - /** - * Contains plugin resource path - */ - private String pluginResourcePath; - /** * = * @param name * @param importProjectName */ = - public VpeTest(String name, String importProjectName,String pluginResourc= ePath) { + public VpeTest(String name) { super(name); - setImportProjectName(importProjectName); - setPluginResourcePath(pluginResourcePath); + } /** * Perform pre-test initialization. @@ -79,13 +67,9 @@ protected void setUp() throws Exception { = super.setUp(); - closeEditors(); - if (ResourcesPlugin.getWorkspace().getRoot().findMember(getImportProject= Name()) =3D=3D null) { - closeEditors(); - TestUtil.importProjectIntoWorkspace((getPluginResourcePath() - + File.separator+getImportProjectName()),getImportProjectName()); - } + Platform.addLogListener(this); + closeEditors(); } /** @@ -101,7 +85,6 @@ = closeEditors(); = - TestUtil.removeProject(getImportProjectName()); Platform.removeLogListener(this); = } @@ -165,22 +148,24 @@ * @throws PartInitException * @throws Throwable */ - protected void performTestForJsfComponent(String componentPage) + protected void performTestForVpeComponent(IFile componentPage) throws PartInitException, Throwable { TestUtil.waitForJobs(); = setException(null); = - IFile file =3D (IFile) TestUtil.getComponentPath(componentPage,getImport= ProjectName()); - IEditorInput input =3D new FileEditorInput(file); +// IFile file =3D (IFile) TestUtil.getComponentPath(componentPage,getImpo= rtProjectName()); + IEditorInput input =3D new FileEditorInput(componentPage); = TestUtil.waitForJobs(); = - PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() + IEditorPart editor =3D PlatformUI.getWorkbench().getActiveWorkbenchWindo= w().getActivePage() .openEditor(input, EDITOR_ID, true); - + = + assertNotNull(editor); + = TestUtil.waitForJobs(); - TestUtil.delay(3000); + TestUtil.delay(1000); = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() .closeAllEditors(true); @@ -207,7 +192,7 @@ // wait for jobs TestUtil.waitForJobs(); // // wait full initialization of vpe - TestUtil.delay(3000); + TestUtil.delay(100); = return part; = @@ -236,29 +221,5 @@ protected void setCheckWarning(Boolean checkWarning) { this.checkWarning =3D checkWarning; } - /** - * @return the importProjectName - */ - protected String getImportProjectName() { - return importProjectName; - } - /** - * @param importProjectName the importProjectName to set - */ - protected void setImportProjectName(String importProjectName) { - this.importProjectName =3D importProjectName; - } - /** - * @return the pluginResourcePath - */ - protected String getPluginResourcePath() { - return pluginResourcePath; - } - /** - * @param pluginResourcePath the pluginResourcePath to set - */ - protected void setPluginResourcePath(String pluginResourcePath) { - this.pluginResourcePath =3D pluginResourcePath; - } = } Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/= vpe/ui/test/VpeTestSetup.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeTestSetup.java (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeTestSetup.java 2008-01-10 13:00:56 UTC (rev 5576) @@ -0,0 +1,81 @@ +/*************************************************************************= ****** = +* 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.vpe.ui.test; + +import java.io.File; +import java.util.List; + +import org.eclipse.core.resources.ResourcesPlugin; +import org.jboss.tools.vpe.ui.test.beans.ImportBean; + +import junit.extensions.TestSetup; +import junit.framework.TestSuite; + +/** + * @author Max Areshkau + * = + * Class for setup-tear down junit tests(import project = + * into workspace and remove project from workspace) + */ +public class VpeTestSetup extends TestSetup { + = + /** + * Contains test project names, which will be imported = + * in setUp method and removed in tear down method + */ + private List testProjectNames; + = + public VpeTestSetup(TestSuite test, List testProjectNames) { + super(test); + setTestProjects(testProjectNames); + } + + /* (non-Javadoc) + * @see junit.extensions.TestSetup#setUp() + */ + @Override + protected void setUp() throws Exception { + super.setUp(); + for (ImportBean importBean : getTestProjects()) { = + if (ResourcesPlugin.getWorkspace().getRoot().findMember(importBean.getI= mportProjectName()) =3D=3D null) { + TestUtil.importProjectIntoWorkspace((importBean.getImportProjectPath() + + File.separator+importBean.getImportProjectName()),importBean.getIm= portProjectName()); + } = + } + } + + /* (non-Javadoc) + * @see junit.extensions.TestSetup#tearDown() + */ + @Override + protected void tearDown() throws Exception { + = + for(ImportBean importBean:getTestProjects()) { + TestUtil.removeProject(importBean.getImportProjectName()); + } + super.tearDown(); + } + + /** + * @return the testProjectNames + */ + private List getTestProjects() { + return testProjectNames; + } + + /** + * @param testProjectNames the testProjectNames to set + */ + private void setTestProjects(List testProjectNames) { + this.testProjectNames =3D testProjectNames; + } + +} Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/= vpe/ui/test/beans/ImportBean.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/beans/ImportBean.java (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/beans/ImportBean.java 2008-01-10 13:00:56 UTC (rev 5576) @@ -0,0 +1,52 @@ +/*************************************************************************= ****** = +* 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.vpe.ui.test.beans; + +/** + * @author Max Areshkau + * = + * Contains information about projects which should be imported + */ +public class ImportBean { + /** + * Contains import project Name + */ + private String importProjectName; + /** + * Contains import project path + */ + private String importProjectPath; + /** + * @return the importProjectName + */ + public String getImportProjectName() { + return importProjectName; + } + /** + * @param importProjectName the importProjectName to set + */ + public void setImportProjectName(String importProjectName) { + this.importProjectName =3D importProjectName; + } + /** + * @return the importProjectPath + */ + public String getImportProjectPath() { + return importProjectPath; + } + /** + * @param importProjectPath the importProjectPath to set + */ + public void setImportProjectPath(String importProjectPath) { + this.importProjectPath =3D importProjectPath; + } + +} --===============3440397894921997575==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 08:05:02 2008 Content-Type: multipart/mixed; boundary="===============4084463871356366145==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5577 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tools/jsf/vpe/facelets/test. Date: Thu, 10 Jan 2008 08:01:02 -0500 Message-ID: --===============4084463871356366145== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-10 08:01:02 -0500 (Thu, 10 Jan 2008) New Revision: 5577 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsAllTests.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsComponentTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1562, junit tests was adjusted, was= added VpeTest setup class which allows correctly import-remove test projec= t from workspace(only once for each test suite, not for every test case).So= me code was refactored. Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsAllTests.java 2008-01-10 13:00:56 UTC (rev= 5576) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsAllTests.java 2008-01-10 13:01:02 UTC (rev= 5577) @@ -1,5 +1,11 @@ package org.jboss.tools.jsf.vpe.facelets.test; = +import java.util.ArrayList; +import java.util.List; + +import org.jboss.tools.vpe.ui.test.VpeTestSetup; +import org.jboss.tools.vpe.ui.test.beans.ImportBean; + import junit.framework.Test; import junit.framework.TestSuite; = @@ -13,7 +19,12 @@ suite.addTestSuite(FaceletsComponentTest.class); = // $JUnit-END$ - return suite; + List importProjects =3D new ArrayList(); + ImportBean importBean =3D new ImportBean(); + importBean.setImportProjectName(FaceletsComponentTest.IMPORT_PROJECT_NAME= ); + importBean.setImportProjectPath(FaceletsTestPlugin.getPluginResourcePath(= )); + importProjects.add(importBean); + return new VpeTestSetup(suite,importProjects); = } } Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-10 13:00:56 UTC= (rev 5576) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-10 13:01:02 UTC= (rev 5577) @@ -33,15 +33,14 @@ public class FaceletsComponentTest extends VpeTest { = // import project name - private static final String IMPORT_PROJECT_NAME =3D "faceletsTest"; + public static final String IMPORT_PROJECT_NAME =3D "faceletsTest"; = public FaceletsComponentTest(String name) { - super(name, IMPORT_PROJECT_NAME, FaceletsTestPlugin - .getPluginResourcePath()); + super(name); } = public void testDebug() throws Throwable { - performTestForJsfComponent("components/debug.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components/= debug.xhtml",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testDefine() throws Throwable { @@ -51,7 +50,7 @@ = // get test page path IFile file =3D (IFile) TestUtil.getComponentPath( - "components/define.xhtml", getImportProjectName()); + "components/define.xhtml", IMPORT_PROJECT_NAME); = assertNotNull("Could not open specified file " + file.getFullPath(), file); @@ -102,7 +101,7 @@ } = public void testInsert() throws Throwable { - performTestForJsfComponent("components/insert.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components/= insert.xhtml",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = } --===============4084463871356366145==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 08:05:08 2008 Content-Type: multipart/mixed; boundary="===============5523796943950990645==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5578 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test: jbide and 1 other directory. Date: Thu, 10 Jan 2008 08:01:08 -0500 Message-ID: --===============5523796943950990645== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-10 08:01:08 -0500 (Thu, 10 Jan 2008) New Revision: 5578 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfAllTests.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfComponentTest.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/jbide/JBIDE1484Test.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/jbide/JsfJbide1467Test.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/jbide/JsfJbide1501Test.java Log: http://jira.jboss.com/jira/browse/JBIDE-1562, junit tests was adjusted, was= added VpeTest setup class which allows correctly import-remove test projec= t from workspace(only once for each test suite, not for every test case).So= me code was refactored. Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-10 13:01:02 UTC (rev 5577) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-10 13:01:08 UTC (rev 5578) @@ -13,9 +13,13 @@ import junit.framework.Test; import junit.framework.TestSuite; = +import java.util.ArrayList; +import java.util.List; import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1484Test; import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1467Test; import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1501Test; +import org.jboss.tools.vpe.ui.test.VpeTestSetup; +import org.jboss.tools.vpe.ui.test.beans.ImportBean; = /** * Class for testing all RichFaces components @@ -34,9 +38,15 @@ suite.addTestSuite(JsfJbide1467Test.class); suite.addTestSuite(JsfJbide1501Test.class); suite.addTestSuite(JBIDE1484Test.class); - //cleanUpTests(); // $JUnit-END$ - return suite; + //added by Max Areshkau + //add here projects which should be imported for junit tests + List projectToImport =3D new ArrayList(); + ImportBean importBean =3D new ImportBean(); + importBean.setImportProjectName("jsfTest"); + importBean.setImportProjectPath(JsfTestPlugin.getPluginResourcePath()); + = + return new VpeTestSetup(suite,projectToImport); = } = Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfComponentTest.java 2008-01-10 13:01:02 UTC (rev 5577) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfComponentTest.java 2008-01-10 13:01:08 UTC (rev 5578) @@ -10,6 +10,8 @@ *************************************************************************= *****/ package org.jboss.tools.jsf.vpe.jsf.test; = +import org.eclipse.core.resources.IFile; +import org.jboss.tools.vpe.ui.test.TestUtil; import org.jboss.tools.vpe.ui.test.VpeTest; = /** @@ -21,10 +23,11 @@ public class JsfComponentTest extends VpeTest { = // import project name - private static final String IMPORT_PROJECT_NAME =3D "jsfTest"; + public static final String IMPORT_PROJECT_NAME =3D "jsfTest"; = public JsfComponentTest(String name) { - super(name, IMPORT_PROJECT_NAME, JsfTestPlugin.getPluginResourcePath()); + super(name); + setCheckWarning(false); } = /* @@ -32,99 +35,99 @@ */ = public void testCommandButton() throws Throwable { - performTestForJsfComponent("components/commandButton.jsp"); // $NON-NLS-= 1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /commandButton.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testCommandLink() throws Throwable { - performTestForJsfComponent("components/commandLink.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /commandLink.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testDataTable() throws Throwable { - performTestForJsfComponent("components/dataTable.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /dataTable.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testForm() throws Throwable { - performTestForJsfComponent("components/form.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /form.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testGraphicImage() throws Throwable { - performTestForJsfComponent("components/graphicImage.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /graphicImage.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testInputHidden() throws Throwable { - performTestForJsfComponent("components/inputHidden.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /inputHidden.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testInputSecret() throws Throwable { - performTestForJsfComponent("components/inputSecret.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /inputSecret.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testInputText() throws Throwable { - performTestForJsfComponent("components/inputText.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /inputText.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testInputTextArea() throws Throwable { - performTestForJsfComponent("components/inputTextArea.jsp"); // $NON-NLS-= 1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /inputTextArea.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testMessage() throws Throwable { - performTestForJsfComponent("components/message.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /message.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testMessages() throws Throwable { - performTestForJsfComponent("components/messages.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /messages.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testOutputFormat() throws Throwable { - performTestForJsfComponent("components/outputFormat.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /outputFormat.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testOutputLabel() throws Throwable { - performTestForJsfComponent("components/outputLabel.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /outputLabel.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testOutputLink() throws Throwable { - performTestForJsfComponent("components/outputLink.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /outputLink.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testOutputText() throws Throwable { - performTestForJsfComponent("components/outputText.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /outputText.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testPanelGrid() throws Throwable { - performTestForJsfComponent("components/panelGrid.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /panelGrid.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testPanelGroup() throws Throwable { - performTestForJsfComponent("components/panelGroup.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /panelGroup.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testSelectBooleanCheckbox() throws Throwable { - performTestForJsfComponent("components/selectBooleanCheckbox.jsp"); // $= NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /selectBooleanCheckbox.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testSelectManyCheckbox() throws Throwable { - performTestForJsfComponent("components/selectManyCheckbox.jsp"); // $NON= -NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /selectManyCheckbox.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testSelectManyListbox() throws Throwable { - performTestForJsfComponent("components/selectManyListbox.jsp"); // $NON-= NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /selectManyListbox.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testSelectManyMenu() throws Throwable { - performTestForJsfComponent("components/selectManyMenu.jsp"); // $NON-NLS= -1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /selectManyMenu.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testSelectOneListbox() throws Throwable { - performTestForJsfComponent("components/selectOneListbox.jsp"); // $NON-N= LS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /selectOneListbox.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testSelectOneMenu() throws Throwable { - performTestForJsfComponent("components/selectOneMenu.jsp"); // $NON-NLS-= 1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /selectOneMenu.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testSelectOneRadio() throws Throwable { - performTestForJsfComponent("components/selectOneRadio.jsp"); // $NON-NLS= -1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /selectOneRadio.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = /* @@ -132,82 +135,82 @@ */ = public void testActionListener() throws Throwable { - performTestForJsfComponent("components/actionListener.jsp"); // $NON-NLS= -1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /actionListener.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testAttribute() throws Throwable { - performTestForJsfComponent("components/attribute.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /attribute.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testConvertDateTime() throws Throwable { - performTestForJsfComponent("components/convertDateTime.jsp"); // $NON-NL= S-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /convertDateTime.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testConvertNumber() throws Throwable { - performTestForJsfComponent("components/convertNumber.jsp"); // $NON-NLS-= 1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /convertNumber.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testConverter() throws Throwable { - performTestForJsfComponent("components/converter.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /converter.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testFacet() throws Throwable { - performTestForJsfComponent("components/facet.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /facet.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testLoadBundle() throws Throwable { - performTestForJsfComponent("components/loadBundle.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /loadBundle.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testParam() throws Throwable { - performTestForJsfComponent("components/param.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /param.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testPhaseListener() throws Throwable { - performTestForJsfComponent("components/phaseListener.jsp"); // $NON-NLS-= 1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /phaseListener.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testSelectItem() throws Throwable { - performTestForJsfComponent("components/selectItem.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /selectItem.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testSelectItems() throws Throwable { - performTestForJsfComponent("components/selectItems.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /selectItems.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testSetPropertyActionListener() throws Throwable { - performTestForJsfComponent("components/setPropertyActionListener.jsp"); = // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /setPropertyActionListener.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testSubview() throws Throwable { - performTestForJsfComponent("components/subview.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /subview.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testValidateDoubleRange() throws Throwable { - performTestForJsfComponent("components/validateDoubleRange.jsp"); // $NO= N-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /validateDoubleRange.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testValidateLength() throws Throwable { - performTestForJsfComponent("components/validateLength.jsp"); // $NON-NLS= -1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /validateLength.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testValidateLongRange() throws Throwable { - performTestForJsfComponent("components/validateLongRange.jsp"); // $NON-= NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /validateLongRange.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testValidator() throws Throwable { - performTestForJsfComponent("components/validator.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /validator.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testValueChangeListener() throws Throwable { - performTestForJsfComponent("components/valueChangeListener.jsp"); // $NO= N-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /valueChangeListener.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testVerbatim() throws Throwable { - performTestForJsfComponent("components/verbatim.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /verbatim.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testView() throws Throwable { - performTestForJsfComponent("components/view.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath("components= /view.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } } Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/jbide/JBIDE1484Test.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JBIDE1484Test.java 2008-01-10 13:01:02 UTC (rev 5577) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JBIDE1484Test.java 2008-01-10 13:01:08 UTC (rev 5578) @@ -16,7 +16,6 @@ import org.eclipse.core.resources.IFile; import org.eclipse.ui.IEditorInput; import org.eclipse.ui.part.FileEditorInput; -import org.jboss.tools.jsf.vpe.jsf.test.JsfTestPlugin; import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; import org.jboss.tools.vpe.editor.util.HTML; import org.jboss.tools.vpe.ui.test.TestUtil; @@ -32,13 +31,13 @@ */ public class JBIDE1484Test extends VpeTest { = - private static final String IMPORT_PROJECT_NAME =3D "jsfTest"; + public static final String IMPORT_PROJECT_NAME =3D "jsfTest"; = private static final String TEST_PAGE_NAME =3D "JBIDE/1484/JBIDE-1484.jsp= "; = public JBIDE1484Test(String name) { = - super(name, IMPORT_PROJECT_NAME, JsfTestPlugin.getPluginResourcePath()); + super(name); } = //test method for JBIDE 1484 @@ -50,7 +49,7 @@ = // get test page path IFile file =3D (IFile) TestUtil.getComponentPath( - TEST_PAGE_NAME, getImportProjectName()); + TEST_PAGE_NAME, IMPORT_PROJECT_NAME); = assertNotNull("Could not open specified file " + file.getFullPath(), file); Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/jbide/JsfJbide1467Test.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JsfJbide1467Test.java 2008-01-10 13:01:02 UTC (rev 557= 7) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JsfJbide1467Test.java 2008-01-10 13:01:08 UTC (rev 557= 8) @@ -17,7 +17,6 @@ import org.eclipse.core.resources.IFile; import org.eclipse.ui.IEditorInput; import org.eclipse.ui.part.FileEditorInput; -import org.jboss.tools.jsf.vpe.jsf.test.JsfTestPlugin; import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; import org.jboss.tools.vpe.editor.util.HTML; import org.jboss.tools.vpe.ui.test.TestUtil; @@ -40,10 +39,10 @@ = // import project name = - private static final String IMPORT_PROJECT_NAME =3D "jsfTest"; + public static final String IMPORT_PROJECT_NAME =3D "jsfTest"; = public JsfJbide1467Test(String name) { - super(name, IMPORT_PROJECT_NAME, JsfTestPlugin.getPluginResourcePath()); + super(name); } = /* @@ -71,7 +70,7 @@ = // get test page path IFile file =3D (IFile) TestUtil.getComponentPath( - "JBIDE/1467/JBIDE-1467.jsp", getImportProjectName()); + "JBIDE/1467/JBIDE-1467.jsp", IMPORT_PROJECT_NAME); = assertNotNull("Could not open specified file " + file.getFullPath(), file); Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/jbide/JsfJbide1501Test.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JsfJbide1501Test.java 2008-01-10 13:01:02 UTC (rev 557= 7) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JsfJbide1501Test.java 2008-01-10 13:01:08 UTC (rev 557= 8) @@ -17,7 +17,6 @@ import org.eclipse.core.resources.IFile; import org.eclipse.ui.IEditorInput; import org.eclipse.ui.part.FileEditorInput; -import org.jboss.tools.jsf.vpe.jsf.test.JsfTestPlugin; import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; import org.jboss.tools.vpe.editor.util.HTML; import org.jboss.tools.vpe.ui.test.TestUtil; @@ -35,10 +34,10 @@ */ public class JsfJbide1501Test extends VpeTest { = - private static final String IMPORT_PROJECT_NAME =3D "jsfTest"; + public static final String IMPORT_PROJECT_NAME =3D "jsfTest"; = public JsfJbide1501Test(String name) { - super(name, IMPORT_PROJECT_NAME, JsfTestPlugin.getPluginResourcePath()); + super(name); } = /** @@ -75,7 +74,7 @@ = // get test page path IFile file =3D (IFile) TestUtil.getComponentPath( - "JBIDE/1501/JBIDE-1501_multiple.jsp", getImportProjectName()); + "JBIDE/1501/JBIDE-1501_multiple.jsp", IMPORT_PROJECT_NAME); = IEditorInput input =3D new FileEditorInput(file); = @@ -116,7 +115,7 @@ = // get test page path file =3D (IFile) TestUtil.getComponentPath( - "JBIDE/1501/JBIDE-1501_size.jsp", getImportProjectName()); + "JBIDE/1501/JBIDE-1501_size.jsp", IMPORT_PROJECT_NAME); = input =3D new FileEditorInput(file); = --===============5523796943950990645==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 08:10:25 2008 Content-Type: multipart/mixed; boundary="===============5887302640075172868==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5579 - branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces. Date: Thu, 10 Jan 2008 08:06:25 -0500 Message-ID: --===============5887302640075172868== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dmaliarevich Date: 2008-01-10 08:06:25 -0500 (Thu, 10 Jan 2008) New Revision: 5579 Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/src/org/jboss/tools/jsf/vpe/richfaces/HtmlComponentUtil.java Log: new constants added Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe= .richfaces/src/org/jboss/tools/jsf/vpe/richfaces/HtmlComponentUtil.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_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/src/org/jboss/tools/jsf/vpe/richfaces/HtmlComponentUtil.java 2008-01-1= 0 13:01:08 UTC (rev 5578) +++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/src/org/jboss/tools/jsf/vpe/richfaces/HtmlComponentUtil.java 2008-01-1= 0 13:06:25 UTC (rev 5579) @@ -161,4 +161,8 @@ = /** HTML_ATTR_VALIGN_MIDDLE_VALUE */ public static final String HTML_ATTR_VALIGN_MIDDLE_VALUE =3D "middle"; + = + /** HTML_TYPE_ATTR_BUTTON_VALUE */ + public static final String HTML_TYPE_ATTR_BUTTON_VALUE =3D "button"; + = } --===============5887302640075172868==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 08:11:07 2008 Content-Type: multipart/mixed; boundary="===============7586770924102849063==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5580 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject. Date: Thu, 10 Jan 2008 08:11:06 -0500 Message-ID: --===============7586770924102849063== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-10 08:11:06 -0500 (Thu, 10 Jan 2008) New Revision: 5580 Added: 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 Log: http://jira.jboss.com/jira/browse/JBIDE-1594 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/or= g/hibernate/eclipse/console/test/mappingproject/OpenMappingFileTest.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/OpenMappingFileTest.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/OpenMappingFileTest.java 2008-= 01-10 13:11:06 UTC (rev 5580) @@ -0,0 +1,46 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ +package org.hibernate.eclipse.console.test.mappingproject; + +import junit.framework.TestCase; + +import org.hibernate.cfg.Configuration; +import org.hibernate.console.ConsoleConfiguration; +import org.hibernate.console.KnownConfigurations; +import org.hibernate.eclipse.console.actions.OpenMappingAction; +import org.hibernate.eclipse.console.actions.OpenSourceAction; +import org.hibernate.eclipse.console.workbench.ConfigurationWorkbenchAdapt= er; +import org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkben= chAdapter; +import org.hibernate.mapping.PersistentClass; + +/** + * @author Dmitry Geraskov + * + */ +public class OpenMappingFileTest extends TestCase { + public void testOpenMappingFileTest(){ + KnownConfigurations knownConfigurations =3D KnownConfigurations.getInsta= nce(); + final ConsoleConfiguration consCFG =3D knownConfigurations.find(CreateCo= nsoleConfigTest.ConsoleCFGName); + assertNotNull(consCFG); + consCFG.reset(); + Object[] configs =3D new ConsoleConfigurationWorkbenchAdapter().getChild= ren(consCFG); + assertTrue(configs[0] instanceof Configuration); + Object[] persClasses =3D new ConfigurationWorkbenchAdapter().getChildren= (configs[0]); + if (persClasses.length > 0){ + for (int i =3D 0; i < persClasses.length; i++) { + assertTrue(persClasses[0] instanceof PersistentClass); + PersistentClass persClass =3D (PersistentClass) persClasses[i]; + OpenMappingAction.run(persClass, consCFG); + } = + } + //close all editors + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/src/org/hibernate/eclipse/console/test/mappingproject/OpenMappingFi= leTest.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/or= g/hibernate/eclipse/console/test/mappingproject/OpenSourceFileTest.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/OpenSourceFileTest.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/OpenSourceFileTest.java 2008-0= 1-10 13:11:06 UTC (rev 5580) @@ -0,0 +1,53 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ +package org.hibernate.eclipse.console.test.mappingproject; + +import org.hibernate.cfg.Configuration; +import org.hibernate.console.ConsoleConfiguration; +import org.hibernate.console.KnownConfigurations; +import org.hibernate.console.execution.ExecutionContext; +import org.hibernate.eclipse.console.actions.OpenFileActionUtils; +import org.hibernate.eclipse.console.actions.OpenSourceAction; +import org.hibernate.eclipse.console.workbench.ConfigurationWorkbenchAdapt= er; +import org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkben= chAdapter; +import org.hibernate.mapping.PersistentClass; + +import junit.framework.TestCase; + +/** + * @author Dmitry Geraskov + * + */ +public class OpenSourceFileTest extends TestCase { + = + public void testOpenSourceFileTest(){ + //fail("test fail"); + KnownConfigurations knownConfigurations =3D KnownConfigurations.getInsta= nce(); + final ConsoleConfiguration consCFG =3D knownConfigurations.find(CreateCo= nsoleConfigTest.ConsoleCFGName); + assertNotNull(consCFG); + consCFG.reset(); + Object[] configs =3D new ConsoleConfigurationWorkbenchAdapter().getChild= ren(consCFG); + assertTrue(configs[0] instanceof Configuration); + Object[] persClasses =3D new ConfigurationWorkbenchAdapter().getChildren= (configs[0]); + if (persClasses.length > 0){ + for (int i =3D 0; i < persClasses.length; i++) { + assertTrue(persClasses[0] instanceof PersistentClass); + PersistentClass persClass =3D (PersistentClass) persClasses[i]; + new OpenSourceAction().run(persClass, MappingTestProject.getTestProjec= t().getIJavaProject(), = + ProjectUtil.getPersistentClassName(persClass)); + } = + } + //close all editors + } + = + = + +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/src/org/hibernate/eclipse/console/test/mappingproject/OpenSourceFil= eTest.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native --===============7586770924102849063==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 08:15:30 2008 Content-Type: multipart/mixed; boundary="===============6770284492033832212==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5581 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject. Date: Thu, 10 Jan 2008 08:15:29 -0500 Message-ID: --===============6770284492033832212== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-10 08:15:28 -0500 (Thu, 10 Jan 2008) New Revision: 5581 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/CloaseAllEditorsTest.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/HibernateNatureAddTest.java Removed: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/HibernateMappingTests.java Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/HibernateAllMappingTests.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/HibernateNatureRemoveTest.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/MappingTestProject.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/OpenJavaEditors.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/ProjectUtil.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/TestSet.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/TestSetAfterSetup.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/TestSetBeforeTearDown.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/UpdateConfigurationTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1571 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/or= g/hibernate/eclipse/console/test/mappingproject/CloaseAllEditorsTest.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/CloaseAllEditorsTest.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/CloaseAllEditorsTest.java 2008= -01-10 13:15:28 UTC (rev 5581) @@ -0,0 +1,27 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ +package org.hibernate.eclipse.console.test.mappingproject; + +import junit.framework.TestCase; + +import org.eclipse.ui.PlatformUI; + +/** + * @author Dmitry Geraskov + * + */ +public class CloaseAllEditorsTest extends TestCase { + = + public void testCloseAllEditors(){ + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().clo= seAllEditors(false); + } + = +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/src/org/hibernate/eclipse/console/test/mappingproject/CloaseAllEdit= orsTest.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/HibernateAllMappingTests= .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/HibernateAllMappingTests.java = 2008-01-10 13:11:06 UTC (rev 5580) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/HibernateAllMappingTests.java = 2008-01-10 13:15:28 UTC (rev 5581) @@ -1,15 +1,20 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ package org.hibernate.eclipse.console.test.mappingproject; = -import java.util.Enumeration; - -import junit.framework.AssertionFailedError; import junit.framework.Test; import junit.framework.TestCase; -import junit.framework.TestFailure; import junit.framework.TestResult; import junit.framework.TestSuite; = -import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.Platform; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.core.IPackageFragment; @@ -21,6 +26,7 @@ import org.eclipse.swt.widgets.Display; import org.eclipse.ui.PartInitException; import org.eclipse.ui.PlatformUI; +import org.hibernate.eclipse.console.HibernateConsolePerspectiveFactory; = public class HibernateAllMappingTests extends TestCase { = @@ -38,9 +44,6 @@ super.setUp(); this.project =3D MappingTestProject.getTestProject(); = - //PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().c= loseAllPerspectives(false, true); - = - = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().set= Perspective( PlatformUI.getWorkbench().getPerspectiveRegistry().findPerspectiveWith= Id("org.eclipse.ui.resourcePerspective")); = @@ -54,8 +57,14 @@ = packageExplorer.selectAndReveal(project.getIJavaProject()); = + PlatformUI.getWorkbench() + .getActiveWorkbenchWindow().getActivePage().setPerspective( + PlatformUI.getWorkbench().getPerspectiveRegistry().findPerspectiveWith= Id(HibernateConsolePerspectiveFactory.ID_CONSOLE_PERSPECTIVE)); + + = waitForJobs(); runTestsAfterSetup(); + ProjectUtil.createConsoleCFG(); } = private void runTestsAfterSetup() { @@ -139,16 +148,16 @@ } = = public void testEachPackWithTestSet() throws JavaModelException { - /*if (result.failureCount() > 0 || result.errorCount() > 0){ - // we have failed tests after setup - fail("One or more setup test failed."); - }*/ + /* + * (1) All test runs show as one + * Comment this and uncomment (2) if you want to see each test run indepe= ndent + */ TestSuite suite =3D TestSet.getTests(); IPackageFragmentRoot[] roots =3D project.getIJavaProject().getAllPackage= FragmentRoots(); = for (int i =3D 0; i < roots.length; i++) { if (roots[i].getClass() !=3D PackageFragmentRoot.class) continue; PackageFragmentRoot packageFragmentRoot =3D (PackageFragmentRoot) roots= [i]; - IJavaElement[] els =3D packageFragmentRoot.getChildren();//.getCompilat= ionUnits(); + IJavaElement[] els =3D packageFragmentRoot.getChildren(); for (int j =3D 0; j < els.length; j++) { IJavaElement javaElement =3D els[j]; if (javaElement instanceof IPackageFragment){ @@ -156,6 +165,12 @@ // use packages only with compilation units if (pack.getCompilationUnits().length =3D=3D 0) continue; = + /* = + * (2) Each test run shows independent + * Comment this and uncomment (1) if you want to see all test runs a= s one + * TestSuite suite =3D TestSet.getTests(); + */ + = activePackage =3D pack; //=3D=3D=3D=3D=3D=3D=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 @@ -166,10 +181,13 @@ } //=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D } - } = + waitForJobs(); + delay(15000); + } + = } waitForJobs(); - //delay(2000); + delay(10000); } = /** Deleted: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/= org/hibernate/eclipse/console/test/mappingproject/HibernateMappingTests.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/HibernateMappingTests.java 200= 8-01-10 13:11:06 UTC (rev 5580) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/HibernateMappingTests.java 200= 8-01-10 13:15:28 UTC (rev 5581) @@ -1,133 +0,0 @@ -package org.hibernate.eclipse.console.test.mappingproject; - -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestResult; -import junit.framework.TestSuite; - -import org.eclipse.core.runtime.Platform; -import org.eclipse.jdt.ui.IPackagesViewPart; -import org.eclipse.jdt.ui.JavaUI; -import org.eclipse.swt.widgets.Display; -import org.eclipse.ui.PartInitException; -import org.eclipse.ui.PlatformUI; - -public class HibernateMappingTests extends TestCase { - - private MappingTestProject project; - - public HibernateMappingTests(String name) { - super(name); - } - = - private TestResult result =3D null; - - protected void setUp() throws Exception { - super.setUp(); - this.project =3D MappingTestProject.getTestProject(); - - //PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().c= loseAllPerspectives(false, true); - = - = - PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().set= Perspective( - PlatformUI.getWorkbench().getPerspectiveRegistry().findPerspectiveWith= Id("org.eclipse.ui.resourcePerspective")); - = - IPackagesViewPart packageExplorer =3D null; = - try { - packageExplorer =3D (IPackagesViewPart) PlatformUI.getWorkbench() - .getActiveWorkbenchWindow().getActivePage().showView(JavaUI.ID_PACKAGE= S); - } catch (PartInitException e) { - throw new RuntimeException(e); - } - = - packageExplorer.selectAndReveal(project.getIJavaProject()); - = - waitForJobs(); - delay(2000); - } - - /* (non-Javadoc) - * @see junit.framework.TestCase#run(junit.framework.TestResult) - */ - @Override - public void run(TestResult result) { - this.result =3D result; - super.run(result); - = - } - = - public void tearDown() throws Exception { = - waitForJobs(); - this.project.deleteIProject(); - waitForJobs(); - super.tearDown(); - } - = - - /** - * Process UI input but do not return for the specified time interval. - * = - * @param waitTimeMillis - * the number of milliseconds - */ - protected void delay(long waitTimeMillis) { - Display display =3D Display.getCurrent(); - - // If this is the UI thread, - // then process input. - if (display !=3D null) { - long endTimeMillis =3D System.currentTimeMillis() + waitTimeMillis; - while (System.currentTimeMillis() < endTimeMillis) { - if (!display.readAndDispatch()) - display.sleep(); - } - display.update(); - } - - // Otherwise, perform a simple sleep. - else { - try { - Thread.sleep(waitTimeMillis); - } catch (InterruptedException e) { - // Ignored. - } - } - } - - /** - * Wait until all background tasks are complete. - */ - public void waitForJobs() { - while (Platform.getJobManager().currentJob() !=3D null) - delay(1000); - } - = - protected MappingTestProject getProject() { - return this.project; - } = - = - public void testRunTestSet() { - TestSuite suite =3D TestSet.getTests(); - //is waytForJob() necessary between each test? - //suite.run(result); - for (int i =3D 0; i < suite.testCount(); i++) { - Test test =3D suite.testAt(i); - test.run(result); - /*if (result.failureCount() > 0){ - fail("Test " + test.getClass().getName() + " failed."); - } - if (result.errorCount() > 0){ - fail("Test " + test.getClass().getName() + " has errors."); - }*/ - waitForJobs(); - delay(20000); - } - if (result.failureCount() > 0){ - fail("One or more test failed."); - } - if (result.errorCount() > 0){ - fail("One or more test has error(s)."); - } - } -} - = \ No newline at end of file Copied: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/o= rg/hibernate/eclipse/console/test/mappingproject/HibernateNatureAddTest.jav= a (from rev 5484, trunk/hibernatetools/tests/org.hibernate.eclipse.console.= test/src/org/hibernate/eclipse/console/test/mappingproject/HibernateNatureT= est.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/HibernateNatureAddTest.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/HibernateNatureAddTest.java 20= 08-01-10 13:15:28 UTC (rev 5581) @@ -0,0 +1,43 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ +package org.hibernate.eclipse.console.test.mappingproject; + +import org.eclipse.core.resources.ProjectScope; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.NullProgressMonitor; +import org.eclipse.core.runtime.preferences.IScopeContext; +import org.eclipse.jdt.core.IJavaProject; +import org.hibernate.eclipse.console.utils.ProjectUtils; +import org.osgi.service.prefs.BackingStoreException; +import org.osgi.service.prefs.Preferences; + +import junit.framework.TestCase; + +/** + * @author Dmitry Geraskov + * + */ +public class HibernateNatureAddTest extends TestCase { + public void testEnableHibernateNature() throws BackingStoreException, Cor= eException { + MappingTestProject project =3D MappingTestProject.getTestProject(); + IJavaProject prj =3D project.getIJavaProject(); + IScopeContext scope =3D new ProjectScope(prj.getProject() ); + //fail("HibernateNatureAdd testfail"); + Preferences node =3D scope.getNode("org.hibernate.eclipse.console"); + + node.putBoolean("hibernate3.enabled", true ); + node.put("default.configuration", "testcfg" ); + node.flush(); + + ProjectUtils.addProjectNature(prj.getProject(), "org.hibernate.eclipse.c= onsole.hibernateNature", new NullProgressMonitor() ); + //ProjectUtils.removeProjectNature(prj.getProject(), "org.hibernate.ecli= pse.console.hibernateNature", new NullProgressMonitor() ); + } +} Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/HibernateNatureRemoveTes= t.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/HibernateNatureRemoveTest.java= 2008-01-10 13:11:06 UTC (rev 5580) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/HibernateNatureRemoveTest.java= 2008-01-10 13:15:28 UTC (rev 5581) @@ -1,3 +1,13 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ package org.hibernate.eclipse.console.test.mappingproject; = import junit.framework.TestCase; Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/MappingTestProject.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/MappingTestProject.java 2008-0= 1-10 13:11:06 UTC (rev 5580) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/MappingTestProject.java 2008-0= 1-10 13:15:28 UTC (rev 5581) @@ -1,3 +1,13 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ package org.hibernate.eclipse.console.test.mappingproject; = import java.io.File; @@ -35,6 +45,8 @@ */ public class MappingTestProject{ = + public static final String SRC_FOLDER =3D "src"; + private static MappingTestProject singleton=3D null; = private static final Path JRE_CONTAINER =3D new Path("org.eclipse.jdt.lau= nching.JRE_CONTAINER"); @@ -99,7 +111,7 @@ throw new RuntimeException("Folder " + RESOURCE_PATH + " does not found= !"); = IPackageFragmentRoot sourceFolder =3D buildSourceFolder(project, javaPro= ject); - recursiveCopyFiles(resourceFolder, (IFolder) sourceFolder.getResource()); + recursiveCopyFiles(resourceFolder, (IFolder) sourceFolder.getResource())= ; = project.build(IncrementalProjectBuilder.INCREMENTAL_BUILD, new NullProgr= essMonitor()); } = @@ -185,7 +197,7 @@ = private IPackageFragmentRoot buildSourceFolder(IProject project, IJavaProject javaProject) throws CoreException { - IFolder folder =3D project.getFolder("src"); + IFolder folder =3D project.getFolder(SRC_FOLDER); if (!folder.exists()){ folder.create(false, true, null); IPackageFragmentRoot root =3D javaProject.getPackageFragmentRoot(folder= ); Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/OpenJavaEditors.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/OpenJavaEditors.java 2008-01-1= 0 13:11:06 UTC (rev 5580) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/OpenJavaEditors.java 2008-01-1= 0 13:15:28 UTC (rev 5581) @@ -1,3 +1,13 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ package org.hibernate.eclipse.console.test.mappingproject; = import junit.framework.TestCase; @@ -17,6 +27,7 @@ = /** * @author Dmitry Geraskov + * @deprecated - never used * just to test that our external Unit tests work right with MappingTestPr= oject */ public class OpenJavaEditors extends TestCase { @@ -40,7 +51,7 @@ PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(= ).openEditor(input, JavaUI.ID_CU_EDITOR ); } catch (PartInitException e) { fail("Error opening CompilationUnit: " + e.getMessage()); - } = + } } } } = Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/ProjectUtil.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/ProjectUtil.java 2008-01-10 13= :11:06 UTC (rev 5580) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/ProjectUtil.java 2008-01-10 13= :15:28 UTC (rev 5581) @@ -1,14 +1,25 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ package org.hibernate.eclipse.console.test.mappingproject; = -import java.util.Iterator; - import org.apache.tools.ant.filters.StringInputStream; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IFolder; import org.eclipse.core.runtime.CoreException; -import org.eclipse.jdt.core.ICompilationUnit; +import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.NullProgressMonitor; +import org.eclipse.core.runtime.Path; import org.eclipse.jdt.core.IPackageFragment; -import org.eclipse.jdt.core.IType; +import org.hibernate.console.preferences.ConsoleConfigurationPreferences; +import org.hibernate.eclipse.console.wizards.ConsoleConfigurationCreationW= izard; import org.hibernate.mapping.PersistentClass; = /** @@ -23,9 +34,7 @@ .append("\"http://hibernate.sourceforge.net/hibernate-configu= ration-3.0.dtd\">\n"); = private static final StringBuilder XML_CFG_START =3D new StringBuilder("<= hibernate-configuration>\n") - .append("\n") - .append("\n") - .append("org.hibernate.dialect.SQLServerDialect\n"= ); + .append("\n"); = private static final StringBuilder XML_CFG_END =3D new StringBuilder("\n") .append("\n"); = @@ -33,6 +42,8 @@ = public static final String CFG_FILE_NAME =3D "hibernate.cfg.xml"; = + public static final String ConsoleCFGName =3D "testConfigName"; + = public static void customizeCFGFileForPack(IPackageFragment pack) throws = CoreException{ IFolder srcFolder =3D (IFolder) pack.getParent().getResource(); IFile iFile =3D srcFolder.getFile(CFG_FILE_NAME); @@ -77,5 +88,21 @@ return persClass.getEntityName() !=3D null ? persClass.getEntityName() = : persClass.getClassName(); } } + = + public static void createConsoleCFG() throws CoreException{ + new ConsoleConfigurationCreationWizard2().run(); + } + = + private static class ConsoleConfigurationCreationWizard2 extends ConsoleC= onfigurationCreationWizard{ + = + public void run() throws CoreException { + IPath cfgFilePath =3D new Path(MappingTestProject.PROJECT_NAME + "/" + = + MappingTestProject.SRC_FOLDER + "/" + ProjectUtil.CFG_FILE_NAME); + createConsoleConfiguration(null, null, ConsoleCFGName, ConsoleConfigura= tionPreferences.ConfigurationMode.CORE, = + MappingTestProject.PROJECT_NAME, true, "", + null, cfgFilePath, new Path[0], new Path[0], "", "", new NullProgress= Monitor()); = + } + } + } Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/TestSet.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/TestSet.java 2008-01-10 13:11:= 06 UTC (rev 5580) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/TestSet.java 2008-01-10 13:15:= 28 UTC (rev 5581) @@ -1,3 +1,13 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ package org.hibernate.eclipse.console.test.mappingproject; = import junit.framework.TestSuite; @@ -28,11 +38,12 @@ } = private static void addPackTests(TestSuite suite){ - = + suite.addTestSuite( OpenSourceFileTest.class ); + suite.addTestSuite( OpenMappingFileTest.class ); } = private static void addTestsPackTearDown(TestSuite suite){ - //suite.addTestSuite( CloaseAllEditorsTest.class ); + suite.addTestSuite( CloaseAllEditorsTest.class ); } = } Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/TestSetAfterSetup.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/TestSetAfterSetup.java 2008-01= -10 13:11:06 UTC (rev 5580) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/TestSetAfterSetup.java 2008-01= -10 13:15:28 UTC (rev 5581) @@ -1,3 +1,14 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ + package org.hibernate.eclipse.console.test.mappingproject; = import junit.framework.TestSuite; @@ -9,7 +20,7 @@ public class TestSetAfterSetup { public static TestSuite getTests(){ TestSuite suite =3D new TestSuite("Test for MappingTestProject" ); - //suite.addTestSuite( HibernateNatureAddTest.class ); + suite.addTestSuite( HibernateNatureAddTest.class ); //suite.addTestSuite( CreateConsoleConfigTest.class ); return suite; } Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/TestSetBeforeTearDown.ja= va =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/TestSetBeforeTearDown.java 200= 8-01-10 13:11:06 UTC (rev 5580) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/TestSetBeforeTearDown.java 200= 8-01-10 13:15:28 UTC (rev 5581) @@ -1,3 +1,13 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ package org.hibernate.eclipse.console.test.mappingproject; = import junit.framework.TestSuite; Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/UpdateConfigurationTest.= 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/UpdateConfigurationTest.java 2= 008-01-10 13:11:06 UTC (rev 5580) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/UpdateConfigurationTest.java 2= 008-01-10 13:15:28 UTC (rev 5581) @@ -1,3 +1,13 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ package org.hibernate.eclipse.console.test.mappingproject; = import junit.framework.TestCase; --===============6770284492033832212==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 08:31:52 2008 Content-Type: multipart/mixed; boundary="===============3712104755383616953==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5582 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test: jbide and 1 other directory. Date: Thu, 10 Jan 2008 08:31:52 -0500 Message-ID: --===============3712104755383616953== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-10 08:31:52 -0500 (Thu, 10 Jan 2008) New Revision: 5582 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfAllTests.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/jbide/JBIDE1484Test.java Log: http://jira.jboss.com/jira/browse/JBIDE-1562, junit code adjustment Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-10 13:15:28 UTC (rev 5581) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-10 13:31:52 UTC (rev 5582) @@ -43,9 +43,9 @@ //add here projects which should be imported for junit tests List projectToImport =3D new ArrayList(); ImportBean importBean =3D new ImportBean(); - importBean.setImportProjectName("jsfTest"); + importBean.setImportProjectName(JsfComponentTest.IMPORT_PROJECT_NAME); importBean.setImportProjectPath(JsfTestPlugin.getPluginResourcePath()); - = + projectToImport.add(importBean); return new VpeTestSetup(suite,projectToImport); = } Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/jbide/JBIDE1484Test.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JBIDE1484Test.java 2008-01-10 13:15:28 UTC (rev 5581) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JBIDE1484Test.java 2008-01-10 13:31:52 UTC (rev 5582) @@ -82,8 +82,8 @@ nsIDOMElement elementInput2 =3D (nsIDOMElement) elements.get(2).queryInt= erface(nsIDOMElement.NS_IDOMELEMENT_IID); = assertEquals(elementInput0.getAttribute("value"),""); - assertNotNull(elementInput1.getAttribute("value"),""); - assertNotNull(elementInput2.getAttribute("value"),"test"); + assertEquals(elementInput1.getAttribute("value"),""); + assertEquals(elementInput2.getAttribute("value"),"test"); if(getException()!=3Dnull) { throw getException(); } --===============3712104755383616953==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 10:14:40 2008 Content-Type: multipart/mixed; boundary="===============3870116858155548859==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5583 - trunk/hibernatetools/docs/reference/en/modules. Date: Thu, 10 Jan 2008 10:14:40 -0500 Message-ID: --===============3870116858155548859== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-10 10:14:39 -0500 (Thu, 10 Jan 2008) New Revision: 5583 Modified: trunk/hibernatetools/docs/reference/en/modules/ant.xml trunk/hibernatetools/docs/reference/en/modules/codegenarchitecture.xml trunk/hibernatetools/docs/reference/en/modules/plugins.xml trunk/hibernatetools/docs/reference/en/modules/reverseengineering.xml trunk/hibernatetools/docs/reference/en/modules/setup.xml Log: http://jira.jboss.com/jira/browse/JBDS-238 - correcting the chapters accord= ing to the Svetlana Mukhina remarks Modified: trunk/hibernatetools/docs/reference/en/modules/ant.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/hibernatetools/docs/reference/en/modules/ant.xml 2008-01-10 13:31= :52 UTC (rev 5582) +++ trunk/hibernatetools/docs/reference/en/modules/ant.xml 2008-01-10 15:14= :39 UTC (rev 5583) @@ -17,7 +17,7 @@ of eclipse.
= - There might be incapabilities with respect to the Hibernate3.j= ar bundled with the tools + There might be incompatibilities with respect to the Hibernate= 3.jar bundled with the tools and your own jar. Thus to avoid any confusion it is recommended to= use the hibernate3.jar and hibernate-annotations.jar bundled with the tools when you want= to use the Ant tasks. Do not worry about using e.g. Hibernate 3.2 jar's with e.g. a Hiberna= te 3.1 project since the Modified: trunk/hibernatetools/docs/reference/en/modules/codegenarchitectur= e.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/hibernatetools/docs/reference/en/modules/codegenarchitecture.xml = 2008-01-10 13:31:52 UTC (rev 5582) +++ trunk/hibernatetools/docs/reference/en/modules/codegenarchitecture.xml = 2008-01-10 15:14:39 UTC (rev 5583) @@ -62,8 +62,10 @@ = In most projects you will normally use only one of the Core, Ann= otation or JPA configuration and possibly the JDBC configuration if you are using t= he reverse engineering - facilities of Hibernate Tools. The important th= ing to note is that no matter which Hibernate - Configuration type you are using Hibernate Tools supports them. + facilities of Hibernate Tools. + = + No matter which Hibernate + Configuration type you are using Hibernate Tools supports them. = The following drawing illustrates the core concepts: = Modified: trunk/hibernatetools/docs/reference/en/modules/plugins.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/hibernatetools/docs/reference/en/modules/plugins.xml 2008-01-10 1= 3:31:52 UTC (rev 5582) +++ trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2008-01-10 1= 5:14:39 UTC (rev 5583) @@ -80,7 +80,8 @@ = Enter your configuration information in this dialog. Details abo= ut the configuration - options can be found in Hibernate reference documentation<= /property>. + options can be found in Hibernate Reference Documentation. = Press Finish @@ -89,7 +90,7 @@ hibernate.cfg.xml will be automatically opened in an editor. The last opti= on Create Console Configuration - is enabled by default and when enabled i will automatica= lly use the + is enabled by default and when enabled it will automatic= ally use the hibernate.cfg.xml for the basis of a Console Configuration.
@@ -97,9 +98,9 @@
Creating a Hibernate Console configuration = - A Console Configuration describes to the Hibernate plugin how it + A Console Configuration describes how the Hibernate plugin = should configure Hibernate and what configurati= on files, including which - classpath is needed to load the POJO's, JDBC drivers etc. It is requ= ired to make usage of + classpath are needed to load the POJO's, JDBC drivers etc. It is req= uired to make usage of query prototyping, reverse engineering and code generation. You can = have multiple named console configurations. Normally you would just need one per project= , but more is definitely possible. @@ -930,14 +931,14 @@
= -
+
Hibernate Mapping and Configuration File Editor = The Hibernate Mapping file editor provides XML editing functiona= lity for the hbm.xml and cfg.xml - files. The editor is based on the Eclipse WTP tools and = extend its functionality + files. The editor is based on the Eclipse WTP tools and = extends its functionality to provide Hibernate specific code completion. =
Modified: trunk/hibernatetools/docs/reference/en/modules/reverseengineering= .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/hibernatetools/docs/reference/en/modules/reverseengineering.xml 2= 008-01-10 13:31:52 UTC (rev 5582) +++ trunk/hibernatetools/docs/reference/en/modules/reverseengineering.xml 2= 008-01-10 15:14:39 UTC (rev 5583) @@ -96,8 +96,7 @@ = ]]> = - - + =
Schema Selection (<schema-selection>) = @@ -148,7 +147,8 @@ "MY_SCHEMA", a specifi= c "CITY" table plus all tables that starts with - "CODES_ in COMMON_SCHEMA". + "CODES_" in + COMMON_SCHEMA". = Modified: trunk/hibernatetools/docs/reference/en/modules/setup.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/hibernatetools/docs/reference/en/modules/setup.xml 2008-01-10 13:= 31:52 UTC (rev 5582) +++ trunk/hibernatetools/docs/reference/en/modules/setup.xml 2008-01-10 15:= 14:39 UTC (rev 5583) @@ -47,7 +47,7 @@
Usage of Eclipse WTP = - The Hibernate Tools plugins currently use= s WTP + The Hibernate Tools plugins currently use= WTP 2.x which at this time is the latest stable release fro= m the Eclipse Webtools project. = --===============3870116858155548859==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 11:04:47 2008 Content-Type: multipart/mixed; boundary="===============8219487705918688074==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5584 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences. Date: Thu, 10 Jan 2008 11:03:07 -0500 Message-ID: --===============8219487705918688074== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-10 11:03:06 -0500 (Thu, 10 Jan 2008) New Revision: 5584 Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/p= references/SeamSettingsPreferencePage.java Log: JBIDE-1573 Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/se= am/ui/preferences/SeamSettingsPreferencePage.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/= preferences/SeamSettingsPreferencePage.java 2008-01-10 15:14:39 UTC (rev 55= 83) +++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/= preferences/SeamSettingsPreferencePage.java 2008-01-10 16:03:06 UTC (rev 55= 84) @@ -12,18 +12,24 @@ = import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; +import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Set; import java.util.TreeSet; = +import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.ProjectScope; 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.preferences.IEclipsePreferences; +import org.eclipse.jdt.core.IClasspathEntry; +import org.eclipse.jdt.core.IJavaProject; +import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jface.dialogs.IMessageProvider; import org.eclipse.jface.preference.PreferenceDialog; import org.eclipse.jface.wizard.Wizard; @@ -45,6 +51,7 @@ import org.jboss.tools.seam.core.SeamPreferences; import org.jboss.tools.seam.core.project.facet.SeamRuntime; import org.jboss.tools.seam.core.project.facet.SeamRuntimeManager; +import org.jboss.tools.seam.core.project.facet.SeamVersion; import org.jboss.tools.seam.ui.SeamGuiPlugin; import org.jboss.tools.seam.ui.internal.project.facet.IValidator; import org.jboss.tools.seam.ui.widget.editor.ButtonFieldEditor; @@ -53,6 +60,7 @@ import org.jboss.tools.seam.ui.widget.editor.IFieldEditorFactory; import org.jboss.tools.seam.ui.widget.editor.ITaggedFieldEditor; import org.jboss.tools.seam.ui.widget.editor.LabelFieldEditor; +import org.jboss.tools.seam.ui.widget.editor.SeamRuntimeListFieldEditor; import org.jboss.tools.seam.ui.widget.editor.ButtonFieldEditor.ButtonPress= edAction; import org.jboss.tools.seam.ui.widget.editor.SeamRuntimeListFieldEditor.Se= amRuntimeNewWizard; = @@ -375,9 +383,32 @@ && !hasNature("org.eclipse.wst.common.project.facet.core.nature")) { return SeamRuntimeManager.getInstance().getAllRuntimeNames(); } + if(seamProject !=3D null) { + SeamRuntime r =3D seamProject.getRuntime(); + if(r !=3D null) { + SeamRuntime[] rs =3D SeamRuntimeManager.getInstance().getRuntimes(r.ge= tVersion()); + return toNames(rs); + } + String jarLocation =3D getJBossSeamJarLocation(); + if(jarLocation !=3D null) { + String folder =3D new File(jarLocation).getParent(); + String vs =3D SeamRuntimeListFieldEditor.SeamRuntimeWizardPage.getSeam= Version(folder); + SeamVersion v =3D findMatchingVersion(vs); + if(v !=3D null) { + SeamRuntime[] rs =3D SeamRuntimeManager.getInstance().getRuntimes(v); + return toNames(rs); + } + } + } return SeamRuntimeManager.getInstance().getRuntimeNames(); } = + private List toNames(SeamRuntime[] rs) { + List list =3D new ArrayList(); + if(rs !=3D null) for (int i =3D 0; i < rs.length; i++) list.add(rs[i].ge= tName()); + return list; + } + = private boolean hasNature(String natureId) { try { return project !=3D null && project.isAccessible() && project.hasNature= (natureId); @@ -385,4 +416,37 @@ return false; } } + = + private String getJBossSeamJarLocation() { + IJavaProject jp =3D EclipseResourceUtil.getJavaProject(project); + if(jp =3D=3D null) return null; + IClasspathEntry[] es =3D null; + try { + es =3D jp.getResolvedClasspath(true); + } catch (JavaModelException e) { + //ignore + return null; + } + if(es =3D=3D null) return null; + for (int i =3D 0; i < es.length; i++) { + IPath p =3D es[i].getPath(); + if(p !=3D null && p.lastSegment().equalsIgnoreCase("jboss-seam.jar")) { + IFile f =3D ResourcesPlugin.getWorkspace().getRoot().getFile(p); + if(f !=3D null && f.exists()) return f.getLocation().toString(); + } + } + return null; + } + = + private SeamVersion findMatchingVersion(String vs) { + if(vs =3D=3D null) return null; + if(vs.matches(SeamVersion.SEAM_1_2.toString().replace(".", "\\.") + ".*"= )) { + return SeamVersion.SEAM_1_2; + } + if(vs.matches(SeamVersion.SEAM_2_0.toString().replace(".", "\\.") + ".*"= )) { + return SeamVersion.SEAM_2_0; + } + return null; + } + } --===============8219487705918688074==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 11:29:12 2008 Content-Type: multipart/mixed; boundary="===============5812253229766463668==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5585 - trunk/jsf/tests. Date: Thu, 10 Jan 2008 11:29:12 -0500 Message-ID: --===============5812253229766463668== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-10 11:29:11 -0500 (Thu, 10 Jan 2008) New Revision: 5585 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/ Log: http://jira.jboss.com/jira/browse/JBIDE-1566 added junit tests for html tags --===============5812253229766463668==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 11:30:44 2008 Content-Type: multipart/mixed; boundary="===============1939061647854336436==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5586 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test: META-INF and 28 other directories. Date: Thu, 10 Jan 2008 11:30:43 -0500 Message-ID: --===============1939061647854336436== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-10 11:30:43 -0500 (Thu, 10 Jan 2008) New Revision: 5586 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/.classpath trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/.project trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.cl= asspath trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.pr= oject trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.se= ttings/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.se= ttings/org.eclipse.jdt.core.prefs trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.se= ttings/org.eclipse.jst.common.project.facet.core.prefs trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.se= ttings/org.eclipse.wst.common.component trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.se= ttings/org.eclipse.wst.common.project.facet.core.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.se= ttings/org.jboss.tools.jst.web.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Jav= aSource/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/META-INF/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/META-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/WEB-INF/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/WEB-INF/classes/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/WEB-INF/faces-config.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/WEB-INF/lib/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/WEB-INF/lib/common-annotations.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/WEB-INF/lib/commons-beanutils.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/WEB-INF/lib/commons-collections.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/WEB-INF/lib/commons-digester.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/WEB-INF/lib/commons-logging.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/WEB-INF/lib/jsf-tlds.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/WEB-INF/lib/jstl.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/WEB-INF/lib/standard.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/WEB-INF/web.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/css/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/css/stylesheet.css trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/img/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/img/image.jpeg trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/index.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/block/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/block/div.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/block/dl.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/block/lists.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/block/span.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/core/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/core/a.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/core/address.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/core/basic.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/core/img.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/core/link.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/core/map.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/core/object.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/core/style.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/core/title.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/form/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/form/button.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/form/fieldset.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/form/form.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/form/input.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/form/label.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/form/select.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/form/textArea.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/frames/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/frames/frameset.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/frames/iframe.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/frames/temp/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/frames/temp/ifr.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/frames/temp/left.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/frames/temp/right.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/scripts/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/scripts/script.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/table/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/table/complex_table.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/table/table.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/abbr.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/acronym.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/b.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/big.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/blockquote.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/br.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/cite.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/code.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/del.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/dfn.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/em.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/hr.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/i.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/ins.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/kbd.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/p.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/pre.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/q.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/samp.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/small.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/strong.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/sub.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/sup.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/tt.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/Web= Content/pages/components/text/var.html trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/ant/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/ant= /build.properties trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/ant= /build.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/js= f/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/js= f/vpe/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/js= f/vpe/html/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/js= f/vpe/html/test/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/js= f/vpe/html/test/HtmlAllTests.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/js= f/vpe/html/test/HtmlComponentTest.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/js= f/vpe/html/test/HtmlTestPlugin.java Log: http://jira.jboss.com/jira/browse/JBIDE-1566 added junit tests for html tags Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/.classpath = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/.classpath 2008-01-10= 16:30:43 UTC (rev 5586) @@ -0,0 +1,7 @@ + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/.project = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/.project 2008-01-10 1= 6:30:43 UTC (rev 5586) @@ -0,0 +1,28 @@ + + + org.jboss.tools.jsf.vpe.html.test + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF = 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,20 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Test Html Plug-in +Bundle-SymbolicName: org.jboss.tools.jsf.vpe.html.test +Bundle-Version: 1.0.0 +Bundle-Activator: org.jboss.tools.jsf.vpe.html.test.HtmlTestPlugin +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.jboss.tools.vpe, + org.junit, + org.eclipse.core.resources, + org.eclipse.ui.ide, + org.jboss.tools.common, + org.jboss.tools.jst.jsp, + org.jboss.tools.common.text.ext, + org.jboss.tools.common.model, + org.jboss.tools.vpe.xulrunner, + org.mozilla.xpcom, + org.jboss.tools.jsf.vpe.ui.test +Eclipse-LazyStart: true Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties 2008= -01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,8 @@ +bin.includes =3D META-INF/,\ + html-test.jar +src.includes =3D META-INF/,\ + build.properties,\ + src/ +jars.compile.order =3D html-test.jar +source.html-test.jar =3D src/ +output.html-test.jar =3D bin/ Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.c= lasspath (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.c= lasspath 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,9 @@ + + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.p= roject (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.p= roject 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,36 @@ + + + htmlTest + + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.jboss.tools.common.verification.verifybuilder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.jdt.core.javanature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.jboss.tools.jsf.jsfnature + org.eclipse.wst.common.project.facet.core.nature + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /.settings/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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.s= ettings/org.eclipse.jdt.core.prefs (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.s= ettings/org.eclipse.jdt.core.prefs 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,7 @@ +#Tue Jan 08 11:51:26 GMT+02:00 2008 +eclipse.preferences.version=3D1 +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 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /.settings/org.eclipse.jst.common.project.facet.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.s= ettings/org.eclipse.jst.common.project.facet.core.prefs = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.s= ettings/org.eclipse.jst.common.project.facet.core.prefs 2008-01-10 16:30:43= UTC (rev 5586) @@ -0,0 +1,4 @@ +#Tue Jan 08 11:51:27 GMT+02:00 2008 +classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jd= t.internal.debug.ui.launcher.StandardVMType\:\:jdk1.5.0_13/owners=3Djst.jav= a\:5.0 +classpath.helper/org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRu= ntimeInitializer\:\:JBoss\ 4.2\ Runtime/owners=3Djst.web\:2.4 +eclipse.preferences.version=3D1 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /.settings/org.eclipse.wst.common.component =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.s= ettings/org.eclipse.wst.common.component (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.s= ettings/org.eclipse.wst.common.component 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,9 @@ + + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /.settings/org.eclipse.wst.common.project.facet.core.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/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.s= ettings/org.eclipse.wst.common.project.facet.core.xml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.s= ettings/org.eclipse.wst.common.project.facet.core.xml 2008-01-10 16:30:43 U= TC (rev 5586) @@ -0,0 +1,8 @@ + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /.settings/org.jboss.tools.jst.web.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/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.s= ettings/org.jboss.tools.jst.web.xml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/.s= ettings/org.jboss.tools.jst.web.xml 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/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/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/META-INF/MANIFEST.MF (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/META-INF/MANIFEST.MF 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: = + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/WEB-INF/faces-config.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/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/WEB-INF/faces-config.xml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/WEB-INF/faces-config.xml 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,6 @@ + + + + = + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/reso= urces/htmlTest/WebContent/WEB-INF/lib/common-annotations.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/reso= urces/htmlTest/WebContent/WEB-INF/lib/commons-beanutils.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/reso= urces/htmlTest/WebContent/WEB-INF/lib/commons-collections.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/reso= urces/htmlTest/WebContent/WEB-INF/lib/commons-digester.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/reso= urces/htmlTest/WebContent/WEB-INF/lib/commons-logging.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/WEB-INF/lib/jsf-tlds.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/reso= urces/htmlTest/WebContent/WEB-INF/lib/jsf-tlds.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/WEB-INF/lib/jstl.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/reso= urces/htmlTest/WebContent/WEB-INF/lib/jstl.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/reso= urces/htmlTest/WebContent/WEB-INF/lib/standard.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/WEB-INF/web.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/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/WEB-INF/web.xml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/WEB-INF/web.xml 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,26 @@ + + + htmlTest + + javax.faces.STATE_SAVING_METHOD + server + + + com.sun.faces.config.ConfigureListener + + + + Faces Servlet + javax.faces.webapp.FacesServlet + 1 + + + + Faces Servlet + *.jsf + + + BASIC + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/css/stylesheet.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/css/stylesheet.css (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/css/stylesheet.css 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,3 @@ +H1 { + color: red +} \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/img/image.jpeg =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.html.test/reso= urces/htmlTest/WebContent/img/image.jpeg ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/index.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/index.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/index.jsp 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/block/div.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/block/div.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/block/div.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,12 @@ + + + + + +

div

+ +
some +text
+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/block/dl.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/block/dl.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/block/dl.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,18 @@ + + + + + +

dl,dt,dd

+ +
+
some term 1
+
some definition 1
+ +
some term 2
+
some definition 2
+ +
+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/block/lists.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/block/lists.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/block/lists.html 2008-01-10 16:30:43 UTC (rev 558= 6) @@ -0,0 +1,21 @@ + + + + + +

ul,ol,li

+ +
    +
  • text 1
  • +
  • text 2
  • +
  • text 3
  • +
+ +
    +
  1. text 1
  2. +
  3. text 2
  4. +
  5. text 3
  6. +
+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/block/span.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/block/span.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/block/span.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + +

span

+ +Some text + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/core/a.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/a.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/a.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + +

a

+ +link + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/core/address.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/address.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/address.html 2008-01-10 16:30:43 UTC (rev 55= 86) @@ -0,0 +1,11 @@ + + + + + +

address

+ +
address
+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/core/basic.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/basic.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/basic.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,9 @@ + + + + + +

html,head,body,h1

+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/core/img.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/img.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/img.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + +

img

+ +3D"img" + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/core/link.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/link.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/link.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + + + +

link

+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/core/map.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/map.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/map.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,14 @@ + + + + +

map,area

+ + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/core/object.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/object.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/object.html 2008-01-10 16:30:43 UTC (rev 558= 6) @@ -0,0 +1,13 @@ + + + + + +

object,param

+ + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/core/style.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/style.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/style.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,19 @@ + + + + + + + + +

style

+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/core/title.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/title.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/core/title.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,12 @@ + + + +title + + + + +

title

+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/form/button.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/form/button.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/form/button.html 2008-01-10 16:30:43 UTC (rev 558= 6) @@ -0,0 +1,11 @@ + + + + + +

button

+ + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/form/fieldset.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/form/fieldset.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/form/fieldset.html 2008-01-10 16:30:43 UTC (rev 5= 586) @@ -0,0 +1,16 @@ + + + + + +

fieldset,legend

+ +
+ legend + one
+ two
+ +
+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/form/form.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/form/form.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/form/form.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,15 @@ + + + + + +

form

+ +
+ + + +
+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/form/input.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/form/input.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/form/input.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,53 @@ + + + + + +

input

+ +

input

+ + + +

checkbox

+ + + +

file

+ + + +

hidden

+ + + +

input button

+ + + +

input image

+ + + +

password

+ + + +

radio

+ + + +

reset

+ + + +

submit

+ + + +

text

+ + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/form/label.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/form/label.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/form/label.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + +

label

+ + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/form/select.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/form/select.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/form/select.html 2008-01-10 16:30:43 UTC (rev 558= 6) @@ -0,0 +1,22 @@ + + + + + +

select,optgroup,option

+ + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/form/textArea.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/form/textArea.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/form/textArea.html 2008-01-10 16:30:43 UTC (rev 5= 586) @@ -0,0 +1,13 @@ + + + + + +

textArea

+ + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/frames/frameset.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/frames/frameset.html (rev= 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/frames/frameset.html 2008-01-10 16:30:43 UTC (rev= 5586) @@ -0,0 +1,13 @@ + + + + + + + + your browser don't support frames + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/frames/iframe.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/frames/iframe.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/frames/iframe.html 2008-01-10 16:30:43 UTC (rev 5= 586) @@ -0,0 +1,12 @@ + + + + + +

iframe

+ + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/frames/temp/ifr.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/frames/temp/ifr.html (rev= 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/frames/temp/ifr.html 2008-01-10 16:30:43 UTC (rev= 5586) @@ -0,0 +1,7 @@ + + + +

iframe page

+ + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/frames/temp/left.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/frames/temp/left.html (re= v 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/frames/temp/left.html 2008-01-10 16:30:43 UTC (re= v 5586) @@ -0,0 +1,7 @@ + + + +

left

+ + + = \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/frames/temp/right.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/frames/temp/right.html (r= ev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/frames/temp/right.html 2008-01-10 16:30:43 UTC (r= ev 5586) @@ -0,0 +1,7 @@ + + + +

right

+ + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/scripts/script.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/scripts/script.html (rev = 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/scripts/script.html 2008-01-10 16:30:43 UTC (rev = 5586) @@ -0,0 +1,17 @@ + + + + + +

script,noscript

+ + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/table/complex_table.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/table/complex_table.html = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/table/complex_table.html 2008-01-10 16:30:43 UTC = (rev 5586) @@ -0,0 +1,36 @@ + + + + + +

tcaption,th,thead,tbody,tfoot

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
caption of a table
heading 1heading 2
head 1head 2
foot text 1foot text 2
body text 1body text 2
+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/table/table.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/table/table.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/table/table.html 2008-01-10 16:30:43 UTC (rev 558= 6) @@ -0,0 +1,22 @@ + + + + + +

table,colgroup,col,tr,td

+ + + + + + + + + + + + +
Some TextSome TextSome TextSome Text
+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/abbr.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/abbr.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/abbr.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + +

abbr

+ +abbreviation + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/acronym.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/acronym.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/acronym.html 2008-01-10 16:30:43 UTC (rev 55= 86) @@ -0,0 +1,11 @@ + + + + + +

acronym

+ +acronym + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/b.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/b.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/b.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,12 @@ + + + + + +

b

+ +some bold text +some general text + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/big.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/big.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/big.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,12 @@ + + + + + +

big

+ + big text big text +normal text + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/blockquote.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/blockquote.html (rev= 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/blockquote.html 2008-01-10 16:30:43 UTC (rev= 5586) @@ -0,0 +1,11 @@ + + + + + +

blockquote

+ +
Some Text
+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/br.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/br.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/br.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + +

br

+ +text 1
text 2 + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/cite.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/cite.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/cite.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + +

cite

+ +some text + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/code.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/code.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/code.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,19 @@ + + + + + +

code

+ + = + function checkParent (src, dest) {
+ while (src !=3D null) {
+ if (src.tagName =3D=3D dest) return src
+ src =3D src.parentElement
+ }
+ return null
+ } +
+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/del.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/del.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/del.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + +

del

+ +Some Text + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/dfn.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/dfn.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/dfn.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + +

dfn

+ +Some Text + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/em.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/em.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/em.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + +

em

+ +Some Text + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/hr.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/hr.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/hr.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,13 @@ + + + + + +

hr

+ +String 1 +
+String 2 + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/i.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/i.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/i.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + +

i

+ + Some Text + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/ins.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/ins.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/ins.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,12 @@ + + + + + +

ins

+ +Old Text +New Text + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/kbd.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/kbd.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/kbd.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,12 @@ + + + + + +

kbd

+ +<Ctrl>+<Backspace> +or +<Ctrl>+<Delete> + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/p.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/p.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/p.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + +

p

+ +Some text 1 +

Some text 2 + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/pre.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/pre.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/pre.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,16 @@ + + + + + +

pre

+ + string 1 = + string 2 +
+	string   1
+	string   2 =

+
+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/q.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/q.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/q.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + +

q

+ +Some Text + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/samp.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/samp.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/samp.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + +

samp

+ + Some Text + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/small.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/small.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/small.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + +

small

+ + very small text small text +normal text + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/strong.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/strong.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/strong.html 2008-01-10 16:30:43 UTC (rev 558= 6) @@ -0,0 +1,12 @@ + + + + + +

strong

+ +Some strong text +some text + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/sub.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/sub.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/sub.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,14 @@ + + + + + +

sub

+ +H +2 +SO +4 + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/sup.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/sup.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/sup.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,15 @@ + + + + + +

sup

+ +X +n ++ Y +n +=3D Z + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/tt.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/tt.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/tt.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + +

tt

+ +some text + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /WebContent/pages/components/text/var.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/var.html (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/We= bContent/pages/components/text/var.html 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,11 @@ + + + + + +

var

+ +someVariable + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /ant/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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/an= t/build.properties (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/an= t/build.properties 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,3 @@ +# +#Tue Jan 08 11:51:26 GMT+02:00 2008 +classpath.external=3D/home/transfer/work/testing/test-workspace6/.metadata= /.plugins/org.jboss.tools.common.projecttemplates/lib/servlet/2.4/jsp-api.j= ar;/home/transfer/work/testing/test-workspace6/.metadata/.plugins/org.jboss= .tools.common.projecttemplates/lib/servlet/2.4/servlet-api.jar; Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest= /ant/build.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/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/an= t/build.xml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/resources/htmlTest/an= t/build.xml 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tool= s/jsf/vpe/html/test/HtmlAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/j= sf/vpe/html/test/HtmlAllTests.java (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/j= sf/vpe/html/test/HtmlAllTests.java 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,49 @@ +/*************************************************************************= ****** = + * 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.jsf.vpe.html.test; + +import java.util.ArrayList; +import java.util.List; + +import junit.framework.Test; +import junit.framework.TestSuite; + +import org.jboss.tools.vpe.ui.test.VpeTestSetup; +import org.jboss.tools.vpe.ui.test.beans.ImportBean; + +/** + * Class for testing all RichFaces components + * = + * @author sdzmitrovich + * = + */ + +public class HtmlAllTests { + + public static Test suite() { + + TestSuite suite =3D new TestSuite("Tests for Vpe Jsf components"); // $N= ON-NLS-1$ + // $JUnit-BEGIN$ + suite.addTestSuite(HtmlComponentTest.class); + + // $JUnit-END$ + // added by Max Areshkau + // add here projects which should be imported for junit tests + List projectToImport =3D new ArrayList(); + ImportBean importBean =3D new ImportBean(); + importBean.setImportProjectName(HtmlComponentTest.IMPORT_PROJECT_NAME); + importBean.setImportProjectPath(HtmlTestPlugin.getPluginResourcePath()); + projectToImport.add(importBean); + return new VpeTestSetup(suite, projectToImport); + + } + +} Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/= org/jboss/tools/jsf/vpe/html/test/HtmlAllTests.java ___________________________________________________________________ Name: svn:executable + * Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tool= s/jsf/vpe/html/test/HtmlComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/j= sf/vpe/html/test/HtmlComponentTest.java (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/j= sf/vpe/html/test/HtmlComponentTest.java 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,311 @@ +/*************************************************************************= ****** = + * 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.jsf.vpe.html.test; + +import org.eclipse.core.resources.IFile; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; + +/** + * Class for testing all html components + * = + * @author Sergey Dzmitrovich + * = + */ +public class HtmlComponentTest extends VpeTest { + + // import project name + public static final String IMPORT_PROJECT_NAME =3D "htmlTest"; + + public HtmlComponentTest(String name) { + super(name); + setCheckWarning(false); + } + + /* + * test for block html tags + */ + + public void testDiv() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/block/div.html", IMPORT_PROJECT_NAME)); + } + + public void testDl() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/block/dl.html", IMPORT_PROJECT_NAME)); + } + + public void testLists() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/block/lists.html", IMPORT_PROJECT_NAME)); + } + + public void testSpan() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/block/span.html", IMPORT_PROJECT_NAME)); + } + + /* + * test for core html tags + */ + + public void testA() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/a.html", IMPORT_PROJECT_NAME)); + } + + public void testAddress() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/address.html", IMPORT_PROJECT_NAME)); + } + + public void testBasic() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/basic.html", IMPORT_PROJECT_NAME)); + } + + public void testImg() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/img.html", IMPORT_PROJECT_NAME)); + } + + public void testLink() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/link.html", IMPORT_PROJECT_NAME)); + } + + public void testMap() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/map.html", IMPORT_PROJECT_NAME)); + } + + public void testObject() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/object.html", IMPORT_PROJECT_NAME)); + } + + public void testStyle() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/style.html", IMPORT_PROJECT_NAME)); + } + + public void testTitle() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/title.html", IMPORT_PROJECT_NAME)); + } + + /* + * test for form html tags + */ + + public void testButton() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/form/button.html", IMPORT_PROJECT_NAME)); + } + + public void testFieldset() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/form/fieldset.html", IMPORT_PROJECT_NAME)); + } + + public void testForm() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/form/form.html", IMPORT_PROJECT_NAME)); + } + + public void testInput() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/form/input.html", IMPORT_PROJECT_NAME)); + } + + public void testLabel() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/form/label.html", IMPORT_PROJECT_NAME)); + } + + public void testSelect() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/form/select.html", IMPORT_PROJECT_NAME)); + } + + public void testTextArea() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/form/textArea.html", IMPORT_PROJECT_NAME)); + } + + /* + * test for frames html tags + */ + + public void testFrameset() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/frames/frameset.html", IMPORT_PROJECT_NAME)); + } + + public void testIframe() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/frames/iframe.html", IMPORT_PROJECT_NAME)); + } + + /* + * test for scripts html tags + */ + + public void testScript() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/scripts/script.html", IMPORT_PROJECT_NAME)); + } + + /* + * test for table html tags + */ + + public void testComplexTable() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/table/complex_table.html", IMPORT_PROJECT_NAME)); + } + + public void testTable() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/table/table.html", IMPORT_PROJECT_NAME)); + } + + /* + * test for text html tags + */ + + public void testAbbr() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/abbr.html", IMPORT_PROJECT_NAME)); + } + + public void testAcronym() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/acronym.html", IMPORT_PROJECT_NAME)); + } + + public void testB() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/b.html", IMPORT_PROJECT_NAME)); + } + + public void testBig() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/big.html", IMPORT_PROJECT_NAME)); + } + + public void testBlockquote() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/blockquote.html", IMPORT_PROJECT_NAME)); + } + + public void testBr() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/br.html", IMPORT_PROJECT_NAME)); + } + + public void testCite() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/cite.html", IMPORT_PROJECT_NAME)); + } + + public void testCode() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/code.html", IMPORT_PROJECT_NAME)); + } + + public void testDel() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/del.html", IMPORT_PROJECT_NAME)); + } + + public void testDfn() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/dfn.html", IMPORT_PROJECT_NAME)); + } + + public void testEm() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/em.html", IMPORT_PROJECT_NAME)); + } + + public void testHr() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/hr.html", IMPORT_PROJECT_NAME)); + } + + public void testI() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/i.html", IMPORT_PROJECT_NAME)); + } + + public void testIns() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/ins.html", IMPORT_PROJECT_NAME)); + } + + public void testKbd() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/kbd.html", IMPORT_PROJECT_NAME)); + } + + public void testP() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/p.html", IMPORT_PROJECT_NAME)); + } + + public void testPre() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/pre.html", IMPORT_PROJECT_NAME)); + } + + public void testQ() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/q.html", IMPORT_PROJECT_NAME)); + } + + public void testSamp() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/samp.html", IMPORT_PROJECT_NAME)); + } + + public void testSmall() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/small.html", IMPORT_PROJECT_NAME)); + } + + public void testStrong() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/strong.html", IMPORT_PROJECT_NAME)); + } + + public void testSub() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/sub.html", IMPORT_PROJECT_NAME)); + } + + public void testSup() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/sup.html", IMPORT_PROJECT_NAME)); + } + + public void testTt() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/tt.html", IMPORT_PROJECT_NAME)); + } + + public void testVar() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/var.html", IMPORT_PROJECT_NAME)); + } + +} Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/= org/jboss/tools/jsf/vpe/html/test/HtmlComponentTest.java ___________________________________________________________________ Name: svn:executable + * Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tool= s/jsf/vpe/html/test/HtmlTestPlugin.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/j= sf/vpe/html/test/HtmlTestPlugin.java (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/j= sf/vpe/html/test/HtmlTestPlugin.java 2008-01-10 16:30:43 UTC (rev 5586) @@ -0,0 +1,69 @@ +package org.jboss.tools.jsf.vpe.html.test; + +import java.net.URL; + +import org.eclipse.core.runtime.FileLocator; +import org.eclipse.core.runtime.Platform; +import org.eclipse.core.runtime.Plugin; +import org.osgi.framework.Bundle; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class HtmlTestPlugin extends Plugin { + + // The plug-in ID + public static final String PLUGIN_ID =3D "org.jboss.tools.jsf.vpe.html.te= st"; + + // The shared instance + private static HtmlTestPlugin plugin; + + /** + * The constructor + */ + public HtmlTestPlugin() { + } + + /* + * (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 HtmlTestPlugin getDefault() { + return plugin; + } + + public static String getPluginResourcePath() { + Bundle bundle =3D Platform.getBundle(PLUGIN_ID); + URL url =3D null; + try { + url =3D bundle =3D=3D null ? null : FileLocator.resolve(bundle + .getEntry("/resources")); // $NON-NLS-1$ + } catch (Exception e) { + url =3D bundle.getEntry("/resources"); // $NON-NLS-1$ + } + return (url =3D=3D null) ? null : url.getPath(); + } + +} --===============1939061647854336436==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 11:49:26 2008 Content-Type: multipart/mixed; boundary="===============8256338420554590472==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5587 - in branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces: resources/orderingList and 3 other directories. Date: Thu, 10 Jan 2008 11:49:26 -0500 Message-ID: --===============8256338420554590472== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dmaliarevich Date: 2008-01-10 11:49:26 -0500 (Thu, 10 Jan 2008) New Revision: 5587 Added: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/resources/orderingList/ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/resources/orderingList/bottom.gif branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/resources/orderingList/down.gif branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/resources/orderingList/orderingList.css branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/resources/orderingList/top.gif branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/resources/orderingList/up.gif branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.ja= va Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/src/org/jboss/tools/jsf/vpe/richfaces/ComponentUtil.java branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/templates/vpe-templates-richfaces.xml Log: rich faces orderingList template Added: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.ri= chfaces/resources/orderingList/bottom.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.to= ols.jsf.vpe.richfaces/resources/orderingList/bottom.gif ___________________________________________________________________ Name: svn:mime-type + image/gif Added: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.ri= chfaces/resources/orderingList/down.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.to= ols.jsf.vpe.richfaces/resources/orderingList/down.gif ___________________________________________________________________ Name: svn:mime-type + image/gif Added: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.ri= chfaces/resources/orderingList/orderingList.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/resources/orderingList/orderingList.css (rev 0) +++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/resources/orderingList/orderingList.css 2008-01-10 16:49:26 UTC (rev 5= 587) @@ -0,0 +1,123 @@ +.dr-table { + border-top: 1px solid; + border-left: 1px solid; + border-color: #C4C0B9; +} + +.dr-table-cell { + border-right: 1px solid; + border-bottom: 1px solid; + border-color: #C4C0B9; + padding: 4px 4px 4px 4px; + font-size: 11px; + color: #000000; + font-family: Arial, Verdana, sans-serif; +} + +.dr-subtable-cell { + border-right: 1px solid; + border-bottom: 1px solid; + border-color: #C4C0B9; + padding: 4px 4px 4px 4px; + font-size: 11px; + color: #000000; + font-family: Arial, Verdana, sans-serif; +} + +.dr-table-header { + background-color: #D4CFC7; + background-position: top left; + background-repeat: repeat-x; +} + +.dr-table-header-continue { + background-color: #D4CFC7; +} + +.dr-table-headercell { + border-right: 1px solid; + border-bottom: 1px solid; + border-color: #C4C0B9; + padding: 4px 4px 4px 4px; + color: #000000; + text-align: center; + font-weight: bold; + font-size: 11px; + font-family: Arial, Verdana, sans-serif; +} + +.dr-table-subheader { + background-color: #F1EEE9; +} + +.dr-table-subheadercell { + border-right: 1px solid; + border-bottom: 1px solid; + border-color: #C4C0B9; + padding: 4px 4px 4px 4px; + text-align: center; + font-size: 11px; + font-color: #000000; + font-family: Arial, Verdana, sans-serif; +} + +.dr-table-footercell { + border-right: 1px solid; + border-bottom: 1px solid; + border-color: #C4C0B9; + padding: 4px 4px 4px 4px; + color: #000000; + text-align: left; + font-weight: bold; + font-size: 11px; + font-family: Arial, Verdana, sans-serif; +} + +.dr-table-subfootercell { + border-right: 1px solid; + border-bottom: 1px solid; + border-color: #C4C0B9; + padding: 4px 4px 4px 4px; + text-align: left; + font-size: 11px; + color: #000000; + font-family: Arial, Verdana, sans-serif; +} + +.dr-subtable-header { + background-color: #F1EEE9; +} + +.dr-subtable-headercell { + border-right: 1px solid; + border-bottom: 1px solid; + border-color: #C4C0B9; + padding: 4px 4px 4px 4px; + text-align: center; + font-size: 11px; + color: #000000; + font-family: Arial, Verdana, sans-serif; +} + +.dr-subtable-footercell { + border-right: 1px solid; + border-bottom: 1px solid; + border-color: #C4C0B9; + padding: 4px 4px 4px 4px; + text-align: left; +} + +.dr-spr { + display: block; +} + +.dr-table-hidden { + overflow: hidden; + border: solid 1px #C4C0C9; +} + +.dr-control-buttons { + font-size: 11px; + color: #000000; + font-family: Arial, Verdana, sans-serif; +} Property changes on: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.to= ols.jsf.vpe.richfaces/resources/orderingList/orderingList.css ___________________________________________________________________ Name: svn:mime-type + text/css Added: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.ri= chfaces/resources/orderingList/top.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.to= ols.jsf.vpe.richfaces/resources/orderingList/top.gif ___________________________________________________________________ Name: svn:mime-type + image/gif Added: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.ri= chfaces/resources/orderingList/up.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.to= ols.jsf.vpe.richfaces/resources/orderingList/up.gif ___________________________________________________________________ Name: svn:mime-type + image/gif Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe= .richfaces/src/org/jboss/tools/jsf/vpe/richfaces/ComponentUtil.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_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/src/org/jboss/tools/jsf/vpe/richfaces/ComponentUtil.java 2008-01-10 16= :30:43 UTC (rev 5586) +++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/src/org/jboss/tools/jsf/vpe/richfaces/ComponentUtil.java 2008-01-10 16= :49:26 UTC (rev 5587) @@ -436,4 +436,24 @@ } else visualNode.removeAttribute(attrName); } + = + /** + * Parses string value retrieved from = + * sourceElement.getAttribure(..) method = + * to its boolean value. + *

+ * false is returned only if it specified explicitly, + * otherwise true is returned. + * = + * @param str the string to parse + * @return boolean value from string + */ + public static boolean string2boolean(String str) { + if ((str =3D=3D null) || ("".equals(str))) { + return true; + } else if (("true".equalsIgnoreCase(str)) || ("false".equalsIgnoreCase(s= tr))) { + return new Boolean(str).booleanValue(); + } = + return true; + } } \ No newline at end of file Added: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.ri= chfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingLis= t.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_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.j= ava (rev 0) +++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.j= ava 2008-01-10 16:49:26 UTC (rev 5587) @@ -0,0 +1,755 @@ +/** + * = + */ +package org.jboss.tools.jsf.vpe.richfaces.template; + +import java.util.ArrayList; +import java.util.List; + +import org.jboss.tools.jsf.vpe.richfaces.ComponentUtil; +import org.jboss.tools.jsf.vpe.richfaces.HtmlComponentUtil; +import org.jboss.tools.jsf.vpe.richfaces.RichFacesTemplatesActivator; +import org.jboss.tools.vpe.editor.context.VpePageContext; +import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate; +import org.jboss.tools.vpe.editor.template.VpeChildrenInfo; +import org.jboss.tools.vpe.editor.template.VpeCreationData; +import org.mozilla.interfaces.nsIDOMDocument; +import org.mozilla.interfaces.nsIDOMElement; +import org.w3c.dom.Element; +import org.w3c.dom.Node; +import org.w3c.dom.NodeList; + +/** + * @author dmaliarevich + * = + */ +public class RichFacesOrderingList extends VpeAbstractTemplate { + + final static String DEFAULT_HEIGHT =3D "200px"; + final static String DEFAULT_WIDTH =3D "300px"; + final static String HEADER =3D "header"; + final static String HEADER_CLASS =3D "headerClass"; + final static String FOOTER =3D "footer"; + final static String FOOTER_CLASS =3D "footerClass"; + final static String CAPTION_CLASS =3D "captionClass"; + final static String CAPTION_STYLE =3D "captionStyle"; + final static String SPACE =3D " "; + + private static String STYLE_FOR_CAPTOION_LABEL =3D "white-space: normal; = word-wrap: break-word; font-weight: bold; "; + private static String STYLE_FOR_LOW_SCROLL =3D "overflow: scroll; width: = 100%; height: 17px;"; + private static String STYLE_FOR_RIGHT_SCROLL =3D "overflow: scroll; width= : 17px; height: 100%;"; + + private static int NUM_ROW =3D 5; + + private static final String TOP_CONTROL_IMG =3D "orderingList/top.gif"; + private static final String UP_CONTROL_IMG =3D "orderingList/up.gif"; + private static final String DOWN_CONTROL_IMG =3D "orderingList/down.gif"; + private static final String BOTTOM_CONTROL_IMG =3D "orderingList/bottom.g= if"; + + private static final String LIST_WIDTH =3D "listWidth"; + private static final String LIST_HEIGHT =3D "listHeight"; + + private static final String TOP_CONTROL_LABEL =3D "topControlLabel"; + private static final String UP_CONTROL_LABEL =3D "upControlLabel"; + private static final String DOWN_CONTROL_LABEL =3D "downControlLabel"; + private static final String BOTTOM_CONTROL_LABEL =3D "bottomControlLabel"; + + private static final String TOP_CONTROL_LABEL_DEFAULT =3D "First"; + private static final String UP_CONTROL_LABEL_DEFAULT =3D "Up"; + private static final String DOWN_CONTROL_LABEL_DEFAULT =3D "Down"; + private static final String BOTTOM_CONTROL_LABEL_DEFAULT =3D "Last"; + + private static final String CAPTION_LABEL =3D "captionLabel"; + private static final String CONTROLS_VERTICAL_ALIGN =3D "controlsVertical= Align"; + private static final String SHOW_BUTTON_LABELS =3D "showButtonLabels"; + private static final String FAST_ORDER_CONTROL_VISIBLE =3D "fastOrderCont= rolsVisible"; + + /* + * (non-Javadoc) + * = + * @see org.jboss.tools.vpe.editor.template.VpeTemplate#create(org.jboss.= tools.vpe.editor.context.VpePageContext, + * org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMDocument) + */ + public VpeCreationData create(VpePageContext pageContext, Node sourceNode, + nsIDOMDocument visualDocument) { + + Element sourceElement =3D (Element) sourceNode; + + String listWidth =3D sourceElement.getAttribute(LIST_WIDTH); + String listHeight =3D sourceElement.getAttribute(LIST_HEIGHT); + + String topControlLabel =3D sourceElement.getAttribute(TOP_CONTROL_LABEL); + String upControlLabel =3D sourceElement.getAttribute(UP_CONTROL_LABEL); + String downControlLabel =3D sourceElement + .getAttribute(DOWN_CONTROL_LABEL); + String bottomControlLabel =3D sourceElement + .getAttribute(BOTTOM_CONTROL_LABEL); + + String showButtonLabelsStr =3D sourceElement + .getAttribute(SHOW_BUTTON_LABELS); + String fastOrderControlsVisibleStr =3D sourceElement + .getAttribute(FAST_ORDER_CONTROL_VISIBLE); + boolean showButtonLabels =3D ComponentUtil + .string2boolean(showButtonLabelsStr); + boolean fastOrderControlsVisible =3D ComponentUtil + .string2boolean(fastOrderControlsVisibleStr); + + String controlsVerticalAlign =3D sourceElement + .getAttribute(CONTROLS_VERTICAL_ALIGN); + String captionLabel =3D sourceElement.getAttribute(CAPTION_LABEL); + + // --------------------- COMMON TABLE ------------------------ + nsIDOMElement tableCommon =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TABLE); + + VpeCreationData creationData =3D new VpeCreationData(tableCommon); + + nsIDOMElement row1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + nsIDOMElement row2 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + + tableCommon.appendChild(row1); + tableCommon.appendChild(row2); + + // ---------------------row1------------------------ + nsIDOMElement row1_TD1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + row1.appendChild(row1_TD1); + + nsIDOMElement row1_TD1_DIV =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + row1_TD1_DIV.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, + STYLE_FOR_CAPTOION_LABEL = + + "width: " + (listWidth =3D=3D null ? DEFAULT_WIDTH : listWidth) + "p= x"); + row1_TD1_DIV.appendChild(visualDocument + .createTextNode(captionLabel)); + row1_TD1.appendChild(row1_TD1_DIV); + + // ---------------------row2------------------------ + nsIDOMElement row2_TD1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + row2.appendChild(row2_TD1); + + nsIDOMElement row2_TD2 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + row2.appendChild(row2_TD2); + + // ---------------------buttonsTable------------------------ + nsIDOMElement buttonsTable =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TABLE); + + nsIDOMElement btnRow1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + nsIDOMElement btnRow1_TD =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + btnRow1.appendChild(btnRow1_TD); + + nsIDOMElement btnRow2 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + nsIDOMElement btnRow2_TD =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + btnRow2.appendChild(btnRow2_TD); + + nsIDOMElement btnRow3 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + nsIDOMElement btnRow3_TD =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + btnRow3.appendChild(btnRow3_TD); + + nsIDOMElement btnRow4 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + nsIDOMElement btnRow4_TD =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + btnRow4.appendChild(btnRow4_TD); + + nsIDOMElement btnUp =3D createButton(visualDocument, + (null =3D=3D upControlLabel ? UP_CONTROL_LABEL_DEFAULT + : upControlLabel), UP_CONTROL_IMG, new Boolean( + showButtonLabels).booleanValue()); + nsIDOMElement btnDown =3D createButton(visualDocument, + (null =3D=3D downControlLabel ? DOWN_CONTROL_LABEL_DEFAULT + : downControlLabel), DOWN_CONTROL_IMG, new Boolean( + showButtonLabels).booleanValue()); + btnRow2_TD.appendChild(btnUp); + btnRow3_TD.appendChild(btnDown); + + if (fastOrderControlsVisible) { + nsIDOMElement btnTop =3D createButton(visualDocument, + (null =3D=3D topControlLabel ? TOP_CONTROL_LABEL_DEFAULT + : topControlLabel), TOP_CONTROL_IMG, new Boolean( + showButtonLabels).booleanValue()); + nsIDOMElement btnBottom =3D createButton(visualDocument, + (null =3D=3D bottomControlLabel ? BOTTOM_CONTROL_LABEL_DEFAULT + : bottomControlLabel), BOTTOM_CONTROL_IMG, + new Boolean(showButtonLabels).booleanValue()); + btnRow1_TD.appendChild(btnTop); + btnRow4_TD.appendChild(btnBottom); + } + + buttonsTable.appendChild(btnRow1); + buttonsTable.appendChild(btnRow2); + buttonsTable.appendChild(btnRow3); + buttonsTable.appendChild(btnRow4); + + row2_TD2.setAttribute(HtmlComponentUtil.HTML_ALIGN_ATTR, "center"); + row2_TD2.setAttribute(HtmlComponentUtil.HTML_ATTR_VALIGN, ("center".equa= lsIgnoreCase(controlsVerticalAlign) ? "middle" : controlsVerticalAlign)); + row2_TD2.appendChild(buttonsTable); + + // -------------------------------------------- + + // ---------------------listTable------------------------ + nsIDOMElement listTable =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TABLE); + + nsIDOMElement tr1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + nsIDOMElement tr2 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + + listTable.appendChild(tr1); + listTable.appendChild(tr2); + + row2_TD1.appendChild(listTable); + + // ---------------------tr1------------------------ + nsIDOMElement tr1_TD1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + tr1.appendChild(tr1_TD1); + + nsIDOMElement tr1_TD2 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + tr1.appendChild(tr1_TD2); + + nsIDOMElement tr1_td2_DIV =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + tr1_td2_DIV.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, + STYLE_FOR_RIGHT_SCROLL); + tr1_TD2.appendChild(tr1_td2_DIV); + + // ------------------------------------------------------- + + // ---------------------tr2------------------------ + nsIDOMElement tr2_TD =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + tr2.appendChild(tr2_TD); + + nsIDOMElement tr2_td_DIV =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + tr2_td_DIV.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, + STYLE_FOR_LOW_SCROLL); + tr2_TD.appendChild(tr2_td_DIV); + + // -------------------------------------------- + + nsIDOMElement div =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + tr1_TD1.appendChild(div); + div.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "dr-table-hidden"); + + String divStyle =3D HtmlComponentUtil.HTML_WIDTH_ATTR + " : " + + (listWidth =3D=3D null ? DEFAULT_WIDTH : listWidth) + ";" + + HtmlComponentUtil.HTML_HEIGHT_ATTR + " : " + + (listHeight =3D=3D null ? DEFAULT_HEIGHT : listHeight) + ";"; + + div.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, divStyle); + + nsIDOMElement table =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TABLE); + ComponentUtil.copyAttributes(sourceNode, table); + table.removeAttribute(HtmlComponentUtil.HTML_ATR_HEIGHT); + div.appendChild(table); + + ComponentUtil.setCSSLink(pageContext, "orderingList/orderingList.css", + "richFacesOrderingList"); + String tableClass =3D sourceElement + .getAttribute(HtmlComponentUtil.HTML_STYLECLASS_ATTR); + table + .setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "dr-table rich-table " + + (tableClass =3D=3D null ? "" : tableClass)); + = + // Encode colgroup definition. + ArrayList columns =3D getColumns(sourceElement); + int columnsLength =3D getColumnsCount(sourceElement, columns); + nsIDOMElement colgroup =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_COLGROUP); + colgroup.setAttribute(HtmlComponentUtil.HTML_TAG_SPAN, String + .valueOf(columnsLength)); + table.appendChild(colgroup); + + // Encode Caption + encodeCaption(creationData, sourceElement, visualDocument, table); + + // Encode Header + Element header =3D ComponentUtil.getFacet(sourceElement, HEADER); + ArrayList columnsHeaders =3D getColumnsWithFacet(columns, HEADE= R); + if (header !=3D null || !columnsHeaders.isEmpty()) { + nsIDOMElement thead =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_THEAD); + table.appendChild(thead); + String headerClass =3D (String) sourceElement + .getAttribute(HEADER_CLASS); + if (header !=3D null) { + encodeTableHeaderFacet(creationData, thead, columnsLength, + visualDocument, header, + "dr-table-header rich-table-header", + "dr-table-header-continue rich-table-header-continue", + "dr-table-headercell rich-table-headercell", + headerClass, HtmlComponentUtil.HTML_TAG_TD); + } + if (!columnsHeaders.isEmpty()) { + nsIDOMElement tr =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + thead.appendChild(tr); + String styleClass =3D encodeStyleClass(null, + "dr-table-subheader rich-table-subheader", null, + headerClass); + if (styleClass !=3D null) { + tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + styleClass); + } + encodeHeaderFacets(creationData, tr, visualDocument, + columnsHeaders, + "dr-table-subheadercell rich-table-subheadercell", + headerClass, HEADER, HtmlComponentUtil.HTML_TAG_TD); + } + } + + nsIDOMElement tbody =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TBODY); + table.appendChild(tbody); + + // Create mapping to Encode body + for (int i =3D 0; i < NUM_ROW; i++) { + List children =3D ComponentUtil.getChildren(sourceElement); + boolean firstRow =3D true; + nsIDOMElement tr =3D null; + VpeChildrenInfo trInfo =3D null; + for (Node child : children) { + if (child.getNodeName().endsWith(":column")) { + String breakBefore =3D ((Element) child) + .getAttribute("breakBefore"); + if (breakBefore !=3D null + && breakBefore.equalsIgnoreCase("true")) { + tr =3D null; + } + if (tr =3D=3D null) { + tr =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + if (firstRow) { + tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "dr-table-firstrow rich-table-firstrow"); + firstRow =3D false; + } else { + tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "dr-table-row rich-table-row"); + } + trInfo =3D new VpeChildrenInfo(tr); + tbody.appendChild(tr); + creationData.addChildrenInfo(trInfo); + } + trInfo.addSourceChild(child); + } else if (child.getNodeName().endsWith(":columnGroup")) { + RichFacesColumnGroupTemplate.DEFAULT_INSTANCE.encode( + creationData, (Element) child, visualDocument, + tbody); + tr =3D null; + } else if (child.getNodeName().endsWith(":subTable")) { + RichFacesSubTableTemplate.DEFAULT_INSTANCE.encode( + creationData, (Element) child, visualDocument, + tbody); + tr =3D null; + } else { + VpeChildrenInfo childInfo =3D new VpeChildrenInfo(tbody); + childInfo.addSourceChild(child); + creationData.addChildrenInfo(childInfo); + tr =3D null; + } + } + } + + return creationData; + } + + /** + * Creates control button with image and label. + * = + * @param visualDocument + * visual document + * @param btnName + * the button label + * @param imgPath + * path to the image + * @param showButtonLabels + * show button label flag + * = + * @return the button + */ + private nsIDOMElement createButton(nsIDOMDocument visualDocument, + String btnName, String imgPath, boolean showButtonLabels) { + nsIDOMElement btn =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_BUTTON); + btn.setAttribute(HtmlComponentUtil.HTML_TYPE_ATTR, + HtmlComponentUtil.HTML_TYPE_ATTR_BUTTON_VALUE); + + nsIDOMElement btnImg =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_IMG); + = + = + String path =3D RichFacesTemplatesActivator.getPluginResourcePath() + + imgPath; + btnImg.setAttribute("src", "file://" + path); + if (showButtonLabels) { + nsIDOMElement table =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TABLE); + + nsIDOMElement row1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + nsIDOMElement row1_TD1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + nsIDOMElement row1_TD2 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + + row1_TD1.appendChild(btnImg); + row1_TD2.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "dr-control-bu= ttons"); + row1_TD2.appendChild(visualDocument.createTextNode(btnName)); + + row1.appendChild(row1_TD1); + row1.appendChild(row1_TD2); + table.appendChild(row1); + btn.appendChild(table); + + } else { + btn.appendChild(btnImg); + } + + return btn; + } + + /** + * = + * @param creationData + * @param sourceElement + * @param visualDocument + * @param table + */ + protected void encodeCaption(VpeCreationData creationData, + Element sourceElement, nsIDOMDocument visualDocument, + nsIDOMElement table) { + // Encode caption + Element captionFromFacet =3D ComponentUtil.getFacet(sourceElement, + HtmlComponentUtil.HTML_TAG_CAPTION); + if (captionFromFacet !=3D null) { + String captionClass =3D (String) table.getAttribute(CAPTION_CLASS); + String captionStyle =3D (String) table.getAttribute(CAPTION_STYLE); + + nsIDOMElement caption =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_CAPTION); + table.appendChild(caption); + if (captionClass !=3D null && captionClass.length() > 0) { + captionClass =3D "dr-table-caption rich-table-caption " + + captionClass; + } else { + captionClass =3D "dr-table-caption rich-table-caption"; + } + caption.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + captionClass); + if (captionStyle !=3D null && captionStyle.length() > 0) { + caption.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, + captionStyle); + } + + VpeChildrenInfo cap =3D new VpeChildrenInfo(caption); + cap.addSourceChild(captionFromFacet); + creationData.addChildrenInfo(cap); + } + + } + + /** + * = + * @param creationData + * @param parentTr + * @param visualDocument + * @param headersOrFooters + * @param skinCellClass + * @param headerClass + * @param facetName + * @param element + */ + public static void encodeHeaderFacets(VpeCreationData creationData, + nsIDOMElement parentTr, nsIDOMDocument visualDocument, + ArrayList headersOrFooters, String skinCellClass, + String headerClass, String facetName, String element) { + for (Element column : headersOrFooters) { + String classAttribute =3D facetName + "Class"; + String columnHeaderClass =3D column.getAttribute(classAttribute); + nsIDOMElement td =3D visualDocument.createElement(element); + parentTr.appendChild(td); + String styleClass =3D encodeStyleClass(null, skinCellClass, + headerClass, columnHeaderClass); + td.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, styleClass); + td.setAttribute("scop", "col"); + String colspan =3D column + .getAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN); + if (colspan !=3D null && colspan.length() > 0) { + td.setAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN, colspan); + } + Element facetBody =3D ComponentUtil.getFacet(column, facetName); + + VpeChildrenInfo child =3D new VpeChildrenInfo(td); + child.addSourceChild(facetBody); + creationData.addChildrenInfo(child); + } + } + + /** + * = + * @param creationData + * @param parentTheadOrTfood + * @param columns + * @param visualDocument + * @param facetBody + * @param skinFirstRowClass + * @param skinRowClass + * @param skinCellClass + * @param facetBodyClass + * @param element + */ + protected void encodeTableHeaderFacet(VpeCreationData creationData, + nsIDOMElement parentTheadOrTfood, int columns, + nsIDOMDocument visualDocument, Element facetBody, + String skinFirstRowClass, String skinRowClass, + String skinCellClass, String facetBodyClass, String element) { + boolean isColumnGroup =3D facetBody.getNodeName() + .endsWith(":columnGroup"); + boolean isSubTable =3D facetBody.getNodeName().endsWith(":subTable"); + if (isColumnGroup) { + RichFacesColumnGroupTemplate.DEFAULT_INSTANCE.encode(creationData, + facetBody, visualDocument, parentTheadOrTfood); + } else if (isSubTable) { + RichFacesSubTableTemplate.DEFAULT_INSTANCE.encode(creationData, + facetBody, visualDocument, parentTheadOrTfood); + } else { + nsIDOMElement tr =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + parentTheadOrTfood.appendChild(tr); + + String styleClass =3D encodeStyleClass(null, skinFirstRowClass, + facetBodyClass, null); + if (styleClass !=3D null) { + tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, styleClass); + } + String style =3D ComponentUtil.getHeaderBackgoundImgStyle(); + tr.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, style); + + nsIDOMElement td =3D visualDocument.createElement(element); + tr.appendChild(td); + + styleClass =3D encodeStyleClass(null, skinCellClass, facetBodyClass, + null); + if (styleClass !=3D null) { + td.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, styleClass); + } + + if (columns > 0) { + td.setAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN, String + .valueOf(columns)); + } + td.setAttribute(HtmlComponentUtil.HTML_SCOPE_ATTR, + HtmlComponentUtil.HTML_TAG_COLGROUP); + + VpeChildrenInfo child =3D new VpeChildrenInfo(td); + child.addSourceChild(facetBody); + creationData.addChildrenInfo(child); + } + } + + /** + * = + * @param parentSourceElement + * @return list of columns + */ + public static ArrayList getColumns(Element parentSourceElement) { + ArrayList columns =3D new ArrayList(); + NodeList children =3D parentSourceElement.getChildNodes(); + for (int i =3D 0; i < children.getLength(); i++) { + Node child =3D children.item(i); + if ((child instanceof Element) + && child.getNodeName().endsWith(":column")) { + columns.add((Element) child); + } + } + return columns; + } + + /** + * = + * @param columns + * @param facetName + * @return list of columns with facet + */ + public static ArrayList getColumnsWithFacet( + ArrayList columns, String facetName) { + ArrayList columnsWithFacet =3D new ArrayList(); + for (Element column : columns) { + Element body =3D ComponentUtil.getFacet(column, facetName); + if (body !=3D null) { + columnsWithFacet.add(column); + } + } + return columnsWithFacet; + } + + /** + * = + * @param parentPredefined + * @param predefined + * @param parent + * @param custom + * @return + */ + public static String encodeStyleClass(Object parentPredefined, + Object predefined, Object parent, Object custom) { + StringBuffer styleClass =3D new StringBuffer(); + // Construct predefined classes + if (null !=3D parentPredefined) { + styleClass.append(parentPredefined).append(SPACE); + } else if (null !=3D predefined) { + styleClass.append(predefined).append(SPACE); + } + // Append class from parent component. + if (null !=3D parent) { + styleClass.append(parent).append(SPACE); + } + if (null !=3D custom) { + styleClass.append(custom); + } + if (styleClass.length() > 0) { + return styleClass.toString(); + } + return null; + } + + /** + * = + * @param sourceElement + * @param columns + * @return + */ + protected int getColumnsCount(Element sourceElement, + ArrayList columns) { + int count =3D 0; + // check for exact value in component + Integer span =3D null; + try { + span =3D Integer.valueOf(sourceElement.getAttribute("columns")); + } catch (Exception e) { + // Ignore bad attribute + } + if (null !=3D span && span.intValue() !=3D Integer.MIN_VALUE) { + count =3D span.intValue(); + } else { + // calculate max html columns count for all columns/rows children. + count =3D calculateRowColumns(sourceElement, columns); + } + return count; + } + + /* + * Calculate max number of columns per row. For rows, recursive calculate + * max length. + */ + private int calculateRowColumns(Element sourceElement, + ArrayList columns) { + int count =3D 0; + int currentLength =3D 0; + for (Element column : columns) { + if (ComponentUtil.isRendered(column)) { + if (column.getNodeName().endsWith(":columnGroup")) { + // Store max calculated value of previous rows. + if (currentLength > count) { + count =3D currentLength; + } + // Calculate number of columns in row. + currentLength =3D calculateRowColumns(sourceElement, + getColumns(column)); + // Store max calculated value + if (currentLength > count) { + count =3D currentLength; + } + currentLength =3D 0; + } else if (column.getNodeName().equals( + sourceElement.getPrefix() + ":column")) { + String breakBeforeStr =3D column.getAttribute("breakBefore"); + boolean breakBefore =3D false; + if (breakBeforeStr !=3D null) { + try { + breakBefore =3D Boolean.getBoolean(breakBeforeStr); + } catch (Exception e) { + // Ignore bad attribute + } + } + // For new row, save length of previous. + if (breakBefore) { + if (currentLength > count) { + count =3D currentLength; + } + currentLength =3D 0; + } + String colspanStr =3D column + .getAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN); + Integer colspan =3D null; + try { + colspan =3D Integer.valueOf(colspanStr); + } catch (Exception e) { + // Ignore + } + // Append colspan of this column + if (null !=3D colspan + && colspan.intValue() !=3D Integer.MIN_VALUE) { + currentLength +=3D colspan.intValue(); + } else { + currentLength++; + } + } else if (column.getNodeName().endsWith(":column")) { + // UIColumn always have colspan =3D=3D 1. + currentLength++; + } + + } + } + if (currentLength > count) { + count =3D currentLength; + } + return count; + } + + /** + * Checks, whether it is necessary to re-create an element at change of + * attribute + * = + * @param pageContext + * Contains the information on edited page. + * @param sourceElement + * The current element of the source tree. + * @param visualDocument + * The document of the visual tree. + * @param visualNode + * The current node of the visual tree. + * @param data + * The arbitrary data, built by a method create + * @param name + * Attribute name + * @param value + * Attribute value + * @return true if it is required to re-create an element at + * a modification of attribute, false otherwise. + */ + public boolean isRecreateAtAttrChange(VpePageContext pageContext, + Element sourceElement, nsIDOMDocument visualDocument, + nsIDOMElement visualNode, Object data, String name, String value) { + return true; + } +} Property changes on: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.to= ols.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFa= cesOrderingList.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe= .richfaces/templates/vpe-templates-richfaces.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 --- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/templates/vpe-templates-richfaces.xml 2008-01-10 16:30:43 UTC (rev 558= 6) +++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/templates/vpe-templates-richfaces.xml 2008-01-10 16:49:26 UTC (rev 558= 7) @@ -339,6 +339,46 @@ = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = = --===============8256338420554590472==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 12:42:01 2008 Content-Type: multipart/mixed; boundary="===============6909708788196033720==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5588 - in trunk/struts/tests: org.jboss.tools.struts.vpe.struts.test and 1 other directory. Date: Thu, 10 Jan 2008 12:38:01 -0500 Message-ID: --===============6909708788196033720== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-10 12:38:00 -0500 (Thu, 10 Jan 2008) New Revision: 5588 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/ Log: http://jira.jboss.com/jira/browse/JBIDE-1565 --===============6909708788196033720==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 12:44:13 2008 Content-Type: multipart/mixed; boundary="===============8718067895333675678==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5589 - in trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tools.struts.vpe.struts.test: META-INF and 22 other directories. Date: Thu, 10 Jan 2008 12:40:13 -0500 Message-ID: --===============8718067895333675678== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-10 12:40:12 -0500 (Thu, 10 Jan 2008) New Revision: 5589 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/.classpath trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/.project trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/META-INF/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/META-INF/MANIFEST.MF trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/build.properties trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/.classpath trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/.project trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/.settings/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.jdt.cor= e.prefs trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.jst.com= mon.project.facet.core.prefs trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.wst.com= mon.component trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.wst.com= mon.project.facet.core.xml trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/.settings/org.jboss.tools.jst= .web.xml trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/JavaSource/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/GetNameForm.j= ava trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/GreetingActio= n.java trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/META-INF/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/META-INF/MANIFEST.= MF trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/.struts-co= nfig.xml.strutsdia trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/classes/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/classes/de= mo/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/classes/de= mo/GetNameForm.class trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/classes/de= mo/GreetingAction.class trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/common= -annotations.jar trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/common= s-beanutils.jar trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/common= s-collections.jar trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/common= s-digester.jar trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/common= s-fileupload.jar trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/common= s-lang.jar trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/common= s-logging.jar trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/common= s-validator.jar trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/jakart= a-oro.jar trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/jstl.j= ar trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/standa= rd.jar trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/struts= -legacy.jar trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/struts= .jar trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/tmp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-bea= n.tld trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-con= fig.xml trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-htm= l.tld trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-log= ic.tld trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/validation= .xml trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/validator-= rules.xml trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/web.xml trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/index.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/b= ase.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/e= rrors.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/f= rame.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/h= tml.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/i= mage.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/i= mg.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/l= ink.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/m= essages.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/r= ewrite.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/t= est.gif trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/t= est.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/greeting.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/inputname.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/ant/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/ant/build.properties trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/StrutsTest/ant/build.xml trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/src/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/src/org/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/src/org/jboss/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/src/org/jboss/tools/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/src/org/jboss/tools/struts/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsA= llTests.java trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsC= omponentTest.java trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsT= estPlugin.java Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/.classpath (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/.classpath 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,7 @@ + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/.project (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/.project 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,28 @@ + + + org.jboss.tools.struts.vpe.struts.test + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/META-INF/MANIFEST.MF (rev= 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/META-INF/MANIFEST.MF 2008-01-10 17:40:12 UTC (rev= 5589) @@ -0,0 +1,16 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Struts Test Plug-in +Bundle-SymbolicName: org.jboss.tools.struts.vpe.struts.test +Bundle-Version: 1.0.0 +Bundle-Activator: org.jboss.tools.struts.vpe.struts.test.StrutsTestPlugin +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.jboss.tools.jsf.vpe.ui.test;visibility:=3Dreexport, + org.mozilla.xpcom, + org.jboss.tools.common.text.ext, + org.jboss.tools.common.model, + org.jboss.tools.vpe.xulrunner, + org.junit +Eclipse-LazyStart: true +Bundle-ClassPath: struts-test.jar Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/build.properties (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/build.properties 2008-01-10 17:40:12 UTC (rev 558= 9) @@ -0,0 +1,10 @@ +bin.includes =3D META-INF/,\ + resources/,\ + struts-test.jar +jars.compile.order =3D struts-test.jar +src.includes =3D src/,\ + resources/,\ + META-INF/,\ + build.properties +source.struts-test.jar =3D src/ +output.struts-test.jar =3D bin/ Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/.classpath = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/.classpath 2008-01-10 17:40:= 12 UTC (rev 5589) @@ -0,0 +1,7 @@ + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/.project = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/.project 2008-01-10 17:40:12= UTC (rev 5589) @@ -0,0 +1,36 @@ + + + StrutsTest + + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.jboss.tools.common.verification.verifybuilder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.jdt.core.javanature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.jboss.tools.struts.strutsnature + org.eclipse.wst.common.project.facet.core.nature + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/.settings/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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.jdt.co= re.prefs (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.jdt.co= re.prefs 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,7 @@ +#Wed Jan 09 19:09:37 MSK 2008 +eclipse.preferences.version=3D1 +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 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.jst= .common.project.facet.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.jst.co= mmon.project.facet.core.prefs (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.jst.co= mmon.project.facet.core.prefs 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,3 @@ +#Wed Jan 09 19:09:39 MSK 2008 +classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jd= t.internal.debug.ui.launcher.StandardVMType\:\:jre1.5.0_10/owners=3Djst.jav= a\:5.0 +eclipse.preferences.version=3D1 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.wst= .common.component =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.wst.co= mmon.component (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.wst.co= mmon.component 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,9 @@ + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.wst= .common.project.facet.core.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.wst.co= mmon.project.facet.core.xml (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/.settings/org.eclipse.wst.co= mmon.project.facet.core.xml 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,8 @@ + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/.settings/org.jboss.tools= .jst.web.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/.settings/org.jboss.tools.js= t.web.xml (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/.settings/org.jboss.tools.js= t.web.xml 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/GetNameFo= rm.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/GetNameForm.= java (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/GetNameForm.= java 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,40 @@ +/*************************************************************************= ****** + * 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 demo; + +import javax.servlet.http.HttpServletRequest; +import org.apache.struts.action.ActionErrors; +import org.apache.struts.action.ActionMapping; +import org.apache.struts.action.ActionForm; + +public class GetNameForm extends ActionForm { + private String name=3D""; + + public GetNameForm() { + } + + public void reset(ActionMapping actionMapping, HttpServletRequest requ= est) { + this.name=3D""; + } + + public ActionErrors validate(ActionMapping actionMapping, HttpServletR= equest request) { + ActionErrors errs =3D new ActionErrors(); + return errs; + } + + public String getName(){ + return this.name; = + } + + public void setName(String name){ + this.name =3D (name=3D=3Dnull?"":name); + } +} \ No newline at end of file Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/GreetingA= ction.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/GreetingActi= on.java (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/JavaSource/demo/GreetingActi= on.java 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,37 @@ +/*************************************************************************= ****** + * 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 demo; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +import org.apache.struts.action.ActionForm; +import org.apache.struts.action.ActionForward; +import org.apache.struts.action.ActionMapping; + +public class GreetingAction extends org.apache.struts.action.Action { + + // Global Forwards + public static final String GLOBAL_FORWARD_getName =3D "getName"; + + // Local Forwards + private static final String FORWARD_sayhello =3D "sayhello"; + + public GreetingAction() { + } + + public ActionForward execute(ActionMapping mapping, ActionForm form, H= ttpServletRequest request, HttpServletResponse response) throws Exception { + String name =3D ((demo.GetNameForm)form).getName(); + String greeting =3D "Hello, "+name+"!"; + request.setAttribute("greeting", greeting); + return mapping.findForward(FORWARD_sayhello); + } +} \ No newline at end of file Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/META-INF/MANIFEST= .MF (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/META-INF/MANIFEST= .MF 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: = + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/.strut= s-config.xml.strutsdia =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/.struts-c= onfig.xml.strutsdia (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/.struts-c= onfig.xml.strutsdia 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,22 @@ + + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/classe= s/demo/GetNameForm.class =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.t= est/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/= WEB-INF/classes/demo/GetNameForm.class ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/classe= s/demo/GreetingAction.class =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.t= est/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/= WEB-INF/classes/demo/GreetingAction.class ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/co= mmon-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) Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.t= est/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/= WEB-INF/lib/common-annotations.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/co= mmons-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) Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.t= est/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/= WEB-INF/lib/commons-beanutils.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/co= mmons-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) Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.t= est/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/= WEB-INF/lib/commons-collections.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/co= mmons-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) Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.t= est/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/= WEB-INF/lib/commons-digester.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/co= mmons-fileupload.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) Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.t= est/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/= WEB-INF/lib/commons-fileupload.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/co= mmons-lang.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) Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.t= est/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/= WEB-INF/lib/commons-lang.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/co= mmons-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) Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.t= est/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/= WEB-INF/lib/commons-logging.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/co= mmons-validator.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) Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.t= est/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/= WEB-INF/lib/commons-validator.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/ja= karta-oro.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) Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.t= est/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/= WEB-INF/lib/jakarta-oro.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/js= tl.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) Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.t= est/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/= WEB-INF/lib/jstl.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/st= andard.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) Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.t= est/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/= WEB-INF/lib/standard.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/st= ruts-legacy.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) Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.t= est/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/= WEB-INF/lib/struts-legacy.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/st= ruts.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) Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.t= est/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/= WEB-INF/lib/struts.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/lib/tmp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts= -bean.tld =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-be= an.tld (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-be= an.tld 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,382 @@ + + + + + + + + + + +1.0 +1.1 +bean +http://jakarta.apache.org/struts/tags-bean + +cookie +org.apache.struts.taglib.bean.CookieTag +org.apache.struts.taglib.bean.CookieTei +empty + +id +true +false + + +multiple +false +true + + +name +true +true + + +value +false +true + + + +define +org.apache.struts.taglib.bean.DefineTag +org.apache.struts.taglib.bean.DefineTei +JSP + +id +true +false + + +name +false +true + + +property +false +true + + +scope +false +true + + +toScope +false +true + + +type +false +true + + +value +false +true + + + +header +org.apache.struts.taglib.bean.HeaderTag +org.apache.struts.taglib.bean.HeaderTei +empty + +id +true +false + + +multiple +false +true + + +name +true +true + + +value +false +true + + + +include +org.apache.struts.taglib.bean.IncludeTag +org.apache.struts.taglib.bean.IncludeTei +empty + +anchor +false +true + + +forward +false +true + + +href +false +true + + +id +true +false + + +name +false +true + + +page +false +true + + +transaction +false +true + + + +message +org.apache.struts.taglib.bean.MessageTag +empty + +arg0 +false +true + + +arg1 +false +true + + +arg2 +false +true + + +arg3 +false +true + + +arg4 +false +true + + +bundle +false +true + + +key +false +true + + +locale +false +true + + +name +false +true + + +property +false +true + + +scope +false +true + + + +page +org.apache.struts.taglib.bean.PageTag +org.apache.struts.taglib.bean.PageTei +empty + +id +true +false + + +property +true +true + + + +parameter +org.apache.struts.taglib.bean.ParameterTag +org.apache.struts.taglib.bean.ParameterTei +empty + +id +true +false + + +multiple +false +true + + +name +true +true + + +value +false +true + + + +resource +org.apache.struts.taglib.bean.ResourceTag +org.apache.struts.taglib.bean.ResourceTei +empty + +id +true +false + + +input +false +true + + +name +true +true + + + +size +org.apache.struts.taglib.bean.SizeTag +org.apache.struts.taglib.bean.SizeTei +empty + +collection +false +true + + +id +true +false + + +name +false +true + + +property +false +true + + +scope +false +true + + + +struts +org.apache.struts.taglib.bean.StrutsTag +org.apache.struts.taglib.bean.StrutsTei +empty + +id +true +false + + +formBean +false +true + + +forward +false +true + + +mapping +false +true + + + +write +org.apache.struts.taglib.bean.WriteTag +empty + +bundle +false +true + + +filter +false +true + + +format +false +true + + +formatKey +false +true + + +ignore +false +true + + +locale +false +true + + +name +true +true + + +property +false +true + + +scope +false +true + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts= -config.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-co= nfig.xml (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-co= nfig.xml 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts= -html.tld =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-ht= ml.tld (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-ht= ml.tld 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,2971 @@ + + + + + + + + + + +1.0 +1.1 +html +http://jakarta.apache.org/struts/tags-html + +base +org.apache.struts.taglib.html.BaseTag +empty + +target +false +true + + +server +false +true + + + +button +org.apache.struts.taglib.html.ButtonTag + +accesskey +false +true + + +alt +false +true + + +altKey +false +true + + +disabled +false +true + + +indexed +false +true + + +onblur +false +true + + +onchange +false +true + + +onclick +false +true + + +ondblclick +false +true + + +onfocus +false +true + + +onkeydown +false +true + + +onkeypress +false +true + + +onkeyup +false +true + + +onmousedown +false +true + + +onmousemove +false +true + + +onmouseout +false +true + + +onmouseover +false +true + + +onmouseup +false +true + + +property +true +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +tabindex +false +true + + +title +false +true + + +titleKey +false +true + + +value +false +true + + + +cancel +org.apache.struts.taglib.html.CancelTag + +accesskey +false +true + + +alt +false +true + + +altKey +false +true + + +disabled +false +true + + +onblur +false +true + + +onchange +false +true + + +onclick +false +true + + +ondblclick +false +true + + +onfocus +false +true + + +onkeydown +false +true + + +onkeypress +false +true + + +onkeyup +false +true + + +onmousedown +false +true + + +onmousemove +false +true + + +onmouseout +false +true + + +onmouseover +false +true + + +onmouseup +false +true + + +property +false +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +tabindex +false +true + + +title +false +true + + +titleKey +false +true + + +value +false +true + + + +checkbox +org.apache.struts.taglib.html.CheckboxTag + +accesskey +false +true + + +alt +false +true + + +altKey +false +true + + +disabled +false +true + + +indexed +false +true + + +name +false +true + + +onblur +false +true + + +onchange +false +true + + +onclick +false +true + + +ondblclick +false +true + + +onfocus +false +true + + +onkeydown +false +true + + +onkeypress +false +true + + +onkeyup +false +true + + +onmousedown +false +true + + +onmousemove +false +true + + +onmouseout +false +true + + +onmouseover +false +true + + +onmouseup +false +true + + +property +true +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +tabindex +false +true + + +title +false +true + + +titleKey +false +true + + +value +false +true + + + +errors +org.apache.struts.taglib.html.ErrorsTag +empty + +bundle +false +true + + +locale +false +true + + +name +false +true + + +property +false +true + + + +file +org.apache.struts.taglib.html.FileTag + +accesskey +false +true + + +accept +false +true + + +alt +false +true + + +altKey +false +true + + +disabled +false +true + + +indexed +false +true + + +maxlength +false +true + + +name +false +true + + +onblur +false +true + + +onchange +false +true + + +onclick +false +true + + +ondblclick +false +true + + +onfocus +false +true + + +onkeydown +false +true + + +onkeypress +false +true + + +onkeyup +false +true + + +onmousedown +false +true + + +onmousemove +false +true + + +onmouseout +false +true + + +onmouseover +false +true + + +onmouseup +false +true + + +property +true +true + + +size +false +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +tabindex +false +true + + +title +false +true + + +titleKey +false +true + + +value +false +true + + + +form +org.apache.struts.taglib.html.FormTag +JSP + +action +true +true + + +enctype +false +true + + +focus +false +true + + +focusIndex +false +true + + +method +false +true + + +name +false +true + + +onreset +false +true + + +onsubmit +false +true + + +scope +false +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +target +false +true + + +type +false +true + + + +frame +org.apache.struts.taglib.html.FrameTag + +action +false +true + + +anchor +false +true + + +forward +false +true + + +frameborder +false +true + + +frameName +false +true + + +href +false +true + + +longdesc +false +true + + +marginheight +false +true + + +marginwidth +false +true + + +name +false +true + + +noresize +false +true + + +page +false +true + + +paramId +false +true + + +paramName +false +true + + +paramProperty +false +true + + +paramScope +false +true + + +property +false +true + + +scope +false +true + + +scrolling +false +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +title +false +true + + +titleKey +false +true + + +transaction +false +true + + + +hidden +org.apache.struts.taglib.html.HiddenTag + +accesskey +false +true + + +alt +false +true + + +altKey +false +true + + +indexed +false +true + + +name +false +true + + +onblur +false +true + + +onchange +false +true + + +onclick +false +true + + +ondblclick +false +true + + +onfocus +false +true + + +onkeydown +false +true + + +onkeypress +false +true + + +onkeyup +false +true + + +onmousedown +false +true + + +onmousemove +false +true + + +onmouseout +false +true + + +onmouseover +false +true + + +onmouseup +false +true + + +property +true +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +title +false +true + + +titleKey +false +true + + +value +false +true + + +write +false +true + + + +html +org.apache.struts.taglib.html.HtmlTag +JSP + +locale +false +true + + +xhtml +false +true + + + +image +org.apache.struts.taglib.html.ImageTag + +accesskey +false +true + + +align +false +true + + +alt +false +true + + +altKey +false +true + + +border +false +true + + +bundle +false +true + + +disabled +false +true + + +indexed +false +true + + +locale +false +true + + +onblur +false +true + + +onchange +false +true + + +onclick +false +true + + +ondblclick +false +true + + +onfocus +false +true + + +onkeydown +false +true + + +onkeypress +false +true + + +onkeyup +false +true + + +onmousedown +false +true + + +onmousemove +false +true + + +onmouseout +false +true + + +onmouseover +false +true + + +onmouseup +false +true + + +page +false +true + + +pageKey +false +true + + +property +false +true + + +src +false +true + + +srcKey +false +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +tabindex +false +true + + +title +false +true + + +titleKey +false +true + + +value +false +true + + + +img +org.apache.struts.taglib.html.ImgTag +empty + +align +false +true + + +alt +false +true + + +altKey +false +true + + +border +false +true + + +bundle +false +true + + +height +false +true + + +hspace +false +true + + +imageName +false +true + + +ismap +false +true + + +locale +false +true + + +lowsrc +false +true + + +name +false +true + + +onclick +false +true + + +ondblclick +false +true + + +onkeydown +false +true + + +onkeypress +false +true + + +onkeyup +false +true + + +onmousedown +false +true + + +onmousemove +false +true + + +onmouseout +false +true + + +onmouseover +false +true + + +onmouseup +false +true + + +paramId +false +true + + +page +false +true + + +pageKey +false +true + + +paramName +false +true + + +paramProperty +false +true + + +paramScope +false +true + + +property +false +true + + +scope +false +true + + +src +false +true + + +srcKey +false +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +title +false +true + + +titleKey +false +true + + +usemap +false +true + + +vspace +false +true + + +width +false +true + + + +javascript +org.apache.struts.taglib.html.JavascriptValidatorTag +empty + +cdata +false +true + + +dynamicJavascript +false +false + + +formName +false +true + + +method +false +true + + +page +false +true + + +src +false +true + + +staticJavascript +false +false + + +htmlComment +false +true + + + +link +org.apache.struts.taglib.html.LinkTag + +accesskey +false +true + + +action +false +true + + +anchor +false +true + + +forward +false +true + + +href +false +true + + +indexed +false +true + + +indexId +false +true + + +linkName +false +true + + +name +false +true + + +onblur +false +true + + +onclick +false +true + + +ondblclick +false +true + + +onfocus +false +true + + +onkeydown +false +true + + +onkeypress +false +true + + +onkeyup +false +true + + +onmousedown +false +true + + +onmousemove +false +true + + +onmouseout +false +true + + +onmouseover +false +true + + +onmouseup +false +true + + +page +false +true + + +paramId +false +true + + +paramName +false +true + + +paramProperty +false +true + + +paramScope +false +true + + +property +false +true + + +scope +false +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +tabindex +false +true + + +target +false +true + + +title +false +true + + +titleKey +false +true + + +transaction +false +true + + + +messages +org.apache.struts.taglib.html.MessagesTag +org.apache.struts.taglib.html.MessagesTei +JSP + +id +true +false + + +bundle +false +true + + +locale +false +true + + +name +false +true + + +property +false +true + + +header +false +true + + +footer +false +true + + +message +false +true + + + +multibox +org.apache.struts.taglib.html.MultiboxTag + +accesskey +false +true + + +alt +false +true + + +altKey +false +true + + +disabled +false +true + + +name +false +true + + +onblur +false +true + + +onchange +false +true + + +onclick +false +true + + +ondblclick +false +true + + +onfocus +false +true + + +onkeydown +false +true + + +onkeypress +false +true + + +onkeyup +false +true + + +onmousedown +false +true + + +onmousemove +false +true + + +onmouseout +false +true + + +onmouseover +false +true + + +onmouseup +false +true + + +property +true +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +tabindex +false +true + + +title +false +true + + +titleKey +false +true + + +value +false +true + + + +option +org.apache.struts.taglib.html.OptionTag + +bundle +false +true + + +disabled +false +true + + +key +false +true + + +locale +false +true + + +style +false +true + + +styleId +false +true + + +styleClass +false +true + + +value +true +true + + + +options +org.apache.struts.taglib.html.OptionsTag +empty + +collection +false +true + + +filter +false +true + + +labelName +false +true + + +labelProperty +false +true + + +name +false +true + + +property +false +true + + +style +false +true + + +styleClass +false +true + + + +optionsCollection +org.apache.struts.taglib.html.OptionsCollectionTag +empty + +filter +false +true + + +label +false +true + + +name +false +true + + +property +true +true + + +style +false +true + + +styleClass +false +true + + +value +false +true + + + +password +org.apache.struts.taglib.html.PasswordTag + +accesskey +false +true + + +alt +false +true + + +altKey +false +true + + +disabled +false +true + + +indexed +false +true + + +maxlength +false +true + + +name +false +true + + +onblur +false +true + + +onchange +false +true + + +onclick +false +true + + +ondblclick +false +true + + +onfocus +false +true + + +onkeydown +false +true + + +onkeypress +false +true + + +onkeyup +false +true + + +onmousedown +false +true + + +onmousemove +false +true + + +onmouseout +false +true + + +onmouseover +false +true + + +onmouseup +false +true + + +property +true +true + + +readonly +false +true + + +redisplay +false +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +size +false +true + + +tabindex +false +true + + +title +false +true + + +titleKey +false +true + + +value +false +true + + + +radio +org.apache.struts.taglib.html.RadioTag + +accesskey +false +true + + +alt +false +true + + +altKey +false +true + + +disabled +false +true + + +indexed +false +true + + +name +false +true + + +onblur +false +true + + +onchange +false +true + + +onclick +false +true + + +ondblclick +false +true + + +onfocus +false +true + + +onkeydown +false +true + + +onkeypress +false +true + + +onkeyup +false +true + + +property +true +true + + +onmousedown +false +true + + +onmousemove +false +true + + +onmouseout +false +true + + +onmouseover +false +true + + +onmouseup +false +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +tabindex +false +true + + +title +false +true + + +titleKey +false +true + + +value +true +true + + +idName +false +true + + + +reset +org.apache.struts.taglib.html.ResetTag + +accesskey +false +true + + +alt +false +true + + +altKey +false +true + + +disabled +false +true + + +onblur +false +true + + +onchange +false +true + + +onclick +false +true + + +ondblclick +false +true + + +onfocus +false +true + + +onkeydown +false +true + + +onkeypress +false +true + + +onkeyup +false +true + + +onmousedown +false +true + + +onmousemove +false +true + + +onmouseout +false +true + + +onmouseover +false +true + + +onmouseup +false +true + + +property +false +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +tabindex +false +true + + +title +false +true + + +titleKey +false +true + + +value +false +true + + + +rewrite +org.apache.struts.taglib.html.RewriteTag +empty + +anchor +false +true + + +forward +false +true + + +href +false +true + + +name +false +true + + +page +false +true + + +paramId +false +true + + +paramName +false +true + + +paramProperty +false +true + + +paramScope +false +true + + +property +false +true + + +scope +false +true + + +transaction +false +true + + + +select +org.apache.struts.taglib.html.SelectTag +JSP + +alt +false +true + + +altKey +false +true + + +disabled +false +true + + +indexed +false +true + + +multiple +false +true + + +name +false +true + + +onblur +false +true + + +onchange +false +true + + +onclick +false +true + + +ondblclick +false +true + + +onfocus +false +true + + +onkeydown +false +true + + +onkeypress +false +true + + +onkeyup +false +true + + +onmousedown +false +true + + +onmousemove +false +true + + +onmouseout +false +true + + +onmouseover +false +true + + +onmouseup +false +true + + +property +true +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +tabindex +false +true + + +size +false +true + + +title +false +true + + +titleKey +false +true + + +value +false +true + + + +submit +org.apache.struts.taglib.html.SubmitTag + +accesskey +false +true + + +alt +false +true + + +altKey +false +true + + +disabled +false +true + + +indexed +false +true + + +onblur +false +true + + +onchange +false +true + + +onclick +false +true + + +ondblclick +false +true + + +onfocus +false +true + + +onkeydown +false +true + + +onkeypress +false +true + + +onkeyup +false +true + + +onmousedown +false +true + + +onmousemove +false +true + + +onmouseout +false +true + + +onmouseover +false +true + + +onmouseup +false +true + + +property +false +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +tabindex +false +true + + +title +false +true + + +titleKey +false +true + + +value +false +true + + + +text +org.apache.struts.taglib.html.TextTag + +accesskey +false +true + + +alt +false +true + + +altKey +false +true + + +disabled +false +true + + +indexed +false +true + + +maxlength +false +true + + +name +false +true + + +onblur +false +true + + +onchange +false +true + + +onclick +false +true + + +ondblclick +false +true + + +onfocus +false +true + + +onkeydown +false +true + + +onkeypress +false +true + + +onkeyup +false +true + + +onmousedown +false +true + + +onmousemove +false +true + + +onmouseout +false +true + + +onmouseover +false +true + + +onmouseup +false +true + + +property +true +true + + +readonly +false +true + + +size +false +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +tabindex +false +true + + +title +false +true + + +titleKey +false +true + + +value +false +true + + + +textarea +org.apache.struts.taglib.html.TextareaTag + +accesskey +false +true + + +alt +false +true + + +altKey +false +true + + +cols +false +true + + +disabled +false +true + + +indexed +false +true + + +name +false +true + + +onblur +false +true + + +onchange +false +true + + +onclick +false +true + + +ondblclick +false +true + + +onfocus +false +true + + +onkeydown +false +true + + +onkeypress +false +true + + +onkeyup +false +true + + +onmousedown +false +true + + +onmousemove +false +true + + +onmouseout +false +true + + +onmouseover +false +true + + +onmouseup +false +true + + +property +true +true + + +readonly +false +true + + +rows +false +true + + +style +false +true + + +styleClass +false +true + + +styleId +false +true + + +tabindex +false +true + + +title +false +true + + +titleKey +false +true + + +value +false +true + + + +xhtml +org.apache.struts.taglib.html.XhtmlTag +empty + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts= -logic.tld =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-lo= gic.tld (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/struts-lo= gic.tld 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,642 @@ + + + + + + + + + +1.0 +1.1 +logic +http://jakarta.apache.org/struts/tags-logic + +empty +org.apache.struts.taglib.logic.EmptyTag +JSP + +name +false +true + + +property +false +true + + +scope +false +true + + + +equal +org.apache.struts.taglib.logic.EqualTag +JSP + +cookie +false +true + + +header +false +true + + +name +false +true + + +parameter +false +true + + +property +false +true + + +scope +false +true + + +value +true +true + + + +forward +org.apache.struts.taglib.logic.ForwardTag +empty + +name +true +true + + + +greaterEqual +org.apache.struts.taglib.logic.GreaterEqualTag +JSP + +cookie +false +true + + +header +false +true + + +name +false +true + + +parameter +false +true + + +property +false +true + + +scope +false +true + + +value +true +true + + + +greaterThan +org.apache.struts.taglib.logic.GreaterThanTag +JSP + +cookie +false +true + + +header +false +true + + +name +false +true + + +parameter +false +true + + +property +false +true + + +scope +false +true + + +value +true +true + + + +iterate +org.apache.struts.taglib.logic.IterateTag +org.apache.struts.taglib.logic.IterateTei +JSP + +collection +false +true + + +id +true +false + + +indexId +false +false + + +length +false +true + + +name +false +true + + +offset +false +true + + +property +false +true + + +scope +false +true + + +type +false +true + + + +lessEqual +org.apache.struts.taglib.logic.LessEqualTag +JSP + +cookie +false +true + + +header +false +true + + +name +false +true + + +parameter +false +true + + +property +false +true + + +scope +false +true + + +value +true +true + + + +lessThan +org.apache.struts.taglib.logic.LessThanTag +JSP + +cookie +false +true + + +header +false +true + + +name +false +true + + +parameter +false +true + + +property +false +true + + +scope +false +true + + +value +true +true + + + +match +org.apache.struts.taglib.logic.MatchTag +JSP + +cookie +false +true + + +header +false +true + + +location +false +true + + +name +false +true + + +parameter +false +true + + +property +false +true + + +scope +false +true + + +value +true +true + + + +messagesNotPresent +org.apache.struts.taglib.logic.MessagesNotPresentTag +JSP + +name +false +true + + +property +false +true + + +message +false +true + + + +messagesPresent +org.apache.struts.taglib.logic.MessagesPresentTag +JSP + +name +false +true + + +property +false +true + + +message +false +true + + + +notEmpty +org.apache.struts.taglib.logic.NotEmptyTag +JSP + +name +false +true + + +property +false +true + + +scope +false +true + + + +notEqual +org.apache.struts.taglib.logic.NotEqualTag +JSP + +cookie +false +true + + +header +false +true + + +name +false +true + + +parameter +false +true + + +property +false +true + + +scope +false +true + + +value +true +true + + + +notMatch +org.apache.struts.taglib.logic.NotMatchTag +JSP + +cookie +false +true + + +header +false +true + + +location +false +true + + +name +false +true + + +parameter +false +true + + +property +false +true + + +scope +false +true + + +value +true +true + + + +notPresent +org.apache.struts.taglib.logic.NotPresentTag +JSP + +cookie +false +true + + +header +false +true + + +name +false +true + + +parameter +false +true + + +property +false +true + + +role +false +true + + +scope +false +true + + +user +false +true + + + +present +org.apache.struts.taglib.logic.PresentTag +JSP + +cookie +false +true + + +header +false +true + + +name +false +true + + +parameter +false +true + + +property +false +true + + +role +false +true + + +scope +false +true + + +user +false +true + + + +redirect +org.apache.struts.taglib.logic.RedirectTag + +anchor +false +true + + +forward +false +true + + +href +false +true + + +name +false +true + + +page +false +true + + +paramId +false +true + + +paramName +false +true + + +paramProperty +false +true + + +paramScope +false +true + + +property +false +true + + +scope +false +true + + +transaction +false +true + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/valida= tion.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/validatio= n.xml (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/validatio= n.xml 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/valida= tor-rules.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/validator= -rules.xml (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/validator= -rules.xml 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,988 @@ + + + + + + + + + + =3D 0) { + value =3D field.options[si].value; + } + } else { + value =3D field.value; + } + = + if (value =3D=3D '') { + = + if (i =3D=3D 0) { + focusField =3D field; + } + fields[i++] =3D oRequired[x][1]; + bValid =3D false; + } + } + } + if (fields.length > 0) { + focusField.focus(); + alert(fields.join('\n')); + } + return bValid; + }]]> + + + + + + + + + + 0) { + focusField.focus(); + alert(fields.join('\n')); + } + return bValid; + }]]> + + + + + + + + iMax) { + if (i =3D=3D 0) { + focusField =3D form[oMaxLength[x][0]]; + } + fields[i++] =3D oMaxLength[x][1]; + bValid =3D false; + } + } + } + if (fields.length > 0) { + focusField.focus(); + alert(fields.join('\n')); + } + return bValid; + }]]> + + + + + + + + 0)) { + if (!matchPattern(form[oMasked[x][0]].value, oMask= ed[x][2]("mask"))) { + if (i =3D=3D 0) { + focusField =3D form[oMasked[x][0]]; + } + fields[i++] =3D oMasked[x][1]; + bValid =3D false; + } + } + } + if (fields.length > 0) { + focusField.focus(); + alert(fields.join('\n')); + } + return bValid; + } + + function matchPattern(value, mask) { + var bMatched =3D mask.exec(value); + if (!bMatched) { + return false; + } + return true; + }]]> + + + + + + + + =3D 0) { + value =3D field.options[si].value; + } + } else { + value =3D field.value; + } + = + if (value.length > 0) { + + var iValue =3D parseInt(value); + if (isNaN(iValue) || !(iValue >=3D -128 && iValue= <=3D 127)) { + if (i =3D=3D 0) { + focusField =3D field; + } + fields[i++] =3D oByte[x][1]; + bValid =3D false; + } + } + = + } + } + if (fields.length > 0) { + focusField.focus(); + alert(fields.join('\n')); + } + return bValid; + }]]> + + + + + + + + =3D 0) { + value =3D field.options[si].value; + } + } else { + value =3D field.value; + } + = + if (value.length > 0) { + = + var iValue =3D parseInt(value); + if (isNaN(iValue) || !(iValue >=3D -32768 && iVal= ue <=3D 32767)) { + if (i =3D=3D 0) { + focusField =3D field; + } + fields[i++] =3D oShort[x][1]; + bValid =3D false; + } + } + } + } + if (fields.length > 0) { + focusField.focus(); + alert(fields.join('\n')); + } + return bValid; + }]]> + + + + + + + + =3D 0) { + value =3D field.options[si].value; + } + } else { + value =3D field.value; + } + = + if (value.length > 0) { + = + if (!isAllDigits(value)) { + bValid =3D false; + } else { + var iValue =3D parseInt(value); + if (isNaN(iValue) || !(iValue >=3D -214748364= 8 && iValue <=3D 2147483647)) { + if (i =3D=3D 0) { + focusField =3D field; + } + fields[i++] =3D oInteger[x][1]; + bValid =3D false; + } + } + } + } + } + if (fields.length > 0) { + focusField.focus(); + alert(fields.join('\n')); + } + return bValid; + } + + function isAllDigits(argvalue) { + argvalue =3D argvalue.toString(); + var validChars =3D "0123456789"; + var startFrom =3D 0; + if (argvalue.substring(0, 2) =3D=3D "0x") { + validChars =3D "0123456789abcdefABCDEF"; + startFrom =3D 2; + } else if (argvalue.charAt(0) =3D=3D "0") { + validChars =3D "01234567"; + startFrom =3D 1; + } + for (var n =3D 0; n < argvalue.length; n++) { + if (validChars.indexOf(argvalue.substring(n, n+1)) =3D= =3D -1) return false; + } + return true; + }]]> + + + + + + + + + + + =3D 0) { + value =3D field.options[si].value; + } + } else { + value =3D field.value; + } + = + if (value.length > 0) { + = + var iValue =3D parseFloat(value); + if (isNaN(iValue)) { + if (i =3D=3D 0) { + focusField =3D field; + } + fields[i++] =3D oFloat[x][1]; + bValid =3D false; + } + } + } + } + if (fields.length > 0) { + focusField.focus(); + alert(fields.join('\n')); + } + return bValid; + }]]> + + + + + + + + + + + 0) && + (datePattern.length > 0)) { + var MONTH =3D "MM"; + var DAY =3D "dd"; + var YEAR =3D "yyyy"; + var orderMonth =3D datePattern.indexOf(MONTH); + var orderDay =3D datePattern.indexOf(DAY); + var orderYear =3D datePattern.indexOf(YEAR); + if ((orderDay < orderYear && orderDay > orderMonth)) { + var iDelim1 =3D orderMonth + MONTH.length; + var iDelim2 =3D orderDay + DAY.length; + var delim1 =3D datePattern.substring(iDelim1, iDe= lim1 + 1); + var delim2 =3D datePattern.substring(iDelim2, iDe= lim2 + 1); + if (iDelim1 =3D=3D orderDay && iDelim2 =3D=3D ord= erYear) { + dateRegexp =3D new RegExp("^(\\d{2})(\\d{2})(\= \d{4})$"); + } else if (iDelim1 =3D=3D orderDay) { + dateRegexp =3D new RegExp("^(\\d{2})(\\d{2})["= + delim2 + "](\\d{4})$"); + } else if (iDelim2 =3D=3D orderYear) { + dateRegexp =3D new RegExp("^(\\d{2})[" + delim= 1 + "](\\d{2})(\\d{4})$"); + } else { + dateRegexp =3D new RegExp("^(\\d{2})[" + delim= 1 + "](\\d{2})[" + delim2 + "](\\d{4})$"); + } + var matched =3D dateRegexp.exec(value); + if(matched !=3D null) { + if (!isValidDate(matched[2], matched[1], match= ed[3])) { + if (i =3D=3D 0) { + focusField =3D form[oDate[x][0]]; + } + fields[i++] =3D oDate[x][1]; + bValid =3D false; + } + } else { + if (i =3D=3D 0) { + focusField =3D form[oDate[x][0]]; + } + fields[i++] =3D oDate[x][1]; + bValid =3D false; + } + } else if ((orderMonth < orderYear && orderMonth > or= derDay)) { + var iDelim1 =3D orderDay + DAY.length; + var iDelim2 =3D orderMonth + MONTH.length; + var delim1 =3D datePattern.substring(iDelim1, iDe= lim1 + 1); + var delim2 =3D datePattern.substring(iDelim2, iDe= lim2 + 1); + if (iDelim1 =3D=3D orderMonth && iDelim2 =3D=3D o= rderYear) { + dateRegexp =3D new RegExp("^(\\d{2})(\\d{2})(= \\d{4})$"); + } else if (iDelim1 =3D=3D orderMonth) { + dateRegexp =3D new RegExp("^(\\d{2})(\\d{2})[= " + delim2 + "](\\d{4})$"); + } else if (iDelim2 =3D=3D orderYear) { + dateRegexp =3D new RegExp("^(\\d{2})[" + deli= m1 + "](\\d{2})(\\d{4})$"); + } else { + dateRegexp =3D new RegExp("^(\\d{2})[" + deli= m1 + "](\\d{2})[" + delim2 + "](\\d{4})$"); + } + var matched =3D dateRegexp.exec(value); + if(matched !=3D null) { + if (!isValidDate(matched[1], matched[2], matc= hed[3])) { + if (i =3D=3D 0) { + focusField =3D form[oDate[x][0]]; + } + fields[i++] =3D oDate[x][1]; + bValid =3D false; + } + } else { + if (i =3D=3D 0) { + focusField =3D form[oDate[x][0]]; + } + fields[i++] =3D oDate[x][1]; + bValid =3D false; + } + } else if ((orderMonth > orderYear && orderMonth < or= derDay)) { + var iDelim1 =3D orderYear + YEAR.length; + var iDelim2 =3D orderMonth + MONTH.length; + var delim1 =3D datePattern.substring(iDelim1, iDe= lim1 + 1); + var delim2 =3D datePattern.substring(iDelim2, iDe= lim2 + 1); + if (iDelim1 =3D=3D orderMonth && iDelim2 =3D=3D o= rderDay) { + dateRegexp =3D new RegExp("^(\\d{4})(\\d{2})(= \\d{2})$"); + } else if (iDelim1 =3D=3D orderMonth) { + dateRegexp =3D new RegExp("^(\\d{4})(\\d{2})[= " + delim2 + "](\\d{2})$"); + } else if (iDelim2 =3D=3D orderDay) { + dateRegexp =3D new RegExp("^(\\d{4})[" + deli= m1 + "](\\d{2})(\\d{2})$"); + } else { + dateRegexp =3D new RegExp("^(\\d{4})[" + deli= m1 + "](\\d{2})[" + delim2 + "](\\d{2})$"); + } + var matched =3D dateRegexp.exec(value); + if(matched !=3D null) { + if (!isValidDate(matched[3], matched[2], matc= hed[1])) { + if (i =3D=3D 0) { + focusField =3D form[oDate[x][0]]; + } + fields[i++] =3D oDate[x][1]; + bValid =3D false; + } + } else { + if (i =3D=3D 0) { + focusField =3D form[oDate[x][0]]; + } + fields[i++] =3D oDate[x][1]; + bValid =3D false; + } + } else { + if (i =3D=3D 0) { + focusField =3D form[oDate[x][0]]; + } + fields[i++] =3D oDate[x][1]; + bValid =3D false; + } + } + } + if (fields.length > 0) { + focusField.focus(); + alert(fields.join('\n')); + } + return bValid; + } + + function isValidDate(day, month, year) { + if (month < 1 || month > 12) { + return false; + } + if (day < 1 || day > 31) { + return false; + } + if ((month =3D=3D 4 || month =3D=3D 6 || month =3D=3D 9 ||= month =3D=3D 11) && + (day =3D=3D 31)) { + return false; + } + if (month =3D=3D 2) { + var leap =3D (year % 4 =3D=3D 0 && + (year % 100 !=3D 0 || year % 400 =3D=3D 0)); + if (day>29 || (day =3D=3D 29 && !leap)) { + return false; + } + } + return true; + }]]> + + + + + + + + + + + + + + + 0)) { + var iMin =3D parseInt(oRange[x][2]("min")); + var iMax =3D parseInt(oRange[x][2]("max")); + var iValue =3D parseInt(form[oRange[x][0]].value); + if (!(iValue >=3D iMin && iValue <=3D iMax)) { + if (i =3D=3D 0) { + focusField =3D form[oRange[x][0]]; + } + fields[i++] =3D oRange[x][1]; + bValid =3D false; + } + } + } + if (fields.length > 0) { + focusField.focus(); + alert(fields.join('\n')); + } + return bValid; + }]]> + + + + + + + 0)) { + var fMin =3D parseFloat(oRange[x][2]("min")); + var fMax =3D parseFloat(oRange[x][2]("max")); + var fValue =3D parseFloat(form[oRange[x][0]].value= ); + if (!(fValue >=3D fMin && fValue <=3D fMax)) { + if (i =3D=3D 0) { + focusField =3D form[oRange[x][0]]; + } + fields[i++] =3D oRange[x][1]; + bValid =3D false; + } + } + } + if (fields.length > 0) { + focusField.focus(); + alert(fields.join('\n')); + } + return bValid; + }]]> + + + + + + + 0)) { + if (!luhnCheck(form[oCreditCard[x][0]].value)) { + if (i =3D=3D 0) { + focusField =3D form[oCreditCard[x][0]]; + } + fields[i++] =3D oCreditCard[x][1]; + bValid =3D false; + } + } + } + if (fields.length > 0) { + focusField.focus(); + alert(fields.join('\n')); + } + return bValid; + } + + /** + * Reference: http://www.ling.nwu.edu/~sburke/pub/luhn_lib.pl + */ + function luhnCheck(cardNumber) { + if (isLuhnNum(cardNumber)) { + var no_digit =3D cardNumber.length; + var oddoeven =3D no_digit & 1; + var sum =3D 0; + for (var count =3D 0; count < no_digit; count++) { + var digit =3D parseInt(cardNumber.charAt(count)); + if (!((count & 1) ^ oddoeven)) { + digit *=3D 2; + if (digit > 9) digit -=3D 9; + }; + sum +=3D digit; + }; + if (sum =3D=3D 0) return false; + if (sum % 10 =3D=3D 0) return true; + }; + return false; + } + + function isLuhnNum(argvalue) { + argvalue =3D argvalue.toString(); + if (argvalue.length =3D=3D 0) { + return false; + } + for (var n =3D 0; n < argvalue.length; n++) { + if ((argvalue.substring(n, n+1) < "0") || + (argvalue.substring(n,n+1) > "9")) { + return false; + } + } + return true; + }]]> + + + + + + + + 0)) { + if (!checkEmail(form[oEmail[x][0]].value)) { + if (i =3D=3D 0) { + focusField =3D form[oEmail[x][0]]; + } + fields[i++] =3D oEmail[x][1]; + bValid =3D false; + } + } + } + if (fields.length > 0) { + focusField.focus(); + alert(fields.join('\n')); + } + return bValid; + } + + /** + * Reference: Sandeep V. Tamhankar (stamhankar(a)hotmail.com), + * http://javascript.internet.com + */ + function checkEmail(emailStr) { + if (emailStr.length =3D=3D 0) { + return true; + } + var emailPat=3D/^(.+)@(.+)$/; + var specialChars=3D"\\(\\)<>@,;:\\\\\\\"\\.\\[\\]"; + var validChars=3D"\[^\\s" + specialChars + "\]"; + var quotedUser=3D"(\"[^\"]*\")"; + var ipDomainPat=3D/^(\d{1,3})[.](\d{1,3})[.](\d{1,3})[.](\d= {1,3})$/; + var atom=3DvalidChars + '+'; + var word=3D"(" + atom + "|" + quotedUser + ")"; + var userPat=3Dnew RegExp("^" + word + "(\\." + word + ")*$"= ); + var domainPat=3Dnew RegExp("^" + atom + "(\\." + atom + ")*= $"); + var matchArray=3DemailStr.match(emailPat); + if (matchArray =3D=3D null) { + return false; + } + var user=3DmatchArray[1]; + var domain=3DmatchArray[2]; + if (user.match(userPat) =3D=3D null) { + return false; + } + var IPArray =3D domain.match(ipDomainPat); + if (IPArray !=3D null) { + for (var i =3D 1; i <=3D 4; i++) { + if (IPArray[i] > 255) { + return false; + } + } + return true; + } + var domainArray=3Ddomain.match(domainPat); + if (domainArray =3D=3D null) { + return false; + } + var atomPat=3Dnew RegExp(atom,"g"); + var domArr=3Ddomain.match(atomPat); + var len=3DdomArr.length; + if ((domArr[domArr.length-1].length < 2) || + (domArr[domArr.length-1].length > 3)) { + return false; + } + if (len < 2) { + return false; + } + return true; + }]]> + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/web.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/web.xml = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/WEB-INF/web.xml 2= 008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,40 @@ + + + + StrutsTest + + + action + org.apache.struts.action.ActionServlet + + config + /WEB-INF/struts-config.xml + + 1 + + + + action + *.do + + + + index.jsp + + + /WEB-INF/struts-bean + /WEB-INF/struts-bean.tld + + + /WEB-INF/struts-logic + /WEB-INF/struts-logic.tld + + + /WEB-INF/struts-html + /WEB-INF/struts-html.tld + + + BASIC + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/index.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/index.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/index.jsp 2008-01= -10 17:40:12 UTC (rev 5589) @@ -0,0 +1,2 @@ +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/componen= ts/base.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= base.jsp (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= base.jsp 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + + \ No newline at end of file Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/componen= ts/errors.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= errors.jsp (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= errors.jsp 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,9 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/componen= ts/frame.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= frame.jsp (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= frame.jsp 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,12 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + = + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/componen= ts/html.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= html.jsp (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= html.jsp 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,9 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + = + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/componen= ts/image.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= image.jsp (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= image.jsp 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,9 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/componen= ts/img.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= img.jsp (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= img.jsp 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,9 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/componen= ts/link.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= link.jsp (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= link.jsp 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,9 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + test.jsp + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/componen= ts/messages.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= messages.jsp (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= messages.jsp 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,13 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + = + = + = + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/componen= ts/rewrite.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= rewrite.jsp (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= rewrite.jsp 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,9 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/componen= ts/test.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.t= est/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/= pages/components/test.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/componen= ts/test.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= test.jsp (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/= test.jsp 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,9 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + +

Some text...

+ + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/greeting= .jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/greeting.js= p (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/greeting.js= p 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,14 @@ + + + KickStart: Greeting + + + + + + +
+

<%=3Drequest.getAttribute("greeting")%>

+
+ + \ No newline at end of file Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/inputnam= e.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/inputname.j= sp (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/inputname.j= sp 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,22 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + KickStart: Input name + + + + + + + + + + +
Input name:
+ + +
+
+ +
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/ant/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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/ant/build.properties = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/ant/build.properties 2008-01= -10 17:40:12 UTC (rev 5589) @@ -0,0 +1,3 @@ +# +#Wed Jan 09 19:09:36 MSK 2008 +classpath.external=3DY\:\\workspaces\\runtime-New_configuration\\.metadata= \\.plugins\\org.jboss.tools.common.projecttemplates\\lib\\servlet\\2.3\\ser= vlet.jar; Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/resources/StrutsTest/ant/build.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/ant/build.xml = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/resources/StrutsTest/ant/build.xml 2008-01-10 17:= 40:12 UTC (rev 5589) @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/Str= utsAllTests.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/Struts= AllTests.java (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/Struts= AllTests.java 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,37 @@ +/*************************************************************************= ****** = + * 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.struts.vpe.struts.test; + +import junit.framework.Test; +import junit.framework.TestSuite; + + +/** + * Class for testing all RichFaces components + * = + * @author sdzmitrovich + * = + */ + +public class StrutsAllTests { + + public static Test suite() { + + TestSuite suite =3D new TestSuite("Tests for Vpe Struts components"); //= $NON-NLS-1$ + // $JUnit-BEGIN$ + suite.addTestSuite(StrutsComponentTest.class); + //cleanUpTests(); + // $JUnit-END$ + return suite; + + } + +} Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/Str= utsComponentTest.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/Struts= ComponentTest.java (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/Struts= ComponentTest.java 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,75 @@ +/*************************************************************************= ****** = + * 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.struts.vpe.struts.test; + +import org.jboss.tools.vpe.ui.test.VpeTest; + +/** + * Class for testing all struts components + * = + * @author sdzmitrovich + * = + */ +public class StrutsComponentTest extends VpeTest { + + // import project name + private static final String IMPORT_PROJECT_NAME =3D "StrutsTest"; + + public StrutsComponentTest(String name) { + super(name, IMPORT_PROJECT_NAME, StrutsTestPlugin.getPluginResourcePath(= )); + } + + /* + * Struts HTML test cases + */ + + public void testBase() throws Throwable { + performTestForJsfComponent("components/base.jsp"); // $NON-NLS-1$ + } + + public void testErrors() throws Throwable { + performTestForJsfComponent("components/errors.jsp"); // $NON-NLS-1$ + } + + public void testFrame() throws Throwable { + performTestForJsfComponent("components/frame.jsp"); // $NON-NLS-1$ + } + = + public void testHtml() throws Throwable { + performTestForJsfComponent("components/html.jsp"); // $NON-NLS-1$ + } + = + public void testImage() throws Throwable { + performTestForJsfComponent("components/image.jsp"); // $NON-NLS-1$ + } + = + public void testImg() throws Throwable { + performTestForJsfComponent("components/img.jsp"); // $NON-NLS-1$ + } + = + public void testLink() throws Throwable { + performTestForJsfComponent("components/link.jsp"); // $NON-NLS-1$ + } + = + public void testRewrite() throws Throwable { + performTestForJsfComponent("components/rewrite.jsp"); // $NON-NLS-1$ + } + = + public void testMessages() throws Throwable { + performTestForJsfComponent("components/messages.jsp"); // $NON-NLS-1$ + } + + + + + + +} Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.= tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/Str= utsTestPlugin.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/Struts= TestPlugin.java (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/Struts= TestPlugin.java 2008-01-10 17:40:12 UTC (rev 5589) @@ -0,0 +1,85 @@ +/*************************************************************************= ****** = + * 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.struts.vpe.struts.test; + +import java.net.URL; + +import org.eclipse.core.runtime.FileLocator; +import org.eclipse.core.runtime.Platform; +import org.jboss.tools.common.log.BaseUIPlugin; +import org.jboss.tools.common.log.IPluginLog; +import org.osgi.framework.Bundle; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class StrutsTestPlugin extends BaseUIPlugin { + + // The plug-in ID + public static final String PLUGIN_ID =3D "org.jboss.tools.struts.vpe.stru= ts.test"; + + // The shared instance + private static StrutsTestPlugin plugin; + + /** + * The constructor + */ + public StrutsTestPlugin() { + } + + /* + * (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 StrutsTestPlugin getDefault() { + return plugin; + } + + public static IPluginLog getPluginLog() { + return getDefault(); + } + + public static String getPluginResourcePath() { + Bundle bundle =3D Platform.getBundle(PLUGIN_ID); + URL url =3D null; + try { + url =3D bundle =3D=3D null ? null : FileLocator.resolve(bundle + .getEntry("/resources")); // $NON-NLS-1$ + } catch (Exception e) { + url =3D bundle.getEntry("/resources"); // $NON-NLS-1$ + } + return (url =3D=3D null) ? null : url.getPath(); + } + +} --===============8718067895333675678==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 12:52:24 2008 Content-Type: multipart/mixed; boundary="===============3573581583486551848==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5590 - in trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test: org.jboss.tools.struts.vpe.struts.test and 1 other directory. Date: Thu, 10 Jan 2008 12:48:23 -0500 Message-ID: --===============3573581583486551848== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-10 12:48:23 -0500 (Thu, 10 Jan 2008) New Revision: 5590 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/META-INF/ Removed: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/META-INF/ Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Copied: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/META-INF = (from rev 5589, trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/o= rg.jboss.tools.struts.vpe.struts.test/META-INF) --===============3573581583486551848==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 12:52:38 2008 Content-Type: multipart/mixed; boundary="===============2348486430958069918==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5591 - in trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test: org.jboss.tools.struts.vpe.struts.test and 1 other directory. Date: Thu, 10 Jan 2008 12:48:38 -0500 Message-ID: --===============2348486430958069918== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-10 12:48:38 -0500 (Thu, 10 Jan 2008) New Revision: 5591 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/ Removed: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/resources/ Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Copied: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources= (from rev 5590, trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/= org.jboss.tools.struts.vpe.struts.test/resources) --===============2348486430958069918==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 12:52:55 2008 Content-Type: multipart/mixed; boundary="===============9071692424211794773==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5592 - in trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test: org.jboss.tools.struts.vpe.struts.test and 1 other directory. Date: Thu, 10 Jan 2008 12:48:55 -0500 Message-ID: --===============9071692424211794773== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-10 12:48:55 -0500 (Thu, 10 Jan 2008) New Revision: 5592 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/ Removed: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/src/ Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Copied: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src (from= rev 5591, trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jb= oss.tools.struts.vpe.struts.test/src) --===============9071692424211794773==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 12:53:10 2008 Content-Type: multipart/mixed; boundary="===============8472598600968366571==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5593 - in trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test: org.jboss.tools.struts.vpe.struts.test and 1 other directory. Date: Thu, 10 Jan 2008 12:49:10 -0500 Message-ID: --===============8472598600968366571== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-10 12:49:10 -0500 (Thu, 10 Jan 2008) New Revision: 5593 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/.classpath Removed: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/.classpath Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Copied: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/.classpat= h (from rev 5592, trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test= /org.jboss.tools.struts.vpe.struts.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/.classpath = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/.classpath 20= 08-01-10 17:49:10 UTC (rev 5593) @@ -0,0 +1,7 @@ + + + + + + + Deleted: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jbos= s.tools.struts.vpe.struts.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/.classpath 2008-01-10 17:48:55 UTC (rev 5592) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/.classpath 2008-01-10 17:49:10 UTC (rev 5593) @@ -1,7 +0,0 @@ - - - - - - - --===============8472598600968366571==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 12:53:25 2008 Content-Type: multipart/mixed; boundary="===============7836660098164378842==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5594 - in trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test: org.jboss.tools.struts.vpe.struts.test and 1 other directory. Date: Thu, 10 Jan 2008 12:49:25 -0500 Message-ID: --===============7836660098164378842== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-10 12:49:25 -0500 (Thu, 10 Jan 2008) New Revision: 5594 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/.project Removed: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/.project Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Copied: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/.project = (from rev 5593, trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/o= rg.jboss.tools.struts.vpe.struts.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/.project = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/.project 2008= -01-10 17:49:25 UTC (rev 5594) @@ -0,0 +1,28 @@ + + + org.jboss.tools.struts.vpe.struts.test + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + Deleted: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jbos= s.tools.struts.vpe.struts.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/.project 2008-01-10 17:49:10 UTC (rev 5593) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/.project 2008-01-10 17:49:25 UTC (rev 5594) @@ -1,28 +0,0 @@ - - - org.jboss.tools.struts.vpe.struts.test - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - --===============7836660098164378842==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 12:53:40 2008 Content-Type: multipart/mixed; boundary="===============5867161001013621939==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5595 - in trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test: org.jboss.tools.struts.vpe.struts.test and 1 other directory. Date: Thu, 10 Jan 2008 12:49:40 -0500 Message-ID: --===============5867161001013621939== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-10 12:49:40 -0500 (Thu, 10 Jan 2008) New Revision: 5595 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/build.properti= es Removed: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/build.properties Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Copied: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/build.pro= perties (from rev 5594, trunk/struts/tests/org.jboss.tools.struts.vpe.strut= s.test/org.jboss.tools.struts.vpe.struts.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/build.propert= ies (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/build.propert= ies 2008-01-10 17:49:40 UTC (rev 5595) @@ -0,0 +1,10 @@ +bin.includes =3D META-INF/,\ + resources/,\ + struts-test.jar +jars.compile.order =3D struts-test.jar +src.includes =3D src/,\ + resources/,\ + META-INF/,\ + build.properties +source.struts-test.jar =3D src/ +output.struts-test.jar =3D bin/ Deleted: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jbos= s.tools.struts.vpe.struts.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/build.properties 2008-01-10 17:49:25 UTC (rev 559= 4) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.too= ls.struts.vpe.struts.test/build.properties 2008-01-10 17:49:40 UTC (rev 559= 5) @@ -1,10 +0,0 @@ -bin.includes =3D META-INF/,\ - resources/,\ - struts-test.jar -jars.compile.order =3D struts-test.jar -src.includes =3D src/,\ - resources/,\ - META-INF/,\ - build.properties -source.struts-test.jar =3D src/ -output.struts-test.jar =3D bin/ --===============5867161001013621939==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 12:54:12 2008 Content-Type: multipart/mixed; boundary="===============7971892996322553914==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5596 - trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test. Date: Thu, 10 Jan 2008 12:50:12 -0500 Message-ID: --===============7971892996322553914== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-10 12:50:12 -0500 (Thu, 10 Jan 2008) New Revision: 5596 Removed: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/org.jboss.tool= s.struts.vpe.struts.test/ Log: http://jira.jboss.com/jira/browse/JBIDE-1565 --===============7971892996322553914==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 13:31:04 2008 Content-Type: multipart/mixed; boundary="===============6381913519099174571==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5597 - in trunk/common/plugins/org.jboss.tools.common.model: lib and 1 other directory. Date: Thu, 10 Jan 2008 13:31:04 -0500 Message-ID: --===============6381913519099174571== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-10 13:31:04 -0500 (Thu, 10 Jan 2008) New Revision: 5597 Removed: trunk/common/plugins/org.jboss.tools.common.model/lib/Bundles.jar Modified: trunk/common/plugins/org.jboss.tools.common.model/.classpath trunk/common/plugins/org.jboss.tools.common.model/build.properties Log: JBIDE-1603 Modified: trunk/common/plugins/org.jboss.tools.common.model/.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/common/plugins/org.jboss.tools.common.model/.classpath 2008-01-10= 17:50:12 UTC (rev 5596) +++ trunk/common/plugins/org.jboss.tools.common.model/.classpath 2008-01-10= 18:31:04 UTC (rev 5597) @@ -2,7 +2,6 @@ - Modified: trunk/common/plugins/org.jboss.tools.common.model/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/common/plugins/org.jboss.tools.common.model/build.properties 2008= -01-10 17:50:12 UTC (rev 5596) +++ trunk/common/plugins/org.jboss.tools.common.model/build.properties 2008= -01-10 18:31:04 UTC (rev 5597) @@ -2,7 +2,6 @@ resources/ bin.includes =3D META-INF/,\ about.html,\ - lib/,\ plugin.properties,\ plugin.xml,\ schema/,\ Deleted: trunk/common/plugins/org.jboss.tools.common.model/lib/Bundles.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) --===============6381913519099174571==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 13:48:21 2008 Content-Type: multipart/mixed; boundary="===============9197753512633564214==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5598 - in trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console: viewers/xpl and 1 other directories. Date: Thu, 10 Jan 2008 13:48:21 -0500 Message-ID: --===============9197753512633564214== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vyemialyanchyk Date: 2008-01-10 13:48:21 -0500 (Thu, 10 Jan 2008) New Revision: 5598 Added: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/viewers/xpl/ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/viewers/xpl/MTreeViewer.java Removed: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/viewers/MTreeViewer.java Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/views/KnownConfigurationsView.java Log: http://jira.jboss.com/jira/browse/JBIDE-1482 Deleted: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org= /hibernate/eclipse/console/viewers/MTreeViewer.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.console/src/org/hibe= rnate/eclipse/console/viewers/MTreeViewer.java 2008-01-10 18:31:04 UTC (rev= 5597) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/viewers/MTreeViewer.java 2008-01-10 18:48:21 UTC (rev= 5598) @@ -1,196 +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 - * - * Contributor: - * Red Hat, Inc. - initial API and implementation - *************************************************************************= *****/ -package org.hibernate.eclipse.console.viewers; - -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; -import java.util.ArrayList; - -import org.eclipse.core.runtime.Assert; -import org.eclipse.jface.viewers.AbstractTreeViewer; -import org.eclipse.jface.viewers.TreePath; -import org.eclipse.jface.viewers.TreeViewer; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Item; -import org.eclipse.swt.widgets.Widget; - -public class MTreeViewer extends TreeViewer { - - public MTreeViewer(Composite parent, int style) { - super(parent, style); - } - - // some little hack - public boolean isBusy() { - = - Object obj =3D null; - Class clazz =3D org.eclipse.jface.viewers.ColumnViewer.class; - try { - Method hiddenMethod =3D clazz.getDeclaredMethod("isBusy"); - if (null !=3D hiddenMethod) { - hiddenMethod.setAccessible(true); - obj =3D hiddenMethod.invoke(this); - } - } catch (IllegalArgumentException e) { - e.printStackTrace(); - } catch (IllegalAccessException e) { - e.printStackTrace(); - } catch (InvocationTargetException e) { - e.printStackTrace(); - } catch (SecurityException e) { - e.printStackTrace(); - } catch (NoSuchMethodException e) { - e.printStackTrace(); - } - if (obj instanceof Boolean) { - return ((Boolean)obj).booleanValue(); - } - return false; - } - - /** - * Adds the given child elements to this viewer as children of the given - * parent element. If this viewer does not have a sorter, the elements are - * added at the end of the parent's list of children in the order given; - * otherwise, the elements are inserted at the appropriate positions. - *

- * This method should be called (by the content provider) when elements h= ave - * been added to the model, in order to cause the viewer to accurately - * reflect the model. This method only affects the viewer, not the model. - *

- * = - * @param parentElementOrTreePath - * the parent element - * @param childElements - * the child elements to add - */ - public void add(Object parentElementOrTreePath, Object[] childElements) { - Assert.isNotNull(parentElementOrTreePath); - assertElementsNotNull(childElements); - if (isBusy()) - return; - Widget[] widgets =3D internalFindItems2(parentElementOrTreePath); - // If parent hasn't been realized yet, just ignore the add. - if (widgets.length =3D=3D 0) { - return; - } - - for (int i =3D 0; i < widgets.length; i++) { - internalAdd(widgets[i], parentElementOrTreePath, childElements); - } - } - - /** - * Find the items for the given element of tree path - * = - * @param parentElementOrTreePath - * the element or tree path - * @return the items for that element - */ - protected Widget[] internalFindItems2(Object parentElementOrTreePath) { - Widget[] widgets; - if (parentElementOrTreePath instanceof TreePath) { - widgets =3D internalFindItems(parentElementOrTreePath); - } else { - widgets =3D findItems2(parentElementOrTreePath); - } - return widgets; - } - = - /** - * Finds the widgets which represent the given element. The returned array - * must not be changed by clients; it might change upon calling other - * methods on this viewer. - *

- * This method was introduced to support multiple equal elements in a vie= wer - * (@see {@link AbstractTreeViewer}). Multiple equal elements are only - * supported if the element map is enabled by calling - * {@link #setUseHashlookup(boolean)} and passing true. - *

- *

- * The default implementation of this method tries first to find the widg= et - * for the given element assuming that it is the viewer's input; this is - * done by calling doFindInputItem. If it is not found - * there, the widgets are looked up in the internal element map provided - * that this feature has been enabled. If the element map is disabled, the - * widget is found via doFindInputItem. - *

- * = - * @param element - * the element - * @return the corresponding widgets - */ - protected Widget[] findItems2(Object element) { - Widget result =3D doFindInputItem(element); - if (result !=3D null) { - return new Widget[] { result }; - } - // if we have an element map use it, otherwise search for the item. - if (usingElementMap()) { - return findItems2(element); - } - return doFindItems(element); - } - - /** - * Recursively tries to find the given element. - * = - * @param parent - * the parent item - * @param element - * the element - * @return Widget - */ - protected ArrayList internalFindItem(Item parent, Object element)= { - - ArrayList ret =3D new ArrayList(); - // compare with node - Object data =3D parent.getData(); - if (data !=3D null) { - if (equals(data, element)) { - ret.add(parent); - return ret; - } - } - // recurse over children - Item[] items =3D getChildren(parent); - for (int i =3D 0; i < items.length; i++) { - Item item =3D items[i]; - ArrayList o =3D internalFindItem(item, element); - if (null !=3D o) { - ret.addAll(o); - } - } - return ret; - } - - protected Widget[] doFindItems(Object element) { - Widget[] ret =3D new Widget[0]; - // compare with root - Object root =3D getRoot(); - if (null =3D=3D root) { - return ret; - } - ArrayList res =3D new ArrayList(); - Item[] items =3D getChildren(getControl()); - if (items !=3D null) { - for (int i =3D 0; i < items.length; i++) { - ArrayList o =3D internalFindItem(items[i], element); - if (null !=3D o) { - res.addAll(o); - } - } - } - ret =3D res.toArray(ret); - return ret; - } - -} Copied: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/= hibernate/eclipse/console/viewers/xpl/MTreeViewer.java (from rev 5568, trun= k/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/ec= lipse/console/viewers/MTreeViewer.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.console/src/org/hibe= rnate/eclipse/console/viewers/xpl/MTreeViewer.java = (rev 0) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/viewers/xpl/MTreeViewer.java 2008-01-10 18:48:21 UTC = (rev 5598) @@ -0,0 +1,215 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ +package org.hibernate.eclipse.console.viewers.xpl; + +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; +import java.util.ArrayList; + +import org.eclipse.core.runtime.Assert; +import org.eclipse.jface.viewers.AbstractTreeViewer; +import org.eclipse.jface.viewers.TreePath; +import org.eclipse.jface.viewers.TreeViewer; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Item; +import org.eclipse.swt.widgets.Widget; + +/** + * TreeViewer has the next lack design to work with the objects as TreeIte= m id: + * internalFindItems always return array of size <=3D 1 + * cause doFindItems & internalFindItem returns FIRST proper item which it= find + * but in common case this is not the TRUTH - so TreeViewer add method doe= sn't work + * as we expected. + * = + * So MTreeViewer fix the problem. + * It redefine add method taking into account what for one parentElementOr= TreePath as id + * could exist several ( >=3D 0 ) widgets. + * doFindItems & internalFindItem returns ALL proper items which it find. + * = + * We expect what TreeViewer developers fix the bug in future versions, + * but we can't wait it. + * = + * more info is here http://jira.jboss.com/jira/browse/JBIDE-1482 + * = + * @author Vitali + */ +public class MTreeViewer extends TreeViewer { + + public MTreeViewer(Composite parent, int style) { + super(parent, style); + } + + // some little hack - cause TreeViewer has lack design for extensions + public boolean isBusy() { + = + Object obj =3D null; + Class clazz =3D org.eclipse.jface.viewers.ColumnViewer.class; + try { + Method hiddenMethod =3D clazz.getDeclaredMethod("isBusy"); + if (null !=3D hiddenMethod) { + hiddenMethod.setAccessible(true); + obj =3D hiddenMethod.invoke(this); + } + } catch (IllegalArgumentException e) { + e.printStackTrace(); + } catch (IllegalAccessException e) { + e.printStackTrace(); + } catch (InvocationTargetException e) { + e.printStackTrace(); + } catch (SecurityException e) { + e.printStackTrace(); + } catch (NoSuchMethodException e) { + e.printStackTrace(); + } + if (obj instanceof Boolean) { + return ((Boolean)obj).booleanValue(); + } + return false; + } + + /** + * Adds the given child elements to this viewer as children of the given + * parent element. If this viewer does not have a sorter, the elements are + * added at the end of the parent's list of children in the order given; + * otherwise, the elements are inserted at the appropriate positions. + *

+ * This method should be called (by the content provider) when elements h= ave + * been added to the model, in order to cause the viewer to accurately + * reflect the model. This method only affects the viewer, not the model. + *

+ * = + * @param parentElementOrTreePath + * the parent element + * @param childElements + * the child elements to add + */ + public void add(Object parentElementOrTreePath, Object[] childElements) { + Assert.isNotNull(parentElementOrTreePath); + assertElementsNotNull(childElements); + if (isBusy()) + return; + Widget[] widgets =3D internalFindItems2(parentElementOrTreePath); + // If parent hasn't been realized yet, just ignore the add. + if (widgets.length =3D=3D 0) { + return; + } + + for (int i =3D 0; i < widgets.length; i++) { + internalAdd(widgets[i], parentElementOrTreePath, childElements); + } + } + + /** + * Find the items for the given element of tree path + * = + * @param parentElementOrTreePath + * the element or tree path + * @return the items for that element + */ + protected Widget[] internalFindItems2(Object parentElementOrTreePath) { + Widget[] widgets; + if (parentElementOrTreePath instanceof TreePath) { + widgets =3D internalFindItems(parentElementOrTreePath); + } else { + widgets =3D findItems2(parentElementOrTreePath); + } + return widgets; + } + = + /** + * Finds the widgets which represent the given element. The returned array + * must not be changed by clients; it might change upon calling other + * methods on this viewer. + *

+ * This method was introduced to support multiple equal elements in a vie= wer + * (@see {@link AbstractTreeViewer}). Multiple equal elements are only + * supported if the element map is enabled by calling + * {@link #setUseHashlookup(boolean)} and passing true. + *

+ *

+ * The default implementation of this method tries first to find the widg= et + * for the given element assuming that it is the viewer's input; this is + * done by calling doFindInputItem. If it is not found + * there, the widgets are looked up in the internal element map provided + * that this feature has been enabled. If the element map is disabled, the + * widget is found via doFindInputItem. + *

+ * = + * @param element + * the element + * @return the corresponding widgets + */ + protected Widget[] findItems2(Object element) { + Widget result =3D doFindInputItem(element); + if (result !=3D null) { + return new Widget[] { result }; + } + // if we have an element map use it, otherwise search for the item. + if (usingElementMap()) { + return findItems2(element); + } + return doFindItems(element); + } + + /** + * Recursively tries to find the given element. + * = + * @param parent + * the parent item + * @param element + * the element + * @return Widget + */ + protected ArrayList internalFindItem(Item parent, Object element)= { + + ArrayList ret =3D new ArrayList(); + // compare with node + Object data =3D parent.getData(); + if (data !=3D null) { + if (equals(data, element)) { + ret.add(parent); + return ret; + } + } + // recurse over children + Item[] items =3D getChildren(parent); + for (int i =3D 0; i < items.length; i++) { + Item item =3D items[i]; + ArrayList o =3D internalFindItem(item, element); + if (null !=3D o) { + ret.addAll(o); + } + } + return ret; + } + + protected Widget[] doFindItems(Object element) { + Widget[] ret =3D new Widget[0]; + // compare with root + Object root =3D getRoot(); + if (null =3D=3D root) { + return ret; + } + ArrayList res =3D new ArrayList(); + Item[] items =3D getChildren(getControl()); + if (items !=3D null) { + for (int i =3D 0; i < items.length; i++) { + ArrayList o =3D internalFindItem(items[i], element); + if (null !=3D o) { + res.addAll(o); + } + } + } + ret =3D res.toArray(ret); + return ret; + } + +} Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/views/KnownConfigurationsView.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.console/src/org/hibe= rnate/eclipse/console/views/KnownConfigurationsView.java 2008-01-10 18:31:0= 4 UTC (rev 5597) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/views/KnownConfigurationsView.java 2008-01-10 18:48:2= 1 UTC (rev 5598) @@ -49,7 +49,7 @@ import org.hibernate.console.node.BaseNode; import org.hibernate.eclipse.console.actions.EditConsoleConfiguration; import org.hibernate.eclipse.console.actions.OpenMappingAction; -import org.hibernate.eclipse.console.viewers.MTreeViewer; +import org.hibernate.eclipse.console.viewers.xpl.MTreeViewer; import org.hibernate.eclipse.console.workbench.xpl.AnyAdaptableLabelProvid= er; import org.hibernate.mapping.Property; import org.hibernate.mapping.RootClass; --===============9197753512633564214==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 15:59:39 2008 Content-Type: multipart/mixed; boundary="===============2975135612914805607==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5599 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test: src/org/jboss/tools/jsf/vpe/facelets/test and 1 other directory. Date: Thu, 10 Jan 2008 15:59:39 -0500 Message-ID: --===============2975135612914805607== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-10 15:59:39 -0500 (Thu, 10 Jan 2008) New Revision: 5599 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/composition_absolute.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/composition_related.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/decorate_absolute.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/decorate_related.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/include_absolute.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/include_related.xhtml Removed: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/composition.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/decorate.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/include.xhtml Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/define.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsComponentTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1504 Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/fa= celetsTest/WebContent/pages/components/composition.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/composition.xhtml 2008-01-10 18:48:21 UTC= (rev 5598) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/composition.xhtml 2008-01-10 20:59:39 UTC= (rev 5599) @@ -1,14 +0,0 @@ - - - = - - = - JSF 1.2 and Facelets under Tomcat. KickSt= art Application - = - JSF 1.2 Hello Application - = - - Copied: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/fac= eletsTest/WebContent/pages/components/composition_absolute.xhtml (from rev = 5582, trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facel= etsTest/WebContent/pages/components/composition.xhtml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/composition_absolute.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/composition_absolute.xhtml 2008-01-10 20:= 59:39 UTC (rev 5599) @@ -0,0 +1,14 @@ + + + = + + = + JSF 1.2 and Facelets under Tomcat. KickSt= art Application + = + JSF 1.2 Hello Application + = + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/pages/components/composition_related.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/composition_related.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/composition_related.xhtml 2008-01-10 20:5= 9:39 UTC (rev 5599) @@ -0,0 +1,14 @@ + + + = + + = + JSF 1.2 and Facelets under Tomcat. KickSt= art Application + = + JSF 1.2 Hello Application + = + + Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/fa= celetsTest/WebContent/pages/components/decorate.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/decorate.xhtml 2008-01-10 18:48:21 UTC (r= ev 5598) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/decorate.xhtml 2008-01-10 20:59:39 UTC (r= ev 5599) @@ -1,14 +0,0 @@ - - - = - - = - JSF 1.2 and Facelets under Tomcat. KickSt= art Application - = - JSF 1.2 Hello Application - = - - Copied: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/fac= eletsTest/WebContent/pages/components/decorate_absolute.xhtml (from rev 558= 2, trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/decorate.xhtml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/decorate_absolute.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/decorate_absolute.xhtml 2008-01-10 20:59:= 39 UTC (rev 5599) @@ -0,0 +1,14 @@ + + + = + + = + JSF 1.2 and Facelets under Tomcat. KickSt= art Application + = + JSF 1.2 Hello Application + = + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/pages/components/decorate_related.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/decorate_related.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/decorate_related.xhtml 2008-01-10 20:59:3= 9 UTC (rev 5599) @@ -0,0 +1,14 @@ + + + = + + = + JSF 1.2 and Facelets under Tomcat. KickSt= art Application + = + JSF 1.2 Hello Application + = + + Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/f= aceletsTest/WebContent/pages/components/define.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/define.xhtml 2008-01-10 18:48:21 UTC (rev= 5598) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/define.xhtml 2008-01-10 20:59:39 UTC (rev= 5599) @@ -4,10 +4,7 @@ xmlns:h=3D"http://java.sun.com/jsf/html" xmlns:f=3D"http://java.sun.com/jsf/core"> - JSF 1.2 and Facelets under Tomcat. KickSt= art Application Greeting Page - - #{person.name}! - + #{person.name}! \ No newline at end of file Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/fa= celetsTest/WebContent/pages/components/include.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/include.xhtml 2008-01-10 18:48:21 UTC (re= v 5598) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/include.xhtml 2008-01-10 20:59:39 UTC (re= v 5599) @@ -1,15 +0,0 @@ - - - - -Debug Test - - - -

ui:include test page

- - - \ No newline at end of file Copied: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/fac= eletsTest/WebContent/pages/components/include_absolute.xhtml (from rev 5582= , trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/faceletsT= est/WebContent/pages/components/include.xhtml) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/include_absolute.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/include_absolute.xhtml 2008-01-10 20:59:3= 9 UTC (rev 5599) @@ -0,0 +1,15 @@ + + + + +Debug Test + + + +

ui:include test page

+ + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/pages/components/include_related.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/include_related.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/include_related.xhtml 2008-01-10 20:59:39= UTC (rev 5599) @@ -0,0 +1,15 @@ + + + + +Debug Test + + + +

ui:include test page

+ + + \ No newline at end of file Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-10 18:48:21 UTC= (rev 5598) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-10 20:59:39 UTC= (rev 5599) @@ -23,9 +23,10 @@ import org.mozilla.interfaces.nsIDOMDocument; import org.mozilla.interfaces.nsIDOMElement; import org.mozilla.interfaces.nsIDOMNode; +import org.mozilla.interfaces.nsIDOMText; = /** - * Class for testing all Seam components + * Class for testing all Facelets components * = * @author dsakovich(a)exadel.com * = @@ -37,71 +38,269 @@ = public FaceletsComponentTest(String name) { super(name); + setCheckWarning(false); } = + /** + * Test for ui:debug + * = + * @throws Throwable + */ public void testDebug() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath("components/= debug.xhtml",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/debug.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = + /** + * Test for ui:define + * = + * @throws Throwable + */ public void testDefine() throws Throwable { - TestUtil.waitForJobs(); - // set exception - setException(null); = - // get test page path - IFile file =3D (IFile) TestUtil.getComponentPath( - "components/define.xhtml", IMPORT_PROJECT_NAME); + nsIDOMElement element =3D performTestForFaceletComponent("components/defi= ne.xhtml"); + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); = - assertNotNull("Could not open specified file " + file.getFullPath(), - file); + List elements =3D new ArrayList(); = - IEditorInput input =3D new FileEditorInput(file); + // find "span" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_SPAN); = - assertNotNull("Editor input is null", input); - // open and get editor - JSPMultiPageEditor part =3D openEditor(input); + assertEquals(2, elements.size()); + nsIDOMElement elementSpan0 =3D (nsIDOMElement) elements.get(0) + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + nsIDOMElement elementSpan1 =3D (nsIDOMElement) elements.get(1) + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); = - // get dom document - nsIDOMDocument document =3D getVpeVisualDocument(part); - nsIDOMElement element =3D document.getDocumentElement(); + nsIDOMText text0 =3D (nsIDOMText) elementSpan0.getFirstChild() + .queryInterface(nsIDOMText.NS_IDOMTEXT_IID); + nsIDOMText text1 =3D (nsIDOMText) elementSpan1.getFirstChild() + .queryInterface(nsIDOMText.NS_IDOMTEXT_IID); = - // check that element is not null - assertNotNull(element); + assertEquals(text0.getNodeValue(), "Greeting Page"); + assertEquals(text1.getNodeValue(), "#{person.name}!"); = - // get root node + if (getException() !=3D null) { + throw getException(); + } + } + + /** + * Test for ui:composition + * = + * @throws Throwable + */ + public void testComposition() throws Throwable { + + // check absolute path + nsIDOMElement element =3D performTestForFaceletComponent("components/comp= osition_absolute.xhtml"); nsIDOMNode node =3D (nsIDOMNode) element .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); = List elements =3D new ArrayList(); = - // find "span" elements - TestUtil.findElementsByName(node, elements, HTML.TAG_SPAN); + // find "table" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); = - assertEquals(2, elements.size()); + assertEquals(1, elements.size()); = - nsIDOMElement elementSpan0 =3D (nsIDOMElement) elements.get(0) + // check related path + element =3D performTestForFaceletComponent("components/composition_relate= d.xhtml"); + node =3D (nsIDOMNode) element.queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + elements =3D new ArrayList(); + + // find "table" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); + + assertEquals(1, elements.size()); + + if (getException() !=3D null) { + throw getException(); + } + } + + /** + * Test for ui:component + * = + * @throws Throwable + */ + public void testComponent() throws Throwable { + + nsIDOMElement element =3D performTestForFaceletComponent("components/comp= onent.xhtml"); + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "div" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_DIV); + assertEquals(1, elements.size()); + nsIDOMElement divElement =3D (nsIDOMElement) elements.get(0) .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); - nsIDOMElement elementSpan1 =3D (nsIDOMElement) elements.get(1) + + nsIDOMElement divBody =3D (nsIDOMElement) divElement.getLastChild() .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); = - /* - * nsIDOMText text0 =3D (nsIDOMText) elementSpan0.getFirstChild(); - * nsIDOMText text1 =3D (nsIDOMText) elementSpan1.getFirstChild(); - * System.out.println(text0.getNodeValue()); - * assertEquals(elementInput0.getAttribute("value"), ""); - * assertNotNull(elementInput1.getAttribute("value"), ""); - * assertNotNull(elementInput2.getAttribute("value"), "test"); - */ + nsIDOMElement div =3D (nsIDOMElement) divBody.getLastChild() + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); = - // TODO Dzmitry Sakovich Test not complete - assertTrue("Defined content is not shown", false); + String title =3D div.getAttribute("title"); + + assertEquals(title.replaceAll("\\s+", ""), + "ui:componentbinding:#{backingBean.menu}"); if (getException() !=3D null) { throw getException(); } } = + /** + * Test for ui:remove + * = + * @throws Throwable + */ + public void testRemove() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/remove.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + // TODO check that content in ui:remove isn't shown in VPE + assertTrue("Content inside ui:remove tag shouldn't be shown", false); + } + + /** + * Test for ui:decorate + * = + * @throws Throwable + */ + public void testDecorate() throws Throwable { + // check absolute path + nsIDOMElement element =3D performTestForFaceletComponent("components/deco= rate_absolute.xhtml"); + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "table" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); + + assertEquals(1, elements.size()); + + // check related path + element =3D performTestForFaceletComponent("components/decorate_related.x= html"); + node =3D (nsIDOMNode) element.queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + elements =3D new ArrayList(); + + // find "table" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); + + assertEquals(1, elements.size()); + + if (getException() !=3D null) { + throw getException(); + } + } + + /** + * Test for ui:repeat + * = + * @throws Throwable + */ + public void testRepeat() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/repeat.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + assertTrue("Component's content is not shown", false); + } + + /** + * Test for ui:include + * = + * @throws Throwable + */ + public void testInclude() throws Throwable { + // check absolute path + nsIDOMElement element =3D performTestForFaceletComponent("components/incl= ude_absolute.xhtml"); + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "table" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); + + assertEquals(1, elements.size()); + + // check related path + element =3D performTestForFaceletComponent("components/include_related.xh= tml"); + node =3D (nsIDOMNode) element.queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + elements =3D new ArrayList(); + + // find "table" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); + + assertEquals(1, elements.size()); + + if (getException() !=3D null) { + throw getException(); + } + } + + /** + * Test for ui:fragment + * = + * @throws Throwable + */ + public void testFragment() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/fragment.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + // TODO check that fragment's content is showed + assertTrue("Fragment's content is not sown", false); + } + + /** + * Test for ui:insert + * = + * @throws Throwable + */ public void testInsert() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath("components/= insert.xhtml",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/insert.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = + /** + * = + * @param componentPage + * @return + * @throws Throwable + */ + private nsIDOMElement performTestForFaceletComponent(String componentP= age) + throws Throwable { + TestUtil.waitForJobs(); + // set exception + setException(null); + + // get test page path + IFile file =3D (IFile) TestUtil.getComponentPath(componentPage, + IMPORT_PROJECT_NAME); + + assertNotNull("Could not open specified file " + file.getFullPath(), + file); + + IEditorInput input =3D new FileEditorInput(file); + + assertNotNull("Editor input is null", input); + // open and get editor + JSPMultiPageEditor part =3D openEditor(input); + + // get dom document + nsIDOMDocument document =3D getVpeVisualDocument(part); + nsIDOMElement element =3D document.getDocumentElement(); + + // check that element is not null + assertNotNull(element); + + return element; + } + } --===============2975135612914805607==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 17:34:00 2008 Content-Type: multipart/mixed; boundary="===============2174930599915248606==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5600 - in trunk/hibernatetools: tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject and 1 other directory. Date: Thu, 10 Jan 2008 17:33:59 -0500 Message-ID: --===============2174930599915248606== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-10 17:33:59 -0500 (Thu, 10 Jan 2008) New Revision: 5600 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/wizards/ConsoleConfigurationCreationWizard.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 Log: fix for JUnit Tests compilation level [java] [javac] 32. ERROR in /home/hudson/jbosstools-build/eclipse/plugi= ns/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/tes= t/mappingproject/OpenMappingFileTest.java (at line 31) [java] [javac] final ConsoleConfiguration consCFG =3D knownCon= figurations.find(CreateConsoleConfigTest.ConsoleCFGName); [java] [javac] = ^^^^^^^^^^^^^^^^^^^^^^^ [java] [javac] CreateConsoleConfigTest cannot be resolved [java] [javac] ---------- [java] [javac] ---------- [java] [javac] 33. ERROR in /home/hudson/jbosstools-build/eclipse/= plugins/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/consol= e/test/mappingproject/OpenSourceFileTest.java (at line 34) [java] [javac] final ConsoleConfiguration consCFG =3D knownCon= figurations.find(CreateConsoleConfigTest.ConsoleCFGName); [java] [javac] = ^^^^^^^^^^^^^^^^^^^^^^^ [java] [javac] CreateConsoleConfigTest cannot be resolved [java] [javac] ---------- [java] [javac] ---------- [java] [javac] 34. ERROR in /home/hudson/jbosstools-build/eclipse/= plugins/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/consol= e/test/mappingproject/ProjectUtil.java (at line 101) [java] [javac] createConsoleConfiguration(null, null, ConsoleC= FGName, ConsoleConfigurationPreferences.ConfigurationMode.CORE, [java] [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^ [java] [javac] The method createConsoleConfiguration(Shell, Eclips= eConsoleConfiguration, String, ConsoleConfigurationPreferences.Configuratio= nMode, String, boolean, String, IPath, IPath, IPath[], IPath[], String, Str= ing, IProgressMonitor) from the type ConsoleConfigurationCreationWizard is = not visible [java] [javac] ---------- [java] [javac] 34 problems (3 errors, 31 warnings) Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/wizards/ConsoleConfigurationCreationWizard.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.console/src/org/hibe= rnate/eclipse/console/wizards/ConsoleConfigurationCreationWizard.java 2008-= 01-10 20:59:39 UTC (rev 5599) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/wizards/ConsoleConfigurationCreationWizard.java 2008-= 01-10 22:33:59 UTC (rev 5600) @@ -146,7 +146,7 @@ return true; } = - static private void createConsoleConfiguration( + static public void createConsoleConfiguration( final Shell shell, final EclipseConsoleConfiguration oldConfig, final String configName, Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/OpenMappingFileTest.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/OpenMappingFileTest.java 2008-= 01-10 20:59:39 UTC (rev 5599) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/OpenMappingFileTest.java 2008-= 01-10 22:33:59 UTC (rev 5600) @@ -28,7 +28,7 @@ public class OpenMappingFileTest extends TestCase { public void testOpenMappingFileTest(){ KnownConfigurations knownConfigurations =3D KnownConfigurations.getInsta= nce(); - final ConsoleConfiguration consCFG =3D knownConfigurations.find(CreateCo= nsoleConfigTest.ConsoleCFGName); + final ConsoleConfiguration consCFG =3D null; //knownConfigurations.find(= CreateConsoleConfigTest.ConsoleCFGName); assertNotNull(consCFG); consCFG.reset(); Object[] configs =3D new ConsoleConfigurationWorkbenchAdapter().getChild= ren(consCFG); Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/OpenSourceFileTest.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/OpenSourceFileTest.java 2008-0= 1-10 20:59:39 UTC (rev 5599) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/OpenSourceFileTest.java 2008-0= 1-10 22:33:59 UTC (rev 5600) @@ -31,7 +31,7 @@ public void testOpenSourceFileTest(){ //fail("test fail"); KnownConfigurations knownConfigurations =3D KnownConfigurations.getInsta= nce(); - final ConsoleConfiguration consCFG =3D knownConfigurations.find(CreateCo= nsoleConfigTest.ConsoleCFGName); + final ConsoleConfiguration consCFG =3D null;//knownConfigurations.find(C= reateConsoleConfigTest.ConsoleCFGName); assertNotNull(consCFG); consCFG.reset(); Object[] configs =3D new ConsoleConfigurationWorkbenchAdapter().getChild= ren(consCFG); --===============2174930599915248606==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 19:31:24 2008 Content-Type: multipart/mixed; boundary="===============2379982535752161039==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5601 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test: META-INF and 1 other directory. Date: Thu, 10 Jan 2008 19:31:23 -0500 Message-ID: --===============2379982535752161039== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-10 19:31:23 -0500 (Thu, 10 Jan 2008) New Revision: 5601 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/META-INF/MANIFEST.= MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/build.properties Log: fixing testexception [echo] performing "ui" test on plugin "org.jboss.tools.jsf.vpe.facelets.te= st" class "org.jboss.tools.jsf.vpe.facelets.test.FaceletsAllTests" ui-test: eclipse-test: [java] !SESSION 2008-01-10 18:18:18.960 ------------------------------= ----------------- [java] eclipse.buildId=3DM20071023-1652 [java] java.version=3D1.5.0_12 [java] java.vendor=3DSun Microsystems Inc. [java] BootLoader constants: OS=3Dlinux, ARCH=3Dx86, WS=3Dgtk, NL=3Den= _US [java] Framework arguments: -application org.eclipse.test.uitestappli= cation formatter=3Dorg.apache.tools.ant.taskdefs.optional.junit.XMLJUnitRes= ultFormatter,org.jboss.tools.jsf.vpe.facelets.test.FaceletsAllTests.xml -te= stPluginName org.jboss.tools.jsf.vpe.facelets.test -classname org.jboss.too= ls.jsf.vpe.facelets.test.FaceletsAllTests [java] Command-line arguments: -application org.eclipse.test.uitestap= plication -dev bin -data /home/hudson/jbosstools-build/200801101741-nightly= /tests/workspace formatter=3Dorg.apache.tools.ant.taskdefs.optional.junit.X= MLJUnitResultFormatter,org.jboss.tools.jsf.vpe.facelets.test.FaceletsAllTes= ts.xml -testPluginName org.jboss.tools.jsf.vpe.facelets.test -classname org= .jboss.tools.jsf.vpe.facelets.test.FaceletsAllTests -consolelog [java] !ENTRY org.eclipse.osgi 2 0 2008-01-10 18:18:35.720 [java] !MESSAGE The activator org.jboss.tools.jsf.vpe.facelets.test.Fa= celetsTestPlugin for bundle org.jboss.tools.jsf.vpe.facelets.test is invalid [java] !STACK 0 [java] org.osgi.framework.BundleException: The activator org.jboss.too= ls.jsf.vpe.facelets.test.FaceletsTestPlugin for bundle org.jboss.tools.jsf.= vpe.facelets.test is invalid [java] at org.eclipse.osgi.framework.internal.core.AbstractBundle.loa= dBundleActivator(AbstractBundle.java:141) [java] at org.eclipse.osgi.framework.internal.core.BundleContextImpl.= start(BundleContextImpl.java:970) [java] at org.eclipse.osgi.framework.internal.core.BundleHost.startWo= rker(BundleHost.java:346) ... [java] at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java= :508) [java] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) [java] Class not found "org.jboss.tools.jsf.vpe.facelets.test.Facelets= AllTests" [java] at org.eclipse.equinox.launcher.Main.run(Main.java:1173) [java] at org.eclipse.equinox.launcher.Main.main(Main.java:1148) [java] at org.eclipse.core.launcher.Main.main(Main.java:30) [java] Caused by: java.lang.ClassNotFoundException: org.jboss.tools.js= f.vpe.facelets.test.FaceletsTestPlugin [java] at java.lang.ClassLoader.findClass(ClassLoader.java:358) [java] ... 40 more [java] Root exception: [java] java.lang.ClassNotFoundException: org.jboss.tools.jsf.vpe.facel= ets.test.FaceletsTestPlugin [java] at java.lang.ClassLoader.findClass(ClassLoader.java:358) ... [java] at org.eclipse.core.launcher.Main.main(Main.java:30) [java] Java Result: 2 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/META-INF/MA= NIFEST.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/tests/org.jboss.tools.jsf.vpe.facelets.test/META-INF/MANIFEST= .MF 2008-01-10 22:33:59 UTC (rev 5600) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/META-INF/MANIFEST= .MF 2008-01-11 00:31:23 UTC (rev 5601) @@ -16,3 +16,5 @@ org.jboss.tools.vpe.xulrunner, org.mozilla.xpcom Eclipse-LazyStart: true +Export-Package: org.jboss.tools.jsf.vpe.facelets.test +Bundle-ClassPath: facelets-tests.jar Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/build.prope= rties =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/build.properties = 2008-01-10 22:33:59 UTC (rev 5600) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/build.properties = 2008-01-11 00:31:23 UTC (rev 5601) @@ -1,9 +1,9 @@ -source.facelets-tests.jar =3D src/ output.facelets-tests.jar =3D bin/ bin.includes =3D META-INF/,\ - facelets-tests.jar,\ - resources/ + resources/,\ + facelets-tests.jar src.includes =3D META-INF/,\ build.properties,\ resources/,\ src/ +source.facelets-tests.jar =3D src/ --===============2379982535752161039==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 19:49:49 2008 Content-Type: multipart/mixed; boundary="===============3026873736778428476==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5602 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/META-INF. Date: Thu, 10 Jan 2008 19:49:49 -0500 Message-ID: --===============3026873736778428476== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-10 19:49:48 -0500 (Thu, 10 Jan 2008) New Revision: 5602 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/META-INF/MANIFEST.MF Log: fix test errors [echo] performing "ui" test on plugin "org.jboss.tools.jsf.vpe.seam.test= " class "org.jboss.tools.jsf.vpe.seam.test.SeamAllTests" ui-test: eclipse-test: [java] !SESSION 2008-01-10 18:27:37.802 ------------------------------= ----------------- [java] eclipse.buildId=3DM20071023-1652 [java] java.version=3D1.5.0_12 [java] java.vendor=3DSun Microsystems Inc. [java] BootLoader constants: OS=3Dlinux, ARCH=3Dx86, WS=3Dgtk, NL=3Den= _US [java] Framework arguments: -application org.eclipse.test.uitestappli= cation formatter=3Dorg.apache.tools.ant.taskdefs.optional.junit.XMLJUnitRes= ultFormatter,org.jboss.tools.jsf.vpe.seam.test.SeamAllTests.xml -testPlugin= Name org.jboss.tools.jsf.vpe.seam.test -classname org.jboss.tools.jsf.vpe.s= eam.test.SeamAllTests [java] Command-line arguments: -application org.eclipse.test.uitestap= plication -dev bin -data /home/hudson/jbosstools-build/200801101741-nightly= /tests/workspace formatter=3Dorg.apache.tools.ant.taskdefs.optional.junit.X= MLJUnitResultFormatter,org.jboss.tools.jsf.vpe.seam.test.SeamAllTests.xml -= testPluginName org.jboss.tools.jsf.vpe.seam.test -classname org.jboss.tools= .jsf.vpe.seam.test.SeamAllTests -consolelog [java] !ENTRY org.eclipse.wst.internet.cache 1 0 2008-01-10 18:28:04.7= 16 [java] !MESSAGE wtp.autotest.noninteractive is set. Licenses dialogs w= ill not be displayed. [java] # [java] # An unexpected error has been detected by HotSpot Virtual Mach= ine: [java] # [java] # SIGSEGV (0xb) at pc=3D0xc8312ff4, pid=3D9788, tid=3D41606202= 24 [java] # [java] # Java VM: Java HotSpot(TM) Server VM (1.5.0_12-b04 mixed mode) [java] # Problematic frame: [java] # C [libexpat.so.0+0xeff4] [java] # [java] # An error report file with more information is saved as hs_err= _pid9788.log [java] # [java] # If you would like to submit a bug report, please visit: [java] # http://java.sun.com/webapps/bugreport/crash.jsp [java] # [java] Java Result: 134 [echo] Cleaning test workspace... Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/META-INF/MANIFE= ST.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/tests/org.jboss.tools.jsf.vpe.seam.test/META-INF/MANIFEST.MF = 2008-01-11 00:31:23 UTC (rev 5601) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/META-INF/MANIFEST.MF = 2008-01-11 00:49:48 UTC (rev 5602) @@ -13,3 +13,4 @@ org.jboss.tools.vpe Eclipse-LazyStart: true Bundle-ClassPath: vpe-seam-test.jar +Export-Package: org.jboss.tools.jsf.vpe.seam.test --===============3026873736778428476==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 20:55:45 2008 Content-Type: multipart/mixed; boundary="===============0666606745949945189==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5603 - in trunk: jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF and 3 other directories. Date: Thu, 10 Jan 2008 20:55:44 -0500 Message-ID: --===============0666606745949945189== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-10 20:55:44 -0500 (Thu, 10 Jan 2008) New Revision: 5603 Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/META-INF/M= ANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/js= f/vpe/html/test/HtmlAllTests.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/js= f/vpe/html/test/HtmlComponentTest.java trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/META-INF/MANIF= EST.MF trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsAllTests.java trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsComponentTest.java trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsTestPlugin.java Log: what were fixed in tests: - @author tags for seam tests updated to the daniel - runtime parameters adjusted, lib names and exported pakages were added - compilations error were fixed to keep tests running 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 2008-01-11 00:49:48 UTC (rev 5602) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/META-INF/= MANIFEST.MF 2008-01-11 01:55:44 UTC (rev 5603) @@ -9,7 +9,9 @@ lib/jaxen-1.1-beta-7.jar Bundle-Vendor: Hibernate Team Bundle-Localization: plugin -Export-Package: org.hibernate.eclipse.console.test +Export-Package: org.hibernate.eclipse.console.test, + org.hibernate.eclipse.console.test.mapping, + org.hibernate.eclipse.console.test.mappingproject Require-Bundle: org.junit, org.eclipse.jdt.core, org.eclipse.core.resources, Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFE= ST.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/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF = 2008-01-11 00:49:48 UTC (rev 5602) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF = 2008-01-11 01:55:44 UTC (rev 5603) @@ -18,3 +18,5 @@ org.mozilla.xpcom, org.jboss.tools.jsf.vpe.ui.test Eclipse-LazyStart: true +Export-Package: org.jboss.tools.jsf.vpe.html.test +Bundle-ClassPath: html-test.jar Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/t= ools/jsf/vpe/html/test/HtmlAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/j= sf/vpe/html/test/HtmlAllTests.java 2008-01-11 00:49:48 UTC (rev 5602) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/j= sf/vpe/html/test/HtmlAllTests.java 2008-01-11 01:55:44 UTC (rev 5603) @@ -16,8 +16,6 @@ import junit.framework.Test; import junit.framework.TestSuite; = -import org.jboss.tools.vpe.ui.test.VpeTestSetup; -import org.jboss.tools.vpe.ui.test.beans.ImportBean; = /** * Class for testing all RichFaces components @@ -33,17 +31,8 @@ TestSuite suite =3D new TestSuite("Tests for Vpe Jsf components"); // $N= ON-NLS-1$ // $JUnit-BEGIN$ suite.addTestSuite(HtmlComponentTest.class); - - // $JUnit-END$ - // added by Max Areshkau - // add here projects which should be imported for junit tests - List projectToImport =3D new ArrayList(); - ImportBean importBean =3D new ImportBean(); - importBean.setImportProjectName(HtmlComponentTest.IMPORT_PROJECT_NAME); - importBean.setImportProjectPath(HtmlTestPlugin.getPluginResourcePath()); - projectToImport.add(importBean); - return new VpeTestSetup(suite, projectToImport); - + = + return suite; } = } Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/t= ools/jsf/vpe/html/test/HtmlComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/j= sf/vpe/html/test/HtmlComponentTest.java 2008-01-11 00:49:48 UTC (rev 5602) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/j= sf/vpe/html/test/HtmlComponentTest.java 2008-01-11 01:55:44 UTC (rev 5603) @@ -26,7 +26,7 @@ public static final String IMPORT_PROJECT_NAME =3D "htmlTest"; = public HtmlComponentTest(String name) { - super(name); + super(name,IMPORT_PROJECT_NAME,HtmlTestPlugin.getPluginResourcePath()); setCheckWarning(false); } = @@ -35,23 +35,22 @@ */ = public void testDiv() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/block/div.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent("components/block/div.html"); } = public void testDl() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/block/dl.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/block/dl.html"); } = public void testLists() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/block/lists.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( = + "components/block/lists.html"); } = public void testSpan() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/block/span.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/block/span.html"); } = /* @@ -59,48 +58,48 @@ */ = public void testA() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/core/a.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/core/a.html"); } = public void testAddress() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/core/address.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/core/address.html"); } = public void testBasic() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/core/basic.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/core/basic.html"); } = public void testImg() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/core/img.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/core/img.html"); } = public void testLink() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/core/link.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/core/link.html"); } = public void testMap() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/core/map.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/core/map.html"); } = public void testObject() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/core/object.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/core/object.html"); } = public void testStyle() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/core/style.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/core/style.html"); } = public void testTitle() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/core/title.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/core/title.html"); } = /* @@ -108,38 +107,38 @@ */ = public void testButton() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/form/button.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/form/button.html"); } = public void testFieldset() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/form/fieldset.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/form/fieldset.html"); } = public void testForm() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/form/form.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/form/form.html"); } = public void testInput() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/form/input.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/form/input.html"); } = public void testLabel() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/form/label.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/form/label.html"); } = public void testSelect() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/form/select.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/form/select.html"); } = public void testTextArea() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/form/textArea.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/form/textArea.html"); } = /* @@ -147,13 +146,13 @@ */ = public void testFrameset() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/frames/frameset.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/frames/frameset.html"); } = public void testIframe() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/frames/iframe.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/frames/iframe.html"); } = /* @@ -161,8 +160,8 @@ */ = public void testScript() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/scripts/script.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/scripts/script.html"); } = /* @@ -170,13 +169,13 @@ */ = public void testComplexTable() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/table/complex_table.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/table/complex_table.html"); } = public void testTable() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/table/table.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/table/table.html"); } = /* @@ -184,128 +183,128 @@ */ = public void testAbbr() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/abbr.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/abbr.html"); } = public void testAcronym() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/acronym.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/acronym.html"); } = public void testB() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/b.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/b.html"); } = public void testBig() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/big.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/big.html"); } = public void testBlockquote() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/blockquote.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/blockquote.html"); } = public void testBr() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/br.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/br.html"); } = public void testCite() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/cite.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/cite.html"); } = public void testCode() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/code.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/code.html"); } = public void testDel() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/del.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/del.html"); } = public void testDfn() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/dfn.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/dfn.html"); } = public void testEm() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/em.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/em.html"); } = public void testHr() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/hr.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/hr.html"); } = public void testI() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/i.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/i.html"); } = public void testIns() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/ins.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/ins.html"); } = public void testKbd() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/kbd.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/kbd.html"); } = public void testP() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/p.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/p.html"); } = public void testPre() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/pre.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/pre.html"); } = public void testQ() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/q.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/q.html"); } = public void testSamp() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/samp.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/samp.html"); } = public void testSmall() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/small.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/small.html"); } = public void testStrong() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/strong.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/strong.html"); } = public void testSub() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/sub.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/sub.html"); } = public void testSup() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/sup.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/sup.html"); } = public void testTt() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/tt.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/tt.html"); } = public void testVar() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/text/var.html", IMPORT_PROJECT_NAME)); + performTestForJsfComponent( + "components/text/var.html"); } = } Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/META-INF/MANI= FEST.MF 2008-01-11 00:49:48 UTC (rev 5602) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/META-INF/MANI= FEST.MF 2008-01-11 01:55:44 UTC (rev 5603) @@ -14,3 +14,4 @@ org.junit Eclipse-LazyStart: true Bundle-ClassPath: struts-test.jar +Export-Package: org.jboss.tools.struts.vpe.struts.test Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org= /jboss/tools/struts/vpe/struts/test/StrutsAllTests.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsAllTests.java 2008-01-11 00:49:48 UTC (= rev 5602) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsAllTests.java 2008-01-11 01:55:44 UTC (= rev 5603) @@ -17,7 +17,7 @@ /** * Class for testing all RichFaces components * = - * @author sdzmitrovich + * @author dazarov * = */ = Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org= /jboss/tools/struts/vpe/struts/test/StrutsComponentTest.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsComponentTest.java 2008-01-11 00:49:48 = UTC (rev 5602) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsComponentTest.java 2008-01-11 01:55:44 = UTC (rev 5603) @@ -15,7 +15,7 @@ /** * Class for testing all struts components * = - * @author sdzmitrovich + * @author dazarov * = */ public class StrutsComponentTest extends VpeTest { Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org= /jboss/tools/struts/vpe/struts/test/StrutsTestPlugin.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsTestPlugin.java 2008-01-11 00:49:48 UTC= (rev 5602) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsTestPlugin.java 2008-01-11 01:55:44 UTC= (rev 5603) @@ -22,6 +22,8 @@ = /** * The activator class controls the plug-in life cycle + * = + * @author dazarov = */ public class StrutsTestPlugin extends BaseUIPlugin { = --===============0666606745949945189==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 20:56:48 2008 Content-Type: multipart/mixed; boundary="===============6734734656584682942==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5604 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test. Date: Thu, 10 Jan 2008 20:56:48 -0500 Message-ID: --===============6734734656584682942== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-10 20:56:48 -0500 (Thu, 10 Jan 2008) New Revision: 5604 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties Log: what were fixed in tests: - resources folder included in build Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties 2008= -01-11 01:55:44 UTC (rev 5603) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties 2008= -01-11 01:56:48 UTC (rev 5604) @@ -1,8 +1,12 @@ bin.includes =3D META-INF/,\ - html-test.jar + html-test.jar,\ + resources/,\ + .project,\ + .classpath src.includes =3D META-INF/,\ build.properties,\ src/ jars.compile.order =3D html-test.jar source.html-test.jar =3D src/ output.html-test.jar =3D bin/ +source.html-test.jar =3D src/ --===============6734734656584682942==-- From jbosstools-commits at lists.jboss.org Thu Jan 10 20:58:12 2008 Content-Type: multipart/mixed; boundary="===============6573309136796447917==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5605 - trunk/tests/features/org.jboss.tools.test.feature. Date: Thu, 10 Jan 2008 20:58:12 -0500 Message-ID: --===============6573309136796447917== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-10 20:58:12 -0500 (Thu, 10 Jan 2008) New Revision: 5605 Modified: trunk/tests/features/org.jboss.tools.test.feature/feature.xml Log: New tests were included in build Modified: trunk/tests/features/org.jboss.tools.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/tests/features/org.jboss.tools.test.feature/feature.xml 2008-01-1= 1 01:56:48 UTC (rev 5604) +++ trunk/tests/features/org.jboss.tools.test.feature/feature.xml 2008-01-1= 1 01:58:12 UTC (rev 5605) @@ -332,4 +332,16 @@ install-size=3D"0" version=3D"0.0.0"/> = + + + + --===============6573309136796447917==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 01:19:14 2008 Content-Type: multipart/mixed; boundary="===============7515240820435516639==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5606 - in trunk: struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test and 1 other directory. Date: Fri, 11 Jan 2008 01:19:13 -0500 Message-ID: --===============7515240820435516639== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-11 01:19:13 -0500 (Fri, 11 Jan 2008) New Revision: 5606 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/js= f/vpe/html/test/HtmlComponentTest.java trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsComponentTest.java Log: rooling back the canges :( Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/t= ools/jsf/vpe/html/test/HtmlComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/j= sf/vpe/html/test/HtmlComponentTest.java 2008-01-11 01:58:12 UTC (rev 5605) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/j= sf/vpe/html/test/HtmlComponentTest.java 2008-01-11 06:19:13 UTC (rev 5606) @@ -26,7 +26,7 @@ public static final String IMPORT_PROJECT_NAME =3D "htmlTest"; = public HtmlComponentTest(String name) { - super(name,IMPORT_PROJECT_NAME,HtmlTestPlugin.getPluginResourcePath()); + super(name); setCheckWarning(false); } = @@ -35,22 +35,23 @@ */ = public void testDiv() throws Throwable { - performTestForJsfComponent("components/block/div.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/block/div.html", IMPORT_PROJECT_NAME)); } = public void testDl() throws Throwable { - performTestForJsfComponent( - "components/block/dl.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/block/dl.html", IMPORT_PROJECT_NAME)); } = public void testLists() throws Throwable { - performTestForJsfComponent( = - "components/block/lists.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/block/lists.html", IMPORT_PROJECT_NAME)); } = public void testSpan() throws Throwable { - performTestForJsfComponent( - "components/block/span.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/block/span.html", IMPORT_PROJECT_NAME)); } = /* @@ -58,48 +59,48 @@ */ = public void testA() throws Throwable { - performTestForJsfComponent( - "components/core/a.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/a.html", IMPORT_PROJECT_NAME)); } = public void testAddress() throws Throwable { - performTestForJsfComponent( - "components/core/address.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/address.html", IMPORT_PROJECT_NAME)); } = public void testBasic() throws Throwable { - performTestForJsfComponent( - "components/core/basic.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/basic.html", IMPORT_PROJECT_NAME)); } = public void testImg() throws Throwable { - performTestForJsfComponent( - "components/core/img.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/img.html", IMPORT_PROJECT_NAME)); } = public void testLink() throws Throwable { - performTestForJsfComponent( - "components/core/link.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/link.html", IMPORT_PROJECT_NAME)); } = public void testMap() throws Throwable { - performTestForJsfComponent( - "components/core/map.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/map.html", IMPORT_PROJECT_NAME)); } = public void testObject() throws Throwable { - performTestForJsfComponent( - "components/core/object.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/object.html", IMPORT_PROJECT_NAME)); } = public void testStyle() throws Throwable { - performTestForJsfComponent( - "components/core/style.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/style.html", IMPORT_PROJECT_NAME)); } = public void testTitle() throws Throwable { - performTestForJsfComponent( - "components/core/title.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/core/title.html", IMPORT_PROJECT_NAME)); } = /* @@ -107,38 +108,38 @@ */ = public void testButton() throws Throwable { - performTestForJsfComponent( - "components/form/button.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/form/button.html", IMPORT_PROJECT_NAME)); } = public void testFieldset() throws Throwable { - performTestForJsfComponent( - "components/form/fieldset.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/form/fieldset.html", IMPORT_PROJECT_NAME)); } = public void testForm() throws Throwable { - performTestForJsfComponent( - "components/form/form.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/form/form.html", IMPORT_PROJECT_NAME)); } = public void testInput() throws Throwable { - performTestForJsfComponent( - "components/form/input.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/form/input.html", IMPORT_PROJECT_NAME)); } = public void testLabel() throws Throwable { - performTestForJsfComponent( - "components/form/label.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/form/label.html", IMPORT_PROJECT_NAME)); } = public void testSelect() throws Throwable { - performTestForJsfComponent( - "components/form/select.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/form/select.html", IMPORT_PROJECT_NAME)); } = public void testTextArea() throws Throwable { - performTestForJsfComponent( - "components/form/textArea.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/form/textArea.html", IMPORT_PROJECT_NAME)); } = /* @@ -146,13 +147,13 @@ */ = public void testFrameset() throws Throwable { - performTestForJsfComponent( - "components/frames/frameset.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/frames/frameset.html", IMPORT_PROJECT_NAME)); } = public void testIframe() throws Throwable { - performTestForJsfComponent( - "components/frames/iframe.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/frames/iframe.html", IMPORT_PROJECT_NAME)); } = /* @@ -160,8 +161,8 @@ */ = public void testScript() throws Throwable { - performTestForJsfComponent( - "components/scripts/script.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/scripts/script.html", IMPORT_PROJECT_NAME)); } = /* @@ -169,13 +170,13 @@ */ = public void testComplexTable() throws Throwable { - performTestForJsfComponent( - "components/table/complex_table.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/table/complex_table.html", IMPORT_PROJECT_NAME)); } = public void testTable() throws Throwable { - performTestForJsfComponent( - "components/table/table.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/table/table.html", IMPORT_PROJECT_NAME)); } = /* @@ -183,128 +184,128 @@ */ = public void testAbbr() throws Throwable { - performTestForJsfComponent( - "components/text/abbr.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/abbr.html", IMPORT_PROJECT_NAME)); } = public void testAcronym() throws Throwable { - performTestForJsfComponent( - "components/text/acronym.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/acronym.html", IMPORT_PROJECT_NAME)); } = public void testB() throws Throwable { - performTestForJsfComponent( - "components/text/b.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/b.html", IMPORT_PROJECT_NAME)); } = public void testBig() throws Throwable { - performTestForJsfComponent( - "components/text/big.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/big.html", IMPORT_PROJECT_NAME)); } = public void testBlockquote() throws Throwable { - performTestForJsfComponent( - "components/text/blockquote.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/blockquote.html", IMPORT_PROJECT_NAME)); } = public void testBr() throws Throwable { - performTestForJsfComponent( - "components/text/br.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/br.html", IMPORT_PROJECT_NAME)); } = public void testCite() throws Throwable { - performTestForJsfComponent( - "components/text/cite.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/cite.html", IMPORT_PROJECT_NAME)); } = public void testCode() throws Throwable { - performTestForJsfComponent( - "components/text/code.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/code.html", IMPORT_PROJECT_NAME)); } = public void testDel() throws Throwable { - performTestForJsfComponent( - "components/text/del.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/del.html", IMPORT_PROJECT_NAME)); } = public void testDfn() throws Throwable { - performTestForJsfComponent( - "components/text/dfn.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/dfn.html", IMPORT_PROJECT_NAME)); } = public void testEm() throws Throwable { - performTestForJsfComponent( - "components/text/em.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/em.html", IMPORT_PROJECT_NAME)); } = public void testHr() throws Throwable { - performTestForJsfComponent( - "components/text/hr.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/hr.html", IMPORT_PROJECT_NAME)); } = public void testI() throws Throwable { - performTestForJsfComponent( - "components/text/i.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/i.html", IMPORT_PROJECT_NAME)); } = public void testIns() throws Throwable { - performTestForJsfComponent( - "components/text/ins.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/ins.html", IMPORT_PROJECT_NAME)); } = public void testKbd() throws Throwable { - performTestForJsfComponent( - "components/text/kbd.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/kbd.html", IMPORT_PROJECT_NAME)); } = public void testP() throws Throwable { - performTestForJsfComponent( - "components/text/p.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/p.html", IMPORT_PROJECT_NAME)); } = public void testPre() throws Throwable { - performTestForJsfComponent( - "components/text/pre.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/pre.html", IMPORT_PROJECT_NAME)); } = public void testQ() throws Throwable { - performTestForJsfComponent( - "components/text/q.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/q.html", IMPORT_PROJECT_NAME)); } = public void testSamp() throws Throwable { - performTestForJsfComponent( - "components/text/samp.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/samp.html", IMPORT_PROJECT_NAME)); } = public void testSmall() throws Throwable { - performTestForJsfComponent( - "components/text/small.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/small.html", IMPORT_PROJECT_NAME)); } = public void testStrong() throws Throwable { - performTestForJsfComponent( - "components/text/strong.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/strong.html", IMPORT_PROJECT_NAME)); } = public void testSub() throws Throwable { - performTestForJsfComponent( - "components/text/sub.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/sub.html", IMPORT_PROJECT_NAME)); } = public void testSup() throws Throwable { - performTestForJsfComponent( - "components/text/sup.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/sup.html", IMPORT_PROJECT_NAME)); } = public void testTt() throws Throwable { - performTestForJsfComponent( - "components/text/tt.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/tt.html", IMPORT_PROJECT_NAME)); } = public void testVar() throws Throwable { - performTestForJsfComponent( - "components/text/var.html"); + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/text/var.html", IMPORT_PROJECT_NAME)); } = } Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org= /jboss/tools/struts/vpe/struts/test/StrutsComponentTest.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsComponentTest.java 2008-01-11 01:58:12 = UTC (rev 5605) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsComponentTest.java 2008-01-11 06:19:13 = UTC (rev 5606) @@ -10,12 +10,14 @@ *************************************************************************= *****/ package org.jboss.tools.struts.vpe.struts.test; = +import org.eclipse.core.resources.IFile; +import org.jboss.tools.vpe.ui.test.TestUtil; import org.jboss.tools.vpe.ui.test.VpeTest; = /** * Class for testing all struts components * = - * @author dazarov + * @author sdzmitrovich * = */ public class StrutsComponentTest extends VpeTest { @@ -24,7 +26,7 @@ private static final String IMPORT_PROJECT_NAME =3D "StrutsTest"; = public StrutsComponentTest(String name) { - super(name, IMPORT_PROJECT_NAME, StrutsTestPlugin.getPluginResourcePath(= )); + super(name); } = /* @@ -32,39 +34,39 @@ */ = public void testBase() throws Throwable { - performTestForJsfComponent("components/base.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= base.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testErrors() throws Throwable { - performTestForJsfComponent("components/errors.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= errors.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testFrame() throws Throwable { - performTestForJsfComponent("components/frame.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= frame.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testHtml() throws Throwable { - performTestForJsfComponent("components/html.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testImage() throws Throwable { - performTestForJsfComponent("components/image.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= image.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testImg() throws Throwable { - performTestForJsfComponent("components/img.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= img.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testLink() throws Throwable { - performTestForJsfComponent("components/link.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= link.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testRewrite() throws Throwable { - performTestForJsfComponent("components/rewrite.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= rewrite.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testMessages() throws Throwable { - performTestForJsfComponent("components/messages.jsp"); // $NON-NLS-1$ + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= messages.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = = --===============7515240820435516639==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 01:58:17 2008 Content-Type: multipart/mixed; boundary="===============2490099031677855643==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5607 - in trunk: struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test and 1 other directory. Date: Fri, 11 Jan 2008 01:58:17 -0500 Message-ID: --===============2490099031677855643== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-11 01:58:16 -0500 (Fri, 11 Jan 2008) New Revision: 5607 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/TestUtil.java trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsAllTests.java trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsComponentTest.java Log: fix struts tests errors Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/too= ls/vpe/ui/test/TestUtil.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/TestUtil.java 2008-01-11 06:19:13 UTC (rev 5606) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/TestUtil.java 2008-01-11 06:58:16 UTC (rev 5607) @@ -25,6 +25,7 @@ import org.eclipse.ui.PlatformUI; import org.eclipse.ui.dialogs.IOverwriteQuery; import org.eclipse.ui.wizards.datatransfer.ImportOperation; +import org.jboss.tools.vpe.ui.test.beans.ImportBean; import org.mozilla.interfaces.nsIDOMNode; import org.mozilla.interfaces.nsIDOMNodeList; = @@ -175,5 +176,17 @@ } = } - + = + static public List createImportBeanList(String projectName, S= tring resourcePath) { + List projectToImport =3D new ArrayList(); + projectToImport.add(createImportBean(projectName,resourcePath)); + return projectToImport; + } + = + static public ImportBean createImportBean(String projectName, String reso= urcePath) { + ImportBean importBean =3D new ImportBean(); + importBean.setImportProjectName(projectName); + importBean.setImportProjectPath(resourcePath); + return importBean; + } } Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org= /jboss/tools/struts/vpe/struts/test/StrutsAllTests.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsAllTests.java 2008-01-11 06:19:13 UTC (= rev 5606) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsAllTests.java 2008-01-11 06:58:16 UTC (= rev 5607) @@ -13,7 +13,10 @@ import junit.framework.Test; import junit.framework.TestSuite; = +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTestSetup; = + /** * Class for testing all RichFaces components * = @@ -30,7 +33,7 @@ suite.addTestSuite(StrutsComponentTest.class); //cleanUpTests(); // $JUnit-END$ - return suite; + return new VpeTestSetup(suite,TestUtil.createImportBeanList(StrutsCompon= entTest.IMPORT_PROJECT_NAME, StrutsTestPlugin.getPluginResourcePath())); = } = Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org= /jboss/tools/struts/vpe/struts/test/StrutsComponentTest.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsComponentTest.java 2008-01-11 06:19:13 = UTC (rev 5606) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsComponentTest.java 2008-01-11 06:58:16 = UTC (rev 5607) @@ -23,7 +23,7 @@ public class StrutsComponentTest extends VpeTest { = // import project name - private static final String IMPORT_PROJECT_NAME =3D "StrutsTest"; + static final String IMPORT_PROJECT_NAME =3D "StrutsTest"; = public StrutsComponentTest(String name) { super(name); --===============2490099031677855643==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 02:25:06 2008 Content-Type: multipart/mixed; boundary="===============1756301104272623850==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5608 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject. Date: Fri, 11 Jan 2008 02:25:04 -0500 Message-ID: --===============1756301104272623850== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-11 02:25:04 -0500 (Fri, 11 Jan 2008) New Revision: 5608 Modified: 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 Log: http://jira.jboss.com/jira/browse/JBIDE-1594 Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/OpenMappingFileTest.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/OpenMappingFileTest.java 2008-= 01-11 06:58:16 UTC (rev 5607) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/OpenMappingFileTest.java 2008-= 01-11 07:25:04 UTC (rev 5608) @@ -28,7 +28,7 @@ public class OpenMappingFileTest extends TestCase { public void testOpenMappingFileTest(){ KnownConfigurations knownConfigurations =3D KnownConfigurations.getInsta= nce(); - final ConsoleConfiguration consCFG =3D null; //knownConfigurations.find(= CreateConsoleConfigTest.ConsoleCFGName); + final ConsoleConfiguration consCFG =3D knownConfigurations.find(ProjectU= til.ConsoleCFGName); assertNotNull(consCFG); consCFG.reset(); Object[] configs =3D new ConsoleConfigurationWorkbenchAdapter().getChild= ren(consCFG); Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/OpenSourceFileTest.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/OpenSourceFileTest.java 2008-0= 1-11 06:58:16 UTC (rev 5607) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/OpenSourceFileTest.java 2008-0= 1-11 07:25:04 UTC (rev 5608) @@ -31,7 +31,7 @@ public void testOpenSourceFileTest(){ //fail("test fail"); KnownConfigurations knownConfigurations =3D KnownConfigurations.getInsta= nce(); - final ConsoleConfiguration consCFG =3D null;//knownConfigurations.find(C= reateConsoleConfigTest.ConsoleCFGName); + final ConsoleConfiguration consCFG =3D knownConfigurations.find(ProjectU= til.ConsoleCFGName); assertNotNull(consCFG); consCFG.reset(); Object[] configs =3D new ConsoleConfigurationWorkbenchAdapter().getChild= ren(consCFG); --===============1756301104272623850==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 02:29:01 2008 Content-Type: multipart/mixed; boundary="===============6793402087582823219==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5609 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/wizards. Date: Fri, 11 Jan 2008 02:29:01 -0500 Message-ID: --===============6793402087582823219== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-11 02:29:01 -0500 (Fri, 11 Jan 2008) New Revision: 5609 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/wizards/ConsoleConfigurationCreationWizard.java Log: http://jira.jboss.com/jira/browse/JBIDE-1571 method signature changed to protected, to use it in the successor Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/wizards/ConsoleConfigurationCreationWizard.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.console/src/org/hibe= rnate/eclipse/console/wizards/ConsoleConfigurationCreationWizard.java 2008-= 01-11 07:25:04 UTC (rev 5608) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/wizards/ConsoleConfigurationCreationWizard.java 2008-= 01-11 07:29:01 UTC (rev 5609) @@ -146,7 +146,7 @@ return true; } = - static public void createConsoleConfiguration( + static protected void createConsoleConfiguration( final Shell shell, final EclipseConsoleConfiguration oldConfig, final String configName, --===============6793402087582823219==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 03:46:04 2008 Content-Type: multipart/mixed; boundary="===============5162264060308582703==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5610 - in trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console: viewers/xpl and 1 other directory. Date: Fri, 11 Jan 2008 03:46:03 -0500 Message-ID: --===============5162264060308582703== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-11 03:46:03 -0500 (Fri, 11 Jan 2008) New Revision: 5610 Removed: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/actions/OpenMappingActionDelegate.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/actions/OpenSourceActionDelegate.java Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/actions/OpenMappingAction.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/viewers/xpl/MTreeViewer.java Log: changed to jdk 1.4. OpenMappingActionDelegate and OpenSourceActionDelegate removed as unnecessa= ry Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/actions/OpenMappingAction.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.console/src/org/hibe= rnate/eclipse/console/actions/OpenMappingAction.java 2008-01-11 07:29:01 UT= C (rev 5609) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/actions/OpenMappingAction.java 2008-01-11 08:46:03 UT= C (rev 5610) @@ -264,7 +264,7 @@ = Cfg2HbmTool tool =3D new Cfg2HbmTool(); String[] patterns =3D new String[4]; - StringBuilder pattern =3D new StringBuilder("<"); + StringBuffer pattern =3D new StringBuffer("<"); pattern.append(tool.getTag(persClass)); pattern.append("[\\s]+[.[^>]]*"); pattern.append(HIBERNATE_TAG_NAME); @@ -273,7 +273,7 @@ pattern.append('\"'); patterns[0] =3D pattern.toString(); = - pattern =3D new StringBuilder("<"); + pattern =3D new StringBuffer("<"); pattern.append(tool.getTag(persClass)); pattern.append("[\\s]+[.[^>]]*"); pattern.append(HIBERNATE_TAG_NAME); @@ -282,7 +282,7 @@ pattern.append('\"'); patterns[1] =3D pattern.toString(); = - pattern =3D new StringBuilder("<"); + pattern =3D new StringBuffer("<"); pattern.append(tool.getTag(persClass)); pattern.append("[\\s]+[.[^>]]*"); pattern.append(HIBERNATE_TAG_ENTITY_NAME); @@ -291,7 +291,7 @@ pattern.append('\"'); patterns[2] =3D pattern.toString(); = - pattern =3D new StringBuilder("<"); + pattern =3D new StringBuffer("<"); pattern.append(tool.getTag(persClass)); pattern.append("[\\s]+[.[^>]]*"); pattern.append(HIBERNATE_TAG_ENTITY_NAME); @@ -304,7 +304,7 @@ = private static String generatePattern(Property property){ Cfg2HbmTool tool =3D new Cfg2HbmTool(); - StringBuilder pattern =3D new StringBuilder("<"); + StringBuffer pattern =3D new StringBuffer("<"); if(property.getPersistentClass() !=3D null && property.getPersistentClass().getIdentifierProperty()=3D=3Dproperty) { pattern.append("id"); Deleted: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org= /hibernate/eclipse/console/actions/OpenMappingActionDelegate.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.console/src/org/hibe= rnate/eclipse/console/actions/OpenMappingActionDelegate.java 2008-01-11 07:= 29:01 UTC (rev 5609) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/actions/OpenMappingActionDelegate.java 2008-01-11 08:= 46:03 UTC (rev 5610) @@ -1,70 +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 - * - * Contributor: - * Red Hat, Inc. - initial API and implementation - *************************************************************************= *****/ -package org.hibernate.eclipse.console.actions; - -import org.dom4j.Document; -import org.eclipse.core.resources.IFile; -import org.eclipse.core.resources.IResource; -import org.eclipse.jdt.core.IJavaProject; -import org.eclipse.jdt.core.JavaModelException; -import org.eclipse.jface.action.IAction; -import org.eclipse.jface.viewers.TreeSelection; -import org.eclipse.ui.PartInitException; -import org.eclipse.ui.internal.ObjectPluginAction; -import org.hibernate.console.ConsoleConfiguration; -import org.hibernate.eclipse.console.HibernateConsolePlugin; -import org.hibernate.eclipse.console.utils.ProjectUtils; -import org.hibernate.mapping.RootClass; -import org.hibernate.util.XMLHelper; - -/** - * @author Dmitry Geraskov - * @deprecated - Can't shine selected element in the Editor. - * Use OpenMappingAction instead of this. - */ - -public class OpenMappingActionDelegate extends OpenActionDelegate { - private static XMLHelper helper =3D new XMLHelper(); - - public void run(IAction action) { - ObjectPluginAction objectPluginAction =3D (ObjectPluginAction)action; - TreeSelection selection =3D (TreeSelection)objectPluginAction.getSele= ction(); - RootClass rootClass =3D (RootClass)(selection).getFirstElement(); - ConsoleConfiguration consoleConfiguration =3D (ConsoleConfiguration)((se= lection).getPaths()[0]).getSegment(0); - openMapping(rootClass, consoleConfiguration); - } - - static public void openMapping(RootClass rootClass, - ConsoleConfiguration consoleConfiguration) { - IJavaProject proj =3D ProjectUtils.findJavaProject(consoleConfiguration); - java.io.File configXMLFile =3D consoleConfiguration.getPreferences().get= ConfigXMLFile(); - Document doc =3D OpenFileActionUtils.getDocument(consoleConfiguration, c= onfigXMLFile); -// IResource resource =3D OpenFileActionUtils.getResource(consoleConfi= guration, proj, doc, configXMLFile, rootClass); - IResource resource =3D OpenFileActionUtils.getResource(consoleConfigu= ration, proj, configXMLFile, rootClass); - - if (resource =3D=3D null) { - String fullyQualifiedName =3D OpenFileActionUtils.getPersistentClass= Name(rootClass); - try { - resource =3D proj.findType(fullyQualifiedName).getResource(); - } catch (JavaModelException e) { - HibernateConsolePlugin.getDefault().logErrorMessage("Can't find map= ping file.", e); - } - } - - if (resource !=3D null && resource instanceof IFile){ - try { - OpenFileActionUtils.openEditor(HibernateConsolePlugin.getDefa= ult().getActiveWorkbenchWindow().getActivePage(), (IFile) resource); - } catch (PartInitException e) { - HibernateConsolePlugin.getDefault().logErrorMessage("Can't op= en mapping or source file.", e); - } = - } - } -} \ No newline at end of file Deleted: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org= /hibernate/eclipse/console/actions/OpenSourceActionDelegate.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.console/src/org/hibe= rnate/eclipse/console/actions/OpenSourceActionDelegate.java 2008-01-11 07:2= 9:01 UTC (rev 5609) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/actions/OpenSourceActionDelegate.java 2008-01-11 08:4= 6:03 UTC (rev 5610) @@ -1,61 +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 - * - * Contributor: - * Red Hat, Inc. - initial API and implementation - *************************************************************************= *****/ -package org.hibernate.eclipse.console.actions; - -import org.eclipse.core.resources.IFile; -import org.eclipse.core.resources.IResource; -import org.eclipse.jdt.core.IJavaProject; -import org.eclipse.jdt.core.IType; -import org.eclipse.jdt.core.JavaModelException; -import org.eclipse.jface.action.IAction; -import org.eclipse.jface.dialogs.MessageDialog; -import org.eclipse.jface.viewers.TreeSelection; -import org.eclipse.ui.PartInitException; -import org.eclipse.ui.internal.ObjectPluginAction; -import org.hibernate.console.ConsoleConfiguration; -import org.hibernate.eclipse.console.HibernateConsolePlugin; -import org.hibernate.eclipse.console.utils.ProjectUtils; -import org.hibernate.mapping.RootClass; - -/** - * @author Dmitry Geraskov - * @deprecated - Can't shine selected element in the Editor. - * Use OpenSourceAction instead of this. - */ -public class OpenSourceActionDelegate extends OpenActionDelegate { - - public void run(IAction action) { - ObjectPluginAction objectPluginAction =3D (ObjectPluginAction)action; - RootClass rootClass =3D (RootClass)((TreeSelection)objectPluginAction= .getSelection()).getFirstElement(); - ConsoleConfiguration consoleConfiguration =3D (ConsoleConfiguration)(((T= reeSelection)objectPluginAction.getSelection()).getPaths()[0]).getSegment(0= ); - IJavaProject proj =3D ProjectUtils.findJavaProject(consoleConfiguration); - - IResource resource =3D null; - String fullyQualifiedName =3D OpenFileActionUtils.getPersistentClassName= (rootClass); - try { - IType type =3D proj.findType(fullyQualifiedName); - if (type !=3D null) resource =3D type.getResource(); - } catch (JavaModelException e) { - HibernateConsolePlugin.getDefault().logErrorMessage("Can't find source = file.", e); - } - = - if (resource instanceof IFile){ - try { - OpenFileActionUtils.openEditor(HibernateConsolePlugin.getDefa= ult().getActiveWorkbenchWindow().getActivePage(), (IFile) resource); - } catch (PartInitException e) { - HibernateConsolePlugin.getDefault().logErrorMessage("Can't open sou= rce file.", e); - } = - } - if (resource =3D=3D null) { - MessageDialog.openInformation(HibernateConsolePlugin.getDefault().getSh= ell(), "Open Source File", "Source file for class '" + fullyQualifiedName += "' not found."); - } - } -} \ No newline at end of file Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/viewers/xpl/MTreeViewer.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.console/src/org/hibe= rnate/eclipse/console/viewers/xpl/MTreeViewer.java 2008-01-11 07:29:01 UTC = (rev 5609) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/viewers/xpl/MTreeViewer.java 2008-01-11 08:46:03 UTC = (rev 5610) @@ -53,10 +53,10 @@ Object obj =3D null; Class clazz =3D org.eclipse.jface.viewers.ColumnViewer.class; try { - Method hiddenMethod =3D clazz.getDeclaredMethod("isBusy"); + Method hiddenMethod =3D clazz.getDeclaredMethod("isBusy", new Class[0]); if (null !=3D hiddenMethod) { hiddenMethod.setAccessible(true); - obj =3D hiddenMethod.invoke(this); + obj =3D hiddenMethod.invoke(this, new Object[0]); } } catch (IllegalArgumentException e) { e.printStackTrace(); @@ -168,9 +168,9 @@ * the element * @return Widget */ - protected ArrayList internalFindItem(Item parent, Object element)= { + protected ArrayList internalFindItem(Item parent, Object element) { = - ArrayList ret =3D new ArrayList(); + ArrayList ret =3D new ArrayList(); // compare with node Object data =3D parent.getData(); if (data !=3D null) { @@ -183,7 +183,7 @@ Item[] items =3D getChildren(parent); for (int i =3D 0; i < items.length; i++) { Item item =3D items[i]; - ArrayList o =3D internalFindItem(item, element); + ArrayList o =3D internalFindItem(item, element); if (null !=3D o) { ret.addAll(o); } @@ -198,17 +198,17 @@ if (null =3D=3D root) { return ret; } - ArrayList res =3D new ArrayList(); + ArrayList res =3D new ArrayList(); Item[] items =3D getChildren(getControl()); if (items !=3D null) { for (int i =3D 0; i < items.length; i++) { - ArrayList o =3D internalFindItem(items[i], element); + ArrayList o =3D internalFindItem(items[i], element); if (null !=3D o) { res.addAll(o); } } } - ret =3D res.toArray(ret); + ret =3D (Widget[])res.toArray(new Widget[0]); return ret; } = --===============5162264060308582703==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 03:47:28 2008 Content-Type: multipart/mixed; boundary="===============7167513853497677063==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5611 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject. Date: Fri, 11 Jan 2008 03:47:28 -0500 Message-ID: --===============7167513853497677063== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-11 03:47:28 -0500 (Fri, 11 Jan 2008) New Revision: 5611 Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/HibernateAllMappingTests.java Log: http://jira.jboss.com/jira/browse/JBIDE-1571 unnecessary delays removed Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/HibernateAllMappingTests= .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/HibernateAllMappingTests.java = 2008-01-11 08:46:03 UTC (rev 5610) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/HibernateAllMappingTests.java = 2008-01-11 08:47:28 UTC (rev 5611) @@ -182,12 +182,12 @@ //=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D } waitForJobs(); - delay(15000); + //delay(15000); } = } waitForJobs(); - delay(10000); + //delay(10000); } = /** --===============7167513853497677063==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 05:38:18 2008 Content-Type: multipart/mixed; boundary="===============8689843069392852914==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5612 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/jsf/vpe/html/test. Date: Fri, 11 Jan 2008 05:38:18 -0500 Message-ID: --===============8689843069392852914== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-11 05:38:18 -0500 (Fri, 11 Jan 2008) New Revision: 5612 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/js= f/vpe/html/test/HtmlAllTests.java Log: http://jira.jboss.com/jira/browse/JBIDE-1566 updated tests = Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/t= ools/jsf/vpe/html/test/HtmlAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/j= sf/vpe/html/test/HtmlAllTests.java 2008-01-11 08:47:28 UTC (rev 5611) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/src/org/jboss/tools/j= sf/vpe/html/test/HtmlAllTests.java 2008-01-11 10:38:18 UTC (rev 5612) @@ -16,9 +16,12 @@ import junit.framework.Test; import junit.framework.TestSuite; = +import org.jboss.tools.vpe.ui.test.VpeTestSetup; +import org.jboss.tools.vpe.ui.test.beans.ImportBean; = + /** - * Class for testing all RichFaces components + * Class for testing all Html components * = * @author sdzmitrovich * = @@ -32,7 +35,12 @@ // $JUnit-BEGIN$ suite.addTestSuite(HtmlComponentTest.class); = - return suite; + List projectToImport =3D new ArrayList(); + ImportBean importBean =3D new ImportBean(); + importBean.setImportProjectName(HtmlComponentTest.IMPORT_PROJECT_NAME); + importBean.setImportProjectPath(HtmlTestPlugin.getPluginResourcePath()); + projectToImport.add(importBean); + return new VpeTestSetup(suite,projectToImport); } = } --===============8689843069392852914==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 05:40:05 2008 Content-Type: multipart/mixed; boundary="===============1604224593489318071==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5613 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test. Date: Fri, 11 Jan 2008 05:40:05 -0500 Message-ID: --===============1604224593489318071== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-11 05:40:05 -0500 (Fri, 11 Jan 2008) New Revision: 5613 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/VpeTest.java Log: increase delay for open editor Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/too= ls/vpe/ui/test/VpeTest.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeTest.java 2008-01-11 10:38:18 UTC (rev 5612) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeTest.java 2008-01-11 10:40:05 UTC (rev 5613) @@ -1,16 +1,15 @@ /*************************************************************************= ****** = -* 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 -**************************************************************************= ****/ + * 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.vpe.ui.test; = - import junit.framework.TestCase; import org.eclipse.core.resources.IFile; import org.eclipse.core.runtime.ILogListener; @@ -29,8 +28,8 @@ = /** * @author Max Areshkau - * = - * Base Class for VPE tests + * = + * Base Class for VPE tests */ public class VpeTest extends TestCase implements ILogListener { = @@ -38,25 +37,26 @@ * Editor in which we open visual page */ private final static String EDITOR_ID =3D "org.jboss.tools.jst.jsp.jspedi= tor.JSPTextEditor"; - = + /** * Collects exceptions */ private Throwable exception; - = + // check warning log - private Boolean checkWarning; - = + private Boolean checkWarning; + /** * = * @param name * @param importProjectName */ - = + public VpeTest(String name) { super(name); = } + /** * Perform pre-test initialization. * = @@ -71,7 +71,8 @@ Platform.addLogListener(this); = closeEditors(); - } + } + /** * Perform post-test cleanup. * = @@ -82,12 +83,13 @@ protected void tearDown() throws Exception { = super.tearDown(); - = + closeEditors(); = Platform.removeLogListener(this); = } + /* * (non-Javadoc) * = @@ -108,6 +110,7 @@ } = } + /** * close all opened editors */ @@ -121,6 +124,7 @@ .closeAllEditors(true); = } + /** * get xulrunner source page * = @@ -131,6 +135,7 @@ protected nsIDOMDocument getVpeVisualDocument(JSPMultiPageEditor part) { = VpeEditorPart visualEditor =3D (VpeEditorPart) part.getVisualEditor(); + = VpeController vpeController =3D visualEditor.getController(); = // get xulRunner editor @@ -141,6 +146,7 @@ = return document; } + /** * Perfoms test for some page * = @@ -154,26 +160,29 @@ = setException(null); = -// IFile file =3D (IFile) TestUtil.getComponentPath(componentPage,getImpo= rtProjectName()); + // IFile file =3D (IFile) + // TestUtil.getComponentPath(componentPage,getImportProjectName()); IEditorInput input =3D new FileEditorInput(componentPage); - = + TestUtil.waitForJobs(); - = - IEditorPart editor =3D PlatformUI.getWorkbench().getActiveWorkbenchWindo= w().getActivePage() - .openEditor(input, EDITOR_ID, true); - = + + IEditorPart editor =3D PlatformUI.getWorkbench() + .getActiveWorkbenchWindow().getActivePage().openEditor(input, + EDITOR_ID, true); + assertNotNull(editor); - = + TestUtil.waitForJobs(); TestUtil.delay(1000); - = + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() .closeAllEditors(true); = if (getException() !=3D null) { throw getException(); } - } = + } + /** * Open JSPMultiPageEditor editor * = @@ -189,34 +198,41 @@ .getWorkbench().getActiveWorkbenchWindow().getActivePage() .openEditor(input, EDITOR_ID, true); = + assertNotNull(part); // wait for jobs TestUtil.waitForJobs(); -// // wait full initialization of vpe - TestUtil.delay(100); + // wait full initialization of vpe + TestUtil.delay(1000); = return part; = } + /** * @return the exception */ protected Throwable getException() { return exception; } + /** - * @param exception the exception to set + * @param exception + * the exception to set */ protected void setException(Throwable exception) { this.exception =3D exception; } + /** * @return the checkWarning */ protected Boolean getCheckWarning() { return checkWarning; } + /** - * @param checkWarning the checkWarning to set + * @param checkWarning + * the checkWarning to set */ protected void setCheckWarning(Boolean checkWarning) { this.checkWarning =3D checkWarning; --===============1604224593489318071==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 05:45:41 2008 Content-Type: multipart/mixed; boundary="===============0729210144571547168==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5614 - trunk/jsf/docs/userguide/en/images/preferences. Date: Fri, 11 Jan 2008 05:45:41 -0500 Message-ID: --===============0729210144571547168== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-11 05:45:41 -0500 (Fri, 11 Jan 2008) New Revision: 5614 Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_10.png trunk/jsf/docs/userguide/en/images/preferences/preferences_12.png trunk/jsf/docs/userguide/en/images/preferences/preferences_20.png trunk/jsf/docs/userguide/en/images/preferences/preferences_23.png trunk/jsf/docs/userguide/en/images/preferences/preferences_30.png trunk/jsf/docs/userguide/en/images/preferences/preferences_33.png trunk/jsf/docs/userguide/en/images/preferences/preferences_34.png trunk/jsf/docs/userguide/en/images/preferences/preferences_35.png trunk/jsf/docs/userguide/en/images/preferences/preferences_36.png Log: http://jira.jboss.com/jira/browse/JBDS-226 screens are retaken with 96 reso= lution + scale parameter is defined Modified: trunk/jsf/docs/userguide/en/images/preferences/preferences_10.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/preferences/preferences_12.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/preferences/preferences_20.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/preferences/preferences_23.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/preferences/preferences_30.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/preferences/preferences_33.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/preferences/preferences_34.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/preferences/preferences_35.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/preferences/preferences_36.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) --===============0729210144571547168==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 05:45:51 2008 Content-Type: multipart/mixed; boundary="===============2397891579154946998==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5615 - trunk/jsf/docs/userguide/en/modules. Date: Fri, 11 Jan 2008 05:45:51 -0500 Message-ID: --===============2397891579154946998== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-11 05:45:51 -0500 (Fri, 11 Jan 2008) New Revision: 5615 Modified: trunk/jsf/docs/userguide/en/modules/preferences.xml trunk/jsf/docs/userguide/en/modules/verif_valid.xml Log: http://jira.jboss.com/jira/browse/JBDS-226 screens are retaken with 96 reso= lution + scale parameter is defined Modified: trunk/jsf/docs/userguide/en/modules/preferences.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/preferences.xml 2008-01-11 10:45:41= UTC (rev 5614) +++ trunk/jsf/docs/userguide/en/modules/preferences.xml 2008-01-11 10:45:51= UTC (rev 5615) @@ -111,7 +111,7 @@ JSF Flow Diagram = - +
@@ -122,7 +122,7 @@ Add View = - + @@ -418,7 +418,7 @@ View = - + Modified: trunk/jsf/docs/userguide/en/modules/verif_valid.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/verif_valid.xml 2008-01-11 10:45:41= UTC (rev 5614) +++ trunk/jsf/docs/userguide/en/modules/verif_valid.xml 2008-01-11 10:45:51= UTC (rev 5615) @@ -41,7 +41,7 @@ Error in Source View = - + @@ -69,7 +69,7 @@ Page Name Verification = - + @@ -114,7 +114,7 @@ Error Reporting = - + @@ -133,7 +133,7 @@ JSP Page Verification = - + --===============2397891579154946998==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 05:46:49 2008 Content-Type: multipart/mixed; boundary="===============7557396464284879043==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5616 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test. Date: Fri, 11 Jan 2008 05:46:49 -0500 Message-ID: --===============7557396464284879043== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-11 05:46:49 -0500 (Fri, 11 Jan 2008) New Revision: 5616 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties Log: http://jira.jboss.com/jira/browse/JBIDE-1566 updated tests Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties 2008= -01-11 10:45:51 UTC (rev 5615) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties 2008= -01-11 10:46:49 UTC (rev 5616) @@ -5,7 +5,8 @@ .classpath src.includes =3D META-INF/,\ build.properties,\ - src/ + src/,\ + resources/ jars.compile.order =3D html-test.jar source.html-test.jar =3D src/ output.html-test.jar =3D bin/ --===============7557396464284879043==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 08:47:01 2008 Content-Type: multipart/mixed; boundary="===============3053363110322884440==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5618 - trunk/documentation/guides/userguide/GettingStartedGuide/en/modules. Date: Fri, 11 Jan 2008 08:47:01 -0500 Message-ID: --===============3053363110322884440== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: afedosik Date: 2008-01-11 08:47:01 -0500 (Fri, 11 Jan 2008) New Revision: 5618 Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/gett= ing_started.xml Log: http://jira.jboss.com/jira/browse/JBDS-240 - Getting started guide (FAQ sec= tion) was updated Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modul= es/getting_started.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/userguide/GettingStartedGuide/en/modules/get= ting_started.xml 2008-01-11 12:13:43 UTC (rev 5617) +++ trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/get= ting_started.xml 2008-01-11 13:47:01 UTC (rev 5618) @@ -503,6 +503,17 @@
Importing Projects + I have an existing Seam 1.2.1 project. Can I m= igrate/import the project to a JBDS Seam project? + + There is no automagical way. = + Need to be done manually; most should be straightforward: = + + + copy src to src + copy view to Web conte= nt + copy resources individual files to where they are in = the seam web project etc. + + I have an existing Struts or JSF project. Can = I open the project in JBDS? --===============3053363110322884440==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 09:14:15 2008 Content-Type: multipart/mixed; boundary="===============7611755162751476597==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5619 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test: src/org/jboss/tools/jsf/vpe/facelets/test and 1 other directory. Date: Fri, 11 Jan 2008 09:14:15 -0500 Message-ID: --===============7611755162751476597== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-11 09:14:15 -0500 (Fri, 11 Jan 2008) New Revision: 5619 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/remove.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsComponentTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1521 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/f= aceletsTest/WebContent/pages/components/remove.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/remove.xhtml 2008-01-11 13:47:01 UTC (rev= 5618) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/remove.xhtml 2008-01-11 14:14:15 UTC (rev= 5619) @@ -12,7 +12,6 @@ This will be removed. - This won't be compiled either +This is ui:remove test \ No newline at end of file Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-11 13:47:01 UTC= (rev 5618) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-11 14:14:15 UTC= (rev 5619) @@ -161,10 +161,28 @@ * @throws Throwable */ public void testRemove() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/remove.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - // TODO check that content in ui:remove isn't shown in VPE - assertTrue("Content inside ui:remove tag shouldn't be shown", false); + nsIDOMElement element =3D performTestForFaceletComponent("components/remo= ve.xhtml"); + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "span" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_SPAN); + + assertEquals(1, elements.size()); + + nsIDOMElement elementSpan =3D (nsIDOMElement) elements.get(0) + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + + nsIDOMText text =3D (nsIDOMText) elementSpan.getFirstChild() + .queryInterface(nsIDOMText.NS_IDOMTEXT_IID); + + assertEquals(false, text.getNodeValue().equals("\nThis will be removed.\n= ")); + + if (getException() !=3D null) { + throw getException(); + } } = /** --===============7611755162751476597==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 10:07:46 2008 Content-Type: multipart/mixed; boundary="===============3721625704071765098==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5620 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tools/jsf/vpe/facelets/test. Date: Fri, 11 Jan 2008 10:07:46 -0500 Message-ID: --===============3721625704071765098== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-11 10:07:46 -0500 (Fri, 11 Jan 2008) New Revision: 5620 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsComponentTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1520 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-11 14:14:15 UTC= (rev 5619) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-11 15:07:46 UTC= (rev 5620) @@ -178,7 +178,8 @@ nsIDOMText text =3D (nsIDOMText) elementSpan.getFirstChild() .queryInterface(nsIDOMText.NS_IDOMTEXT_IID); = - assertEquals(false, text.getNodeValue().equals("\nThis will be removed.\n= ")); + assertEquals(false, text.getNodeValue().equals( + "\nThis will be removed.\n")); = if (getException() !=3D null) { throw getException(); @@ -270,10 +271,31 @@ * @throws Throwable */ public void testFragment() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/fragment.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - // TODO check that fragment's content is showed - assertTrue("Fragment's content is not sown", false); + nsIDOMElement element =3D performTestForFaceletComponent("components/frag= ment.xhtml"); + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "div" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_DIV); + assertEquals(1, elements.size()); + nsIDOMElement divElement =3D (nsIDOMElement) elements.get(0) + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + + nsIDOMElement divBody =3D (nsIDOMElement) divElement.getLastChild() + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + + nsIDOMElement div =3D (nsIDOMElement) divBody.getLastChild() + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + + String title =3D div.getAttribute("title"); + + assertEquals(title.replaceAll("\\s+", ""), + "ui:fragmentbinding:#{uiCache['searchResult']}"); + if (getException() !=3D null) { + throw getException(); + } } = /** --===============3721625704071765098==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 10:14:45 2008 Content-Type: multipart/mixed; boundary="===============6639495495916053910==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5621 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test. Date: Fri, 11 Jan 2008 10:14:45 -0500 Message-ID: --===============6639495495916053910== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-11 10:14:45 -0500 (Fri, 11 Jan 2008) New Revision: 5621 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/ImportProvider.java Log: edit class. update List for parameter Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/too= ls/vpe/ui/test/ImportProvider.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/ImportProvider.java 2008-01-11 15:07:46 UTC (rev 5620) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/ImportProvider.java 2008-01-11 15:14:45 UTC (rev 5621) @@ -29,7 +29,7 @@ /** * list of files which will not be imported */ - List unimportedFiles =3D new ArrayList(); + List unimportedFiles =3D new ArrayList(); = /** * Creates an instance of ImportProvider. @@ -41,11 +41,11 @@ /* * (non-Javadoc) Method declared on IImportStructureProvider */ - public List getChildren(Object element) { + public List getChildren(Object element) { File folder =3D (File) element; String[] children =3D folder.list(); int childrenLength =3D children =3D=3D null ? 0 : children.length; - List result =3D new ArrayList(childrenLength); + List result =3D new ArrayList(childrenLength); = for (int i =3D 0; i < childrenLength; i++) { if (!unimportedFiles.contains(children[i])) @@ -96,11 +96,11 @@ return ((File) element).isDirectory(); } = - public List getUnimportedFiles() { + public List getUnimportedFiles() { return unimportedFiles; } = - public void setUnimportedFiles(List unimportedFiles) { + public void setUnimportedFiles(List unimportedFiles) { this.unimportedFiles =3D unimportedFiles; } = --===============6639495495916053910==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 10:16:46 2008 Content-Type: multipart/mixed; boundary="===============2994245694323989113==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5622 - in trunk/jsf: tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE and 1 other directories. Date: Fri, 11 Jan 2008 10:16:46 -0500 Message-ID: --===============2994245694323989113== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-11 10:16:46 -0500 (Fri, 11 Jan 2008) New Revision: 5622 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1548/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1548/JBIDE-1548.jsp Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/= jsf/vpe/richfaces/template/RichFacesInputNumberSliderTemplate.java Log: http://jira.jboss.com/jira/browse/JBIDE-1548 was resolved issue, was added test Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss= /tools/jsf/vpe/richfaces/template/RichFacesInputNumberSliderTemplate.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/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/template/RichFacesInputNumberSliderTemplate.java 2008-01= -11 15:14:45 UTC (rev 5621) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/template/RichFacesInputNumberSliderTemplate.java 2008-01= -11 15:16:46 UTC (rev 5622) @@ -417,7 +417,7 @@ * @param visualNode * @return */ - private nsIDOMElement getMaxValueElement(nsIDOMElement visualNode) { + private nsIDOMNode getMaxValueElement(nsIDOMElement visualNode) { nsIDOMElement table =3D visualNode; nsIDOMNodeList tableList =3D table.getChildNodes(); nsIDOMNode tr =3D tableList.item(0); @@ -425,8 +425,7 @@ nsIDOMNode td1 =3D trList.item(1); nsIDOMNodeList td1List =3D td1.getChildNodes(); nsIDOMNode maxValue =3D td1List.item(0); - nsIDOMElement maxValueElement =3D (nsIDOMElement) maxValue.queryInterfac= e(nsIDOMElement.NS_IDOMELEMENT_IID); - return maxValueElement; + return maxValue; } = /** @@ -434,7 +433,7 @@ * @param visualNode * @return */ - private nsIDOMElement getMinValueElement(nsIDOMElement visualNode) { + private nsIDOMNode getMinValueElement(nsIDOMElement visualNode) { nsIDOMElement table =3D visualNode; nsIDOMNodeList tableList =3D table.getChildNodes(); nsIDOMNode tr =3D tableList.item(0); @@ -442,13 +441,7 @@ nsIDOMNode td1 =3D trList.item(0); nsIDOMNodeList td1List =3D td1.getChildNodes(); nsIDOMNode minValue =3D td1List.item(0); - nsIDOMElement minValueElement =3D null; - try { - minValueElement =3D (nsIDOMElement) minValue.queryInterface(nsIDOMEleme= nt.NS_IDOMELEMENT_IID); - } catch (org.mozilla.xpcom.XPCOMException e) { - return null; // It could happen if source code doesn't have such elemen= t. - } - return minValueElement; + return minValue; } = /** @@ -509,7 +502,7 @@ * @param sourceNode */ public void setMaxValue(nsIDOMElement visualNode, Element sourceNode) { - nsIDOMElement maxValue =3D getMaxValueElement(visualNode); + nsIDOMNode maxValue =3D getMaxValueElement(visualNode); if (maxValue !=3D null) { if (getAttribute(SLIDER_SHOWBOUNDARY_ATTR, sourceNode) .equalsIgnoreCase("false")) { @@ -533,7 +526,7 @@ * @param sourceNode */ public void setMinValue(nsIDOMElement visualNode, Element sourceNode) { - nsIDOMElement minValue =3D getMinValueElement(visualNode); + nsIDOMNode minValue =3D getMinValueElement(visualNode); if (minValue !=3D null) { if (getAttribute(SLIDER_SHOWBOUNDARY_ATTR, sourceNode) .equalsIgnoreCase("false")) { Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1548/JBIDE-1548.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1548/JBIDE-1548.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1548/JBIDE-1548.jsp 2008-01-11 15:16:46 UTC (rev 5622) @@ -0,0 +1,18 @@ +<%@ taglib uri=3D"http://richfaces.org/rich" prefix=3D"rich" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + + + + + + = + + + \ No newline at end of file --===============2994245694323989113==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 10:17:33 2008 Content-Type: multipart/mixed; boundary="===============2063825795647325599==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5623 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test: jbide and 1 other directory. Date: Fri, 11 Jan 2008 10:17:33 -0500 Message-ID: --===============2063825795647325599== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-11 10:17:33 -0500 (Fri, 11 Jan 2008) New Revision: 5623 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/jbide/JsfJbide1548Test.java Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfAllTests.java Log: http://jira.jboss.com/jira/browse/JBIDE-1548 was resolved issue, was added test Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-11 15:16:46 UTC (rev 5622) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-11 15:17:33 UTC (rev 5623) @@ -10,14 +10,16 @@ *************************************************************************= *****/ package org.jboss.tools.jsf.vpe.jsf.test; = +import java.util.ArrayList; +import java.util.List; + import junit.framework.Test; import junit.framework.TestSuite; = -import java.util.ArrayList; -import java.util.List; import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1484Test; import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1467Test; import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1501Test; +import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1548Test; import org.jboss.tools.vpe.ui.test.VpeTestSetup; import org.jboss.tools.vpe.ui.test.beans.ImportBean; = @@ -38,6 +40,7 @@ suite.addTestSuite(JsfJbide1467Test.class); suite.addTestSuite(JsfJbide1501Test.class); suite.addTestSuite(JBIDE1484Test.class); + suite.addTestSuite(JsfJbide1548Test.class); // $JUnit-END$ //added by Max Areshkau //add here projects which should be imported for junit tests Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools= /jsf/vpe/jsf/test/jbide/JsfJbide1548Test.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JsfJbide1548Test.java (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JsfJbide1548Test.java 2008-01-11 15:17:33 UTC (rev 562= 3) @@ -0,0 +1,159 @@ +/*************************************************************************= ****** = + * 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.jsf.vpe.jsf.test.jbide; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.core.resources.IFile; +import org.eclipse.ui.IEditorInput; +import org.eclipse.ui.part.FileEditorInput; +import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; +import org.jboss.tools.vpe.editor.util.HTML; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; +import org.mozilla.interfaces.nsIDOMDocument; +import org.mozilla.interfaces.nsIDOMElement; +import org.mozilla.interfaces.nsIDOMNode; + +/** + * Class for testing all jsf bugs + * = + * @author sdzmitrovich + * = + * test for http://jira.jboss.com/jira/browse/JBIDE-1548 + * = + * = + */ +public class JsfJbide1548Test extends VpeTest { + + // type of input tag + + // import project name + + public static final String IMPORT_PROJECT_NAME =3D "jsfTest"; + + public JsfJbide1548Test(String name) { + super(name); + } + + /* + * JBIDE's test cases + */ + + public void testJbide() throws Throwable { + + // wait + TestUtil.waitForJobs(); + // set exception + setException(null); + + // get test page path + IFile file =3D (IFile) TestUtil.getComponentPath( + "JBIDE/1548/JBIDE-1548.jsp", IMPORT_PROJECT_NAME); + + assertNotNull("Could not open specified file " + file.getFullPath(), + file); + + IEditorInput input =3D new FileEditorInput(file); + + assertNotNull("Editor input is null", input); + // open and get editor + JSPMultiPageEditor part =3D openEditor(input); + + // get dom document + nsIDOMDocument document =3D getVpeVisualDocument(part); + nsIDOMElement element =3D document.getDocumentElement(); + + assertNotNull(element); + + // get root node + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "table" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); + + assertEquals(2, elements.size()); + + // get first table. It has default attributes (minValue=3D0, maxValue=3D= 100) + nsIDOMNode defaultInputSlider =3D elements.get(0); + // check min-,max- values + checkMinMaxValue(defaultInputSlider, 0, 100); + + // get first table. It has edited attributes (minValue=3D-10, + // maxValue=3D200) + nsIDOMNode editedInputSlider =3D elements.get(1); + // check min-,max- values + checkMinMaxValue(editedInputSlider, -10, 200); + + // check exception + if (getException() !=3D null) { + throw getException(); + } + + } + + /** + * check minValue and maxValue + * = + * inputNumberSlider has next structure + * = + * + * + * + * + * + * + * .... = + *
minValuemaxValue
+ *
+ * = + */ + private void checkMinMaxValue(nsIDOMNode defaultInputSlider, + int expectedMinValue, int expectedMaxValue) { + + // get "tr" element + nsIDOMNode trNode =3D defaultInputSlider.getChildNodes().item(0); + assertNotNull(trNode); + // get first "td" element which contain minValue + nsIDOMNode td1Node =3D trNode.getChildNodes().item(0); + assertNotNull(td1Node); + + // get second "td" element which contain maxValue + nsIDOMNode td2Node =3D trNode.getChildNodes().item(1); + assertNotNull(td2Node); + + // get minValue + nsIDOMNode minValue =3D td1Node.getChildNodes().item(0); + assertNotNull(minValue); + + // get maxValue + nsIDOMNode maxValue =3D td2Node.getChildNodes().item(0); + assertNotNull(maxValue); + + // check min value + String minValueString =3D minValue.getNodeValue(); + assertNotNull(minValueString); + assertEquals(expectedMinValue, Integer.parseInt(minValueString)); + + // check max value + String maxValueString =3D maxValue.getNodeValue(); + assertNotNull(maxValueString); + assertEquals(expectedMaxValue, Integer.parseInt(maxValueString)); + + return; + } + +} --===============2063825795647325599==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 10:18:15 2008 Content-Type: multipart/mixed; boundary="===============2087556537008841554==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5624 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide. Date: Fri, 11 Jan 2008 10:18:14 -0500 Message-ID: --===============2087556537008841554== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-11 10:18:14 -0500 (Fri, 11 Jan 2008) New Revision: 5624 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/jbide/JsfJbide1467Test.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/jbide/JsfJbide1501Test.java Log: update tests (comments, and other) Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/jbide/JsfJbide1467Test.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JsfJbide1467Test.java 2008-01-11 15:17:33 UTC (rev 562= 3) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JsfJbide1467Test.java 2008-01-11 15:18:14 UTC (rev 562= 4) @@ -31,6 +31,15 @@ * = * @author sdzmitrovich * = + * test for http://jira.jboss.com/jira/browse/JBIDE-1467 + * = + * the cause of bug : tags ( which vpe template form= s when + * process "selectOneRadio" jsf tag ) didn't have equal "name" attribute + * = + * REQUIREMENT :test page must has only one tag + * = + * test checks that all "radio" elements ( of xulRunner DOMDocument ) have= equal + * "name" attributes */ public class JsfJbide1467Test extends VpeTest { = @@ -49,18 +58,6 @@ * JBIDE's test cases */ = - /** - * test for http://jira.jboss.com/jira/browse/JBIDE-1467 - * = - * the cause of bug : tags ( which vpe template for= ms - * when process "selectOneRadio" jsf tag ) didn't have equal "name" - * attribute - * = - * REQUIREMENT :test page must has only one tag - * = - * test checks that all "radio" elements ( of xulRunner DOMDocument ) have - * equal "name" attributes - */ public void testJbide() throws Throwable { = // wait @@ -85,23 +82,21 @@ nsIDOMDocument document =3D getVpeVisualDocument(part); nsIDOMElement element =3D document.getDocumentElement(); = - if (element !=3D null) { + assertNotNull(element); = - // get root node - nsIDOMNode node =3D (nsIDOMNode) element - .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + // get root node + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); = - List elements =3D new ArrayList(); + List elements =3D new ArrayList(); = - // find "input" elements - TestUtil.findElementsByName(node, elements, HTML.TAG_INPUT); + // find "input" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_INPUT); = - // check that "radio" elements have equal names - // (size of list of names =3D=3D 1 ) - assertEquals(1, getRadioNames(elements).size()); + // check that "radio" elements have equal names + // (size of list of names =3D=3D 1 ) + assertEquals(1, getRadioNames(elements).size()); = - } - // check exception if (getException() !=3D null) { throw getException(); Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/jbide/JsfJbide1501Test.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JsfJbide1501Test.java 2008-01-11 15:17:33 UTC (rev 562= 3) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JsfJbide1501Test.java 2008-01-11 15:18:14 UTC (rev 562= 4) @@ -31,6 +31,26 @@ * = * @author sdzmitrovich * = + * test for http://jira.jboss.com/jira/browse/JBIDE-1467 + * = + * the cause of bug : + * = + * 1. tag ( which vpe template forms when process + * "selectOneListbox" and "selectManyListbox" jsf tags ) sometimes had inc= orrect + * "size" attribute + * = + * DISCRIPTION: test consist of two part + * = + * 1. The first page (JBIDE-1501_multiple.jsp) has "selectManyMenu" and + * "selectManyListbox" jsf tags. And test checks that all "select" element= s have + * "multiple" attribute + * = + * 2. The second page (JBIDE-1501_size.jsp) has "selectOneListbox" and + * "selectManyListbox" jsf tags and they was formed so that all "select" + * elements must have size=3D"2" attribute . And test checks "size" attrib= ute */ public class JsfJbide1501Test extends VpeTest { = @@ -40,30 +60,7 @@ super(name); } = - /** - * test for http://jira.jboss.com/jira/browse/JBIDE-1467 - * = - * the cause of bug : - * = - * 1. tag ( which vpe template forms when process - * "selectOneListbox" and "selectManyListbox" jsf tags ) sometimes had - * incorrect "size" attribute - * = - * DISCRIPTION: test consist of two part - * = - * 1. The first page (JBIDE-1501_multiple.jsp) has "selectManyMenu" and - * "selectManyListbox" jsf tags. And test checks that all "select" elemen= ts - * have "multiple" attribute - * = - * 2. The second page (JBIDE-1501_size.jsp) has "selectOneListbox" and - * "selectManyListbox" jsf tags and they was formed so that all "select" - * elements must have size=3D"2" attribute . And test checks "size" attri= bute - */ - public void testJbide() throws Throwable { + public void testJbideMultiple() throws Throwable { = // wait TestUtil.waitForJobs(); @@ -111,29 +108,44 @@ = } = - // _____2nd Part____// + // check exception + if (getException() !=3D null) { + throw getException(); + } = + } + + public void testJbideSize() throws Throwable { + + // wait + TestUtil.waitForJobs(); + // set exception + setException(null); + + // _____1st Part____// + // get test page path - file =3D (IFile) TestUtil.getComponentPath( + IFile file =3D (IFile) TestUtil.getComponentPath( "JBIDE/1501/JBIDE-1501_size.jsp", IMPORT_PROJECT_NAME); = - input =3D new FileEditorInput(file); + IEditorInput input =3D new FileEditorInput(file); = // open and get editor - part =3D openEditor(input); + JSPMultiPageEditor part =3D openEditor(input); = // get dom document - document =3D getVpeVisualDocument(part); + nsIDOMDocument document =3D getVpeVisualDocument(part); assertNotNull(document); = // get dom element - element =3D document.getDocumentElement(); + nsIDOMElement element =3D document.getDocumentElement(); assertNotNull(element); = // get root node - node =3D (nsIDOMNode) element.queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); = - elements =3D new ArrayList(); + List elements =3D new ArrayList(); = // find "select" elements TestUtil.findElementsByName(node, elements, HTML.TAG_SELECT); --===============2087556537008841554==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 10:30:52 2008 Content-Type: multipart/mixed; boundary="===============2349087537837020563==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5625 - trunk/jsf/docs/userguide/en/images/more_editors. Date: Fri, 11 Jan 2008 10:30:51 -0500 Message-ID: --===============2349087537837020563== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-11 10:30:51 -0500 (Fri, 11 Jan 2008) New Revision: 5625 Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_33.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_35.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_38.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_47.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_48.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_49.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_50.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_51.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_52.png Log: http://jira.jboss.com/jira/browse/JBDS-226 Screens are retaken with 96 reso= lution + scale parameter is defined = Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_33.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_35.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_38.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_47.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_48.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_49.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_50.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_51.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_52.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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) --===============2349087537837020563==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 10:31:03 2008 Content-Type: multipart/mixed; boundary="===============8134522622204447435==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5626 - trunk/jsf/docs/userguide/en/modules. Date: Fri, 11 Jan 2008 10:31:03 -0500 Message-ID: --===============8134522622204447435== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-11 10:31:03 -0500 (Fri, 11 Jan 2008) New Revision: 5626 Modified: trunk/jsf/docs/userguide/en/modules/editors.xml Log: http://jira.jboss.com/jira/browse/JBDS-226 Screens are retaken with 96 reso= lution + scale parameter is defined = 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 2008-01-11 15:30:51 UTC= (rev 5625) +++ trunk/jsf/docs/userguide/en/modules/editors.xml 2008-01-11 15:31:03 UTC= (rev 5626) @@ -1790,7 +1790,7 @@ Source Viewer - + @@ -1801,7 +1801,7 @@ Design Viewer - + @@ -1812,7 +1812,7 @@ Edit Options - + @@ -1836,7 +1836,7 @@ Source Viewer - + --===============8134522622204447435==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 10:56:49 2008 Content-Type: multipart/mixed; boundary="===============7869603798380800181==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5627 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tools/jsf/vpe/facelets/test. Date: Fri, 11 Jan 2008 10:56:49 -0500 Message-ID: --===============7869603798380800181== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-11 10:56:49 -0500 (Fri, 11 Jan 2008) New Revision: 5627 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsComponentTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1523 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-11 15:31:03 UTC= (rev 5626) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-11 15:56:49 UTC= (rev 5627) @@ -47,8 +47,35 @@ * @throws Throwable */ public void testDebug() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/debug.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + nsIDOMElement element =3D performTestForFaceletComponent("components/debu= g.xhtml"); + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "div" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_DIV); + assertEquals(1, elements.size()); + nsIDOMElement divElement =3D (nsIDOMElement) elements.get(0) + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + + nsIDOMElement divBody =3D (nsIDOMElement) divElement.getLastChild() + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + + nsIDOMElement divParent =3D (nsIDOMElement) divBody.getLastChild() + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + + nsIDOMElement div =3D (nsIDOMElement) divParent.getFirstChild() + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + + nsIDOMText text =3D (nsIDOMText) div.getFirstChild().queryInterface( + nsIDOMText.NS_IDOMTEXT_IID); + + assertEquals(text.getNodeValue(), "Ctrl+Shift+"); + + if (getException() !=3D null) { + throw getException(); + } } = /** --===============7869603798380800181==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 11:03:27 2008 Content-Type: multipart/mixed; boundary="===============7139080219912247288==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5629 - trunk/seam/docs/reference/en/modules. Date: Fri, 11 Jan 2008 11:03:27 -0500 Message-ID: --===============7139080219912247288== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-11 11:03:27 -0500 (Fri, 11 Jan 2008) New Revision: 5629 Modified: trunk/seam/docs/reference/en/modules/creating_new_seam.xml trunk/seam/docs/reference/en/modules/intro.xml Log: http://jira.jboss.com/jira/browse/JBDS-234 - making changes in the chapters= according to the Svetlana remarks Modified: trunk/seam/docs/reference/en/modules/creating_new_seam.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/docs/reference/en/modules/creating_new_seam.xml 2008-01-11 1= 6:00:56 UTC (rev 5628) +++ trunk/seam/docs/reference/en/modules/creating_new_seam.xml 2008-01-11 1= 6:03:27 UTC (rev 5629) @@ -6,262 +6,338 @@ JBoss Tools Seam JBDS - + Creating a New Seam Project via the New Seam Project wizard</ti= tle> - <para>To start working with Seam, select a Seam perspective via <empha= sis><property>Window > Open Perspective > Other > Seam</property></emphasis= >. = - Select <emphasis><property>File > New > Seam Web Project</property= ></emphasis> to run the <property>New Seam Project</property> wizard.</para= > = - = - <section id=3D"standaloneSeam"> - <title>Create standalone Seam Web Project - It's necessary to enter a name and a location directory for = your new project. The next wizard forms allow you to create runtime and ser= ver instances in order to get started creating, running, and debugging J2EE= applications. - Seam Web Project wizard has an option for selecting the actu= al Server (not just WTP runtime) that will be used for the project. This al= lows the wizard to identify correctly where the required datasource and dri= ver libraries need to go. - = + In this chapter we provide you with the necessary steps to start= working with Seam + Framework. + At first, we suggest browsing the specific Seam perspective. + For that select + Window > Open Perspective > Other > Seam + or you can also access it through the button in the ri= ght top corner. +
- New Seam Project Wizard - = + Seam Perspective + - +
- = - = - Click on New... bu= tton in the Target Runtime section. - From this dialog you can choose what type of runtime you wan= t to create. Let's create a JBoss 4.2 Runtime. Click on Next. - = -
- New Server Runtime Dialog - = - - - - -
- = - All what you need here is to name runtime, browse to its ins= tall directory, select a Java Runtime Environment, and select which configu= ration you want. Click on Finish.= - = -
- New Server Runtime Dialog - = - - - - -
- = - Now you should define an installed server by clicking on New... button in the Target section. - It's possible to select a server version and a server runtime.= Use Installed Runtimes button to= see or edit what runtimes are installed. Click on Next - = -
- New Server Dialog - = - - - - -
- = + +
+ Create standalone Seam Web Project + The best way to get started with Seam is to organise a simpl= e Seam Project and + experiment with it by creating variations. + Thus, you should select + File > New > Seam Web Project + to run the New Seam Project w= izard. + It's necessary to enter a name and a location directory for = your new project. The next + wizard forms allow you to create runtime and server instances = in order to get started + creating, running, and debugging J2EE applications. + Seam Web Project wizard has an option for selecting the actu= al Server (not just WTP + runtime) that will be used for the project. This allows the wi= zard to identify correctly + where the required datasource and driver libraries need to go.= + +
+ New Seam Project Wizard + + + + + +
+ + + Clicking on + New... + button in the Target Runtime section brings us to = another dialog. Here, you can + specify a new installed Runtime environment or the other type = of runtime appropriate for + configuring your project. Let's create a JBoss 4.2 Runtime. Fo= r that after choosing it click on + Next + button. + +
+ New Server Runtime Dialog + + + + + +
+ + All what you need here is to name runtime, type or locate us= ing + Browse button the path to its = install directory, select a + Java Runtime Environment, and select which configuration you w= ant. Clicking on + Finish + returns you to the previous dialog. The next step = is to define an installed server. You can do it by clicking on + New... + button in the Target section. + +
+ New Server Runtime Dialog + + + + + +
+ + It's possible to select a server version and a + server runtime. Use + Installed Runtimes + button to see or edit what runtimes are installed.= Click on Next + +
+ New Server Dialog + + + + + +
+ Leave everything as is and click on next. - = -
- New Server Dialog - = - - - - -
- = + +
+ New Server Dialog + + + + + +
+ On the last wizard step you can modify your project to confi= gure it on server. - = +
- New Server Dialog - = - - - - -
- = - = - After clicking on Finish button you should have the following wi= zard view: - = -
- New Seam Project Creation - = - - - - -
- = - The last section on this wizard step is Config= urations. You can select one of the pre-defined project configur= ation or create your own. Click on Next. - = -
+ New Server Dialog + + + + + + + + + After clicking on Finish button you should have the followin= g wizard view: + +
+ New Seam Project Creation + + + + + +
+ + The last section on this wizard step is Configurat= ions. You can + select one of the pre-defined project configuration or create = your own. Click on + Next. + +
Select the Project Facets - = - This page of the wizard allows you to enable or disable spec= ific facets. You can save or delete your preset of selected facets clicking= on Save button. - = + + This page of the wizard allows you to enable or disable spec= ific facets. You can save + or delete your preset of selected facets clicking on + Save + button. +
- Project Facets Selection - = - - - - -
- = - You can also see all available runtimes after clicking on Show Runtimes or create new ones using = the New button. - = + Project Facets Selection + + + + + + + + You can also see all available runtimes after clicking on + Show Runtimes + or create new ones using the + New + button. +
Project Facets Selection - = +
- = +
- = +
How to Configure Web Module Settings - = - A dynamic web application contains both web pages and Java c= ode. The wizard will ask you where you want to put those files. You can jus= t leave the default values. - = + + A dynamic web application contains both web pages and Java c= ode. The wizard will ask + you where you want to put those files. You can just leave the = default values. +
Web Module Settings - = +
- = +
Adding JSF Capabilities - = + This wizard helps you to add JSF capabilities into your proj= ect. - Checking Server Supplied JSF Implementat= ion - means that you will have a default JSF implementation given by= server. - = + Checking + Server Supplied JSF Implementation + means that you will have a default JSF implementat= ion given by server. +
Adding JSF Capabilities to Web Project - = +
- = - In case when you want to use your custom JSF implementation = check a lower radio button. You are able to create a library of jars by cli= cking on = - New button. - Type a Library Name, select a Version Supported and add Library jars. Cl= ick on Finish. + + In case when you want to use your custom JSF implementation = check a lower radio + button. You are able to create a library of jars by clicking o= n + New + button. + Type a Library Name, select a Version + Supported and add Library jars= . Click on + Finish.
Create JSF Implementation Library - = +
- = - You can also add a Component Libraries = (e.g. Richfaces) clicking on New = button in the Component Libraries section. - = + + You can also add a Component Libraries = (e.g. Richfaces) clicking + on + New + button in the Component Libraries section. +
Create JSF Implementation Library - = +
- = - The last wizard options allows to edit a path for = JSF Configuration File, a name for JSF Servlet, JSF Servlet Classname - and change an URL Mapping Patterns. - = + + The last wizard options allows to edit a path for = JSF Configuration + File, a name for JSF Servlet, = JSF Servlet + Classname and change an URL Mapping P= atterns. +
JSF Capabilities Wizard - = +
- = +
- = -
- Configure Seam Facet Settings - = - The last wizard step is related to Seam facet and allows you to= do the following: -
+ +
+ Configure Seam Facet Settings + + The last wizard step is related to Seam facet and allows you= to do the following: +
Seam Facet Settings - = +
- = + - Create Seam runtime and define Seam home folde= r. Click on Add button in the General section. + + Create Seam runtime and define Seam home folder. Cli= ck on + Add + button in the General= section. + - Notice that in this wizard presented below you can create a = Seam runtime only for that version which was selected in the Project Facets wizard (version 1.2 in our case).<= /para> - = + Notice that in this wizard presented below you can create a = Seam runtime only for that + version which was selected in the Project Facets + wizard (version 1.2 in our case). +
Seam Runtime Creation - = +
- = + - Select EAR or WAR deployment by checking a nec= essary radio button. - Select a Database Type + + Select EAR or WAR deployment by checking a necessary= radio button. + + + Select a + Database Type + + - = +
Seam Runtime Creation - = +
- = - - and create a Conne= ction profile clicking on New button and selecting the necessary connection profile. - - = + + + + and create a + Connection profile + clicking on + New + button and selecting the necessary connect= ion profile. + + +
Connection Profile Selecting - = +
- = - Other Database fields are describing a Database and a connec= tion to it. = - In the Code Generation section you can= edit a package name for Session Bean, Entit= y Bean and Test. = - = - = + + Other Database fields are describing a Database and a connec= tion to it. + In the Code Generation section you can = edit a package name for + Session Bean, Entity Bean and + Test. + +
Code Generation Section - = +
- = - Click on Finish to= generate a project. - = -
- + + Click on + Finish + to generate a project. + +
+ Modified: trunk/seam/docs/reference/en/modules/intro.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/docs/reference/en/modules/intro.xml 2008-01-11 16:00:56 UTC = (rev 5628) +++ trunk/seam/docs/reference/en/modules/intro.xml 2008-01-11 16:03:27 UTC = (rev 5629) @@ -24,7 +24,7 @@
Other relevant resources on the topic = - Seam Frame= work + On JBoss you can find a number of benefits and other extra i= nformation on the Seam Fr= amework. =
--===============7139080219912247288==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 11:03:50 2008 Content-Type: multipart/mixed; boundary="===============5185523016528372766==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5630 - trunk/seam/docs/reference/en/images/create_new_seam. Date: Fri, 11 Jan 2008 11:03:49 -0500 Message-ID: --===============5185523016528372766== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-11 11:03:49 -0500 (Fri, 11 Jan 2008) New Revision: 5630 Added: trunk/seam/docs/reference/en/images/create_new_seam/create_seam0.png Log: http://jira.jboss.com/jira/browse/JBDS-234 - adding a screenshot Added: trunk/seam/docs/reference/en/images/create_new_seam/create_seam0.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/seam/docs/reference/en/images/create_new_seam/cr= eate_seam0.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream --===============5185523016528372766==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 11:14:30 2008 Content-Type: multipart/mixed; boundary="===============1456480140116065029==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5631 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test: META-INF and 1 other directory. Date: Fri, 11 Jan 2008 11:14:30 -0500 Message-ID: --===============1456480140116065029== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-11 11:14:30 -0500 (Fri, 11 Jan 2008) New Revision: 5631 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties Log: update build properties Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFE= ST.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/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF = 2008-01-11 16:03:49 UTC (rev 5630) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF = 2008-01-11 16:14:30 UTC (rev 5631) @@ -18,5 +18,4 @@ org.mozilla.xpcom, org.jboss.tools.jsf.vpe.ui.test Eclipse-LazyStart: true -Export-Package: org.jboss.tools.jsf.vpe.html.test Bundle-ClassPath: html-test.jar Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties 2008= -01-11 16:03:49 UTC (rev 5630) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties 2008= -01-11 16:14:30 UTC (rev 5631) @@ -1,13 +1,10 @@ bin.includes =3D META-INF/,\ html-test.jar,\ - resources/,\ - .project,\ - .classpath + resources/ src.includes =3D META-INF/,\ build.properties,\ src/,\ resources/ jars.compile.order =3D html-test.jar source.html-test.jar =3D src/ -output.html-test.jar =3D bin/ -source.html-test.jar =3D src/ +output.html-test.jar =3D bin/ \ No newline at end of file --===============1456480140116065029==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 11:19:37 2008 Content-Type: multipart/mixed; boundary="===============2279294828062313966==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5632 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test: META-INF and 13 other directories. Date: Fri, 11 Jan 2008 11:19:36 -0500 Message-ID: --===============2279294828062313966== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-11 11:19:36 -0500 (Fri, 11 Jan 2008) New Revision: 5632 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/.classpath trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/.project trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/META-INF/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/META-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/META-INF/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/META-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/.faces-config.xml.jsfdia trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/faces-config.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/common-annotations.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/commons-beanutils.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/commons-collections.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/commons-digester.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/commons-logging.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/el-api.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/el-ri.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/jsf-api.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/jsf-facelets.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/jsf-impl.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/jsf-tlds.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/jstl.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/richfaces-api-3.1.0-SNAPSHOT.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/richfaces-impl-3.1.0-SNAPSHOT.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/richfaces-ui-3.1.0-SNAPSHOT.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/standard.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/web.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/index.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/calendar.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/dataDefinitionList.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/dataFilterSlider.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/dataGrid.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/dataList.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/dataOrderedList.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/dataScroller.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/dataTable.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/dragAndDrop.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/dropDawnMenu.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/effect.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/googleMap.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/inputNumberSlider.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/inputNumberSpinner.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/insert.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/message.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/messages.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/modalPanel.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/paint2D.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/panel.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/panelBar.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/panelMenu.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/richFacesTest.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/scrollableDataTable.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/separator.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/simpleTogglePanel.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/spacer.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/suggestionbox.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/tabPanel.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/togglePanel.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/toolBar.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/tree.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/virtualEarth.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pictures/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pictures/clickme.gif trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/templetes/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/templetes/tipBlock.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/ant/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/ant/build.properties trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/ant/build.xml Removed: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/too= ls/jsf/vpe/richfaces/test/ImportRichFacesComponents.java Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/META-INF/MANIFEST= .MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/build.properties trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/too= ls/jsf/vpe/richfaces/test/RichFacesAllTests.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/too= ls/jsf/vpe/richfaces/test/RichFacesComponentTest.java Log: update tests under our test development's technology = Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/META-INF/M= ANIFEST.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/tests/org.jboss.tools.jsf.vpe.richfaces.test/META-INF/MANIFES= T.MF 2008-01-11 16:14:30 UTC (rev 5631) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/META-INF/MANIFES= T.MF 2008-01-11 16:19:36 UTC (rev 5632) @@ -10,6 +10,12 @@ org.junit, org.eclipse.core.resources, org.eclipse.ui.ide, - org.jboss.tools.common + org.jboss.tools.common, + org.jboss.tools.jst.jsp, + org.jboss.tools.common.text.ext, + org.jboss.tools.common.model, + org.jboss.tools.vpe.xulrunner, + org.mozilla.xpcom, + org.jboss.tools.jsf.vpe.ui.test Eclipse-LazyStart: true Bundle-ClassPath: vpe-rf-test.jar Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/build.properties= 2008-01-11 16:14:30 UTC (rev 5631) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/build.properties= 2008-01-11 16:19:36 UTC (rev 5632) @@ -7,5 +7,4 @@ src.includes =3D src/,\ resources/,\ META-INF/,\ - build.properties -source.vpe-rf-test.jar =3D src/ + build.properties \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.classpath (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.classpath 2008-01-11 16:19:36 UTC (rev 5632) @@ -0,0 +1,8 @@ + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.project (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.project 2008-01-11 16:19:36 UTC (rev 5632) @@ -0,0 +1,36 @@ + + + test + + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.jboss.tools.common.verification.verifybuilder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.jdt.core.javanature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.jboss.tools.jsf.jsfnature + org.eclipse.wst.common.project.facet.core.nature + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/META-INF/MANIFEST.MF (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/META-INF/MANIFEST.MF 2008-01-11 16:19:36 UTC (rev 5632) @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/META-INF/MANIFEST.MF (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/META-INF/MANIFEST.MF 2008-01-11 16:19:36 UTC (rev 5632) @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: = + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/WEB-INF/.faces-config.xml.jsfdia =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/WEB-INF/.faces-config.xml.jsfdia = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/WEB-INF/.faces-config.xml.jsfdia 2008-01-11 16:19:36 UTC= (rev 5632) @@ -0,0 +1,2 @@ + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/WEB-INF/faces-config.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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/WEB-INF/faces-config.xml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/WEB-INF/faces-config.xml 2008-01-11 16:19:36 UTC (rev 56= 32) @@ -0,0 +1,9 @@ + + + + + com.sun.facelets.FaceletViewHandler + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/WEB-INF/lib/common-annotations.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/WEB-INF/lib/commons-beanutils.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/WEB-INF/lib/commons-collections.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/WEB-INF/lib/commons-digester.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/WEB-INF/lib/commons-logging.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/WEB-INF/lib/el-api.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/WEB-INF/lib/el-api.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/WEB-INF/lib/el-ri.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/WEB-INF/lib/el-ri.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/WEB-INF/lib/jsf-api.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/WEB-INF/lib/jsf-api.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/WEB-INF/lib/jsf-facelets.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/WEB-INF/lib/jsf-facelets.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/WEB-INF/lib/jsf-impl.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/WEB-INF/lib/jsf-impl.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/WEB-INF/lib/jsf-tlds.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/WEB-INF/lib/jsf-tlds.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/WEB-INF/lib/jstl.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/WEB-INF/lib/jstl.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/WEB-INF/lib/richfaces-api-3.1.0-SNAPSHOT.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/WEB-INF/lib/richfaces-api-3.1.0-SNAPSHO= T.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/WEB-INF/lib/richfaces-impl-3.1.0-SNAPSHOT.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/WEB-INF/lib/richfaces-impl-3.1.0-SNAPSH= OT.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/WEB-INF/lib/richfaces-ui-3.1.0-SNAPSHOT.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/WEB-INF/lib/richfaces-ui-3.1.0-SNAPSHOT= .jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/WEB-INF/lib/standard.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/WEB-INF/web.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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/WEB-INF/web.xml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/WEB-INF/web.xml 2008-01-11 16:19:36 UTC (rev 5632) @@ -0,0 +1,56 @@ + + + Facelets StarterKit + test + + javax.faces.DEFAULT_SUFFIX + .xhtml + + + facelets.REFRESH_PERIOD + 2 + + + facelets.DEVELOPMENT + true + + + javax.faces.STATE_SAVING_METHOD + client + + + com.sun.faces.validateXml + true + + + com.sun.faces.verifyObjects + true + + + Faces Servlet + javax.faces.webapp.FacesServlet + 1 + + + Faces Servlet + *.jsf + + + BASIC + + + + Ajax4jsf Filter + ajax4jsf + org.ajax4jsf.Filter + + + ajax4jsf + Faces Servlet + REQUEST + FORWARD + INCLUDE + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/index.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/index.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/index.jsp 2008-01-11 16:19:36 UTC (rev 5632) @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/calendar.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/calendar.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/calendar.xhtml 2008-01-11 16:19:36 UTC = (rev 5632) @@ -0,0 +1,15 @@ + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/dataDefinitionList.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dataDefinitionList.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dataDefinitionList.xhtml 2008-01-11 16:= 19:36 UTC (rev 5632) @@ -0,0 +1,17 @@ + + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/dataFilterSlider.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dataFilterSlider.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dataFilterSlider.xhtml 2008-01-11 16:19= :36 UTC (rev 5632) @@ -0,0 +1,16 @@ + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/dataGrid.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dataGrid.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dataGrid.xhtml 2008-01-11 16:19:36 UTC = (rev 5632) @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/dataList.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dataList.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dataList.xhtml 2008-01-11 16:19:36 UTC = (rev 5632) @@ -0,0 +1,17 @@ + + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/dataOrderedList.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dataOrderedList.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dataOrderedList.xhtml 2008-01-11 16:19:= 36 UTC (rev 5632) @@ -0,0 +1,17 @@ + + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/dataScroller.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dataScroller.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dataScroller.xhtml 2008-01-11 16:19:36 = UTC (rev 5632) @@ -0,0 +1,16 @@ + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/dataTable.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dataTable.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dataTable.xhtml 2008-01-11 16:19:36 UTC= (rev 5632) @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/dragAndDrop.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dragAndDrop.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dragAndDrop.xhtml 2008-01-11 16:19:36 U= TC (rev 5632) @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/dropDawnMenu.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dropDawnMenu.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/dropDawnMenu.xhtml 2008-01-11 16:19:36 = UTC (rev 5632) @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/effect.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/effect.xhtml (r= ev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/effect.xhtml 2008-01-11 16:19:36 UTC (r= ev 5632) @@ -0,0 +1,21 @@ + + + + + + + + + Fade Effect + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/googleMap.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/googleMap.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/googleMap.xhtml 2008-01-11 16:19:36 UTC= (rev 5632) @@ -0,0 +1,16 @@ + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/inputNumberSlider.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/inputNumberSlider.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/inputNumberSlider.xhtml 2008-01-11 16:1= 9:36 UTC (rev 5632) @@ -0,0 +1,16 @@ + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/inputNumberSpinner.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/inputNumberSpinner.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/inputNumberSpinner.xhtml 2008-01-11 16:= 19:36 UTC (rev 5632) @@ -0,0 +1,16 @@ + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/insert.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/insert.xhtml (r= ev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/insert.xhtml 2008-01-11 16:19:36 UTC (r= ev 5632) @@ -0,0 +1,15 @@ + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/message.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/message.xhtml (= rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/message.xhtml 2008-01-11 16:19:36 UTC (= rev 5632) @@ -0,0 +1,16 @@ + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/messages.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/messages.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/messages.xhtml 2008-01-11 16:19:36 UTC = (rev 5632) @@ -0,0 +1,16 @@ + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/modalPanel.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/modalPanel.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/modalPanel.xhtml 2008-01-11 16:19:36 UT= C (rev 5632) @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/paint2D.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/paint2D.xhtml (= rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/paint2D.xhtml 2008-01-11 16:19:36 UTC (= rev 5632) @@ -0,0 +1,18 @@ + + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/panel.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/panel.xhtml (re= v 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/panel.xhtml 2008-01-11 16:19:36 UTC (re= v 5632) @@ -0,0 +1,21 @@ + + + + + + + + + + + This rich panel component + + Test rich panel component + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/panelBar.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/panelBar.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/panelBar.xhtml 2008-01-11 16:19:36 UTC = (rev 5632) @@ -0,0 +1,23 @@ + + + + + + + + + + + Test panel bar item component + + + Test panel bar item component + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/panelMenu.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/panelMenu.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/panelMenu.xhtml 2008-01-11 16:19:36 UTC= (rev 5632) @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/richFacesTest.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/richFacesTest.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/richFacesTest.xhtml 2008-01-11 16:19:36= UTC (rev 5632) @@ -0,0 +1,541 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Here is tab #1 + + + Here is tab #2 + + + Here is tab #3 + + + + + + + + + This is simple toggle panel + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This rich panel component + + Test rich panel component + + + + + + + Test panel bar item component + + + Test panel bar item component + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Fade Effect + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/scrollableDataTable.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/scrollableDataTable.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/scrollableDataTable.xhtml 2008-01-11 16= :19:36 UTC (rev 5632) @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/separator.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/separator.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/separator.xhtml 2008-01-11 16:19:36 UTC= (rev 5632) @@ -0,0 +1,16 @@ + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/simpleTogglePanel.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/simpleTogglePanel.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/simpleTogglePanel.xhtml 2008-01-11 16:1= 9:36 UTC (rev 5632) @@ -0,0 +1,19 @@ + + + + + + + + + + This is simple toggle panel + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/spacer.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/spacer.xhtml (r= ev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/spacer.xhtml 2008-01-11 16:19:36 UTC (r= ev 5632) @@ -0,0 +1,16 @@ + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/suggestionbox.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/suggestionbox.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/suggestionbox.xhtml 2008-01-11 16:19:36= UTC (rev 5632) @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/tabPanel.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/tabPanel.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/tabPanel.xhtml 2008-01-11 16:19:36 UTC = (rev 5632) @@ -0,0 +1,27 @@ + + + + + + + + + + + + Here is tab #1 + + + Here is tab #2 + + + Here is tab #3 + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/togglePanel.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/togglePanel.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/togglePanel.xhtml 2008-01-11 16:19:36 U= TC (rev 5632) @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/toolBar.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/toolBar.xhtml (= rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/toolBar.xhtml 2008-01-11 16:19:36 UTC (= rev 5632) @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/tree.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/tree.xhtml (rev= 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/tree.xhtml 2008-01-11 16:19:36 UTC (rev= 5632) @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/virtualEarth.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/virtualEarth.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/virtualEarth.xhtml 2008-01-11 16:19:36 = UTC (rev 5632) @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pictures/clickme.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/pictures/clickme.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/templetes/tipBlock.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/templetes/tipBlock.xhtml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/templetes/tipBlock.xhtml 2008-01-11 16:19:36 UTC (rev 56= 32) @@ -0,0 +1,24 @@ + + + + + + + + + + + + = + + + + + = + = Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/ant/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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/ant/build.properties (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/ant/build.properties 2008-01-11 16:19:36 UTC (rev 5632) @@ -0,0 +1,3 @@ +# +#Wed Sep 26 14:10:18 EEST 2007 +classpath.external=3DD\:\\workspaces\\runtime-New_configuration\\.metadata= \\.plugins\\org.jboss.tools.common.projecttemplates\\lib\\servlet\\2.4\\jsp= -api.jar;D\:\\workspaces\\runtime-New_configuration\\.metadata\\.plugins\\o= rg.jboss.tools.common.projecttemplates\\lib\\servlet\\2.4\\servlet-api.jar; Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/ant/build.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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/ant/build.xml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/ant/build.xml 2008-01-11 16:19:36 UTC (rev 5632) @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/r= ichFacesTest.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jbo= ss/tools/jsf/vpe/richfaces/test/ImportRichFacesComponents.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/ImportRichFacesComponents.java 2008-01-11 16:14:= 30 UTC (rev 5631) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/ImportRichFacesComponents.java 2008-01-11 16:19:= 36 UTC (rev 5632) @@ -1,106 +0,0 @@ -/*************************************************************************= ****** - * 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.jsf.vpe.richfaces.test; - -import java.io.IOException; -import java.lang.reflect.InvocationTargetException; -import java.util.zip.ZipFile; - -import org.eclipse.core.resources.IProject; -import org.eclipse.core.resources.IResource; -import org.eclipse.core.resources.IWorkspace; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.IPath; -import org.eclipse.core.runtime.NullProgressMonitor; -import org.eclipse.ui.PlatformUI; -import org.eclipse.ui.dialogs.IOverwriteQuery; -import org.eclipse.ui.internal.wizards.datatransfer.ZipLeveledStructurePro= vider; -import org.eclipse.ui.wizards.datatransfer.ImportOperation; - -/** - * Class for importing project from jar file - * = - * @author dsakharov(a)exadel.com,amakhtadui(a)exadel.com - * = - */ -public class ImportRichFacesComponents { - private static final String PROJECT_NAME =3D "RichFacesTest"; // $NON-= NLS-1$ - private static final String COMPONENTS_PATH =3D "WebContent/pages"; //= $NON-NLS-1$ - - @SuppressWarnings("restriction") - static void importRichFacesPages(String path) { - IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject= (PROJECT_NAME); - ZipLeveledStructureProvider zipStructureProvider; - try { - zipStructureProvider =3D = - new ZipLeveledStructureProvider(new ZipFile(path)); - - IOverwriteQuery overwrite =3D new IOverwriteQuery() { - public String queryOverwrite(String pathString) { - return ALL; - } - }; - - ImportOperation importOp =3D new ImportOperation( - project.getFullPath(), - zipStructureProvider.getRoot(), - zipStructureProvider, - overwrite); - - importOp.setContext(PlatformUI.getWorkbench().getActiveWorkbenchWindow(= ).getShell()); - - importOp.run(new NullProgressMonitor()); - } catch (InvocationTargetException ite) { - RichFacesTestPlugin.getPluginLog().logError(ite.getCause()); - } catch (InterruptedException ie) { - RichFacesTestPlugin.getPluginLog().logError(ie); - } catch (IOException e) { - RichFacesTestPlugin.getPluginLog().logError(e); - } - } - - /** - * = - * @return - * @throws CoreException - */ - static IPath getComponentPath(String componentPage) throws CoreExcepti= on { - IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject= (PROJECT_NAME); - if (project !=3D null) { - IResource resource =3D project.getFolder(COMPONENTS_PATH).findMember(co= mponentPage); - if (resource !=3D null) { - return resource.getFullPath(); - } -// IResource[] resources =3D folder.members(); -// if (resources !=3D null && resources.length > 0) { -// result =3D new ArrayList(resources.length); -// for (IResource res : resources) { -// result.add(res.getFullPath()); -// } -// } - } - = - return null; - } - - /** - * = - * @throws CoreException - */ - static void removeProject() throws CoreException { - IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject= (PROJECT_NAME); - if (project !=3D null) { - project.delete(IResource.ALWAYS_DELETE_PROJECT_CONTENT, - new NullProgressMonitor()); - } - } -} Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jb= oss/tools/jsf/vpe/richfaces/test/RichFacesAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesAllTests.java 2008-01-11 16:14:30 UTC (= rev 5631) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesAllTests.java 2008-01-11 16:19:36 UTC (= rev 5632) @@ -10,9 +10,15 @@ *************************************************************************= *****/ package org.jboss.tools.jsf.vpe.richfaces.test; = +import java.util.ArrayList; +import java.util.List; + import junit.framework.Test; import junit.framework.TestSuite; = +import org.jboss.tools.vpe.ui.test.VpeTestSetup; +import org.jboss.tools.vpe.ui.test.beans.ImportBean; + /** * Class for testing all RichFaces components * = @@ -22,13 +28,24 @@ = public class RichFacesAllTests { = - public static Test suite() { - TestSuite suite =3D new TestSuite("Tests for Vpe RichFaces components"); = // $NON-NLS-1$ - // $JUnit-BEGIN$ - suite.addTestSuite(RichFacesComponentTest.class); - // $JUnit-END$ - return suite; + public static Test suite() { + TestSuite suite =3D new TestSuite("Tests for Vpe RichFaces components");= // $NON-NLS-1$ + // $JUnit-BEGIN$ = - } + suite.addTestSuite(RichFacesComponentTest.class); = + // $JUnit-END$ + + List projectToImport =3D new ArrayList(); + ImportBean importBean =3D new ImportBean(); + importBean + .setImportProjectName(RichFacesComponentTest.IMPORT_PROJECT_NAME); + importBean.setImportProjectPath(RichFacesTestPlugin + .getPluginResourcePath()); + projectToImport.add(importBean); + + return new VpeTestSetup(suite, projectToImport); + + } + } Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jb= oss/tools/jsf/vpe/richfaces/test/RichFacesComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesComponentTest.java 2008-01-11 16:14:30 = UTC (rev 5631) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesComponentTest.java 2008-01-11 16:19:36 = UTC (rev 5632) @@ -10,20 +10,10 @@ *************************************************************************= *****/ package org.jboss.tools.jsf.vpe.richfaces.test; = -import junit.framework.TestCase; - import org.eclipse.core.resources.IFile; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.ILogListener; -import org.eclipse.core.runtime.IPath; -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Platform; -import org.eclipse.core.runtime.jobs.Job; -import org.eclipse.swt.widgets.Display; -import org.eclipse.ui.IEditorInput; import org.eclipse.ui.PartInitException; -import org.eclipse.ui.PlatformUI; -import org.eclipse.ui.part.FileEditorInput; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; = /** * Class for testing all RichFaces components @@ -31,257 +21,180 @@ * @author dsakovich(a)exadel.com * = */ -public class RichFacesComponentTest extends TestCase implements ILogListen= er { +public class RichFacesComponentTest extends VpeTest { = - private final static String EDITOR_ID =3D "org.jboss.tools.jst.jsp.jspedi= tor.JSPTextEditor"; // $NON-NLS-1$ - private final static String TEST_PROJECT_JAR_PATH =3D "/richFacesTest.jar= "; // $NON-NLS-1$ + // import project name + public static final String IMPORT_PROJECT_NAME =3D "richFacesTest"; = - // check warning log - private final static boolean checkWarning =3D false; - private Throwable exception; - public RichFacesComponentTest(String name) { super(name); + setCheckWarning(false); } = - /** - * Perform pre-test initialization. - * = - * @throws Exception - * = - * @see TestCase#setUp() - */ - protected void setUp() throws Exception { - super.setUp(); - - // TODO: Use TestSetup to create and remove project once for all tests = - // not for every one = - if(ResourcesPlugin.getWorkspace().getRoot().findMember("RichFacesTest")= =3D=3Dnull) { - = - ImportRichFacesComponents.importRichFacesPages(RichFacesTestPlugin - .getPluginResourcePath() + TEST_PROJECT_JAR_PATH); - = - waitForJobs(); - waitForJobs(); - delay(5000); - } - Platform.addLogListener(this); + public void testAllComponentsOnSinglePage() throws PartInitException, + Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/richFacesTest.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = - /** - * Perform post-test cleanup. - * = - * @throws Exception - * = - * @see TestCase#tearDown() - */ - protected void tearDown() throws Exception { - super.tearDown(); -// ImportRichFacesComponents.removeProject(); -// waitForJobs(); - Platform.removeLogListener(this); - } - - /** - * Process UI input but do not return for the specified time interval. - * = - * @param waitTimeMillis - * the number of milliseconds - */ - private void delay(long waitTimeMillis) { - Display display =3D Display.getCurrent(); - if (display !=3D null) { - long endTimeMillis =3D System.currentTimeMillis() + waitTimeMillis; - while (System.currentTimeMillis() < endTimeMillis) { - if (!display.readAndDispatch()) - display.sleep(); - } - display.update(); - } - // Otherwise, perform a simple sleep. - else { - try { - Thread.sleep(waitTimeMillis); - } catch (InterruptedException e) { - // Ignored. - } - } - } - - /** - * Wait until all background tasks are complete. - */ - public void waitForJobs() { - while (Job.getJobManager().currentJob() !=3D null) - delay(5000); - } - - public void testAllComponentsOnSinglePage() throws PartInitException, Thr= owable { - performTestForRichFacesComponent("richFacesTest.xhtml"); // $NON-NLS-1$ - } - = public void testCalendar() throws PartInitException, Throwable { - performTestForRichFacesComponent("calendar.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/calendar.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testDataDefinitionList() throws PartInitException, Throwable { - performTestForRichFacesComponent("dataDefinitionList.xhtml"); // $NON-NL= S-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dataDefinitionList.xhtml", IMPORT_PROJECT_NAME)); // $NON-= NLS-1$ } - = + public void testDataFilterSlider() throws PartInitException, Throwable { - performTestForRichFacesComponent("dataFilterSlider.xhtml"); // $NON-NLS-= 1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dataFilterSlider.xhtml", IMPORT_PROJECT_NAME)); // $NON-NL= S-1$ } - = + public void testDataGrid() throws PartInitException, Throwable { - performTestForRichFacesComponent("dataGrid.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dataGrid.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testDataList() throws PartInitException, Throwable { - performTestForRichFacesComponent("dataList.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dataList.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testDataOrderedList() throws PartInitException, Throwable { - performTestForRichFacesComponent("dataOrderedList.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dataOrderedList.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS= -1$ } - = + public void testDataScroller() throws PartInitException, Throwable { - performTestForRichFacesComponent("dataScroller.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dataScroller.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testDataTable() throws PartInitException, Throwable { - performTestForRichFacesComponent("dataTable.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dataTable.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testDragAndDrop() throws PartInitException, Throwable { - performTestForRichFacesComponent("dragAndDrop.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dragAndDrop.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testDropDawnMenu() throws PartInitException, Throwable { - performTestForRichFacesComponent("dropDawnMenu.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dropDawnMenu.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testEffect() throws PartInitException, Throwable { - performTestForRichFacesComponent("effect.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/effect.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testGoogleMap() throws PartInitException, Throwable { - performTestForRichFacesComponent("googleMap.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/googleMap.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testInputNumberSlider() throws PartInitException, Throwable { - performTestForRichFacesComponent("inputNumberSlider.xhtml"); // $NON-NLS= -1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/inputNumberSlider.xhtml", IMPORT_PROJECT_NAME)); // $NON-N= LS-1$ } - = + public void testInputNumberSpinner() throws PartInitException, Throwable { - performTestForRichFacesComponent("inputNumberSpinner.xhtml"); // $NON-NL= S-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/inputNumberSpinner.xhtml", IMPORT_PROJECT_NAME)); // $NON-= NLS-1$ } - = + public void testInsert() throws PartInitException, Throwable { - performTestForRichFacesComponent("insert.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/insert.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testMessage() throws PartInitException, Throwable { - performTestForRichFacesComponent("message.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/message.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testMessages() throws PartInitException, Throwable { - performTestForRichFacesComponent("messages.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/messages.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testModalPanel() throws PartInitException, Throwable { - performTestForRichFacesComponent("modalPanel.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/modalPanel.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testPaint2D() throws PartInitException, Throwable { - performTestForRichFacesComponent("paint2D.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/paint2D.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testPanel() throws PartInitException, Throwable { - performTestForRichFacesComponent("panel.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/panel.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testPanelBar() throws PartInitException, Throwable { - performTestForRichFacesComponent("panelBar.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/panelBar.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testPanelMenu() throws PartInitException, Throwable { - performTestForRichFacesComponent("panelMenu.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/panelMenu.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testScrollableDataTable() throws PartInitException, Throwable= { - performTestForRichFacesComponent("scrollableDataTable.xhtml"); // $NON-N= LS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/scrollableDataTable.xhtml", IMPORT_PROJECT_NAME)); // $NON= -NLS-1$ } - = + public void testSeparator() throws PartInitException, Throwable { - performTestForRichFacesComponent("separator.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/separator.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testSimpleTogglePanel() throws PartInitException, Throwable { - performTestForRichFacesComponent("simpleTogglePanel.xhtml"); // $NON-NLS= -1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/simpleTogglePanel.xhtml", IMPORT_PROJECT_NAME)); // $NON-N= LS-1$ } - = + public void testSpacer() throws PartInitException, Throwable { - performTestForRichFacesComponent("spacer.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/spacer.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testSuggestionBox() throws PartInitException, Throwable { - performTestForRichFacesComponent("suggestionbox.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/suggestionbox.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testTabPanel() throws PartInitException, Throwable { - performTestForRichFacesComponent("tabPanel.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/tabPanel.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testTogglePanel() throws PartInitException, Throwable { - performTestForRichFacesComponent("togglePanel.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/togglePanel.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testToolBar() throws PartInitException, Throwable { - performTestForRichFacesComponent("toolBar.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/toolBar.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testTree() throws PartInitException, Throwable { - performTestForRichFacesComponent("tree.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/tree.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = public void testVirtualEarth() throws PartInitException, Throwable { - performTestForRichFacesComponent("virtualEarth.xhtml"); // $NON-NLS-1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/virtualEarth.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = - = - private void performTestForRichFacesComponent(String componentPage) throw= s PartInitException, Throwable { - waitForJobs(); = - exception =3D null; - IPath componentPath =3D ImportRichFacesComponents.getComponentPath(compo= nentPage); - = - IFile file =3D ResourcesPlugin.getWorkspace().getRoot().getFile(componen= tPath); - IEditorInput input =3D new FileEditorInput(file); - = - PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().ope= nEditor(input, EDITOR_ID, true); - - waitForJobs(); - delay(3000); - PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().clo= seAllEditors(true); - - if (exception !=3D null) { - throw exception; - } - } - - public void logging(IStatus status, String plugin) { - switch (status.getSeverity()) { - case IStatus.ERROR: - exception =3D status.getException(); - break; - case IStatus.WARNING: - if (checkWarning) - exception =3D status.getException(); - break; - default: - break; - } - - } - } --===============2279294828062313966==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 11:47:53 2008 Content-Type: multipart/mixed; boundary="===============0911640764158701625==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5633 - in branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces: src/org/jboss/tools/jsf/vpe/richfaces and 1 other directories. Date: Fri, 11 Jan 2008 11:47:52 -0500 Message-ID: --===============0911640764158701625== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dmaliarevich Date: 2008-01-11 11:47:52 -0500 (Fri, 11 Jan 2008) New Revision: 5633 Added: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/resources/orderingList/button_bg.gif branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/resources/orderingList/table_header_cell_bg.gif Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/resources/orderingList/bottom.gif branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/resources/orderingList/down.gif branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/resources/orderingList/orderingList.css branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/resources/orderingList/top.gif branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/resources/orderingList/up.gif branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/src/org/jboss/tools/jsf/vpe/richfaces/HtmlComponentUtil.java branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.ja= va Log: rich faces orderingList template updated Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe= .richfaces/resources/orderingList/bottom.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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) Added: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.ri= chfaces/resources/orderingList/button_bg.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.to= ols.jsf.vpe.richfaces/resources/orderingList/button_bg.gif ___________________________________________________________________ Name: svn:mime-type + image/gif Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe= .richfaces/resources/orderingList/down.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe= .richfaces/resources/orderingList/orderingList.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/resources/orderingList/orderingList.css 2008-01-11 16:19:36 UTC (rev 5= 632) +++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/resources/orderingList/orderingList.css 2008-01-11 16:47:52 UTC (rev 5= 633) @@ -116,8 +116,83 @@ border: solid 1px #C4C0C9; } = -.dr-control-buttons { - font-size: 11px; - color: #000000; - font-family: Arial, Verdana, sans-serif; +.rich-ordering-list-button-layout { + padding:15px 8px 15px 0pt; } + +.rich-ordering-control-disabled { + border:1px solid; + margin-bottom:3px; +} + +.rich-ordering-control { + border:1px solid; + margin-bottom:3px; +} + +.rich-ordering-list-button { + background-color:#E3DED5; + background-repeat: repeat-x; + background-attachment: scroll; + color:#000000; + font-family:Arial,Verdana,sans-serif; + font-size:11px; + cursor: pointer; +} + +.rich-ordering-list-button-disabled { +background-color:#E3DED5; +background-image:url(/richfaces-demo/a4j_3_1_3.GAorg.richfaces.renderkit.h= tml.gradientimages.OrderingListButtonGradient/DATB/eAH7....1XuPARQVBZQ_.jsf= ); +color:#B1ADA7; +font-family:Arial,Verdana,sans-serif; +font-size:11px; +} +.rich-ordering-list-button-light { +background-color:#E3DED5; +background-image:url(/richfaces-demo/a4j_3_1_3.GAorg.richfaces.renderkit.h= tml.gradientimages.OrderingListButtonGradient/DATB/eAH7....1XuPARQVBZQ_.jsf= ); +border-color:#E79A00; +border-width:1px; +color:#000000; +font-family:Arial,Verdana,sans-serif; +font-size:11px; +} +.rich-ordering-list-button-press { +background-color:#E3DED5; +background-image:url(/richfaces-demo/a4j_3_1_3.GAorg.richfaces.renderkit.h= tml.gradientimages.OrderingListClickedGradient/DATB/eAG7eu.x....ARLgBZQ_.js= f); +border-color:#C4C0C9; +border-width:1px; +color:#000000; +font-family:Arial,Verdana,sans-serif; +font-size:11px; +} + +a.rich-ordering-list-button-selection:visited, a.rich-ordering-list-button= -selection:link, a.rich-ordering-list-button-a-disabled:visited, a.rich-ord= ering-list-button-a-disabled:link { + text-decoration:none; +} + +.rich-ordering-list-button-content { + padding:0pt 4px 0pt 1px; + text-align:left; + white-space:nowrap; +} + +.rich-ordering-list-button-content img { + margin-right:2px; + vertical-align:middle; +} + +.rich-ordering-list-table-header-cell, .rich-ordering-list-table-header-ce= ll-last { +background-color:#E3DED5; + +border-bottom-color:#C4C0C9; +border-bottom-width:1px; +border-right-color:#C4C0C9; +border-right-width:1px; +color:#000000; +font-family:Arial,Verdana,sans-serif; +font-size:11px; +} +.rich-ordering-list-table-header-cell-last { +border-right-width:0pt; +} + Added: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.ri= chfaces/resources/orderingList/table_header_cell_bg.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.to= ols.jsf.vpe.richfaces/resources/orderingList/table_header_cell_bg.gif ___________________________________________________________________ Name: svn:mime-type + image/gif Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe= .richfaces/resources/orderingList/top.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe= .richfaces/resources/orderingList/up.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe= .richfaces/src/org/jboss/tools/jsf/vpe/richfaces/HtmlComponentUtil.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_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/src/org/jboss/tools/jsf/vpe/richfaces/HtmlComponentUtil.java 2008-01-1= 1 16:19:36 UTC (rev 5632) +++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/src/org/jboss/tools/jsf/vpe/richfaces/HtmlComponentUtil.java 2008-01-1= 1 16:47:52 UTC (rev 5633) @@ -68,6 +68,9 @@ = /** HTML_TAG_SPAN */ public static final String HTML_TAG_SPAN =3D "SPAN"; + = + /** HTML_TAG_A */ + public static final String HTML_TAG_A =3D "A"; = /** HTML_TAG_B */ public static final String HTML_TAG_B =3D "B"; Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe= .richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrdering= List.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_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.j= ava 2008-01-11 16:19:36 UTC (rev 5632) +++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.j= ava 2008-01-11 16:47:52 UTC (rev 5633) @@ -46,6 +46,9 @@ private static final String DOWN_CONTROL_IMG =3D "orderingList/down.gif"; private static final String BOTTOM_CONTROL_IMG =3D "orderingList/bottom.g= if"; = + private static final String BUTTON_BG =3D "orderingList/button_bg.gif"; + private static final String HEADER_CELL_BG =3D "orderingList/header_cell_= bg.gif"; + private static final String LIST_WIDTH =3D "listWidth"; private static final String LIST_HEIGHT =3D "listHeight"; = @@ -120,10 +123,10 @@ nsIDOMElement row1_TD1_DIV =3D visualDocument .createElement(HtmlComponentUtil.HTML_TAG_DIV); row1_TD1_DIV.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, - STYLE_FOR_CAPTOION_LABEL = - + "width: " + (listWidth =3D=3D null ? DEFAULT_WIDTH : listWidth) + "p= x"); - row1_TD1_DIV.appendChild(visualDocument - .createTextNode(captionLabel)); + STYLE_FOR_CAPTOION_LABEL + "width: " + + (listWidth =3D=3D null ? DEFAULT_WIDTH : listWidth) + + "px"); + row1_TD1_DIV.appendChild(visualDocument.createTextNode(captionLabel)); row1_TD1.appendChild(row1_TD1_DIV); = // ---------------------row2------------------------ @@ -136,65 +139,37 @@ row2.appendChild(row2_TD2); = // ---------------------buttonsTable------------------------ - nsIDOMElement buttonsTable =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TABLE); - - nsIDOMElement btnRow1 =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TR); - nsIDOMElement btnRow1_TD =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TD); - btnRow1.appendChild(btnRow1_TD); - - nsIDOMElement btnRow2 =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TR); - nsIDOMElement btnRow2_TD =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TD); - btnRow2.appendChild(btnRow2_TD); - - nsIDOMElement btnRow3 =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TR); - nsIDOMElement btnRow3_TD =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TD); - btnRow3.appendChild(btnRow3_TD); - - nsIDOMElement btnRow4 =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TR); - nsIDOMElement btnRow4_TD =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TD); - btnRow4.appendChild(btnRow4_TD); - - nsIDOMElement btnUp =3D createButton(visualDocument, + nsIDOMElement buttonsDiv =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + buttonsDiv.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-orderin= g-list-button-layout"); + = + nsIDOMElement btnTopDiv =3D createButtonDiv(visualDocument, + (null =3D=3D upControlLabel ? TOP_CONTROL_LABEL_DEFAULT + : upControlLabel), TOP_CONTROL_IMG, new Boolean( + showButtonLabels).booleanValue()); + nsIDOMElement btnUpDiv =3D createButtonDiv(visualDocument, (null =3D=3D upControlLabel ? UP_CONTROL_LABEL_DEFAULT : upControlLabel), UP_CONTROL_IMG, new Boolean( showButtonLabels).booleanValue()); - nsIDOMElement btnDown =3D createButton(visualDocument, - (null =3D=3D downControlLabel ? DOWN_CONTROL_LABEL_DEFAULT - : downControlLabel), DOWN_CONTROL_IMG, new Boolean( + nsIDOMElement btnDownDiv =3D createButtonDiv(visualDocument, + (null =3D=3D upControlLabel ? DOWN_CONTROL_LABEL_DEFAULT + : upControlLabel), DOWN_CONTROL_IMG, new Boolean( showButtonLabels).booleanValue()); - btnRow2_TD.appendChild(btnUp); - btnRow3_TD.appendChild(btnDown); + nsIDOMElement btnBottomDiv =3D createButtonDiv(visualDocument, + (null =3D=3D upControlLabel ? BOTTOM_CONTROL_LABEL_DEFAULT + : upControlLabel), BOTTOM_CONTROL_IMG, new Boolean( + showButtonLabels).booleanValue()); = - if (fastOrderControlsVisible) { - nsIDOMElement btnTop =3D createButton(visualDocument, - (null =3D=3D topControlLabel ? TOP_CONTROL_LABEL_DEFAULT - : topControlLabel), TOP_CONTROL_IMG, new Boolean( - showButtonLabels).booleanValue()); - nsIDOMElement btnBottom =3D createButton(visualDocument, - (null =3D=3D bottomControlLabel ? BOTTOM_CONTROL_LABEL_DEFAULT - : bottomControlLabel), BOTTOM_CONTROL_IMG, - new Boolean(showButtonLabels).booleanValue()); - btnRow1_TD.appendChild(btnTop); - btnRow4_TD.appendChild(btnBottom); - } - - buttonsTable.appendChild(btnRow1); - buttonsTable.appendChild(btnRow2); - buttonsTable.appendChild(btnRow3); - buttonsTable.appendChild(btnRow4); - + buttonsDiv.appendChild(btnTopDiv); + buttonsDiv.appendChild(btnUpDiv); + buttonsDiv.appendChild(btnDownDiv); + buttonsDiv.appendChild(btnBottomDiv); + = row2_TD2.setAttribute(HtmlComponentUtil.HTML_ALIGN_ATTR, "center"); - row2_TD2.setAttribute(HtmlComponentUtil.HTML_ATTR_VALIGN, ("center".equa= lsIgnoreCase(controlsVerticalAlign) ? "middle" : controlsVerticalAlign)); - row2_TD2.appendChild(buttonsTable); + row2_TD2.setAttribute(HtmlComponentUtil.HTML_ATTR_VALIGN, ("center" + .equalsIgnoreCase(controlsVerticalAlign) ? "middle" + : controlsVerticalAlign)); + row2_TD2.appendChild(buttonsDiv); = // -------------------------------------------- = @@ -268,7 +243,7 @@ .setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "dr-table rich-table " + (tableClass =3D=3D null ? "" : tableClass)); - = + // Encode colgroup definition. ArrayList columns =3D getColumns(sourceElement); int columnsLength =3D getColumnsCount(sourceElement, columns); @@ -395,8 +370,7 @@ = nsIDOMElement btnImg =3D visualDocument .createElement(HtmlComponentUtil.HTML_TAG_IMG); - = - = + String path =3D RichFacesTemplatesActivator.getPluginResourcePath() + imgPath; btnImg.setAttribute("src", "file://" + path); @@ -412,7 +386,8 @@ .createElement(HtmlComponentUtil.HTML_TAG_TD); = row1_TD1.appendChild(btnImg); - row1_TD2.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "dr-control-bu= ttons"); + row1_TD2.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "dr-control-buttons"); row1_TD2.appendChild(visualDocument.createTextNode(btnName)); = row1.appendChild(row1_TD1); @@ -426,7 +401,43 @@ = return btn; } + = + private nsIDOMElement createButtonDiv(nsIDOMDocument visualDocument, + String btnName, String imgName, boolean showButtonLabels) { + = + nsIDOMElement div1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + nsIDOMElement div2 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + nsIDOMElement a =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_A); + nsIDOMElement div3 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + nsIDOMElement img =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_IMG); + = + div1.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-cont= rol"); + div2.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-list= -button"); + div2.setAttribute("onmouseover", "this.className=3D'rich-ordering-list-b= utton-light'"); + = + a.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-list-bu= tton-selection"); + div3.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-list= -button-content"); + = + String resourceFolder =3D RichFacesTemplatesActivator.getPluginResource= Path(); + img.setAttribute("src", "file://" + resourceFolder + imgName); + = + String divStyle =3D "background-image: url(file://" + resourceFolder + B= UTTON_BG + ");"; + div2.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, divStyle); = + div1.appendChild(div2); + div2.appendChild(a); + a.appendChild(div3); + div3.appendChild(img); + div3.appendChild(visualDocument.createTextNode(btnName)); + = + return div1; + } + /** * = * @param creationData --===============0911640764158701625==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 12:01:38 2008 Content-Type: multipart/mixed; boundary="===============7400762691286668586==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5634 - branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template. Date: Fri, 11 Jan 2008 12:01:38 -0500 Message-ID: --===============7400762691286668586== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dmaliarevich Date: 2008-01-11 12:01:37 -0500 (Fri, 11 Jan 2008) New Revision: 5634 Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.ja= va Log: buttons updated Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe= .richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrdering= List.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_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.j= ava 2008-01-11 16:47:52 UTC (rev 5633) +++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.j= ava 2008-01-11 17:01:37 UTC (rev 5634) @@ -143,10 +143,6 @@ .createElement(HtmlComponentUtil.HTML_TAG_DIV); buttonsDiv.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-orderin= g-list-button-layout"); = - nsIDOMElement btnTopDiv =3D createButtonDiv(visualDocument, - (null =3D=3D upControlLabel ? TOP_CONTROL_LABEL_DEFAULT - : upControlLabel), TOP_CONTROL_IMG, new Boolean( - showButtonLabels).booleanValue()); nsIDOMElement btnUpDiv =3D createButtonDiv(visualDocument, (null =3D=3D upControlLabel ? UP_CONTROL_LABEL_DEFAULT : upControlLabel), UP_CONTROL_IMG, new Boolean( @@ -155,15 +151,23 @@ (null =3D=3D upControlLabel ? DOWN_CONTROL_LABEL_DEFAULT : upControlLabel), DOWN_CONTROL_IMG, new Boolean( showButtonLabels).booleanValue()); - nsIDOMElement btnBottomDiv =3D createButtonDiv(visualDocument, - (null =3D=3D upControlLabel ? BOTTOM_CONTROL_LABEL_DEFAULT - : upControlLabel), BOTTOM_CONTROL_IMG, new Boolean( - showButtonLabels).booleanValue()); = - buttonsDiv.appendChild(btnTopDiv); + if (fastOrderControlsVisible) { + nsIDOMElement btnTopDiv =3D createButtonDiv(visualDocument, + (null =3D=3D upControlLabel ? TOP_CONTROL_LABEL_DEFAULT + : upControlLabel), TOP_CONTROL_IMG, new Boolean( + showButtonLabels).booleanValue()); + nsIDOMElement btnBottomDiv =3D createButtonDiv(visualDocument, + (null =3D=3D upControlLabel ? BOTTOM_CONTROL_LABEL_DEFAULT + : upControlLabel), BOTTOM_CONTROL_IMG, new Boolean( + showButtonLabels).booleanValue()); + = + buttonsDiv.appendChild(btnTopDiv); + buttonsDiv.appendChild(btnBottomDiv); + } + buttonsDiv.appendChild(btnUpDiv); buttonsDiv.appendChild(btnDownDiv); - buttonsDiv.appendChild(btnBottomDiv); = row2_TD2.setAttribute(HtmlComponentUtil.HTML_ALIGN_ATTR, "center"); row2_TD2.setAttribute(HtmlComponentUtil.HTML_ATTR_VALIGN, ("center" @@ -354,54 +358,13 @@ * visual document * @param btnName * the button label - * @param imgPath + * @param imgName * path to the image * @param showButtonLabels * show button label flag * = * @return the button */ - private nsIDOMElement createButton(nsIDOMDocument visualDocument, - String btnName, String imgPath, boolean showButtonLabels) { - nsIDOMElement btn =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_BUTTON); - btn.setAttribute(HtmlComponentUtil.HTML_TYPE_ATTR, - HtmlComponentUtil.HTML_TYPE_ATTR_BUTTON_VALUE); - - nsIDOMElement btnImg =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_IMG); - - String path =3D RichFacesTemplatesActivator.getPluginResourcePath() - + imgPath; - btnImg.setAttribute("src", "file://" + path); - if (showButtonLabels) { - nsIDOMElement table =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TABLE); - - nsIDOMElement row1 =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TR); - nsIDOMElement row1_TD1 =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TD); - nsIDOMElement row1_TD2 =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TD); - - row1_TD1.appendChild(btnImg); - row1_TD2.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, - "dr-control-buttons"); - row1_TD2.appendChild(visualDocument.createTextNode(btnName)); - - row1.appendChild(row1_TD1); - row1.appendChild(row1_TD2); - table.appendChild(row1); - btn.appendChild(table); - - } else { - btn.appendChild(btnImg); - } - - return btn; - } - = private nsIDOMElement createButtonDiv(nsIDOMDocument visualDocument, String btnName, String imgName, boolean showButtonLabels) { = @@ -432,9 +395,13 @@ div1.appendChild(div2); div2.appendChild(a); a.appendChild(div3); + = div3.appendChild(img); - div3.appendChild(visualDocument.createTextNode(btnName)); + if (showButtonLabels) { + div3.appendChild(visualDocument.createTextNode(btnName)); + } = + = return div1; } = --===============7400762691286668586==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 12:06:33 2008 Content-Type: multipart/mixed; boundary="===============4719390950574530956==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5635 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test: src/org/jboss/tools/jsf/vpe/facelets/test and 1 other directory. Date: Fri, 11 Jan 2008 12:06:33 -0500 Message-ID: --===============4719390950574530956== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-11 12:06:32 -0500 (Fri, 11 Jan 2008) New Revision: 5635 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/repeat.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsComponentTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1524 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/f= aceletsTest/WebContent/pages/components/repeat.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/repeat.xhtml 2008-01-11 17:01:37 UTC (rev= 5634) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/repeat.xhtml 2008-01-11 17:06:32 UTC (rev= 5635) @@ -8,13 +8,11 @@ Repeat Test -
- -
#{dept.name}
- -
#{emp.lastName}, #{emp.firstName}
-
-
+
+ +
#{dept.name}
+
#{dept.lastName}, #{dept.firstName}
+
\ No newline at end of file Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-11 17:01:37 UTC= (rev 5634) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-11 17:06:32 UTC= (rev 5635) @@ -71,7 +71,8 @@ nsIDOMText text =3D (nsIDOMText) div.getFirstChild().queryInterface( nsIDOMText.NS_IDOMTEXT_IID); = - assertEquals(text.getNodeValue(), "Ctrl+Shift+"); + assertEquals("Debug's content is not shown", text.getNodeValue(), + "Ctrl+Shift+"); = if (getException() !=3D null) { throw getException(); @@ -105,8 +106,10 @@ nsIDOMText text1 =3D (nsIDOMText) elementSpan1.getFirstChild() .queryInterface(nsIDOMText.NS_IDOMTEXT_IID); = - assertEquals(text0.getNodeValue(), "Greeting Page"); - assertEquals(text1.getNodeValue(), "#{person.name}!"); + assertEquals("Defined content is not shown", text0.getNodeValue(), + "Greeting Page"); + assertEquals("Defined content is not shown", text1.getNodeValue(), + "#{person.name}!"); = if (getException() !=3D null) { throw getException(); @@ -130,7 +133,8 @@ // find "table" elements TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); = - assertEquals(1, elements.size()); + assertEquals("Template with absolute path is not included", 1, elements + .size()); = // check related path element =3D performTestForFaceletComponent("components/composition_relate= d.xhtml"); @@ -141,7 +145,8 @@ // find "table" elements TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); = - assertEquals(1, elements.size()); + assertEquals("Template with related path is not included", 1, elements + .size()); = if (getException() !=3D null) { throw getException(); @@ -175,8 +180,8 @@ = String title =3D div.getAttribute("title"); = - assertEquals(title.replaceAll("\\s+", ""), - "ui:componentbinding:#{backingBean.menu}"); + assertEquals("Component's content is not shown", title.replaceAll( + "\\s+", ""), "ui:componentbinding:#{backingBean.menu}"); if (getException() !=3D null) { throw getException(); } @@ -205,8 +210,8 @@ nsIDOMText text =3D (nsIDOMText) elementSpan.getFirstChild() .queryInterface(nsIDOMText.NS_IDOMTEXT_IID); = - assertEquals(false, text.getNodeValue().equals( - "\nThis will be removed.\n")); + assertEquals("Content inside ui:remove tag shouldn't be shown", false, + text.getNodeValue().equals("\nThis will be removed.\n")); = if (getException() !=3D null) { throw getException(); @@ -229,7 +234,8 @@ // find "table" elements TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); = - assertEquals(1, elements.size()); + assertEquals("Template with absolute path is not included", 1, elements + .size()); = // check related path element =3D performTestForFaceletComponent("components/decorate_related.x= html"); @@ -240,7 +246,8 @@ // find "table" elements TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); = - assertEquals(1, elements.size()); + assertEquals("Template with related path is not included", 1, elements + .size()); = if (getException() !=3D null) { throw getException(); @@ -253,9 +260,29 @@ * @throws Throwable */ public void testRepeat() throws Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/repeat.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - assertTrue("Component's content is not shown", false); + nsIDOMElement element =3D performTestForFaceletComponent("components/repe= at.xhtml"); + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "dl" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_DL); + + assertEquals(1, elements.size()); + + nsIDOMElement elementDL =3D (nsIDOMElement) elements.get(0) + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + + nsIDOMElement elementDT =3D (nsIDOMElement) elementDL.getFirstChild() + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + + assertEquals("Component's content is not shown", HTML.TAG_DT, elementDT + .getNodeName().toUpperCase()); + + if (getException() !=3D null) { + throw getException(); + } } = /** @@ -274,7 +301,8 @@ // find "table" elements TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); = - assertEquals(1, elements.size()); + assertEquals("Template with absolute path is not included", 1, elements + .size()); = // check related path element =3D performTestForFaceletComponent("components/include_related.xh= tml"); @@ -285,7 +313,8 @@ // find "table" elements TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); = - assertEquals(1, elements.size()); + assertEquals("Template with related path is not included", 1, elements + .size()); = if (getException() !=3D null) { throw getException(); @@ -318,8 +347,8 @@ = String title =3D div.getAttribute("title"); = - assertEquals(title.replaceAll("\\s+", ""), - "ui:fragmentbinding:#{uiCache['searchResult']}"); + assertEquals("Fragment's content is not shown", title.replaceAll( + "\\s+", ""), "ui:fragmentbinding:#{uiCache['searchResult']}"); if (getException() !=3D null) { throw getException(); } --===============4719390950574530956==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 12:50:23 2008 Content-Type: multipart/mixed; boundary="===============4865380275022820735==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5636 - in trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components: bean and 1 other directory. Date: Fri, 11 Jan 2008 12:50:23 -0500 Message-ID: --===============4865380275022820735== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-11 12:50:23 -0500 (Fri, 11 Jan 2008) New Revision: 5636 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/bean/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/bean/cookie.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/bean/define.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/bean/header.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/bean/include.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/bean/message.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/bean/parameter.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/bean/resource.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/bean/size.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/bean/struts.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/bean/write.jsp Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/bean/cookie.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/cookie.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/cookie.jsp 2008-01-11 17:50:23 UTC= (rev 5636) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-bean" prefix=3D"bean" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/bean/define.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/define.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/define.jsp 2008-01-11 17:50:23 UTC= (rev 5636) @@ -0,0 +1,11 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-bean" prefix=3D"bean" %> + + + + + + <% request.setAttribute("session",session); %> + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/bean/header.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/header.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/header.jsp 2008-01-11 17:50:23 UTC= (rev 5636) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-bean" prefix=3D"bean" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/bean/include.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/include.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/include.jsp 2008-01-11 17:50:23 UT= C (rev 5636) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-bean" prefix=3D"bean" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/bean/message.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/message.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/message.jsp 2008-01-11 17:50:23 UT= C (rev 5636) @@ -0,0 +1,11 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-bean" prefix=3D"bean" %> + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/bean/parameter.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/parameter.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/parameter.jsp 2008-01-11 17:50:23 = UTC (rev 5636) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-bean" prefix=3D"bean" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/bean/resource.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/resource.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/resource.jsp 2008-01-11 17:50:23 U= TC (rev 5636) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-bean" prefix=3D"bean" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/bean/size.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/size.jsp (= rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/size.jsp 2008-01-11 17:50:23 UTC (= rev 5636) @@ -0,0 +1,19 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-bean" prefix=3D"bean" %> +<%@ page import=3D"java.util.HashMap" %> + + + + + + <% + HashMap lines =3D new HashMap(); + lines.put("1", "Line 1"); + lines.put("2", "Line 2"); + lines.put("3", "Line 3"); + request.setAttribute("lines", lines); + %> + + Line Count: + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/bean/struts.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/struts.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/struts.jsp 2008-01-11 17:50:23 UTC= (rev 5636) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-bean" prefix=3D"bean" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/bean/write.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/write.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/write.jsp 2008-01-11 17:50:23 UTC = (rev 5636) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-bean" prefix=3D"bean" %> + + + + + + + + --===============4865380275022820735==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 12:50:49 2008 Content-Type: multipart/mixed; boundary="===============5990059170063841576==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5637 - in trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components: html and 1 other directory. Date: Fri, 11 Jan 2008 12:50:49 -0500 Message-ID: --===============5990059170063841576== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-11 12:50:49 -0500 (Fri, 11 Jan 2008) New Revision: 5637 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/base.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/cookie.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/errors.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/frame.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/header.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/html.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/image.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/img.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/link.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/messages.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/parameter.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/rewrite.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/test.gif trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/test.jsp Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/html/base.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/base.jsp (= rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/base.jsp 2008-01-11 17:50:49 UTC (= rev 5637) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + + \ No newline at end of file Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/html/cookie.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/cookie.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/cookie.jsp 2008-01-11 17:50:49 UTC= (rev 5637) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-bean" prefix=3D"bean" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/html/errors.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/errors.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/errors.jsp 2008-01-11 17:50:49 UTC= (rev 5637) @@ -0,0 +1,9 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/html/frame.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/frame.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/frame.jsp 2008-01-11 17:50:49 UTC = (rev 5637) @@ -0,0 +1,12 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + = + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/html/header.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/header.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/header.jsp 2008-01-11 17:50:49 UTC= (rev 5637) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-bean" prefix=3D"bean" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/html/html.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/html.jsp (= rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/html.jsp 2008-01-11 17:50:49 UTC (= rev 5637) @@ -0,0 +1,9 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + = + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/html/image.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/image.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/image.jsp 2008-01-11 17:50:49 UTC = (rev 5637) @@ -0,0 +1,9 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/html/img.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/img.jsp (r= ev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/img.jsp 2008-01-11 17:50:49 UTC (r= ev 5637) @@ -0,0 +1,9 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/html/link.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/link.jsp (= rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/link.jsp 2008-01-11 17:50:49 UTC (= rev 5637) @@ -0,0 +1,9 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + test.jsp + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/html/messages.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/messages.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/messages.jsp 2008-01-11 17:50:49 U= TC (rev 5637) @@ -0,0 +1,13 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + = + = + = + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/html/parameter.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/parameter.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/parameter.jsp 2008-01-11 17:50:49 = UTC (rev 5637) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-bean" prefix=3D"bean" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/html/rewrite.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/rewrite.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/rewrite.jsp 2008-01-11 17:50:49 UT= C (rev 5637) @@ -0,0 +1,9 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/html/test.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.t= est/resources/StrutsTest/WebContent/pages/components/html/test.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/html/test.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/test.jsp (= rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/test.jsp 2008-01-11 17:50:49 UTC (= rev 5637) @@ -0,0 +1,9 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + +

Some text...

+ +
--===============5990059170063841576==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 12:51:27 2008 Content-Type: multipart/mixed; boundary="===============7823402685908381406==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5638 - in trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components: logic and 1 other directory. Date: Fri, 11 Jan 2008 12:51:27 -0500 Message-ID: --===============7823402685908381406== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-11 12:51:27 -0500 (Fri, 11 Jan 2008) New Revision: 5638 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/empty.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/equal.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/greaterEqual.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/greaterThan.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/iterate.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/lessEqual.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/lessThan.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/match.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/notEmpty.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/notEqual.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/notMatch.jsp Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/logic/empty.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/empty.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/empty.jsp 2008-01-11 17:51:27 UTC= (rev 5638) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> + + + + + + <% + request.setAttribute("goodThingsAbouteTheYankees", ""); + %> + + You must be a Red Sox fan! + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/logic/equal.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/equal.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/equal.jsp 2008-01-11 17:51:27 UTC= (rev 5638) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> + + + + + + <% + request.setAttribute("numberIntValue",new Integer(90210)); + %> + + equal + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/logic/greaterEqual.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/greaterEqual.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/greaterEqual.jsp 2008-01-11 17:51= :27 UTC (rev 5638) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> + + + + + + <% + request.setAttribute("numberIntValue",new Integer(90210)); + %> + + greaterEqual + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/logic/greaterThan.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/greaterThan.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/greaterThan.jsp 2008-01-11 17:51:= 27 UTC (rev 5638) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> + + + + + + <% + request.setAttribute("numberIntValue",new Integer(90210)); + %> + + greaterThan + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/logic/iterate.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/iterate.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/iterate.jsp 2008-01-11 17:51:27 U= TC (rev 5638) @@ -0,0 +1,27 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> +<%@ taglib uri=3D"/WEB-INF/struts-bean" prefix=3D"bean" %> +<%@ page import=3D"java.util.HashMap" %> + + + Logic iterate sample code + + + <% + HashMap h =3D new HashMap(); + String jameses[] =3D {"Joyce", "Thurber", "Kirk", "Cameron", "Monroe"= }; + String kevins[] =3D {"Spacey", "Bacon"}; + String bruces[] =3D {"Willis", "The Shark", "Cockburn"}; + h.put("James", jameses); + h.put("Kevin", kevins); + h.put("Bruce", bruces); + request.setAttributes("givenNames", h); + %> + + .
+ +
+
+
+ +
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/logic/lessEqual.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/lessEqual.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/lessEqual.jsp 2008-01-11 17:51:27= UTC (rev 5638) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> + + + + + + <% + request.setAttribute("numberIntValue",new Integer(90210)); + %> + + lessEqual + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/logic/lessThan.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/lessThan.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/lessThan.jsp 2008-01-11 17:51:27 = UTC (rev 5638) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> + + + + + + <% + request.setAttribute("numberIntValue",new Integer(90210)); + %> + + lessThan + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/logic/match.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/match.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/match.jsp 2008-01-11 17:51:27 UTC= (rev 5638) @@ -0,0 +1,19 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> + + + + + + <% + request.setAttribute("authorName1", "James M. Turner"); + request.setAttribute("authorName2", "Kevin Bedell"); + %> + + match + + + match + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/logic/notEmpty.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/notEmpty.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/notEmpty.jsp 2008-01-11 17:51:27 = UTC (rev 5638) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> + + + + + + <% + request.setAttribute("goodThingsAbouteTheYankees", "goodThings"); + %> + + New Yorker, eh? + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/logic/notEqual.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/notEqual.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/notEqual.jsp 2008-01-11 17:51:27 = UTC (rev 5638) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> + + + + + + <% + request.setAttribute("numberIntValue",new Integer(90210)); + %> + + notEqual + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/logic/notMatch.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/notMatch.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/notMatch.jsp 2008-01-11 17:51:27 = UTC (rev 5638) @@ -0,0 +1,19 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> + + + + + + <% + request.setAttribute("authorName1", "James M. Turner"); + request.setAttribute("authorName2", "Kevin Bedell"); + %> + + notMatch + + + notMatch + + + --===============7823402685908381406==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 12:52:45 2008 Content-Type: multipart/mixed; boundary="===============8671625355842648691==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5639 - trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test. Date: Fri, 11 Jan 2008 12:52:45 -0500 Message-ID: --===============8671625355842648691== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-11 12:52:44 -0500 (Fri, 11 Jan 2008) New Revision: 5639 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsHTMLComponentTest.java Removed: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsComponentTest.java Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsAllTests.java Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org= /jboss/tools/struts/vpe/struts/test/StrutsAllTests.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsAllTests.java 2008-01-11 17:51:27 UTC (= rev 5638) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsAllTests.java 2008-01-11 17:52:44 UTC (= rev 5639) @@ -30,10 +30,10 @@ = TestSuite suite =3D new TestSuite("Tests for Vpe Struts components"); //= $NON-NLS-1$ // $JUnit-BEGIN$ - suite.addTestSuite(StrutsComponentTest.class); + suite.addTestSuite(StrutsHTMLComponentTest.class); //cleanUpTests(); // $JUnit-END$ - return new VpeTestSetup(suite,TestUtil.createImportBeanList(StrutsCompon= entTest.IMPORT_PROJECT_NAME, StrutsTestPlugin.getPluginResourcePath())); + return new VpeTestSetup(suite,TestUtil.createImportBeanList(StrutsHTMLCo= mponentTest.IMPORT_PROJECT_NAME, StrutsTestPlugin.getPluginResourcePath())); = } = Deleted: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/= jboss/tools/struts/vpe/struts/test/StrutsComponentTest.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsComponentTest.java 2008-01-11 17:51:27 = UTC (rev 5638) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsComponentTest.java 2008-01-11 17:52:44 = UTC (rev 5639) @@ -1,77 +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.struts.vpe.struts.test; - -import org.eclipse.core.resources.IFile; -import org.jboss.tools.vpe.ui.test.TestUtil; -import org.jboss.tools.vpe.ui.test.VpeTest; - -/** - * Class for testing all struts components - * = - * @author sdzmitrovich - * = - */ -public class StrutsComponentTest extends VpeTest { - - // import project name - static final String IMPORT_PROJECT_NAME =3D "StrutsTest"; - - public StrutsComponentTest(String name) { - super(name); - } - - /* - * Struts HTML test cases - */ - - public void testBase() throws Throwable { - performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= base.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } - - public void testErrors() throws Throwable { - performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= errors.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } - - public void testFrame() throws Throwable { - performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= frame.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } - = - public void testHtml() throws Throwable { - performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } - = - public void testImage() throws Throwable { - performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= image.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } - = - public void testImg() throws Throwable { - performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= img.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } - = - public void testLink() throws Throwable { - performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= link.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } - = - public void testRewrite() throws Throwable { - performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= rewrite.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } - = - public void testMessages() throws Throwable { - performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= messages.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } - - - - - - -} Copied: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/j= boss/tools/struts/vpe/struts/test/StrutsHTMLComponentTest.java (from rev 56= 11, trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsComponentTest.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsHTMLComponentTest.java = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsHTMLComponentTest.java 2008-01-11 17:52= :44 UTC (rev 5639) @@ -0,0 +1,86 @@ +/*************************************************************************= ****** = + * 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.struts.vpe.struts.test; + +import org.eclipse.core.resources.IFile; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; + +/** + * Class for testing all struts components + * = + * @author sdzmitrovich + * = + */ +public class StrutsHTMLComponentTest extends VpeTest { + + // import project name + static final String IMPORT_PROJECT_NAME =3D "StrutsTest"; + + public StrutsHTMLComponentTest(String name) { + super(name); + } + + /* + * Struts HTML test cases + */ + + public void testBase() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/base.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testErrors() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/errors.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testFrame() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/frame.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testHtml() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/html.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testImage() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/image.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testImg() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/img.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testLink() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/link.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testRewrite() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/rewrite.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testMessages() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/messages.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testParameter() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/parameter.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testCookie() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/cookie.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testHeader() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/header.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + + +} --===============8671625355842648691==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 12:53:05 2008 Content-Type: multipart/mixed; boundary="===============1381246125806250995==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5640 - trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components. Date: Fri, 11 Jan 2008 12:53:05 -0500 Message-ID: --===============1381246125806250995== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-11 12:53:05 -0500 (Fri, 11 Jan 2008) New Revision: 5640 Removed: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/base.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/errors.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/frame.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/image.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/img.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/link.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/messages.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/rewrite.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/test.gif trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/test.jsp Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Deleted: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resource= s/StrutsTest/WebContent/pages/components/base.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/base.jsp 2008-01-11 17:52:44 UTC (rev 5= 639) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/base.jsp 2008-01-11 17:53:05 UTC (rev 5= 640) @@ -1,10 +0,0 @@ -<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> - - - - - - - - - \ No newline at end of file Deleted: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resource= s/StrutsTest/WebContent/pages/components/errors.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/errors.jsp 2008-01-11 17:52:44 UTC (rev= 5639) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/errors.jsp 2008-01-11 17:53:05 UTC (rev= 5640) @@ -1,9 +0,0 @@ -<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> - - - - - - - - Deleted: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resource= s/StrutsTest/WebContent/pages/components/frame.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/frame.jsp 2008-01-11 17:52:44 UTC (rev = 5639) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/frame.jsp 2008-01-11 17:53:05 UTC (rev = 5640) @@ -1,12 +0,0 @@ -<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> - - - - - - - - = - - - Deleted: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resource= s/StrutsTest/WebContent/pages/components/html.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html.jsp 2008-01-11 17:52:44 UTC (rev 5= 639) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html.jsp 2008-01-11 17:53:05 UTC (rev 5= 640) @@ -1,9 +0,0 @@ -<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> - - - - - - = - - Deleted: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resource= s/StrutsTest/WebContent/pages/components/image.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/image.jsp 2008-01-11 17:52:44 UTC (rev = 5639) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/image.jsp 2008-01-11 17:53:05 UTC (rev = 5640) @@ -1,9 +0,0 @@ -<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> - - - - - - - - Deleted: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resource= s/StrutsTest/WebContent/pages/components/img.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/img.jsp 2008-01-11 17:52:44 UTC (rev 56= 39) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/img.jsp 2008-01-11 17:53:05 UTC (rev 56= 40) @@ -1,9 +0,0 @@ -<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> - - - - - - - - Deleted: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resource= s/StrutsTest/WebContent/pages/components/link.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/link.jsp 2008-01-11 17:52:44 UTC (rev 5= 639) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/link.jsp 2008-01-11 17:53:05 UTC (rev 5= 640) @@ -1,9 +0,0 @@ -<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> - - - - - - test.jsp - - Deleted: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resource= s/StrutsTest/WebContent/pages/components/messages.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/messages.jsp 2008-01-11 17:52:44 UTC (r= ev 5639) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/messages.jsp 2008-01-11 17:53:05 UTC (r= ev 5640) @@ -1,13 +0,0 @@ -<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> - - - - - - - = - = - = - - - Deleted: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resource= s/StrutsTest/WebContent/pages/components/rewrite.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/rewrite.jsp 2008-01-11 17:52:44 UTC (re= v 5639) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/rewrite.jsp 2008-01-11 17:53:05 UTC (re= v 5640) @@ -1,9 +0,0 @@ -<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> - - - - - - - - Deleted: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resource= s/StrutsTest/WebContent/pages/components/test.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resource= s/StrutsTest/WebContent/pages/components/test.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/test.jsp 2008-01-11 17:52:44 UTC (rev 5= 639) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/test.jsp 2008-01-11 17:53:05 UTC (rev 5= 640) @@ -1,9 +0,0 @@ -<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> - - - - - -

Some text...

- -
--===============1381246125806250995==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 13:29:11 2008 Content-Type: multipart/mixed; boundary="===============4234551959426512150==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5641 - in trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test: src/org/jboss/tools/struts/vpe/struts/test and 1 other directory. Date: Fri, 11 Jan 2008 13:27:31 -0500 Message-ID: --===============4234551959426512150== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-11 13:27:31 -0500 (Fri, 11 Jan 2008) New Revision: 5641 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsBeanComponentTest.java trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsLogicComponentTest.java Removed: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/cookie.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/header.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/parameter.jsp Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsAllTests.java trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsHTMLComponentTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Deleted: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resource= s/StrutsTest/WebContent/pages/components/html/cookie.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/cookie.jsp 2008-01-11 17:53:05 UTC= (rev 5640) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/cookie.jsp 2008-01-11 18:27:31 UTC= (rev 5641) @@ -1,10 +0,0 @@ -<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> -<%@ taglib uri=3D"/WEB-INF/struts-bean" prefix=3D"bean" %> - - - - - - - - Deleted: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resource= s/StrutsTest/WebContent/pages/components/html/header.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/header.jsp 2008-01-11 17:53:05 UTC= (rev 5640) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/header.jsp 2008-01-11 18:27:31 UTC= (rev 5641) @@ -1,10 +0,0 @@ -<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> -<%@ taglib uri=3D"/WEB-INF/struts-bean" prefix=3D"bean" %> - - - - - - - - Deleted: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resource= s/StrutsTest/WebContent/pages/components/html/parameter.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/parameter.jsp 2008-01-11 17:53:05 = UTC (rev 5640) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/parameter.jsp 2008-01-11 18:27:31 = UTC (rev 5641) @@ -1,10 +0,0 @@ -<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> -<%@ taglib uri=3D"/WEB-INF/struts-bean" prefix=3D"bean" %> - - - - - - - - Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org= /jboss/tools/struts/vpe/struts/test/StrutsAllTests.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsAllTests.java 2008-01-11 17:53:05 UTC (= rev 5640) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsAllTests.java 2008-01-11 18:27:31 UTC (= rev 5641) @@ -31,6 +31,8 @@ TestSuite suite =3D new TestSuite("Tests for Vpe Struts components"); //= $NON-NLS-1$ // $JUnit-BEGIN$ suite.addTestSuite(StrutsHTMLComponentTest.class); + suite.addTestSuite(StrutsBeanComponentTest.class); + suite.addTestSuite(StrutsLogicComponentTest.class); //cleanUpTests(); // $JUnit-END$ return new VpeTestSetup(suite,TestUtil.createImportBeanList(StrutsHTMLCo= mponentTest.IMPORT_PROJECT_NAME, StrutsTestPlugin.getPluginResourcePath())); Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jb= oss/tools/struts/vpe/struts/test/StrutsBeanComponentTest.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsBeanComponentTest.java = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsBeanComponentTest.java 2008-01-11 18:27= :31 UTC (rev 5641) @@ -0,0 +1,75 @@ +/*************************************************************************= ****** = + * 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.struts.vpe.struts.test; + +import org.eclipse.core.resources.IFile; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; + +/** + * Class for testing bean struts components + * = + * @author dazarov + * = + */ +public class StrutsBeanComponentTest extends VpeTest { + + // import project name + static final String IMPORT_PROJECT_NAME =3D "StrutsTest"; + + public StrutsBeanComponentTest(String name) { + super(name); + } + + /* + * Struts Bean test cases + */ + + public void testCookie() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= bean/cookie.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testDefine() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= bean/define.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testHeader() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= bean/header.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testInclude() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= bean/include.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testMessage() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= bean/message.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testParameter() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= bean/parameter.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testResource() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= bean/resource.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testSize() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= bean/size.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testStruts() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= bean/struts.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testWrite() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= bean/write.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } +} Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org= /jboss/tools/struts/vpe/struts/test/StrutsHTMLComponentTest.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsHTMLComponentTest.java 2008-01-11 17:53= :05 UTC (rev 5640) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsHTMLComponentTest.java 2008-01-11 18:27= :31 UTC (rev 5641) @@ -15,9 +15,9 @@ import org.jboss.tools.vpe.ui.test.VpeTest; = /** - * Class for testing all struts components + * Class for testing html struts components * = - * @author sdzmitrovich + * @author dazarov * = */ public class StrutsHTMLComponentTest extends VpeTest { @@ -68,19 +68,4 @@ public void testMessages() throws Throwable { performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/messages.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = - public void testParameter() throws Throwable { - performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/parameter.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } - - public void testCookie() throws Throwable { - performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/cookie.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } - - public void testHeader() throws Throwable { - performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/header.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } - - - } Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jb= oss/tools/struts/vpe/struts/test/StrutsLogicComponentTest.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsLogicComponentTest.java = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsLogicComponentTest.java 2008-01-11 18:2= 7:31 UTC (rev 5641) @@ -0,0 +1,79 @@ +/*************************************************************************= ****** = + * 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.struts.vpe.struts.test; + +import org.eclipse.core.resources.IFile; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; + +/** + * Class for testing logic struts components + * = + * @author dazarov + * = + */ +public class StrutsLogicComponentTest extends VpeTest { + + // import project name + static final String IMPORT_PROJECT_NAME =3D "StrutsTest"; + + public StrutsLogicComponentTest(String name) { + super(name); + } + + /* + * Struts Logic test cases + */ + + public void testEmpty() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/empty.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testNotEmpty() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/notEmpty.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testEqual() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/equal.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testNotEqual() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/notEqual.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testGreaterEqual() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/greaterEqual.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testGreaterThan() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/greaterThan.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testIterate() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/iterate.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testLessEqual() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/lessEqual.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testLessThan() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/lessThan.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testMatch() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/match.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testNotMatch() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/notMatch.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } +} --===============4234551959426512150==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 13:55:28 2008 Content-Type: multipart/mixed; boundary="===============2137418692968810470==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5642 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test: src/org/jboss/tools/jsf/vpe/facelets/test and 1 other directory. Date: Fri, 11 Jan 2008 13:55:27 -0500 Message-ID: --===============2137418692968810470== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-11 13:55:27 -0500 (Fri, 11 Jan 2008) New Revision: 5642 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/composition_absolute.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/composition_related.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsComponentTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1515 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/f= aceletsTest/WebContent/pages/components/composition_absolute.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/composition_absolute.xhtml 2008-01-11 18:= 27:31 UTC (rev 5641) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/composition_absolute.xhtml 2008-01-11 18:= 55:27 UTC (rev 5642) @@ -1,14 +1,12 @@ - - - = - - = - JSF 1.2 and Facelets under Tomcat. KickSt= art Application - = - JSF 1.2 Hello Application - = - - + + + + + + JSF 1.2 and Facelets under Tomcat. KickStar= t Application + + + Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/f= aceletsTest/WebContent/pages/components/composition_related.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/composition_related.xhtml 2008-01-11 18:2= 7:31 UTC (rev 5641) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/composition_related.xhtml 2008-01-11 18:5= 5:27 UTC (rev 5642) @@ -1,14 +1,12 @@ - - - = - - = - JSF 1.2 and Facelets under Tomcat. KickSt= art Application - = - JSF 1.2 Hello Application - = - - + + + + + + JSF 1.2 and Facelets under Tomcat. KickStar= t Application + + + Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-11 18:27:31 UTC= (rev 5641) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-11 18:55:27 UTC= (rev 5642) @@ -125,29 +125,16 @@ = // check absolute path nsIDOMElement element =3D performTestForFaceletComponent("components/comp= osition_absolute.xhtml"); - nsIDOMNode node =3D (nsIDOMNode) element - .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); = - List elements =3D new ArrayList(); + checkTemplatePage(element, "Page Header", + "Template with absolute path is not included"); = - // find "table" elements - TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); - - assertEquals("Template with absolute path is not included", 1, elements - .size()); - // check related path element =3D performTestForFaceletComponent("components/composition_relate= d.xhtml"); - node =3D (nsIDOMNode) element.queryInterface(nsIDOMNode.NS_IDOMNODE_IID); = - elements =3D new ArrayList(); + checkTemplatePage(element, "Page Header", + "Template with related path is not included"); = - // find "table" elements - TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); - - assertEquals("Template with related path is not included", 1, elements - .size()); - if (getException() !=3D null) { throw getException(); } @@ -399,4 +386,35 @@ return element; } = + private void checkTemplatePage(nsIDOMElement element, String contextSt= ring, + String message) { + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "table" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); + + assertEquals(message, 1, elements.size()); + + nsIDOMElement table =3D (nsIDOMElement) elements.get(0).queryInterface( + nsIDOMElement.NS_IDOMELEMENT_IID); + nsIDOMElement tbody =3D (nsIDOMElement) table.getFirstChild() + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + nsIDOMElement tr =3D (nsIDOMElement) tbody.getFirstChild() + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + nsIDOMElement td =3D (nsIDOMElement) tr.getFirstChild().queryInterface( + nsIDOMElement.NS_IDOMELEMENT_IID); + nsIDOMElement div =3D (nsIDOMElement) td.getFirstChild().queryInterface( + nsIDOMElement.NS_IDOMELEMENT_IID); + nsIDOMElement span =3D (nsIDOMElement) div.getFirstChild() + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + + nsIDOMText text =3D (nsIDOMText) span.getFirstChild().queryInterface( + nsIDOMText.NS_IDOMTEXT_IID); + + assertEquals(message, contextString, text.getNodeValue()); + } + } --===============2137418692968810470==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 13:58:31 2008 Content-Type: multipart/mixed; boundary="===============1254169301296101415==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5643 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test: src/org/jboss/tools/jsf/vpe/facelets/test and 1 other directory. Date: Fri, 11 Jan 2008 13:58:30 -0500 Message-ID: --===============1254169301296101415== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-11 13:58:30 -0500 (Fri, 11 Jan 2008) New Revision: 5643 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/decorate_absolute.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/decorate_related.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsComponentTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1517 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/f= aceletsTest/WebContent/pages/components/decorate_absolute.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/decorate_absolute.xhtml 2008-01-11 18:55:= 27 UTC (rev 5642) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/decorate_absolute.xhtml 2008-01-11 18:58:= 30 UTC (rev 5643) @@ -1,14 +1,12 @@ - - - = - - = - JSF 1.2 and Facelets under Tomcat. KickSt= art Application - = - JSF 1.2 Hello Application - = - - + + + + + + JSF 1.2 and Facelets under Tomcat. KickStar= t Application + + + Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/f= aceletsTest/WebContent/pages/components/decorate_related.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/decorate_related.xhtml 2008-01-11 18:55:2= 7 UTC (rev 5642) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/decorate_related.xhtml 2008-01-11 18:58:3= 0 UTC (rev 5643) @@ -1,14 +1,12 @@ - - - = - - = - JSF 1.2 and Facelets under Tomcat. KickSt= art Application - = - JSF 1.2 Hello Application - = - - + + + + + + JSF 1.2 and Facelets under Tomcat. KickStar= t Application + + + Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-11 18:55:27 UTC= (rev 5642) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-11 18:58:30 UTC= (rev 5643) @@ -212,30 +212,17 @@ */ public void testDecorate() throws Throwable { // check absolute path - nsIDOMElement element =3D performTestForFaceletComponent("components/deco= rate_absolute.xhtml"); - nsIDOMNode node =3D (nsIDOMNode) element - .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + nsIDOMElement element =3D performTestForFaceletComponent("components/comp= osition_absolute.xhtml"); = - List elements =3D new ArrayList(); + checkTemplatePage(element, "Page Header", + "Template with absolute path is not included"); = - // find "table" elements - TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); - - assertEquals("Template with absolute path is not included", 1, elements - .size()); - // check related path - element =3D performTestForFaceletComponent("components/decorate_related.x= html"); - node =3D (nsIDOMNode) element.queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + element =3D performTestForFaceletComponent("components/composition_relate= d.xhtml"); = - elements =3D new ArrayList(); + checkTemplatePage(element, "Page Header", + "Template with related path is not included"); = - // find "table" elements - TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); - - assertEquals("Template with related path is not included", 1, elements - .size()); - if (getException() !=3D null) { throw getException(); } --===============1254169301296101415==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 14:01:05 2008 Content-Type: multipart/mixed; boundary="===============5328771416503258504==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5644 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tools/jsf/vpe/facelets/test. Date: Fri, 11 Jan 2008 14:01:05 -0500 Message-ID: --===============5328771416503258504== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-11 14:01:05 -0500 (Fri, 11 Jan 2008) New Revision: 5644 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsComponentTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1522 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-11 18:58:30 UTC= (rev 5643) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-11 19:01:05 UTC= (rev 5644) @@ -266,30 +266,17 @@ */ public void testInclude() throws Throwable { // check absolute path - nsIDOMElement element =3D performTestForFaceletComponent("components/incl= ude_absolute.xhtml"); - nsIDOMNode node =3D (nsIDOMNode) element - .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + nsIDOMElement element =3D performTestForFaceletComponent("components/comp= osition_absolute.xhtml"); = - List elements =3D new ArrayList(); + checkTemplatePage(element, "Page Header", + "Template with absolute path is not included"); = - // find "table" elements - TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); - - assertEquals("Template with absolute path is not included", 1, elements - .size()); - // check related path - element =3D performTestForFaceletComponent("components/include_related.xh= tml"); - node =3D (nsIDOMNode) element.queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + element =3D performTestForFaceletComponent("components/composition_relate= d.xhtml"); = - elements =3D new ArrayList(); + checkTemplatePage(element, "Page Header", + "Template with related path is not included"); = - // find "table" elements - TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); - - assertEquals("Template with related path is not included", 1, elements - .size()); - if (getException() !=3D null) { throw getException(); } --===============5328771416503258504==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 14:12:27 2008 Content-Type: multipart/mixed; boundary="===============3076856056364689136==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5645 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist. Date: Fri, 11 Jan 2008 14:12:27 -0500 Message-ID: --===============3076856056364689136== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vrubezhny Date: 2008-01-11 14:12:27 -0500 (Fri, 11 Jan 2008) New Revision: 5645 Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/co= ntentassist/RedHatHtmlContentAssistProcessor.java trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/co= ntentassist/RedHatJSPContentAssistProcessor.java Log: http://jira.jboss.org/jira/browse/JBIDE-1585 Proposal list is not filtered = by current input if there is no blank symbol between new entered tag and ne= xt tag, and new tag has no '>' Issue is fixed Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst= /jsp/contentassist/RedHatHtmlContentAssistProcessor.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/RedHatHtmlContentAssistProcessor.java 2008-01-11 19:01:05 UTC = (rev 5644) +++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/c= ontentassist/RedHatHtmlContentAssistProcessor.java 2008-01-11 19:12:27 UTC = (rev 5645) @@ -28,9 +28,11 @@ import org.eclipse.wst.html.ui.internal.HTMLUIPlugin; import org.eclipse.wst.html.ui.internal.contentassist.HTMLContentAssistPro= cessor; import org.eclipse.wst.html.ui.internal.preferences.HTMLUIPreferenceNames; +import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion; 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.sse.ui.internal.contentassist.ContentAssistUtils; 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; @@ -541,4 +543,38 @@ jspActiveCAP =3D new JSPActiveContentAssistProcessor(); jspActiveCAP.init(); } + = + = + /** + * StructuredTextViewer must be set before using this. + */ + public IStructuredDocumentRegion getStructuredDocumentRegion(int pos) { + IStructuredDocumentRegion sdRegion =3D ContentAssistUtils.getStructuredD= ocumentRegion(fTextViewer, pos); + ITextRegion region =3D sdRegion.getRegionAtCharacterOffset(pos); + if (region =3D=3D null) { + return null; + } + + if (sdRegion.getStartOffset(region) =3D=3D pos) { + // The offset is at the beginning of the region + if ((sdRegion.getStartOffset(region) =3D=3D sdRegion.getStartOffset()) = && (sdRegion.getPrevious() !=3D null) && (!sdRegion.getPrevious().isEnded()= )) { + // Is the region also the start of the node? If so, the + // previous IStructuredDocumentRegion is + // where to look for a useful region. + sdRegion =3D sdRegion.getPrevious(); + } + else { + // Is there no separating whitespace from the previous region? + // If not, + // then that region is the important one + ITextRegion previousRegion =3D sdRegion.getRegionAtCharacterOffset(pos= - 1); + if ((previousRegion !=3D null) && (previousRegion !=3D region) && (pre= viousRegion.getTextLength() =3D=3D previousRegion.getLength())) { + sdRegion =3D sdRegion.getPrevious(); + } + } + } + + return sdRegion; + } + } \ No newline at end of file Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst= /jsp/contentassist/RedHatJSPContentAssistProcessor.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/RedHatJSPContentAssistProcessor.java 2008-01-11 19:01:05 UTC (= rev 5644) +++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/c= ontentassist/RedHatJSPContentAssistProcessor.java 2008-01-11 19:12:27 UTC (= rev 5645) @@ -622,4 +622,37 @@ private boolean isCommentNode(IDOMNode node) { return (node !=3D null && node instanceof IDOMElement && ((IDOMElement) = node).isCommentTag()); } + = + /** + * StructuredTextViewer must be set before using this. + */ + public IStructuredDocumentRegion getStructuredDocumentRegion(int pos) { + IStructuredDocumentRegion sdRegion =3D ContentAssistUtils.getStructuredD= ocumentRegion(fTextViewer, pos); + ITextRegion region =3D sdRegion.getRegionAtCharacterOffset(pos); + if (region =3D=3D null) { + return null; + } + + if (sdRegion.getStartOffset(region) =3D=3D pos) { + // The offset is at the beginning of the region + if ((sdRegion.getStartOffset(region) =3D=3D sdRegion.getStartOffset()) = && (sdRegion.getPrevious() !=3D null) && (!sdRegion.getPrevious().isEnded()= )) { + // Is the region also the start of the node? If so, the + // previous IStructuredDocumentRegion is + // where to look for a useful region. + sdRegion =3D sdRegion.getPrevious(); + } + else { + // Is there no separating whitespace from the previous region? + // If not, + // then that region is the important one + ITextRegion previousRegion =3D sdRegion.getRegionAtCharacterOffset(pos= - 1); + if ((previousRegion !=3D null) && (previousRegion !=3D region) && (pre= viousRegion.getTextLength() =3D=3D previousRegion.getLength())) { + sdRegion =3D sdRegion.getPrevious(); + } + } + } + + return sdRegion; + } + } \ No newline at end of file --===============3076856056364689136==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 15:24:09 2008 Content-Type: multipart/mixed; boundary="===============5903400537221929929==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5646 - in trunk/vpe: contrib and 1 other directory. Date: Fri, 11 Jan 2008 15:24:09 -0500 Message-ID: --===============5903400537221929929== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-11 15:24:09 -0500 (Fri, 11 Jan 2008) New Revision: 5646 Added: trunk/vpe/contrib/ trunk/vpe/contrib/org.mozilla.xulrunner.gtk.linux.x86_64_1.8.1.4-2008011= 2.jar Log: xulrunner plugin for gtk.linux.x86_64 Added: trunk/vpe/contrib/org.mozilla.xulrunner.gtk.linux.x86_64_1.8.1.4-200= 80112.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) Property changes on: trunk/vpe/contrib/org.mozilla.xulrunner.gtk.linux.x86_= 64_1.8.1.4-20080112.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream --===============5903400537221929929==-- From jbosstools-commits at lists.jboss.org Fri Jan 11 15:28:32 2008 Content-Type: multipart/mixed; boundary="===============5403124084844436645==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5647 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tools/jsf/vpe/facelets/test. Date: Fri, 11 Jan 2008 15:28:32 -0500 Message-ID: --===============5403124084844436645== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-11 15:28:32 -0500 (Fri, 11 Jan 2008) New Revision: 5647 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsComponentTest.java Log: http://jira.jboss.org/jira/browse/JBIDE-1562, compilation error was adjusted Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-11 20:24:09 UTC= (rev 5646) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-11 20:28:32 UTC= (rev 5647) @@ -239,9 +239,9 @@ .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); = List elements =3D new ArrayList(); - + //TODO dsacovich Compilation error was corrected.Deal with it. // find "dl" elements - TestUtil.findElementsByName(node, elements, HTML.TAG_DL); +// TestUtil.findElementsByName(node, elements, HTML.TAG_DL); = assertEquals(1, elements.size()); = @@ -250,10 +250,10 @@ = nsIDOMElement elementDT =3D (nsIDOMElement) elementDL.getFirstChild() .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + //TODO dsacovich Compilation error was corrected.Deal with it. +// assertEquals("Component's content is not shown", HTML.TAG_DT, elementDT +// .getNodeName().toUpperCase()); = - assertEquals("Component's content is not shown", HTML.TAG_DT, elementDT - .getNodeName().toUpperCase()); - if (getException() !=3D null) { throw getException(); } --===============5403124084844436645==-- From jbosstools-commits at lists.jboss.org Sat Jan 12 06:47:51 2008 Content-Type: multipart/mixed; boundary="===============0082872825398366624==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5648 - trunk/jsf/docs/userguide/en/images/more_editors. Date: Sat, 12 Jan 2008 06:47:50 -0500 Message-ID: --===============0082872825398366624== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-12 06:47:50 -0500 (Sat, 12 Jan 2008) New Revision: 5648 Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_41.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_43.png Log: http://jira.jboss.com/jira/browse/JBDS-226 Screens are retaken with 96 reso= lution + scale param ia definded Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_41.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_43.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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) --===============0082872825398366624==-- From jbosstools-commits at lists.jboss.org Sat Jan 12 06:47:58 2008 Content-Type: multipart/mixed; boundary="===============2472986434819619937==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5649 - trunk/jsf/docs/userguide/en/modules. Date: Sat, 12 Jan 2008 06:47:58 -0500 Message-ID: --===============2472986434819619937== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-12 06:47:58 -0500 (Sat, 12 Jan 2008) New Revision: 5649 Modified: trunk/jsf/docs/userguide/en/modules/editors.xml Log: http://jira.jboss.com/jira/browse/JBDS-226 Screens are retaken with 96 reso= lution + scale param ia definded 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 2008-01-12 11:47:50 UTC= (rev 5648) +++ trunk/jsf/docs/userguide/en/modules/editors.xml 2008-01-12 11:47:58 UTC= (rev 5649) @@ -1707,7 +1707,7 @@ Properties View - + --===============2472986434819619937==-- From jbosstools-commits at lists.jboss.org Sat Jan 12 07:01:09 2008 Content-Type: multipart/mixed; boundary="===============5007924189234657984==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5650 - in trunk: vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util and 1 other directory. Date: Sat, 12 Jan 2008 07:01:09 -0500 Message-ID: --===============5007924189234657984== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-12 07:01:08 -0500 (Sat, 12 Jan 2008) New Revision: 5650 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsComponentTest.java trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/uti= l/HTML.java Log: http://jira.jboss.com/jira/browse/JBIDE-1524 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-12 11:47:58 UTC= (rev 5649) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-12 12:01:08 UTC= (rev 5650) @@ -239,9 +239,9 @@ .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); = List elements =3D new ArrayList(); - //TODO dsacovich Compilation error was corrected.Deal with it. + // find "dl" elements -// TestUtil.findElementsByName(node, elements, HTML.TAG_DL); + TestUtil.findElementsByName(node, elements, HTML.TAG_DL); = assertEquals(1, elements.size()); = @@ -250,9 +250,9 @@ = nsIDOMElement elementDT =3D (nsIDOMElement) elementDL.getFirstChild() .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); - //TODO dsacovich Compilation error was corrected.Deal with it. -// assertEquals("Component's content is not shown", HTML.TAG_DT, elementDT -// .getNodeName().toUpperCase()); + = + assertEquals("Component's content is not shown", HTML.TAG_DT, elementDT + .getNodeName().toUpperCase()); = if (getException() !=3D null) { throw getException(); Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/edi= tor/util/HTML.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/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/ut= il/HTML.java 2008-01-12 11:47:58 UTC (rev 5649) +++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/ut= il/HTML.java 2008-01-12 12:01:08 UTC (rev 5650) @@ -34,6 +34,8 @@ public static final String TAG_TH =3D "TH"; = public static final String TAG_TR =3D "TR"; public static final String TAG_TD =3D "TD"; + public static final String TAG_DL =3D "DL"; + public static final String TAG_DT =3D "DT"; public static final String TAG_COL =3D "COL"; public static final String TAG_COLS =3D "COLS"; public static final String TAG_COLGROUP =3D "COLGROUP"; --===============5007924189234657984==-- From jbosstools-commits at lists.jboss.org Sat Jan 12 07:12:06 2008 Content-Type: multipart/mixed; boundary="===============2620955742593985062==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5651 - trunk/documentation/guides/userguide/GettingStartedGuide/en/modules. Date: Sat, 12 Jan 2008 07:12:06 -0500 Message-ID: --===============2620955742593985062== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: afedosik Date: 2008-01-12 07:12:06 -0500 (Sat, 12 Jan 2008) New Revision: 5651 Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/gett= ing_started.xml Log: http://jira.jboss.com/jira/browse/JBDS-240 FAQ update in Getting Started gu= ide Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modul= es/getting_started.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/userguide/GettingStartedGuide/en/modules/get= ting_started.xml 2008-01-12 12:01:08 UTC (rev 5650) +++ trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/get= ting_started.xml 2008-01-12 12:12:06 UTC (rev 5651) @@ -505,14 +505,16 @@ I have an existing Seam 1.2.1 project. Can I m= igrate/import the project to a JBDS Seam project? - There is no automagical way. = - Need to be done manually; most should be straightforward: = - + We highly recommend you to create Seam 1.2.1 project using the JB= DS. In other case try to do manually: - copy src to src - copy view to Web conte= nt - copy resources individual files to where they are in = the seam web project etc. + Create a Seam Web project to get the JBoss tools struc= ture + Then from your Seam 1.2.1 seam-gen project start doing the follo= wing: + + Copy src to src + Copy view to Web conten= t + Copy resources individual files to where they are in t= he seam web project etc. + I have an existing Struts or JSF project. Can = I open the project in JBDS? --===============2620955742593985062==-- From jbosstools-commits at lists.jboss.org Sat Jan 12 09:50:17 2008 Content-Type: multipart/mixed; boundary="===============3741736044825903338==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5652 - trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/jboss/tools/hibernate/ui/view/views. Date: Sat, 12 Jan 2008 09:50:17 -0500 Message-ID: --===============3741736044825903338== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-12 09:50:17 -0500 (Sat, 12 Jan 2008) New Revision: 5652 Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/j= boss/tools/hibernate/ui/view/views/OrmModelNameVisitor.java Log: http://jira.jboss.com/jira/browse/JBIDE-1616 Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/sr= c/org/jboss/tools/hibernate/ui/view/views/OrmModelNameVisitor.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.view/src/org/= jboss/tools/hibernate/ui/view/views/OrmModelNameVisitor.java 2008-01-12 12:= 12:06 UTC (rev 5651) +++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/= jboss/tools/hibernate/ui/view/views/OrmModelNameVisitor.java 2008-01-12 14:= 50:17 UTC (rev 5652) @@ -92,11 +92,13 @@ = try { String dialectName =3D cfg.getConfiguration().getProperty(Environment.= DIALECT); - if (dialects.containsKey(dialectName)) { - dialect =3D (Dialect) dialects.get(dialectName); - } else { - dialect =3D (Dialect) Class.forName(dialectName).newInstance(); - dialects.put(dialectName, dialect); + if (dialectName !=3D null) { + if (dialects.containsKey(dialectName)) { + dialect =3D (Dialect) dialects.get(dialectName); + } else { + dialect =3D (Dialect) Class.forName(dialectName).newInstance(); + dialects.put(dialectName, dialect); + } } } catch (HibernateException e) { ViewPlugin.getDefault().logError(e); --===============3741736044825903338==-- From jbosstools-commits at lists.jboss.org Sat Jan 12 10:35:46 2008 Content-Type: multipart/mixed; boundary="===============5626297520189854398==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5653 - in branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces: src/org/jboss/tools/jsf/vpe/richfaces/template and 1 other directory. Date: Sat, 12 Jan 2008 10:35:46 -0500 Message-ID: --===============5626297520189854398== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dmaliarevich Date: 2008-01-12 10:35:46 -0500 (Sat, 12 Jan 2008) New Revision: 5653 Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/resources/orderingList/orderingList.css branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfa= ces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.ja= va Log: rich faces orderingList template updated. table header cell bg changed. Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe= .richfaces/resources/orderingList/orderingList.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/resources/orderingList/orderingList.css 2008-01-12 14:50:17 UTC (rev 5= 652) +++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/resources/orderingList/orderingList.css 2008-01-12 15:35:46 UTC (rev 5= 653) @@ -139,33 +139,6 @@ font-size:11px; cursor: pointer; } - -.rich-ordering-list-button-disabled { -background-color:#E3DED5; -background-image:url(/richfaces-demo/a4j_3_1_3.GAorg.richfaces.renderkit.h= tml.gradientimages.OrderingListButtonGradient/DATB/eAH7....1XuPARQVBZQ_.jsf= ); -color:#B1ADA7; -font-family:Arial,Verdana,sans-serif; -font-size:11px; -} -.rich-ordering-list-button-light { -background-color:#E3DED5; -background-image:url(/richfaces-demo/a4j_3_1_3.GAorg.richfaces.renderkit.h= tml.gradientimages.OrderingListButtonGradient/DATB/eAH7....1XuPARQVBZQ_.jsf= ); -border-color:#E79A00; -border-width:1px; -color:#000000; -font-family:Arial,Verdana,sans-serif; -font-size:11px; -} -.rich-ordering-list-button-press { -background-color:#E3DED5; -background-image:url(/richfaces-demo/a4j_3_1_3.GAorg.richfaces.renderkit.h= tml.gradientimages.OrderingListClickedGradient/DATB/eAG7eu.x....ARLgBZQ_.js= f); -border-color:#C4C0C9; -border-width:1px; -color:#000000; -font-family:Arial,Verdana,sans-serif; -font-size:11px; -} - a.rich-ordering-list-button-selection:visited, a.rich-ordering-list-button= -selection:link, a.rich-ordering-list-button-a-disabled:visited, a.rich-ord= ering-list-button-a-disabled:link { text-decoration:none; } @@ -182,17 +155,18 @@ } = .rich-ordering-list-table-header-cell, .rich-ordering-list-table-header-ce= ll-last { -background-color:#E3DED5; - -border-bottom-color:#C4C0C9; -border-bottom-width:1px; -border-right-color:#C4C0C9; -border-right-width:1px; -color:#000000; -font-family:Arial,Verdana,sans-serif; -font-size:11px; + background-color: #E3DED5; + background-repeat: repeat-x; + background-attachment: scroll; + border-bottom-color:#C4C0C9; + border-bottom-width:1px; + border-right-color:#C4C0C9; + border-right-width:1px; + color:#000000; + font-family:Arial,Verdana,sans-serif; + font-size:11px; } .rich-ordering-list-table-header-cell-last { -border-right-width:0pt; + border-right-width:0pt; } = Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe= .richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrdering= List.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_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.j= ava 2008-01-12 14:50:17 UTC (rev 5652) +++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richf= aces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.j= ava 2008-01-12 15:35:46 UTC (rev 5653) @@ -47,7 +47,7 @@ private static final String BOTTOM_CONTROL_IMG =3D "orderingList/bottom.g= if"; = private static final String BUTTON_BG =3D "orderingList/button_bg.gif"; - private static final String HEADER_CELL_BG =3D "orderingList/header_cell_= bg.gif"; + private static final String HEADER_CELL_BG =3D "orderingList/table_header= _cell_bg.gif"; = private static final String LIST_WIDTH =3D "listWidth"; private static final String LIST_HEIGHT =3D "listHeight"; @@ -281,6 +281,7 @@ nsIDOMElement tr =3D visualDocument .createElement(HtmlComponentUtil.HTML_TAG_TR); thead.appendChild(tr); + = String styleClass =3D encodeStyleClass(null, "dr-table-subheader rich-table-subheader", null, headerClass); @@ -290,7 +291,7 @@ } encodeHeaderFacets(creationData, tr, visualDocument, columnsHeaders, - "dr-table-subheadercell rich-table-subheadercell", + "rich-ordering-list-table-header-cell", headerClass, HEADER, HtmlComponentUtil.HTML_TAG_TD); } } @@ -381,7 +382,6 @@ = div1.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-cont= rol"); div2.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-list= -button"); - div2.setAttribute("onmouseover", "this.className=3D'rich-ordering-list-b= utton-light'"); = a.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-list-bu= tton-selection"); div3.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-list= -button-content"); @@ -468,6 +468,18 @@ String styleClass =3D encodeStyleClass(null, skinCellClass, headerClass, columnHeaderClass); td.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, styleClass); + = + nsIDOMElement div1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + String resourceFolder =3D RichFacesTemplatesActivator + .getPluginResourcePath(); + String div1Style =3D "background-image: url(file://" + resourceFolder + + HEADER_CELL_BG + ");"; + div1.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "rich-ordering-list-table-header-cell"); + div1.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, div1Style); + td.appendChild(div1); + td.setAttribute("scop", "col"); String colspan =3D column .getAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN); @@ -476,7 +488,7 @@ } Element facetBody =3D ComponentUtil.getFacet(column, facetName); = - VpeChildrenInfo child =3D new VpeChildrenInfo(td); + VpeChildrenInfo child =3D new VpeChildrenInfo(div1); child.addSourceChild(facetBody); creationData.addChildrenInfo(child); } --===============5626297520189854398==-- From jbosstools-commits at lists.jboss.org Sat Jan 12 11:31:13 2008 Content-Type: multipart/mixed; boundary="===============2843304616377551215==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5654 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test: src/org/jboss/tools/jsf/vpe/facelets/test and 1 other directory. Date: Sat, 12 Jan 2008 11:27:13 -0500 Message-ID: --===============2843304616377551215== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-12 11:27:13 -0500 (Sat, 12 Jan 2008) New Revision: 5654 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/insert.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/param.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsComponentTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1584 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/f= aceletsTest/WebContent/pages/components/insert.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/insert.xhtml 2008-01-12 15:35:46 UTC (rev= 5653) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/insert.xhtml 2008-01-12 16:27:13 UTC (rev= 5654) @@ -38,7 +38,7 @@ - + #{= user} = Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/f= aceletsTest/WebContent/pages/components/param.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/param.xhtml 2008-01-12 15:35:46 UTC (rev = 5653) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/param.xhtml 2008-01-12 16:27:13 UTC (rev = 5654) @@ -10,8 +10,7 @@ = - - + = \ No newline at end of file Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-12 15:35:46 UTC= (rev 5653) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-12 16:27:13 UTC= (rev 5654) @@ -23,6 +23,7 @@ import org.mozilla.interfaces.nsIDOMDocument; import org.mozilla.interfaces.nsIDOMElement; import org.mozilla.interfaces.nsIDOMNode; +import org.mozilla.interfaces.nsIDOMNodeList; import org.mozilla.interfaces.nsIDOMText; = /** @@ -95,20 +96,26 @@ // find "span" elements TestUtil.findElementsByName(node, elements, HTML.TAG_SPAN); = - assertEquals(2, elements.size()); + assertEquals(3, elements.size()); nsIDOMElement elementSpan0 =3D (nsIDOMElement) elements.get(0) .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); nsIDOMElement elementSpan1 =3D (nsIDOMElement) elements.get(1) .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + nsIDOMElement elementSpan2 =3D (nsIDOMElement) elements.get(2) + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); = nsIDOMText text0 =3D (nsIDOMText) elementSpan0.getFirstChild() .queryInterface(nsIDOMText.NS_IDOMTEXT_IID); nsIDOMText text1 =3D (nsIDOMText) elementSpan1.getFirstChild() .queryInterface(nsIDOMText.NS_IDOMTEXT_IID); + nsIDOMText text2 =3D (nsIDOMText) elementSpan2.getFirstChild() + .queryInterface(nsIDOMText.NS_IDOMTEXT_IID); = assertEquals("Defined content is not shown", text0.getNodeValue(), "Greeting Page"); assertEquals("Defined content is not shown", text1.getNodeValue(), + "#{user}"); + assertEquals("Defined content is not shown", text2.getNodeValue(), "#{person.name}!"); = if (getException() !=3D null) { @@ -250,7 +257,7 @@ = nsIDOMElement elementDT =3D (nsIDOMElement) elementDL.getFirstChild() .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); - = + assertEquals("Component's content is not shown", HTML.TAG_DT, elementDT .getNodeName().toUpperCase()); = @@ -360,6 +367,53 @@ return element; } = + /** + * Test for ui:param + * = + * @throws Throwable + */ + public void testParam() throws Throwable { + // check absolute path + nsIDOMElement element =3D performTestForFaceletComponent("components/comp= osition_absolute.xhtml"); + + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "table" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_TABLE); + + assertEquals("Component's content is not shown", 1, elements.size()); + + nsIDOMElement table =3D (nsIDOMElement) elements.get(0).queryInterface( + nsIDOMElement.NS_IDOMELEMENT_IID); + nsIDOMElement tbody =3D (nsIDOMElement) table.getFirstChild() + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + + nsIDOMNodeList list =3D tbody.getChildNodes(); + + assertEquals("Component's content is not shown", 4, list.getLength()); + + nsIDOMElement tr =3D (nsIDOMElement) list.item(1).queryInterface( + nsIDOMElement.NS_IDOMELEMENT_IID); + + nsIDOMElement td =3D (nsIDOMElement) tr.getFirstChild().queryInterface( + nsIDOMElement.NS_IDOMELEMENT_IID); + nsIDOMElement span =3D (nsIDOMElement) td.getFirstChild().queryInterface( + nsIDOMElement.NS_IDOMELEMENT_IID); + + nsIDOMText text =3D (nsIDOMText) span.getFirstChild().queryInterface( + nsIDOMText.NS_IDOMTEXT_IID); + + assertEquals("Component's content is not shown", text.getNodeValue(), + "#{currentUser}"); + + if (getException() !=3D null) { + throw getException(); + } + } + private void checkTemplatePage(nsIDOMElement element, String contextSt= ring, String message) { nsIDOMNode node =3D (nsIDOMNode) element --===============2843304616377551215==-- From jbosstools-commits at lists.jboss.org Sat Jan 12 11:54:42 2008 Content-Type: multipart/mixed; boundary="===============7385527118147932823==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5655 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tools/jsf/vpe/facelets/test. Date: Sat, 12 Jan 2008 11:50:41 -0500 Message-ID: --===============7385527118147932823== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-12 11:50:41 -0500 (Sat, 12 Jan 2008) New Revision: 5655 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsComponentTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1584 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-12 16:27:13 UTC= (rev 5654) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-12 16:50:41 UTC= (rev 5655) @@ -219,13 +219,13 @@ */ public void testDecorate() throws Throwable { // check absolute path - nsIDOMElement element =3D performTestForFaceletComponent("components/comp= osition_absolute.xhtml"); + nsIDOMElement element =3D performTestForFaceletComponent("components/deco= rate_absolute.xhtml"); = checkTemplatePage(element, "Page Header", "Template with absolute path is not included"); = // check related path - element =3D performTestForFaceletComponent("components/composition_relate= d.xhtml"); + element =3D performTestForFaceletComponent("components/decorate_related.x= html"); = checkTemplatePage(element, "Page Header", "Template with related path is not included"); @@ -273,13 +273,13 @@ */ public void testInclude() throws Throwable { // check absolute path - nsIDOMElement element =3D performTestForFaceletComponent("components/comp= osition_absolute.xhtml"); + nsIDOMElement element =3D performTestForFaceletComponent("components/incl= ude_absolute.xhtml"); = checkTemplatePage(element, "Page Header", "Template with absolute path is not included"); = // check related path - element =3D performTestForFaceletComponent("components/composition_relate= d.xhtml"); + element =3D performTestForFaceletComponent("components/include_related.xh= tml"); = checkTemplatePage(element, "Page Header", "Template with related path is not included"); @@ -374,7 +374,7 @@ */ public void testParam() throws Throwable { // check absolute path - nsIDOMElement element =3D performTestForFaceletComponent("components/comp= osition_absolute.xhtml"); + nsIDOMElement element =3D performTestForFaceletComponent("components/para= m.xhtml"); = nsIDOMNode node =3D (nsIDOMNode) element .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); --===============7385527118147932823==-- From jbosstools-commits at lists.jboss.org Sat Jan 12 12:09:08 2008 Content-Type: multipart/mixed; boundary="===============3744832375726319124==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5656 - trunk/seam/docs/reference/en/images/create_new_seam. Date: Sat, 12 Jan 2008 12:05:08 -0500 Message-ID: --===============3744832375726319124== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-12 12:05:08 -0500 (Sat, 12 Jan 2008) New Revision: 5656 Modified: trunk/seam/docs/reference/en/images/create_new_seam/create_seam0.png Log: http://jira.jboss.com/jira/browse/JBDS-234 - making changes according to Sv= eta remarks Modified: trunk/seam/docs/reference/en/images/create_new_seam/create_seam0.= 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) --===============3744832375726319124==-- From jbosstools-commits at lists.jboss.org Sat Jan 12 12:09:40 2008 Content-Type: multipart/mixed; boundary="===============8574004463148004259==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5657 - trunk/seam/docs/reference/en/modules. Date: Sat, 12 Jan 2008 12:06:37 -0500 Message-ID: --===============8574004463148004259== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-12 12:06:36 -0500 (Sat, 12 Jan 2008) New Revision: 5657 Modified: trunk/seam/docs/reference/en/modules/creating_new_seam.xml trunk/seam/docs/reference/en/modules/intro.xml Log: http://jira.jboss.com/jira/browse/JBDS-234 - making changes according to Sv= eta remarks Modified: trunk/seam/docs/reference/en/modules/creating_new_seam.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/docs/reference/en/modules/creating_new_seam.xml 2008-01-12 1= 7:05:08 UTC (rev 5656) +++ trunk/seam/docs/reference/en/modules/creating_new_seam.xml 2008-01-12 1= 7:06:36 UTC (rev 5657) @@ -11,8 +11,8 @@ Creating a New Seam Project via the New Seam Project wizard</ti= tle> <para>In this chapter we provide you with the necessary steps to start= working with Seam Framework.</para> - <para>At first, we suggest browsing the specific Seam perspective.</pa= ra> - <para>For that select <emphasis> + <para>At first, we suggest setting the specific Seam perspective that = provides a necessary type + of functionality. For that select <emphasis> <property>Window > Open Perspective > Other > Seam</property> </emphasis> or you can also access it through the button in the ri= ght top corner.</para> = @@ -31,14 +31,14 @@ experiment with it by creating variations.</para> <para>Thus, you should select <emphasis> <property>File > New > Seam Web Project</property> - </emphasis> to run the <property>New Seam Project</property> w= izard.</para> - <para>It's necessary to enter a name and a location directory for = your new project. The next - wizard forms allow you to create runtime and server instances = in order to get started - creating, running, and debugging J2EE applications.</para> + </emphasis> to run the <property>New Seam Project</property> w= izard. It's necessary to + enter a name and a location directory for your new project. Th= e next wizard forms allow + you to create runtime and server instances in order to get sta= rted creating, running, + and debugging J2EE applications.</para> <para>Seam Web Project wizard has an option for selecting the actu= al Server (not just WTP runtime) that will be used for the project. This allows the wi= zard to identify correctly where the required datasource and driver libraries need to go.= </para> - + <para>Let's get through the wizard step-by-step. First, you s= hould type the name of your new project.</para> <figure> <title>New Seam Project Wizard @@ -51,14 +51,15 @@ = Clicking on New... - button in the Target Runtime section brings us to = another dialog. Here, you can - specify a new installed Runtime environment or the other type = of runtime appropriate for - configuring your project. Let's create a JBoss 4.2 Runtime. Fo= r that after choosing it click on + button in the Target Runtime section brings us to = another dialog. Here, you + can specify a new installed Runtime environment or the other t= ype of runtime appropriate + for configuring your project. Let's create a JBoss 4.2 Runtime= . For that after choosing + it click on Next button. =
- New Server Runtime Dialog + Specifying Target Runtime @@ -66,16 +67,14 @@
= - All what you need here is to name runtime, type or locate us= ing - Browse button the path to its = install directory, select a - Java Runtime Environment, and select which configuration you w= ant. Clicking on - Finish - returns you to the previous dialog. The next step = is to define an installed server. You can do it by clicking on - New... - button in the Target section. + All what you need here is to name runtime, type the path to = its install directory or + locate it by using + Browse + button, select a Java Runtime Environment, and sel= ect which configuration + you want. =
- New Server Runtime Dialog + Specifying Target Server Runtime @@ -83,13 +82,21 @@
= - It's possible to select a server version and a - server runtime. Use - Installed Runtimes - button to see or edit what runtimes are installed.= Click on Next + Clicking on + Finish + returns you to the previous dialog. The next step = is to define an installed + server that you can do by clicking on + New... + button in the Target Server section. In appeared S= erver Dialog it's possible + to select a server version. For jBoss AS 4.2 it's also possibl= e to indicate a server + runtime. Use + Installed Runtimes... + button to see or edit what runtimes are installed.= Click on + Next + . =
- New Server Dialog + Specifying Target Server @@ -97,7 +104,10 @@
= - Leave everything as is and click on next. + Next dialog allows you to verify chosen Runtime information = as well as set login + credentials and specify a deploy directory. Leave everything a= s it is and click on + Next + . =
New Server Dialog @@ -120,7 +130,9 @@
= = - After clicking on Finish button you should have the followin= g wizard view: + After clicking on + Finish + button you should have the following wizard view:<= /para> =
New Seam Project Creation @@ -132,8 +144,8 @@
= The last section on this wizard step is Configurat= ions. You can - select one of the pre-defined project configuration or create = your own. Click on - Next. + select one of the pre-defined project configurations or create= your own. Having all needed options arranged click on = + Next to pass on to t= he other wizard.
=
@@ -168,11 +180,13 @@ = + + Next + button will bring you to the Web Module wizard.
=
How to Configure Web Module Settings - A dynamic web application contains both web pages and Java c= ode. The wizard will ask you where you want to put those files. You can just leave the = default values. = @@ -184,8 +198,9 @@ - + =
+ =
Adding JSF Capabilities = @@ -207,8 +222,8 @@ button. You are able to create a library of jars by clicking o= n New button. - Type a Library Name, select a Version - Supported and add Library jars= . Click on + Here, it's necessary to type a Library Name, select a Version + Supported and add proper Library jars. Then click on Finish.
Create JSF Implementation Library @@ -235,7 +250,7 @@ = The last wizard options allows to edit a path for = JSF Configuration File, a name for JSF Servlet, = JSF Servlet - Classname and change an URL Mapping P= atterns. + Classname and change URL Mapping Patt= erns. =
JSF Capabilities Wizard @@ -245,7 +260,6 @@
-
=
Modified: trunk/seam/docs/reference/en/modules/intro.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/docs/reference/en/modules/intro.xml 2008-01-12 17:05:08 UTC = (rev 5656) +++ trunk/seam/docs/reference/en/modules/intro.xml 2008-01-12 17:06:36 UTC = (rev 5657) @@ -24,7 +24,7 @@
Other relevant resources on the topic = - On JBoss you can find a number of benefits and other extra i= nformation on the Seam Fr= amework. + On JBoss you can find a set of benefits and other extra info= rmation on Seam Framework= . =
--===============8574004463148004259==-- From jbosstools-commits at lists.jboss.org Sun Jan 13 09:45:50 2008 Content-Type: multipart/mixed; boundary="===============3810230604600029813==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5658 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates. Date: Sun, 13 Jan 2008 09:45:48 -0500 Message-ID: --===============3810230604600029813== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-13 09:45:48 -0500 (Sun, 13 Jan 2008) New Revision: 5658 Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templa= tes-richfaces.xml Log: http://jira.jboss.com/jira/browse/JBIDE-1582 Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe= -templates-richfaces.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/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templ= ates-richfaces.xml 2008-01-12 17:06:36 UTC (rev 5657) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templ= ates-richfaces.xml 2008-01-13 14:45:48 UTC (rev 5658) @@ -605,6 +605,14 @@ + = + + + + + + + = = --===============3810230604600029813==-- From jbosstools-commits at lists.jboss.org Sun Jan 13 10:10:54 2008 Content-Type: multipart/mixed; boundary="===============0205463439883515919==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5659 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test: src/org/jboss/tools/jsf/vpe/richfaces/test and 1 other directory. Date: Sun, 13 Jan 2008 10:10:50 -0500 Message-ID: --===============0205463439883515919== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-13 10:10:49 -0500 (Sun, 13 Jan 2008) New Revision: 5659 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/componentControl.xhtml Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/richFacesTest.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/too= ls/jsf/vpe/richfaces/test/RichFacesComponentTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1582 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/componentControl.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/componentControl.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/componentControl.xhtml 2008-01-13 15:10= :49 UTC (rev 5659) @@ -0,0 +1,15 @@ + + + + + + + = + + + \ No newline at end of file Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/= richFacesTest/WebContent/pages/components/richFacesTest.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/richFacesTest.xhtml 2008-01-13 14:45:48= UTC (rev 5658) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/richFacesTest.xhtml 2008-01-13 15:10:49= UTC (rev 5659) @@ -534,8 +534,10 @@ + = + + = - Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jb= oss/tools/jsf/vpe/richfaces/test/RichFacesComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesComponentTest.java 2008-01-13 14:45:48 = UTC (rev 5658) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesComponentTest.java 2008-01-13 15:10:49 = UTC (rev 5659) @@ -196,5 +196,10 @@ performTestForVpeComponent((IFile) TestUtil.getComponentPath( "components/virtualEarth.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } + = + public void testComponentControl() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/componentControl.xhtml", IMPORT_PROJECT_NAME)); // $NON-NL= S-1$ + } = } --===============0205463439883515919==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 02:55:17 2008 Content-Type: multipart/mixed; boundary="===============4848872587794494310==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5660 - trunk/hibernatetools/docs/reference/en/modules. Date: Mon, 14 Jan 2008 02:55:17 -0500 Message-ID: --===============4848872587794494310== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-14 02:55:17 -0500 (Mon, 14 Jan 2008) New Revision: 5660 Modified: trunk/hibernatetools/docs/reference/en/modules/ant.xml trunk/hibernatetools/docs/reference/en/modules/reverseengineering.xml Log: http://jira.jboss.com/jira/browse/JBDS-238 - updating the end of four and t= he beginning of the five chapters Modified: trunk/hibernatetools/docs/reference/en/modules/ant.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/hibernatetools/docs/reference/en/modules/ant.xml 2008-01-13 15:10= :49 UTC (rev 5659) +++ trunk/hibernatetools/docs/reference/en/modules/ant.xml 2008-01-14 07:55= :17 UTC (rev 5660) @@ -744,7 +744,7 @@ hibernate.cfg.xml . Intended to be used together with a <jdbcconfiguration> - when performing reverse engineering, but can be used w= ith any kind of + when performing reverse engineering, but it can be use= d with any kind of configuration. The <hbm2cfgxml> will contain the properties used and adds mapping entr= ies for each mapped class. @@ -786,8 +786,8 @@ = <query> - is used to execute a HQL query statements and optional= ly send the output to a - file. Can be used for verifying the mappings and for basic data ex= traction. + is used to execute a HQL query statements and optional= ly sends the output to a + file. It can be used for verifying the mappings and for basic data= extraction. = @@ -797,14 +797,14 @@ = Currently one session is opened and used for all queries and t= he query is executed via the list() method. In the future more options might become availab= le, like performing - executeUpdate(), use named queries etc. + executeUpdate(), use named queries and etc. = =
Examples = - Simplest usage of + The simplest usage of <query> will just execute the query without dumping to a fil= e. This can be used to verify that queries can actually be performed. @@ -839,7 +839,7 @@
Generic Hibernate metamodel exporter (<literal><hbmtemplat= e></literal>) = - Generic exporter that can be controlled by an user provided te= mplate or class. + Generic exporter that can be controlled by an user provides a = template or class. = The following is an example of reverse engineering via <jdbcconfiguration> - and use a custom Exporter via the + and usage of a custom Exporter via the <hbmtemplate> . = @@ -916,17 +916,17 @@ <propertyset> - . The functionality of + that is used for grouping a set of properties. More ab= out the functionality of <propertyset> - is explained in detail in the Ant task manual. + is explained in detail in the Ant manual.
=
Getting access to user specific classes = - If the templates need to access some user class it is possible= by specifying a + If the templates need to access some user class it becomes pos= sible by specifying a "toolclass" in the properties. = Modified: trunk/hibernatetools/docs/reference/en/modules/reverseengineering= .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/hibernatetools/docs/reference/en/modules/reverseengineering.xml 2= 008-01-13 15:10:49 UTC (rev 5659) +++ trunk/hibernatetools/docs/reference/en/modules/reverseengineering.xml 2= 008-01-14 07:55:17 UTC (rev 5660) @@ -3,52 +3,52 @@ Controlling reverse engineering = When using the - <jdbcconfiguration> the ant task= will read the - database metadata and from that perform a reverse engineering of the - database schema into a normal Hibernate Configuration. It is from this - object e.g. - <hbm2java>can generate other art= ifacts such as - .java, - - .hbm.xml etc. + <jdbcconfiguration> + the ant task will read the database metadata and from that= will perform a reverse + engineering of the database schema into a normal Hibernate Configurati= on. It is from this object + e.g. + <hbm2java> + can generate other artifacts such as + .java + , + .hbm.xml + etc. = - To govern this process Hibernate uses a rever= se engineering strategy. - A reverse engineering strategy is mainly called to provide more java like - names for tables, column and foreignkeys into classes, properties and - associations. It also used to provide mappings from SQL types to Hibernate - types. The strategy can be customized by the user. The user can even pro= vide - its own custom reverse engineering strategy if the provided strategy is = not - enough, or simply just provide a small part of the strategy and delegate= the - rest to the default strategy. + To govern this process Hibernate uses a rever= se engineering strategy. A + reverse engineering strategy is mainly called to provide more java lik= e names for tables, column + and foreignkeys into classes, properties and associations. It also use= d to provide mappings from + SQL types to Hibernate types. The strategy can be= customized by a user. The + user can even provide its own custom reverse engineering strategy if t= he provided strategy is + not enough, or simply just provide a small part of the strategy and de= legate the rest to the + default strategy. =
Default reverse engineering strategy = - The default strategy uses some rules for mapping JDBC artifact n= ames - to java artifact names. It also provide basic typemappings from JDBC t= ypes - to = - Hibernate - types. It is the default strategy that uses the packagename - attribute to convert a table name to a fully qualified classname. + The default strategy uses some rules for mapping JDBC artifact n= ames to java artifact + names. It also provide basic typemappings from JDBC types to Hibernate + types. It is the default strategy that uses the packagename attribut= e to convert a table name + to a fully qualified classname.
=
hibernate.reveng.xml file = To have fine control over the process a - hibernate.reveng.xml file - can be provided. In this file you can specify type mappings and table - filtering. This file can be created by hand (its just basic XML) or you - can use the Hibernate plugins which have a specialized editor. + hibernate.reveng.xml + file can be provided. In this file you can specify type = mappings and table + filtering. This file can be created by hand (it's just basic XM= L) or you can use the + Hibernate plugins which have a specialized editor. = - Many databases are case-sensitive with their names and thu= s if - you cannot make some table match and you are sure it is not excluded b= y a - <table-filter>then check if the case matches; most databases sto= res - table names in uppercase. + + Many databases are case-sensitive with their names and thus if= you cannot make some + table match and you are sure it is not excluded by a <table-fil= ter>then check + if the case matches; most databases stores table names in uppercas= e. + = The following is an example of a - reveng.xml. Following the example - is more details about the format. + reveng.xml + . Following the example gives you more details about the = format. = ]]> = - = +
Schema Selection (<schema-selection>) = - <schema-selection> is used t= o drive which - schema's the reverse engineering will try and process. + <schema-selection> + is used to drive which schema's the reverse engin= eering will try and + process. = - By default the reverse engineering will read all schemas and t= hen - use - <table-filter> to decide w= hich tables get - reverse engineered and which do not; this makes it easy to get start= ed - but can be inefficient on databases with many schemas. + By default the reverse engineering will read all schemas and t= hen use + <table-filter> + to decide which tables get reverse engineered and whic= h do not; this makes it + easy to get started but can be inefficient on databases with many = schemas. = With - <schema-selection> it is thus - possible to limit the actual processed schemas and thus significantly - speed-up the reverse engineering. - - <table-filter> is still us= ed to then decide - which tables will be included/excluded. + <schema-selection> + it is thus possible to limit the actual processed sche= mas and thus significantly + speed-up the reverse engineering. + <table-filter> + is still used to then decide which tables will be incl= uded/excluded. = - If no <schema-selection> is - specified, the reverse engineering works as if all schemas should be - processed. - = - = - = - This is equal to: + + If no <schema-selection> is specifi= ed, the reverse + engineering works as if all schemas should be processed. This is= equal to: + ]]>. Which in turn is equal + to: + ]]> + = - ]]> - - Which in turn is equal to: - - ]]> -
Examples = The following will process all tables from - "MY_SCHEMA". + "MY_SCHEMA" + . = ]]> = - It is possible to have multiple - schema-selection's to support multi-schema read= ing - or simply to limit the processing to very specific tables. The - following example process all tables in - "MY_SCHEMA", a specifi= c - "CITY" - table plus all tables that starts with - "CODES_" in - COMMON_SCHEMA". + It is possible to have multiple schema-selection's to support + multi-schema reading or simply to limit the processing to very s= pecific tables. The + following example processes all tables in + "MY_SCHEMA" + , a specific + "CITY" + table plus all tables that starts with + "CODES_" + in + COMMON_SCHEMA" + . = @@ -160,12 +156,11 @@ Type mappings (<type-mapping>) = The - <type-mapping> section speci= fies how - the JDBC types found in the database should be mapped to Hibernate - types. e.g. java.sql.Types.VARCHAR with a length of 1 should be mapp= ed - to the Hibernate type yes_no or - java.sql.Types.NUMERIC should generally just be converted to the - Hibernate type long. + <type-mapping> + section specifies how the JDBC types found in the data= base should be mapped to + Hibernate types. e.g. java.sql.Types.VARCHAR with a length of 1 sh= ould be mapped to the + Hibernate type yes_no or java.sql.Types.NUMERIC= should generally just be + converted to the Hibernate type long. = ]]> = - The number of attributes specified and the sequence of the - sql-type's is important. Meaning that Hibernate will - search for the most specific first, and if no specific match is foun= d it - will seek from top to bottom when trying to resolve a type - mapping. + The number of attributes specified and the sequence of the sql-type's + is important. Meaning that Hibernate will sea= rch for the most specific + first, and if no specific match is found it will seek from top to = bottom when trying to + resolve a type mapping. =
Example = - The following is an example of a type-mapping which shows the - flexibility and the importance of ordering of the type - mappings. + The following is an example of a type-mapping which shows th= e flexibility and the + importance of ordering of the type mappings. = @@ -201,26 +194,25 @@ ]]> = - The following table shows how this affects an example table - named CUSTOMER: + The following table shows how this affects an example table = named CUSTOMER: = sql-type examples = - + = - + = - + = - + = - + = - + = - + = @@ -246,7 +238,7 @@ = INTEGER = - + = 10 = @@ -254,8 +246,7 @@ = int = - Nothing defined for INTEGER. Falling back to default - behavior. + Nothing is defined for INTEGER. Falling back to def= ault behavior. = @@ -265,15 +256,15 @@ = 30 = - + = false = your.package.TrimStringUserType = - No type-mapping matches length=3D30 and not-null=3D= false, - but type-mapping matches the 2 mappings which only specifi= es - VARCHAR. The type-mapping that comes first is chosen. + No type-mapping matches length=3D30 and not-null=3D= false, but type-mapping + matches the 2 mappings which only specifies VARCHAR. The= type-mapping that comes + first is chosen. = @@ -283,16 +274,16 @@ = 1 = - + = false = char = - Even though there is a generic match for VARCHAR, t= he - more specific type-mapping for VARCHAR with not-null=3D"fa= lse" is - chosen. The first VARCHAR sql-type matches in length but h= as - no value for not-null and thus is not considered. + Even though there is a generic match for VARCHAR, t= he more specific + type-mapping for VARCHAR with not-null=3D"false" is chos= en. The first VARCHAR + sql-type matches in length but has no value for not-null= and thus is not + considered. = @@ -302,14 +293,13 @@ = 1 = - + = true = java.lang.Character = - The most specific VARCHAR with not-null=3D"true" is - selected + The most specific VARCHAR with not-null=3D"true" is= selected = @@ -317,7 +307,7 @@ = NUMERIC = - + = 15 = @@ -325,8 +315,7 @@ = big_decimal = - There is a precise match for NUMERIC with precision - 15 + There is a precise match for NUMERIC with precision= 15 = @@ -334,7 +323,7 @@ = NUMERIC = - + = 3 = @@ -348,7 +337,7 @@
= - +
= @@ -356,22 +345,22 @@ Table filters (<table-filter>) = The - <table-filter> let you speci= fy matching rules for - performing general filtering/setup for tables, e.g. let you include = or - exclude specific tables based on the schema or even a specific - prefix. + <table-filter> + let you specify matching rules for performing general = filtering/setup for + tables, e.g. let you include or exclude specific tables based on t= he schema or even a + specific prefix. = - + = - + = - + = - + = - + = - match-catalog (default: .*): Pattern for matching catalog - part of the table + match-catalog (default: .*): Pattern for matching catalo= g part of the table = - match-schema (default: .*): Pattern for matching schema = part - of the table + match-schema (default: .*): Pattern for matching schema = part of the table = - match-table (default: .*): Pattern for matching table pa= rt - of the table + match-table (default: .*): Pattern for matching table pa= rt of the table = - exclude (default: false): if true the table will not be = part - of the reverse engineering + exclude (default: false): if true the table will not be = part of the reverse + engineering = - package (default: ""): The default package name to use f= or - classes based on tables matched by this table-filter + package (default: ""): The default package name to use f= or classes based on tables + matched by this table-filter @@ -415,21 +401,20 @@ Specific table configuration (<table>) = - <table> allows you to provid= e explicit - configuration on how a table should be reverse engineered. Amongst o= ther - things it allow control over the naming of a class for the table, - specify which identifier generator should be used for the primary key - etc. + <table> + allows you to provide explicit configuration on how a = table should be reverse + engineered. Amongst other things it allows controlling over the na= ming of a class for the table, + specifying which identifier generator should be used for the prima= ry key etc. = - + = - + = - + = - + = - catalog (Optional): Catalog name for table. Has to be sp= ecified if you are reverse engineering multiple catalogs or if it is not eq= ual to hiberante.default_catalog. + catalog (Optional): Catalog name for a table. It has to = be specified if you are reverse + engineering multiple catalogs or if it is not equal to + hiberante.default_catalog. = - schema (Optional): Schema name for table. Has to be spec= ified if you are reverse engineering multiple schemas or if it is not equal= to hiberante.default_schema. + schema (Optional): Schema name for a table. It has to be= specified if you are reverse + engineering multiple schemas or if it is not equal to + hiberante.default_schema. = - name (Required): Name for table + name (Required): Name for a table = - clase (Optional): The class name for table. Default name= is - camelcase version of the table name. + clase (Optional): The class name for a table. Default na= me is a camelcase version of + the table name. @@ -467,19 +456,18 @@ <primary-key> = A - <primary-key> allows you t= o define a - primary-key for tables that does not have such defined in the - database, and probably more importantly it allows you to define wh= ich - identifier strategy that should be used (even for already existing - primary-key's). + <primary-key> + allows you to define a primary-key for tables that d= on't have such defined + in the database, and probably more importantly it allows you to = define which identifier + strategy should be used (even for already existing primary-key's= ). = - + = - + = - + = - generator/class (Optional): defines which identifier - generator should be used. The class name is any hibernate sh= ort - hand name or fully qualified class name for an identifier - strategy. + generator/class (Optional): defines which identifier g= enerator should be used. + The class name is any hibernate short hand name or fully q= ualified class name for an + identifier strategy. = - generator/param (Optional): Allows to specify which - parameter with name and value should be passed to the identi= fier - generator + generator/param (Optional): Allows to specify which pa= rameter with a name and + value should be passed to the identifier generator = - key-column (Optional): Specifies which column(s ) the - primary-key consists of. A key-column is same as column, but - does not have the exclude property. + key-column (Optional): Specifies which column(s ) the = primary-key consists of. A + key-column is same as column, but does not have the exclud= e property. @@ -516,22 +501,23 @@ <column> = With a - <column> it is possible to= explicitly name the - resulting property for a column. It is also possible to redefine w= hat - jdbc and/or Hibernate type a column should be processed and finall= y it - is possible to completely exclude a column from processing. + <column> + it is possible to explicitly name the resulting prop= erty for a column. It is + also possible to redefine what jdbc and/or Hibernate type a colu= mn should be processed as and + finally it is possible to completely exclude a column from proce= ssing. = - + + - + = - + = - + = - + = - + = = - jdbc-type (Optional): Which jdbc-type this column sh= ould - be processed as. A value from java.sql.Types, either numer= ical - (93) or the constant name (TIMESTAMP). + jdbc-type (Optional): Which jdbc-type this column sh= ould be processed as. A + value from java.sql.Types, either numerical (93) or the = constant name + (TIMESTAMP). = - type (Optional): Which hibernate-type to use for this - specific column + type (Optional): Which hibernate-type to use for thi= s specific column = - property (Optional): What property name will be - generated for this column + property (Optional): What property name will be gene= rated for this + column = - exclude (default: false): set to true if this column - should be ignored + exclude (default: false): set to true if this column= should be ignored - + +
=
<foreign-key> = The - <foreign-key> has two purp= oses. One for allowing to - define foreign-keys in databases that does not support them or does - not have them defined in their schema. Secondly, to allow defining= the - name of the resulting properties (many-to-one and - one-to-many's). + <foreign-key> + has two purposes. One for allowing to define foreign= -keys in databases that + does not support them or does not have them defined in their sch= ema. Secondly, to allow + defining the name of the resulting properties (many-to-one and o= ne-to-many's). = Note: = - + + - + = - + = - + = - + = - + = - + = - + = - constraint-name (Required): Name of the foreign key - constraint. Important when naming many-to-one and set. It = is - the constraint-name that is used to link the processed - foreign-keys with the resulting property names. + constraint-name (Required): Name of the foreign key = constraint. Important when + naming many-to-one and set. It is the constraint-name th= at is used to link the + processed foreign-keys with the resulting property names= . = - foreign-catalog (Optional): Name of the foreign tabl= e's - catalog. (Only relevant if you want to explicitly define a - foreign key). + foreign-catalog (Optional): Name of the foreign tabl= e's catalog. (Only + relevant if you want to explicitly define a foreign key)= . = - foreign-schema (Optional): Name of the foreign table= 's - schema. (Only relevant if you want to explicitly define a - foreign key). + foreign-schema (Optional): Name of the foreign table= 's schema. (Only relevant + if you want to explicitly define a foreign key). = - foreign-table (Optional): Name of the foreign table. - (Only relevant if you want to explicitly define a foreign - key). + foreign-table (Optional): Name of the foreign table.= (Only relevant if you + want to explicitly define a foreign key). = - column-ref (Optional): Defines that the foreign-key - constraint between a local-column and foreign-column name. - (Only relevant if you want to explicitly define a foreign - key). + column-ref (Optional): Defines that the foreign-key = constraint between a + local-column and foreign-column name. (Only relevant if = you want to explicitly + define a foreign key). = - many-to-one (Optional): Defines that a many-to-one - should be created and the property attribute specifies the - name of the resulting property. Exclude can be used to - explicitly define that it should be created or not. + many-to-one (Optional): Defines that a many-to-one s= hould be created and the + property attribute specifies the name of the resulting p= roperty. Exclude can be + used to explicitly define that it should be created or n= ot. = - set (Optional): Defines that a set should be created - based on this foreign-key and the property attribute speci= fies - the name of the resulting (set) property. Exclude can be u= sed - to explicitly define that it should be created or not. + set (Optional): Defines that a set should be created= based on this foreign-key + and the property attribute specifies the name of the res= ulting (set) property. + Exclude can be used to explicitly define that it should = be created or not. - + +
@@ -670,17 +649,17 @@
Custom strategy = - It is possible to implement an user strategy. Such strategy must - implement - org.hibernate.cfg.reveng.ReverseEngineeringStrategy. It is - recommended that one uses the DelegatingReverseEngineeringSt= rategy and - provide a public constructor which takes another - ReverseEngineeringStrategy as argument. This w= ill allow you to only - implement the relevant methods and provide a fallback strategy. Exampl= e of - custom delegating strategy which converts all column names that ends w= ith - - "PK" into a property nam= ed - "id". + It is possible to implement an user strategy. Such strategy must= implement + org.hibernate.cfg.reveng.ReverseEngineeringStrategy + . It is recommended that one uses the + DelegatingReverseEngineeringStrategy and prov= ide a public constructor + which takes another ReverseEngineeringStrategy = as argument. This will + allow you to only implement the relevant methods and provide a fallb= ack strategy. Example of + custom delegating strategy which converts all column names that ends= with + "PK" + into a property named + "id" + . = Custom Database Metadata = - By default the reverse engineering is performed by reading using= the - JDBC database metadata API. This is done via the class - - org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect - which is an implementation of - - org.hibernate.cfg.reveng.dialect.MetaDataDialect. + By default the reverse engineering is performed by reading using= the JDBC database + metadata API. This is done via the class + org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect + which is an implementation of + org.hibernate.cfg.reveng.dialect.MetaDataDialect + . = - The default implementation can be replaced with an alternative - implementation by setting the property - - hibernatetool.metadatadialect to a= fully qualified - classname for a class that implements - JDBCMetaDataDialect. + The default implementation can be replaced with an alternative i= mplementation by setting + the property + hibernatetool.metadatadialect + to a fully qualified classname for a class that implemen= ts + JDBCMetaDataDialect. = - This can be used to provide database specific optimized metadata - reading. If you create an optimized/better metadata reading for your - database it will be a very welcome contribution. + This can be used to provide database specific optimized metadata= reading. If you create an + optimized/better metadata reading for your database it will be a ver= y welcome + contribution.
- \ No newline at end of file + --===============4848872587794494310==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 08:54:29 2008 Content-Type: multipart/mixed; boundary="===============6420492697630159898==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5661 - trunk/common/tests/org.jboss.tools.common.kb.test/src/org/jboss/tools/common/kb/test. Date: Mon, 14 Jan 2008 08:54:29 -0500 Message-ID: --===============6420492697630159898== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: akazakov Date: 2008-01-14 08:54:29 -0500 (Mon, 14 Jan 2008) New Revision: 5661 Modified: trunk/common/tests/org.jboss.tools.common.kb.test/src/org/jboss/tools/co= mmon/kb/test/TldTest.java Log: Removed System.out.println(); Modified: trunk/common/tests/org.jboss.tools.common.kb.test/src/org/jboss/t= ools/common/kb/test/TldTest.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.kb.test/src/org/jboss/tools/c= ommon/kb/test/TldTest.java 2008-01-14 07:55:17 UTC (rev 5660) +++ trunk/common/tests/org.jboss.tools.common.kb.test/src/org/jboss/tools/c= ommon/kb/test/TldTest.java 2008-01-14 13:54:29 UTC (rev 5661) @@ -110,9 +110,6 @@ NodeList nl =3D parentElement.getElementsByTagName(elementName); Node node =3D nl.item(0); String value =3D node.getTextContent(); - if(value=3D=3Dnull) { - System.out.println("!"); - } return value.trim(); } = --===============6420492697630159898==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 09:27:23 2008 Content-Type: multipart/mixed; boundary="===============1854077720644354095==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5662 - trunk/seam/docs/reference/en/images/create_new_seam. Date: Mon, 14 Jan 2008 09:27:23 -0500 Message-ID: --===============1854077720644354095== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-14 09:27:22 -0500 (Mon, 14 Jan 2008) New Revision: 5662 Added: trunk/seam/docs/reference/en/images/create_new_seam/create_seam13_1.png trunk/seam/docs/reference/en/images/create_new_seam/create_seam8_2.png Modified: trunk/seam/docs/reference/en/images/create_new_seam/create_seam8_1.png Log: http://jira.jboss.com/jira/browse/JBDS-234 - adding new screenshots = Added: trunk/seam/docs/reference/en/images/create_new_seam/create_seam13_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) Property changes on: trunk/seam/docs/reference/en/images/create_new_seam/cr= eate_seam13_1.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/seam/docs/reference/en/images/create_new_seam/create_seam8_= 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) Added: trunk/seam/docs/reference/en/images/create_new_seam/create_seam8_2.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/seam/docs/reference/en/images/create_new_seam/cr= eate_seam8_2.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream --===============1854077720644354095==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 09:28:00 2008 Content-Type: multipart/mixed; boundary="===============4623398654488549027==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5663 - trunk/seam/docs/reference/en/modules. Date: Mon, 14 Jan 2008 09:28:00 -0500 Message-ID: --===============4623398654488549027== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-14 09:28:00 -0500 (Mon, 14 Jan 2008) New Revision: 5663 Modified: trunk/seam/docs/reference/en/modules/creating_new_seam.xml Log: http://jira.jboss.com/jira/browse/JBDS-234 - updating according to Svetlana= Mukhina remarks Modified: trunk/seam/docs/reference/en/modules/creating_new_seam.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/docs/reference/en/modules/creating_new_seam.xml 2008-01-14 1= 4:27:22 UTC (rev 5662) +++ trunk/seam/docs/reference/en/modules/creating_new_seam.xml 2008-01-14 1= 4:28:00 UTC (rev 5663) @@ -11,8 +11,8 @@ Creating a New Seam Project via the New Seam Project wizard</ti= tle> <para>In this chapter we provide you with the necessary steps to start= working with Seam Framework.</para> - <para>At first, we suggest setting the specific Seam perspective that = provides a necessary type - of functionality. For that select <emphasis> + <para>At first, we suggest setting the specific Seam perspective that = combines a number of + different views and editors needed for work with resources concern= ed. For that select <emphasis> <property>Window > Open Perspective > Other > Seam</property> </emphasis> or you can also access it through the button in the ri= ght top corner.</para> = @@ -31,14 +31,14 @@ experiment with it by creating variations.</para> <para>Thus, you should select <emphasis> <property>File > New > Seam Web Project</property> - </emphasis> to run the <property>New Seam Project</property> w= izard. It's necessary to - enter a name and a location directory for your new project. Th= e next wizard forms allow - you to create runtime and server instances in order to get sta= rted creating, running, - and debugging J2EE applications.</para> + </emphasis> to run the <property>New Seam Project</property> w= izard. The wizard form + allows you to create runtime and server instances in order to = get started creating, + running, and debugging J2EE applications.</para> <para>Seam Web Project wizard has an option for selecting the actu= al Server (not just WTP runtime) that will be used for the project. This allows the wi= zard to identify correctly where the required datasource and driver libraries need to go.= </para> - <para>Let's get through the wizard step-by-step. First, you s= hould type the name of your new project.</para> + <para>Let's get through the wizard step-by-step. First, you s= hould enter a name and + a location directory for your new project</para> <figure> <title>New Seam Project Wizard @@ -51,10 +51,10 @@ = Clicking on New... - button in the Target Runtime section brings us to = another dialog. Here, you - can specify a new installed Runtime environment or the other t= ype of runtime appropriate - for configuring your project. Let's create a JBoss 4.2 Runtime= . For that after choosing - it click on + button in the Target Runtime section will bring yo= u to another dialog. Here, + you can specify a new installed Runtime environment or the oth= er type of runtime + appropriate for configuring your project. Let's create a JBoss= 4.2 Runtime. For that + after choosing it click on Next button. = @@ -144,17 +144,18 @@ = The last section on this wizard step is Configurat= ions. You can - select one of the pre-defined project configurations or create= your own. Having all needed options arranged click on = - Next to pass on to t= he other wizard. + select one of the pre-defined project configurations or create= your own. Having all + needed options arranged click on + Next + to pass on to the other wizard.
=
Select the Project Facets = - This page of the wizard allows you to enable or disable spec= ific facets. You can save - or delete your preset of selected facets clicking on - Save - button. + This page of the wizard allows you to enable or disable spec= ific facets that define + necessary characteristics for the project. The moment you swit= ch to this wizard form, + all critical facets are already checked for the chosen Dynamic= Web Project. =
Project Facets Selection @@ -165,6 +166,20 @@
= + Moreover, you can specify your own preset of selected facets= by checking needed ones + in project facets window and clicking on + Save + button. + +
+ Specifying Custom Facet Preset + + + + + +
+ You can also see all available runtimes after clicking on Show Runtimes or create new ones using the @@ -175,21 +190,29 @@ Project Facets Selection - + = + Here, if more than one runtimes are checked, the + Make Primary + button won't be dimmed yet. So you can make u= se of it to mark + primary runtime. - Next - button will bring you to the Web Module wizard. + Next + button will bring you to the Web Module wizard for= m.
=
How to Configure Web Module Settings - A dynamic web application contains both web pages and Java c= ode. The wizard will ask - you where you want to put those files. You can just leave the = default values. = + As we deal with a dynamic web application we should first s= pecify the top level + directory of our application for deploying it to a server afte= rwards. You know, this + kind of application contains both Web and Java code resources.= Thus, it's also important + to indicate the content directory as well as Java source direc= tory. The wizard will put + all those values itself. So you can leave everything as it is.= +
Web Module Settings @@ -198,13 +221,16 @@
- = + Choose + Next + to switch to the next wizard form.
- = +
Adding JSF Capabilities = - This wizard helps you to add JSF capabilities into your proj= ect. + This wizard helps you to add JSF capabilities into your proj= ect for representing + appropriate behaviours associated with JSF. Checking Server Supplied JSF Implementation means that you will have a default JSF implementat= ion given by server. @@ -222,9 +248,11 @@ button. You are able to create a library of jars by clicking o= n New button. - Here, it's necessary to type a Library Name, select a Version - Supported and add proper Library jars. Then click on - Finish. + Here, it's necessary to type a Library Name, select a + Version Supported and add proper Library + jars. Then click on + Finish + to complete the choice.
Create JSF Implementation Library @@ -234,10 +262,13 @@
= - You can also add a Component Libraries = (e.g. Richfaces) clicking - on + In the Component Libraries section of the wizard you can als= o add Component + Libraries (e.g. Richfaces). Just click on New - button in the Component Libraries section. + button. Appeared dialog will ask you to type the L= ibrary name, supported + version and add necessary jar's. Press + Finish + to complete the choice.
=
Create JSF Implementation Library @@ -260,6 +291,9 @@
+ + Finally, as we are arranging the Seam Web project, the last = step we should do is to adjust project + configurations associated with Seam.
=
@@ -277,12 +311,12 @@ = - Create Seam runtime and define Seam home folder. Cli= ck on - Add - button in the General= section. + Create Seam runtime and define Seam home folder. - Notice that in this wizard presented below you can create a = Seam runtime only for that + For that click on + Add + button in the General section. No= tice that in this wizard presented below you can create a Seam runtime only= for that version which was selected in the Project Facets wizard (version 1.2 in our case). = @@ -314,7 +348,7 @@ - + = and create a @@ -326,6 +360,15 @@ =
+ Connection Profile Options + + + + + +
+ = +
Connection Profile Selecting @@ -352,6 +395,7 @@ Click on Finish to generate a project. - + = +
--===============4623398654488549027==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 11:18:08 2008 Content-Type: multipart/mixed; boundary="===============0535919095240643745==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5664 - in trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test: src/org/jboss/tools/struts/vpe/struts/test and 1 other directory. Date: Mon, 14 Jan 2008 11:14:07 -0500 Message-ID: --===============0535919095240643745== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-14 11:14:07 -0500 (Mon, 14 Jan 2008) New Revision: 5664 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/form/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsFormComponentTest.java trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsNestedComponentTest.java Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsAllTests.java Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org= /jboss/tools/struts/vpe/struts/test/StrutsAllTests.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsAllTests.java 2008-01-14 14:28:00 UTC (= rev 5663) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsAllTests.java 2008-01-14 16:14:07 UTC (= rev 5664) @@ -33,6 +33,8 @@ suite.addTestSuite(StrutsHTMLComponentTest.class); suite.addTestSuite(StrutsBeanComponentTest.class); suite.addTestSuite(StrutsLogicComponentTest.class); + suite.addTestSuite(StrutsFormComponentTest.class); + suite.addTestSuite(StrutsNestedComponentTest.class); //cleanUpTests(); // $JUnit-END$ return new VpeTestSetup(suite,TestUtil.createImportBeanList(StrutsHTMLCo= mponentTest.IMPORT_PROJECT_NAME, StrutsTestPlugin.getPluginResourcePath())); Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jb= oss/tools/struts/vpe/struts/test/StrutsFormComponentTest.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsFormComponentTest.java = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsFormComponentTest.java 2008-01-14 16:14= :07 UTC (rev 5664) @@ -0,0 +1,87 @@ +/*************************************************************************= ****** = + * 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.struts.vpe.struts.test; + +import org.eclipse.core.resources.IFile; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; + +/** + * Class for testing form struts components + * = + * @author dazarov + * = + */ +public class StrutsFormComponentTest extends VpeTest { + + // import project name + static final String IMPORT_PROJECT_NAME =3D "StrutsTest"; + + public StrutsFormComponentTest(String name) { + super(name); + } + + /* + * Struts Form test cases + */ + + public void testCancel() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= form/cancel.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testCheckbox() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= form/checkbox.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testFile() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= form/file.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testForm() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= form/form.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testHidden() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= form/hidden.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testMultibox() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= form/multibox.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testOption() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= form/option.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testOptions() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= form/options.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testRadio() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= form/radio.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testReset() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= form/reset.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testSelect() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= form/select.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testSubmit() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= form/submit.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testText() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= form/text.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } +} Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jb= oss/tools/struts/vpe/struts/test/StrutsNestedComponentTest.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsNestedComponentTest.java = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsNestedComponentTest.java 2008-01-14 16:= 14:07 UTC (rev 5664) @@ -0,0 +1,55 @@ +/*************************************************************************= ****** = + * 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.struts.vpe.struts.test; + +import org.eclipse.core.resources.IFile; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; + +/** + * Class for testing nested struts components + * = + * @author dazarov + * = + */ +public class StrutsNestedComponentTest extends VpeTest { + + // import project name + static final String IMPORT_PROJECT_NAME =3D "StrutsTest"; + + public StrutsNestedComponentTest(String name) { + super(name); + } + + /* + * Struts Nested test cases + */ + + public void testNest() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/nest.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testRoot() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/root.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testSelect() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/select.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testText() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/text.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testWriteNesting() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/writeNesting.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } +} --===============0535919095240643745==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 11:18:44 2008 Content-Type: multipart/mixed; boundary="===============8830753090820712188==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5665 - in trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components: nested and 1 other directory. Date: Mon, 14 Jan 2008 11:14:44 -0500 Message-ID: --===============8830753090820712188== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-14 11:14:44 -0500 (Mon, 14 Jan 2008) New Revision: 5665 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/form/cancel.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/form/checkbox.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/form/file.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/form/form.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/form/hidden.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/form/multibox.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/form/option.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/form/options.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/form/radio.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/form/reset.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/form/select.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/form/submit.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/form/text.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/nest.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/root.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/select.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/text.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/writeNesting.jsp Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/form/cancel.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/cancel.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/cancel.jsp 2008-01-14 16:14:44 UTC= (rev 5665) @@ -0,0 +1,11 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/form/checkbox.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/checkbox.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/checkbox.jsp 2008-01-14 16:14:44 U= TC (rev 5665) @@ -0,0 +1,13 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + Option1
+ Option2
+ Option3
+
+ +
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/form/file.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/file.jsp (= rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/file.jsp 2008-01-14 16:14:44 UTC (= rev 5665) @@ -0,0 +1,11 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/form/form.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/form.jsp (= rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/form.jsp 2008-01-14 16:14:44 UTC (= rev 5665) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/form/hidden.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/hidden.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/hidden.jsp 2008-01-14 16:14:44 UTC= (rev 5665) @@ -0,0 +1,11 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/form/multibox.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/multibox.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/multibox.jsp 2008-01-14 16:14:44 U= TC (rev 5665) @@ -0,0 +1,12 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + Value2 + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/form/option.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/option.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/option.jsp 2008-01-14 16:14:44 UTC= (rev 5665) @@ -0,0 +1,18 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + Orange + Purple + Red + Blue + Green + Yellow + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/form/options.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/options.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/options.jsp 2008-01-14 16:14:44 UT= C (rev 5665) @@ -0,0 +1,13 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/form/radio.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/radio.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/radio.jsp 2008-01-14 16:14:44 UTC = (rev 5665) @@ -0,0 +1,12 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + Radio Button 1
+ Radio Button 2 +
+ +
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/form/reset.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/reset.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/reset.jsp 2008-01-14 16:14:44 UTC = (rev 5665) @@ -0,0 +1,11 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/form/select.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/select.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/select.jsp 2008-01-14 16:14:44 UTC= (rev 5665) @@ -0,0 +1,13 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/form/submit.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/submit.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/submit.jsp 2008-01-14 16:14:44 UTC= (rev 5665) @@ -0,0 +1,11 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/form/text.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/text.jsp (= rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/text.jsp 2008-01-14 16:14:44 UTC (= rev 5665) @@ -0,0 +1,12 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + +
+ Text +
+ +
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/nest.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/nest.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/nest.jsp 2008-01-14 16:14:44 UTC= (rev 5665) @@ -0,0 +1,11 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/root.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/root.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/root.jsp 2008-01-14 16:14:44 UTC= (rev 5665) @@ -0,0 +1,11 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/select.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/select.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/select.jsp 2008-01-14 16:14:44 U= TC (rev 5665) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + Gender: + Male + Female + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/text.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/text.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/text.jsp 2008-01-14 16:14:44 UTC= (rev 5665) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + Street 1:
+ Street 2:
+ City: +
+ +
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/writeNesting.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/writeNesting.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/writeNesting.jsp 2008-01-14 16:1= 4:44 UTC (rev 5665) @@ -0,0 +1,12 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + Current nesting is:
+
+ +
--===============8830753090820712188==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 12:44:21 2008 Content-Type: multipart/mixed; boundary="===============7660029117147674439==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5666 - in trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces: resources/contextMenu and 2 other directories. Date: Mon, 14 Jan 2008 12:44:21 -0500 Message-ID: --===============7660029117147674439== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-14 12:44:21 -0500 (Mon, 14 Jan 2008) New Revision: 5666 Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/contextMen= u/ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/contextMen= u/background.gif trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/contextMen= u/contextMenu.css trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/contextMen= u/spacer.gif trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/= jsf/vpe/richfaces/template/RichFacesContextMenuTemplate.java Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templa= tes-richfaces.xml Log: http://jira.jboss.com/jira/browse/JBIDE-1581 Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/contex= tMenu/background.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/plugins/org.jboss.tools.jsf.vpe.richfaces/re= sources/contextMenu/background.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/contex= tMenu/contextMenu.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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.vpe.richfaces/resources/contextMe= nu/contextMenu.css (rev 0) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/contextMe= nu/contextMenu.css 2008-01-14 17:44:21 UTC (rev 5666) @@ -0,0 +1,39 @@ +(a)CHARSET "UTF-8"; + +.dr-menu-list-border { + background-width: 2px; + background-color: #F1EEE9; + border-color: #000000; +} + +.rich-menu-item { + text-align: left; +} + +.dr-menu-item { + color: #000000; + font-family: Arial, Verdana, sans-serif; + font-size: 11px; +} + +.dr-menu-icon { + margin-right: 10px; +} + +.dr-menu-item-enabled { + border: 0pt solid transparent; + padding: 2px 36px 2px 2px; +} + +.dr-menu-list-bg { + background: transparent none repeat-y scroll left center; + border-left-style: solid; + border-left-width: 1px; + border-right-style: solid; + border-right-width: 1px; + border-top-style: solid; + border-top-width: 1px; + border-left-color: #F1EEE9; + border-right-color: #F1EEE9; + border-top-color: #F1EEE9; +} \ No newline at end of file Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/contex= tMenu/spacer.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/plugins/org.jboss.tools.jsf.vpe.richfaces/re= sources/contextMenu/spacer.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/to= ols/jsf/vpe/richfaces/template/RichFacesContextMenuTemplate.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/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/template/RichFacesContextMenuTemplate.java = (rev 0) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/template/RichFacesContextMenuTemplate.java 2008-01-14 17= :44:21 UTC (rev 5666) @@ -0,0 +1,128 @@ +/*************************************************************************= ****** + * 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.jsf.vpe.richfaces.template; + +import java.util.List; + +import org.jboss.tools.jsf.vpe.richfaces.ComponentUtil; +import org.jboss.tools.jsf.vpe.richfaces.HtmlComponentUtil; +import org.jboss.tools.jsf.vpe.richfaces.RichFacesTemplatesActivator; +import org.jboss.tools.vpe.editor.context.VpePageContext; +import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate; +import org.jboss.tools.vpe.editor.template.VpeCreationData; +import org.mozilla.interfaces.nsIDOMDocument; +import org.mozilla.interfaces.nsIDOMElement; +import org.mozilla.interfaces.nsIDOMText; +import org.w3c.dom.Element; +import org.w3c.dom.Node; + +/** + * Template for Rich Faces contextMenu + * = + * @author dsakovich(a)exadel.com + */ +public class RichFacesContextMenuTemplate extends VpeAbstractTemplate { + + private final static String STYLE_PATH =3D "contextMenu/contextMenu.cs= s"; + private final static String IMAGE_PATH =3D "contextMenu/spacer.gif"; + private final static String BACKGROUND_PATH =3D "contextMenu/backgroun= d.gif"; + private final static String MENU_ITEM_NODE_NAME =3D "menuItem"; + private final static String VALUE =3D "value"; + private final static String DIV_STYLE =3D "border : 1px solid #C4C0B9;= "; + + public VpeCreationData create(VpePageContext pageContext, Node sourceN= ode, + nsIDOMDocument visualDocument) { + + ComponentUtil.setCSSLink(pageContext, STYLE_PATH, + "richFacesContextMenu"); + Element sourceElement =3D (Element) sourceNode; + + nsIDOMElement parentDiv =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + + parentDiv.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "dr-menu-list-border"); + nsIDOMElement div =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + + div.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "dr-menu-list-bg rich-menu-list-bg dr-menu-list-border"); + + String path =3D RichFacesTemplatesActivator.getPluginResourcePath() + + BACKGROUND_PATH; + + div.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, + "background-image: url(file://" + path + "); " + DIV_STYLE); + + parentDiv.appendChild(div); + List listItems =3D ComponentUtil.getChildren(sourceElement, false); + + for (Node node : listItems) { + nsIDOMElement element =3D createMenuItem(visualDocument, node); + if (element !=3D null) + div.appendChild(element); + } + + VpeCreationData creationData =3D new VpeCreationData(parentDiv); + + return creationData; + + } + + /** + * Create menu item + * = + * @param document + * @param sourceNode + * @return + */ + private nsIDOMElement createMenuItem(nsIDOMDocument document, + Node sourceNode) { + + Element sourceElement =3D (Element) sourceNode; + + String nodeName =3D sourceElement.getPrefix() + ":" + MENU_ITEM_NODE_NAME; + if (!sourceElement.getNodeName().equalsIgnoreCase(nodeName)) { + return null; + } + String value =3D sourceElement.getAttribute(VALUE); + nsIDOMElement div =3D document + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + div + .setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "dr-menu-item rich-menu-item dr-menu-item-enabled rich-menu-item-enable= d"); + + nsIDOMElement span =3D document + .createElement(HtmlComponentUtil.HTML_TAG_SPAN); + span.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "dr-menu-icon rich-menu-item-icon"); + + nsIDOMElement img =3D document + .createElement(HtmlComponentUtil.HTML_TAG_IMG); + img.setAttribute(HtmlComponentUtil.HTML_ATR_WIDTH, "16"); + img.setAttribute(HtmlComponentUtil.HTML_ATR_HEIGHT, "16"); + ComponentUtil.setImg(img, IMAGE_PATH); + + nsIDOMElement textSpan =3D document + .createElement(HtmlComponentUtil.HTML_TAG_SPAN); + textSpan.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "rich-menu-item-label"); + + nsIDOMText text =3D document.createTextNode((value =3D=3D null) ? "" : va= lue); + + textSpan.appendChild(text); + span.appendChild(img); + div.appendChild(span); + div.appendChild(textSpan); + + return div; + } +} Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe= -templates-richfaces.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/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templ= ates-richfaces.xml 2008-01-14 16:14:44 UTC (rev 5665) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templ= ates-richfaces.xml 2008-01-14 17:44:21 UTC (rev 5666) @@ -525,6 +525,12 @@
= + + + + + = --===============7660029117147674439==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 13:08:48 2008 Content-Type: multipart/mixed; boundary="===============8800803048570032380==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5667 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test: src/org/jboss/tools/jsf/vpe/richfaces/test and 1 other directory. Date: Mon, 14 Jan 2008 13:08:48 -0500 Message-ID: --===============8800803048570032380== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-14 13:08:47 -0500 (Mon, 14 Jan 2008) New Revision: 5667 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/contextMenu.xhtml Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/too= ls/jsf/vpe/richfaces/test/RichFacesComponentTest.java Log: JUnit test for http://jira.jboss.com/jira/browse/JBIDE-1581 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/contextMenu.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/contextMenu.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/components/contextMenu.xhtml 2008-01-14 18:08:47 U= TC (rev 5667) @@ -0,0 +1,18 @@ + + + + + + + + + + + + \ No newline at end of file Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jb= oss/tools/jsf/vpe/richfaces/test/RichFacesComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesComponentTest.java 2008-01-14 17:44:21 = UTC (rev 5666) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesComponentTest.java 2008-01-14 18:08:47 = UTC (rev 5667) @@ -10,10 +10,21 @@ *************************************************************************= *****/ package org.jboss.tools.jsf.vpe.richfaces.test; = +import java.util.ArrayList; +import java.util.List; + import org.eclipse.core.resources.IFile; +import org.eclipse.ui.IEditorInput; import org.eclipse.ui.PartInitException; +import org.eclipse.ui.part.FileEditorInput; +import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; +import org.jboss.tools.vpe.editor.util.HTML; import org.jboss.tools.vpe.ui.test.TestUtil; import org.jboss.tools.vpe.ui.test.VpeTest; +import org.mozilla.interfaces.nsIDOMDocument; +import org.mozilla.interfaces.nsIDOMElement; +import org.mozilla.interfaces.nsIDOMNode; +import org.mozilla.interfaces.nsIDOMText; = /** * Class for testing all RichFaces components @@ -23,183 +34,250 @@ */ public class RichFacesComponentTest extends VpeTest { = - // import project name - public static final String IMPORT_PROJECT_NAME =3D "richFacesTest"; + // import project name + public static final String IMPORT_PROJECT_NAME =3D "richFacesTest"; = - public RichFacesComponentTest(String name) { - super(name); - setCheckWarning(false); - } + public RichFacesComponentTest(String name) { + super(name); + setCheckWarning(false); + } = - public void testAllComponentsOnSinglePage() throws PartInitException, - Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/richFacesTest.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testAllComponentsOnSinglePage() throws PartInitException, + Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/richFacesTest.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testCalendar() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/calendar.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testCalendar() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/calendar.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testDataDefinitionList() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/dataDefinitionList.xhtml", IMPORT_PROJECT_NAME)); // $NON-= NLS-1$ - } + public void testDataDefinitionList() throws PartInitException, Throwab= le { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dataDefinitionList.xhtml", IMPORT_PROJECT_NAME)); // $NON-NL= S-1$ + } = - public void testDataFilterSlider() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/dataFilterSlider.xhtml", IMPORT_PROJECT_NAME)); // $NON-NL= S-1$ - } + public void testDataFilterSlider() throws PartInitException, Throwable= { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dataFilterSlider.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-= 1$ + } = - public void testDataGrid() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/dataGrid.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testDataGrid() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dataGrid.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testDataList() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/dataList.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testDataList() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dataList.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testDataOrderedList() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/dataOrderedList.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS= -1$ - } + public void testDataOrderedList() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dataOrderedList.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testDataScroller() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/dataScroller.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testDataScroller() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dataScroller.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testDataTable() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/dataTable.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testDataTable() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dataTable.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testDragAndDrop() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/dragAndDrop.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testDragAndDrop() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dragAndDrop.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testDropDawnMenu() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/dropDawnMenu.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testDropDawnMenu() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dropDawnMenu.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testEffect() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/effect.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testEffect() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/effect.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testGoogleMap() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/googleMap.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testGoogleMap() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/googleMap.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testInputNumberSlider() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/inputNumberSlider.xhtml", IMPORT_PROJECT_NAME)); // $NON-N= LS-1$ - } + public void testInputNumberSlider() throws PartInitException, Throwabl= e { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/inputNumberSlider.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS= -1$ + } = - public void testInputNumberSpinner() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/inputNumberSpinner.xhtml", IMPORT_PROJECT_NAME)); // $NON-= NLS-1$ - } + public void testInputNumberSpinner() throws PartInitException, Throwab= le { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/inputNumberSpinner.xhtml", IMPORT_PROJECT_NAME)); // $NON-NL= S-1$ + } = - public void testInsert() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/insert.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testInsert() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/insert.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testMessage() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/message.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testMessage() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/message.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testMessages() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/messages.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testMessages() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/messages.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testModalPanel() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/modalPanel.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testModalPanel() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/modalPanel.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testPaint2D() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/paint2D.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testPaint2D() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/paint2D.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testPanel() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/panel.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testPanel() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/panel.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testPanelBar() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/panelBar.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testPanelBar() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/panelBar.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testPanelMenu() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/panelMenu.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testPanelMenu() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/panelMenu.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testScrollableDataTable() throws PartInitException, Throwable= { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/scrollableDataTable.xhtml", IMPORT_PROJECT_NAME)); // $NON= -NLS-1$ - } + public void testScrollableDataTable() throws PartInitException, Throwa= ble { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/scrollableDataTable.xhtml", IMPORT_PROJECT_NAME)); // $NON-N= LS-1$ + } = - public void testSeparator() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/separator.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testSeparator() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/separator.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testSimpleTogglePanel() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/simpleTogglePanel.xhtml", IMPORT_PROJECT_NAME)); // $NON-N= LS-1$ - } + public void testSimpleTogglePanel() throws PartInitException, Throwabl= e { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/simpleTogglePanel.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS= -1$ + } = - public void testSpacer() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/spacer.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testSpacer() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/spacer.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testSuggestionBox() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/suggestionbox.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testSuggestionBox() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/suggestionbox.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testTabPanel() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/tabPanel.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testTabPanel() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/tabPanel.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testTogglePanel() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/togglePanel.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testTogglePanel() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/togglePanel.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testToolBar() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/toolBar.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testToolBar() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/toolBar.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testTree() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/tree.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } + public void testTree() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/tree.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testVirtualEarth() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/virtualEarth.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ - } - = - public void testComponentControl() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/componentControl.xhtml", IMPORT_PROJECT_NAME)); // $NON-NL= S-1$ - } + public void testVirtualEarth() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/virtualEarth.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = + public void testComponentControl() throws PartInitException, Throwable= { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/componentControl.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-= 1$ + } + + public void testcontextMenu() throws Throwable { + nsIDOMElement element =3D performTestForRichFacesComponent("components/co= ntextMenu.xhtml"); + + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "span" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_SPAN); + + assertEquals("Component's content is not shown", 4, elements.size()); + + nsIDOMElement elementSpan =3D (nsIDOMElement) elements.get(1) + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + + nsIDOMText text =3D (nsIDOMText) elementSpan.getFirstChild() + .queryInterface(nsIDOMText.NS_IDOMTEXT_IID); + + nsIDOMElement elementSpan1 =3D (nsIDOMElement) elements.get(3) + .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); + + nsIDOMText text1 =3D (nsIDOMText) elementSpan1.getFirstChild() + .queryInterface(nsIDOMText.NS_IDOMTEXT_IID); + + assertEquals("Component's content is not shown", text.getNodeValue(), + "Zoom In"); + assertEquals("Component's content is not shown", text1.getNodeValue(), + "Zoom Out"); + + } + + /** + * = + * @param componentPage + * @return + * @throws Throwable + */ + private nsIDOMElement performTestForRichFacesComponent(String componen= tPage) + throws Throwable { + TestUtil.waitForJobs(); + // set exception + setException(null); + + // get test page path + IFile file =3D (IFile) TestUtil.getComponentPath(componentPage, + IMPORT_PROJECT_NAME); + + assertNotNull("Could not open specified file " + file.getFullPath(), + file); + + IEditorInput input =3D new FileEditorInput(file); + + assertNotNull("Editor input is null", input); + // open and get editor + JSPMultiPageEditor part =3D openEditor(input); + + // get dom document + nsIDOMDocument document =3D getVpeVisualDocument(part); + nsIDOMElement element =3D document.getDocumentElement(); + + // check that element is not null + assertNotNull(element); + + return element; + } + } --===============8800803048570032380==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 13:48:21 2008 Content-Type: multipart/mixed; boundary="===============6105352468432787178==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5668 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template. Date: Mon, 14 Jan 2008 13:48:21 -0500 Message-ID: --===============6105352468432787178== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-14 13:48:21 -0500 (Mon, 14 Jan 2008) New Revision: 5668 Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/= jsf/vpe/richfaces/template/RichFacesContextMenuTemplate.java Log: http://jira.jboss.com/jira/browse/JBIDE-1581 Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss= /tools/jsf/vpe/richfaces/template/RichFacesContextMenuTemplate.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/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/template/RichFacesContextMenuTemplate.java 2008-01-14 18= :08:47 UTC (rev 5667) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/template/RichFacesContextMenuTemplate.java 2008-01-14 18= :48:21 UTC (rev 5668) @@ -50,25 +50,25 @@ = parentDiv.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "dr-menu-list-border"); - nsIDOMElement div =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_DIV); + nsIDOMElement table =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TABLE); = - div.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + table.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "dr-menu-list-bg rich-menu-list-bg dr-menu-list-border"); = String path =3D RichFacesTemplatesActivator.getPluginResourcePath() + BACKGROUND_PATH; = - div.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, + table.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, "background-image: url(file://" + path + "); " + DIV_STYLE); = - parentDiv.appendChild(div); + parentDiv.appendChild(table); List listItems =3D ComponentUtil.getChildren(sourceElement, false); = for (Node node : listItems) { nsIDOMElement element =3D createMenuItem(visualDocument, node); if (element !=3D null) - div.appendChild(element); + table.appendChild(element); } = VpeCreationData creationData =3D new VpeCreationData(parentDiv); --===============6105352468432787178==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 14:03:12 2008 Content-Type: multipart/mixed; boundary="===============8557480069485579969==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5669 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test: META-INF and 1 other directory. Date: Mon, 14 Jan 2008 14:03:03 -0500 Message-ID: --===============8557480069485579969== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-14 14:03:03 -0500 (Mon, 14 Jan 2008) New Revision: 5669 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/plugin.xml Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties Log: http://jira.jboss.com/jira/browse/JBIDE-1562, was added extensions points t= o tests which allows collect all testcases together and was added class whi= ch collect all test cases together and run it's Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFE= ST.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/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF = 2008-01-14 18:48:21 UTC (rev 5668) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/META-INF/MANIFEST.MF = 2008-01-14 19:03:03 UTC (rev 5669) @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Test Html Plug-in -Bundle-SymbolicName: org.jboss.tools.jsf.vpe.html.test +Bundle-SymbolicName: org.jboss.tools.jsf.vpe.html.test;singleton:=3Dtrue Bundle-Version: 1.0.0 Bundle-Activator: org.jboss.tools.jsf.vpe.html.test.HtmlTestPlugin Require-Bundle: org.eclipse.ui, Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties 2008= -01-14 18:48:21 UTC (rev 5668) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/build.properties 2008= -01-14 19:03:03 UTC (rev 5669) @@ -1,10 +1,11 @@ bin.includes =3D META-INF/,\ html-test.jar,\ - resources/ + resources/,\ + plugin.xml src.includes =3D META-INF/,\ build.properties,\ src/,\ resources/ jars.compile.order =3D html-test.jar source.html-test.jar =3D src/ -output.html-test.jar =3D bin/ \ No newline at end of file +output.html-test.jar =3D bin/ Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/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/jsf/tests/org.jboss.tools.jsf.vpe.html.test/plugin.xml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/plugin.xml 2008-01-14= 19:03:03 UTC (rev 5669) @@ -0,0 +1,13 @@ + + + + + + + + + --===============8557480069485579969==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 14:03:15 2008 Content-Type: multipart/mixed; boundary="===============0209486507403934792==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5670 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test: META-INF and 1 other directory. Date: Mon, 14 Jan 2008 14:03:08 -0500 Message-ID: --===============0209486507403934792== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-14 14:03:08 -0500 (Mon, 14 Jan 2008) New Revision: 5670 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/plugin.xml Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/build.properties Log: http://jira.jboss.com/jira/browse/JBIDE-1562, was added extensions points t= o tests which allows collect all testcases together and was added class whi= ch collect all test cases together and run it's Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF 2= 008-01-14 19:03:03 UTC (rev 5669) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/META-INF/MANIFEST.MF 2= 008-01-14 19:03:08 UTC (rev 5670) @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Jsf Test Plug-in -Bundle-SymbolicName: org.jboss.tools.jsf.vpe.jsf.test +Bundle-SymbolicName: org.jboss.tools.jsf.vpe.jsf.test;singleton:=3Dtrue Bundle-Version: 1.0.0 Bundle-Activator: org.jboss.tools.jsf.vpe.jsf.test.JsfTestPlugin Require-Bundle: org.eclipse.ui, Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/build.properties 2008-= 01-14 19:03:03 UTC (rev 5669) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/build.properties 2008-= 01-14 19:03:08 UTC (rev 5670) @@ -1,6 +1,7 @@ bin.includes =3D META-INF/,\ resources/,\ - jsf-test.jar + jsf-test.jar,\ + plugin.xml jars.compile.order =3D jsf-test.jar source.jsf-test.jar =3D src/ output.jsf-test.jar =3D bin/ Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/plugin.xml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/plugin.xml 2008-01-14 = 19:03:08 UTC (rev 5670) @@ -0,0 +1,12 @@ + + + + + + + + + --===============0209486507403934792==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 14:03:17 2008 Content-Type: multipart/mixed; boundary="===============2719796552169434736==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5671 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test: META-INF and 2 other directories. Date: Mon, 14 Jan 2008 14:03:17 -0500 Message-ID: --===============2719796552169434736== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-14 14:03:17 -0500 (Mon, 14 Jan 2008) New Revision: 5671 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/plugin.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/schema/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/schema/vpe.tests.exsd trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/VpeAllTests.java Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/META-INF/MANIFEST.MF Log: http://jira.jboss.com/jira/browse/JBIDE-1562, was added extensions points t= o tests which allows collect all testcases together and was added class whi= ch collect all test cases together and run it's Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/META-INF/MANIFEST.MF 20= 08-01-14 19:03:08 UTC (rev 5670) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/META-INF/MANIFEST.MF 20= 08-01-14 19:03:17 UTC (rev 5671) @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Visual Editor Test Plugin -Bundle-SymbolicName: org.jboss.tools.jsf.vpe.ui.test +Bundle-SymbolicName: org.jboss.tools.jsf.vpe.ui.test;singleton:=3Dtrue Bundle-Version: 1.0.0 Bundle-Activator: org.jboss.tools.vpe.ui.test.VPETestPlugin Require-Bundle: org.eclipse.ui, Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/plugin.xml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/plugin.xml 2008-01-14 1= 9:03:17 UTC (rev 5671) @@ -0,0 +1,5 @@ + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/schema/vpe.tests.exsd =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.ui.test/schema/vpe.tests.exsd = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/schema/vpe.tests.exsd 2= 008-01-14 19:03:17 UTC (rev 5671) @@ -0,0 +1,119 @@ + + + + + + + + + [Enter description of this extension point.] + + + + + + + + + + + + = + + + + + + + = + + + + + + + = + + + + + + + + + + + + + + + = + + + + + + + + + + = + + + + + + + = + + + + + + + + + + + + [Enter the first release in which this extension point appears.] + + + + + + + + + [Enter extension point usage example here.] + + + + + + + + + [Enter API information here.] + + + + + + + + + [Enter information about supplied implementation of this extensio= n point.] + + + + + + + + + = + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/= vpe/ui/test/VpeAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeAllTests.java (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeAllTests.java 2008-01-14 19:03:17 UTC (rev 5671) @@ -0,0 +1,82 @@ +/*************************************************************************= ****** = + * 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.vpe.ui.test; + +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; +import junit.framework.Test; +import junit.framework.TestSuite; +import org.eclipse.core.runtime.IConfigurationElement; +import org.eclipse.core.runtime.IExtension; +import org.eclipse.core.runtime.IExtensionPoint; +import org.eclipse.core.runtime.IExtensionRegistry; +import org.eclipse.core.runtime.Platform; +import org.osgi.framework.Bundle; + +/** + * @author Max Areshkau + * = + * Class created to run all ui tests for VPE together + */ +public class VpeAllTests { + + public static final String VPE_TEST_EXTENTION_POINT_ID =3D "org.jboss.too= ls.jsf.vpe.ui.tests"; + + public static final String TEST_SUITE_PARAM =3D "testSuite"; + = + public static final String METHOD_SUITE_NAME =3D "suite"; + + public static Test suite() { + + TestSuite result =3D new TestSuite(); + IExtensionRegistry extensionRepository =3D Platform + .getExtensionRegistry(); + + IExtensionPoint extensionPoint =3D extensionRepository + .getExtensionPoint(VPE_TEST_EXTENTION_POINT_ID); + IExtension[] extensions =3D extensionPoint.getExtensions(); + for (IExtension extension : extensions) { + IConfigurationElement[] confElements =3D extension + .getConfigurationElements(); + for (IConfigurationElement configurationElement : confElements) { + String clazz =3D configurationElement + .getAttribute(TEST_SUITE_PARAM); + try { + Bundle bundle =3D Platform.getBundle(configurationElement + .getNamespaceIdentifier()); + Class testObject =3D bundle.loadClass(clazz); + Method method =3D testObject.getMethod(METHOD_SUITE_NAME, null); + // null -because static method + Object res =3D method.invoke(null, null); + if (res instanceof Test) { + Test testSuite =3D (Test) res; + result.addTest(testSuite); + } + } catch (ClassNotFoundException e) { + VPETestPlugin.getDefault().logError(e); + } catch (SecurityException e) { + VPETestPlugin.getDefault().logError(e); + } catch (NoSuchMethodException e) { + VPETestPlugin.getDefault().logError(e); + } catch (IllegalArgumentException e) { + VPETestPlugin.getDefault().logError(e); + } catch (IllegalAccessException e) { + VPETestPlugin.getDefault().logError(e); + } catch (InvocationTargetException e) { + VPETestPlugin.getDefault().logError(e); + } + } + } + return result; + + } + +} --===============2719796552169434736==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 14:03:24 2008 Content-Type: multipart/mixed; boundary="===============5373625670378300126==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5672 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test: META-INF and 1 other directory. Date: Mon, 14 Jan 2008 14:03:23 -0500 Message-ID: --===============5373625670378300126== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-14 14:03:23 -0500 (Mon, 14 Jan 2008) New Revision: 5672 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/plugin.xml Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/META-INF/MANIFEST.= MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/build.properties Log: http://jira.jboss.com/jira/browse/JBIDE-1562, was added extensions points t= o tests which allows collect all testcases together and was added class whi= ch collect all test cases together and run it's Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/META-INF/MA= NIFEST.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/tests/org.jboss.tools.jsf.vpe.facelets.test/META-INF/MANIFEST= .MF 2008-01-14 19:03:17 UTC (rev 5671) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/META-INF/MANIFEST= .MF 2008-01-14 19:03:23 UTC (rev 5672) @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Test Plug-in -Bundle-SymbolicName: org.jboss.tools.jsf.vpe.facelets.test +Bundle-SymbolicName: org.jboss.tools.jsf.vpe.facelets.test;singleton:=3Dtr= ue Bundle-Version: 1.0.0 Bundle-Activator: org.jboss.tools.jsf.vpe.facelets.test.FaceletsTestPlugin Require-Bundle: org.eclipse.ui, Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/build.prope= rties =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/build.properties = 2008-01-14 19:03:17 UTC (rev 5671) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/build.properties = 2008-01-14 19:03:23 UTC (rev 5672) @@ -1,7 +1,8 @@ output.facelets-tests.jar =3D bin/ bin.includes =3D META-INF/,\ resources/,\ - facelets-tests.jar + facelets-tests.jar,\ + plugin.xml src.includes =3D META-INF/,\ build.properties,\ resources/,\ Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/plugin.xml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/plugin.xml 2008-0= 1-14 19:03:23 UTC (rev 5672) @@ -0,0 +1,13 @@ + + + + + + + + + --===============5373625670378300126==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 14:03:30 2008 Content-Type: multipart/mixed; boundary="===============2703581725972537746==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5673 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test: src/org/jboss/tools/jsf/vpe/richfaces/test and 1 other directory. Date: Mon, 14 Jan 2008 14:03:30 -0500 Message-ID: --===============2703581725972537746== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-14 14:03:30 -0500 (Mon, 14 Jan 2008) New Revision: 5673 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/plugin.xml Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/too= ls/jsf/vpe/richfaces/test/RichFacesAllTests.java Log: http://jira.jboss.com/jira/browse/JBIDE-1562, was added extensions points t= o tests which allows collect all testcases together and was added class whi= ch collect all test cases together and run it's Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/plugin.xml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/plugin.xml 2008-= 01-14 19:03:30 UTC (rev 5673) @@ -0,0 +1,9 @@ + + + + + + + + Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jb= oss/tools/jsf/vpe/richfaces/test/RichFacesAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesAllTests.java 2008-01-14 19:03:23 UTC (= rev 5672) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesAllTests.java 2008-01-14 19:03:30 UTC (= rev 5673) @@ -15,10 +15,10 @@ = import junit.framework.Test; import junit.framework.TestSuite; - import org.jboss.tools.vpe.ui.test.VpeTestSetup; import org.jboss.tools.vpe.ui.test.beans.ImportBean; = + /** * Class for testing all RichFaces components * = @@ -26,7 +26,7 @@ * = */ = -public class RichFacesAllTests { +public class RichFacesAllTests { = public static Test suite() { TestSuite suite =3D new TestSuite("Tests for Vpe RichFaces components");= // $NON-NLS-1$ --===============2703581725972537746==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 14:11:29 2008 Content-Type: multipart/mixed; boundary="===============3834431817918754803==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5674 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/META-INF. Date: Mon, 14 Jan 2008 14:11:29 -0500 Message-ID: --===============3834431817918754803== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-14 14:11:29 -0500 (Mon, 14 Jan 2008) New Revision: 5674 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/META-INF/MANIFEST= .MF Log: http://jira.jboss.com/jira/browse/JBIDE-1562 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/META-INF/M= ANIFEST.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/tests/org.jboss.tools.jsf.vpe.richfaces.test/META-INF/MANIFES= T.MF 2008-01-14 19:03:30 UTC (rev 5673) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/META-INF/MANIFES= T.MF 2008-01-14 19:11:29 UTC (rev 5674) @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Richfaces Test Plug-in -Bundle-SymbolicName: org.jboss.tools.jsf.vpe.richfaces.test +Bundle-SymbolicName: org.jboss.tools.jsf.vpe.richfaces.test;singleton:=3Dt= rue Bundle-Version: 1.0.0 Bundle-Activator: org.jboss.tools.jsf.vpe.richfaces.test.RichFacesTestPlug= in Require-Bundle: org.eclipse.ui, --===============3834431817918754803==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 14:13:59 2008 Content-Type: multipart/mixed; boundary="===============4537457429456269961==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5675 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template. Date: Mon, 14 Jan 2008 14:13:59 -0500 Message-ID: --===============4537457429456269961== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-14 14:13:59 -0500 (Mon, 14 Jan 2008) New Revision: 5675 Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/= jsf/vpe/richfaces/template/RichFacesContextMenuTemplate.java Log: http://jira.jboss.com/jira/browse/JBIDE-1581 Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss= /tools/jsf/vpe/richfaces/template/RichFacesContextMenuTemplate.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/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/template/RichFacesContextMenuTemplate.java 2008-01-14 19= :11:29 UTC (rev 5674) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/template/RichFacesContextMenuTemplate.java 2008-01-14 19= :13:59 UTC (rev 5675) @@ -45,11 +45,6 @@ "richFacesContextMenu"); Element sourceElement =3D (Element) sourceNode; = - nsIDOMElement parentDiv =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_DIV); - - parentDiv.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, - "dr-menu-list-border"); nsIDOMElement table =3D visualDocument .createElement(HtmlComponentUtil.HTML_TAG_TABLE); = @@ -62,7 +57,6 @@ table.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, "background-image: url(file://" + path + "); " + DIV_STYLE); = - parentDiv.appendChild(table); List listItems =3D ComponentUtil.getChildren(sourceElement, false); = for (Node node : listItems) { @@ -71,7 +65,7 @@ table.appendChild(element); } = - VpeCreationData creationData =3D new VpeCreationData(parentDiv); + VpeCreationData creationData =3D new VpeCreationData(table); = return creationData; = --===============4537457429456269961==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 14:53:31 2008 Content-Type: multipart/mixed; boundary="===============8219210252771223027==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5676 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test. Date: Mon, 14 Jan 2008 14:53:30 -0500 Message-ID: --===============8219210252771223027== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-14 14:53:30 -0500 (Mon, 14 Jan 2008) New Revision: 5676 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/VpeTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1628 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/too= ls/vpe/ui/test/VpeTest.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeTest.java 2008-01-14 19:13:59 UTC (rev 5675) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeTest.java 2008-01-14 19:53:30 UTC (rev 5676) @@ -20,6 +20,7 @@ import org.eclipse.ui.PartInitException; import org.eclipse.ui.PlatformUI; import org.eclipse.ui.part.FileEditorInput; +import org.jboss.tools.common.model.util.ClassLoaderUtil; import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; import org.jboss.tools.vpe.editor.VpeController; import org.jboss.tools.vpe.editor.VpeEditorPart; @@ -46,6 +47,12 @@ // check warning log private Boolean checkWarning; = + //FIX for JBIDE-1628 + static { + ClassLoaderUtil.init(); + //wait for initialization + TestUtil.delay(3000); + } = /** * = * @param name @@ -173,7 +180,7 @@ assertNotNull(editor); = TestUtil.waitForJobs(); - TestUtil.delay(1000); + TestUtil.delay(100); = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() .closeAllEditors(true); --===============8219210252771223027==-- From jbosstools-commits at lists.jboss.org Mon Jan 14 14:59:00 2008 Content-Type: multipart/mixed; boundary="===============4195644745121357125==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5677 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test. Date: Mon, 14 Jan 2008 14:58:59 -0500 Message-ID: --===============4195644745121357125== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-14 14:58:59 -0500 (Mon, 14 Jan 2008) New Revision: 5677 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/VpeTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1562, code adjustment Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/too= ls/vpe/ui/test/VpeTest.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeTest.java 2008-01-14 19:53:30 UTC (rev 5676) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeTest.java 2008-01-14 19:58:59 UTC (rev 5677) @@ -180,7 +180,7 @@ assertNotNull(editor); = TestUtil.waitForJobs(); - TestUtil.delay(100); + TestUtil.delay(1000); = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() .closeAllEditors(true); --===============4195644745121357125==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 03:36:11 2008 Content-Type: multipart/mixed; boundary="===============2952362771440380390==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5679 - in trunk/seam/tests/org.jboss.tools.seam.core.test: projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session and 1 other directories. Date: Tue, 15 Jan 2008 03:36:11 -0500 Message-ID: --===============2952362771440380390== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-15 03:36:11 -0500 (Tue, 15 Jan 2008) New Revision: 5679 Added: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam= /core/test/SeamValidatorsTestSetup.java Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestP= roject/.classpath trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestP= roject/src/action/org/domain/SeamWebWarTestProject/session/Component12.java trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam= /core/test/ScannerTest.java trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam= /core/test/SeamCoreAllTests.java trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam= /core/test/SeamValidatorsTest.java Log: SeamValidation tests were added to test suite. 1. Errors in test project fixed: .classpath should use default jre by defau= lt to make sure project will be compiled, it had to messageList components 2. Testsetup is used to make sure that project imported one time wor all va= lidation tests 3. After all job is finished delay should be used to make sure that Workben= chRunnable creating error markers has finished its work, only afer that tes= ts are working correct = Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebW= arTestProject/.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/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest= Project/.classpath 2008-01-14 21:14:04 UTC (rev 5678) +++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest= Project/.classpath 2008-01-15 08:36:11 UTC (rev 5679) @@ -1,7 +1,7 @@ - + Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebW= arTestProject/src/action/org/domain/SeamWebWarTestProject/session/Component= 12.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/projects/SeamWebWarTest= Project/src/action/org/domain/SeamWebWarTestProject/session/Component12.jav= a 2008-01-14 21:14:04 UTC (rev 5678) +++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTest= Project/src/action/org/domain/SeamWebWarTestProject/session/Component12.jav= a 2008-01-15 08:36:11 UTC (rev 5679) @@ -21,9 +21,9 @@ @DataModel = private List messageList=3Dnew ArrayList(); = - @Factory("messageList") = - public void findMessages() { - = + @Factory("messageList12") = + public List findMessages() { + return messageList; } = public List getList(){ Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/too= ls/seam/core/test/ScannerTest.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/ScannerTest.java 2008-01-14 21:14:04 UTC (rev 5678) +++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/sea= m/core/test/ScannerTest.java 2008-01-15 08:36:11 UTC (rev 5679) @@ -66,8 +66,6 @@ "org.jboss.tools.seam.core.test","/projects/TestScanner" , new NullPro= gressMonitor()); project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor()= ); EditorTestHelper.joinBackgroundActivities(); - project.build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMoni= tor()); - EditorTestHelper.joinBackgroundActivities(); } = private ISeamProject getSeamProject() { Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/too= ls/seam/core/test/SeamCoreAllTests.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/SeamCoreAllTests.java 2008-01-14 21:14:04 UTC (rev 5678) +++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/sea= m/core/test/SeamCoreAllTests.java 2008-01-15 08:36:11 UTC (rev 5679) @@ -31,8 +31,9 @@ suite.addTestSuite(SeamEARTest.class); suite.addTestSuite(SeamRuntimeListConverterTest.class); suite.addTestSuite(SeamRuntimeManagerTest.class); - = suite.addTestSuite(SeamFacetInstallDelegateTest.class); + suite.addTest(new SeamValidatorsTestSetup(new TestSuite(SeamValidatorsTe= st.class))); + // Seam 2 tests can't run on hudson for now ;( //suite.addTestSuite(Seam2FacetInstallDelegateTest.class); = 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 2008-01-14 21:14:04 UTC (rev 5678) +++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/sea= m/core/test/SeamValidatorsTest.java 2008-01-15 08:36:11 UTC (rev 5679) @@ -18,6 +18,7 @@ import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; +import org.eclipse.core.resources.IncrementalProjectBuilder; import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.NullProgressMonitor; @@ -31,27 +32,21 @@ import org.jboss.tools.seam.core.ISeamProject; import org.jboss.tools.seam.core.SeamCorePlugin; import org.jboss.tools.seam.core.SeamPreferences; +import org.jboss.tools.seam.core.test.project.facet.TestUtils; import org.jboss.tools.seam.internal.core.SeamProject; import org.jboss.tools.test.util.JUnitUtils; +import org.jboss.tools.test.util.ResourcesUtils; +import org.jboss.tools.test.util.xpl.EditorTestHelper; = public class SeamValidatorsTest extends TestCase { IProject project =3D null; - = - boolean makeCopy =3D true; = public SeamValidatorsTest() {} = protected void setUp() throws Exception { - TestProjectProvider providerEAR =3D new TestProjectProvider("org.jboss.t= ools.seam.core.test", null, "SeamWebWarTestProject", makeCopy); - project =3D providerEAR.getProject(); - - try { - project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor(= )); - } catch (Exception e) { - JUnitUtils.fail("Error in refreshing",e); - } - - refreshProject(project); + project =3D ResourcesPlugin.getWorkspace().getRoot().getProject("SeamWeb= WarTestProject"); + project.build(IncrementalProjectBuilder.FULL_BUILD, null); + EditorTestHelper.joinJobs(5000, 20000, 1000); } = private ISeamProject getSeamProject(IProject project) { @@ -67,13 +62,6 @@ return seamProject; } = - /** - * This empty test is meaningful as it gives Eclipse opportunity = - * to pass for the first time setUp() and show the license dialog = - * that may cause InterruptedException for XJob.waitForJob() - */ - public void testCreatingProject() { - } = public void testComponentsValidator() { ISeamProject seamProject =3D getSeamProject(project); @@ -97,7 +85,6 @@ IFile bbcComponentFile2 =3D project.getFile("src/action/org/domain/SeamW= ebWarTestProject/session/BbcComponent.2"); try{ bbcComponentFile.setContents(bbcComponentFile2.getContents(), true, fal= se, new NullProgressMonitor()); - bbcComponentFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'BbcComponent.java' content to " + "'BbcComponent.2'", ex); @@ -106,7 +93,7 @@ refreshProject(project); = number =3D getMarkersNumber(bbcComponentFile); - assertFalse("Problem marker 'Duplicate component name' not found", numbe= r =3D=3D 0); + assertFalse("Problem marker 'Duplicate component name' not found", numb= er =3D=3D 0); = String[] messages =3D getMarkersMessage(bbcComponentFile); = @@ -122,7 +109,6 @@ IFile statefulComponentFile2 =3D project.getFile("src/action/org/domain/= SeamWebWarTestProject/session/StatefulComponent.2"); try{ statefulComponentFile.setContents(statefulComponentFile2.getContents(),= true, false, new NullProgressMonitor()); - statefulComponentFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'StatefulComponent.java' content to = " + "'StatefulComponent.2'", ex); @@ -146,7 +132,6 @@ IFile statefulComponentFile3 =3D project.getFile("src/action/org/domain/= SeamWebWarTestProject/session/StatefulComponent.3"); try{ statefulComponentFile.setContents(statefulComponentFile3.getContents(),= true, false, new NullProgressMonitor()); - statefulComponentFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'StatefulComponent.java' content to = " + "'StatefulComponent.3'", ex); @@ -170,7 +155,6 @@ IFile statefulComponentFile4 =3D project.getFile("src/action/org/domain/= SeamWebWarTestProject/session/StatefulComponent.4"); try{ statefulComponentFile.setContents(statefulComponentFile4.getContents(),= true, false, new NullProgressMonitor()); - statefulComponentFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'StatefulComponent.java' content to = " + "'StatefulComponent.4'", ex); @@ -195,7 +179,6 @@ = try{ componentsFile.setContents(componentsFile2.getContents(), true, false, = new NullProgressMonitor()); - componentsFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'components.xml' content to " + "'components.2'", ex); @@ -220,7 +203,6 @@ = try{ componentsFile.setContents(componentsFile3.getContents(), true, false, = new NullProgressMonitor()); - componentsFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'components.xml' content to " + "'components.3'", ex); @@ -230,7 +212,6 @@ = try{ statefulComponentFile.setContents(statefulComponentFile5.getContents(),= true, false, new NullProgressMonitor()); - statefulComponentFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'StatefulComponent.java' content to = " + "'StatefulComponent.5'", ex); @@ -252,7 +233,6 @@ IFile bbcComponentFile3 =3D project.getFile("src/action/org/domain/SeamW= ebWarTestProject/session/BbcComponent.3"); try{ bbcComponentFile.setContents(bbcComponentFile3.getContents(), true, fal= se, new NullProgressMonitor()); - bbcComponentFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'BbcComponent.java' content to " + "'BbcComponent.3'", ex); @@ -273,7 +253,6 @@ IFile abcEntityFile2 =3D project.getFile("src/action/org/domain/SeamWebW= arTestProject/entity/abcEntity.2"); try{ abcEntityFile.setContents(abcEntityFile2.getContents(), true, false, ne= w NullProgressMonitor()); - abcEntityFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'abcEntity.java' content to " + "'abcEntity.2'", ex); @@ -297,7 +276,6 @@ IFile abcEntityFile3 =3D project.getFile("src/action/org/domain/SeamWebW= arTestProject/entity/abcEntity.3"); try{ abcEntityFile.setContents(abcEntityFile3.getContents(), true, false, ne= w NullProgressMonitor()); - abcEntityFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'abcEntity.java' content to " + "'abcEntity.3'", ex); @@ -340,7 +318,6 @@ IFile statefulComponentFile6 =3D project.getFile("src/action/org/domain/= SeamWebWarTestProject/session/StatefulComponent.6"); try{ statefulComponentFile.setContents(statefulComponentFile6.getContents(),= true, false, new NullProgressMonitor()); - statefulComponentFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'StatefulComponent.java' content to = " + "'StatefulComponent.6'", ex); @@ -373,7 +350,6 @@ IFile statefulComponentFile7 =3D project.getFile("src/action/org/domain/= SeamWebWarTestProject/session/StatefulComponent.7"); try{ statefulComponentFile.setContents(statefulComponentFile7.getContents(),= true, false, new NullProgressMonitor()); - statefulComponentFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'StatefulComponent.java' content to = " + "'StatefulComponent.7'", ex); @@ -406,7 +382,6 @@ IFile statefulComponentFile8 =3D project.getFile("src/action/org/domain/= SeamWebWarTestProject/session/StatefulComponent.8"); try{ statefulComponentFile.setContents(statefulComponentFile8.getContents(),= true, false, new NullProgressMonitor()); - statefulComponentFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'StatefulComponent.java' content to = " + "'StatefulComponent.8'", ex); @@ -440,7 +415,6 @@ = try{ componentsFile.setContents(componentsFile4.getContents(), true, false, = new NullProgressMonitor()); - componentsFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'components.xml' content to " + "'components.4'", ex); @@ -448,7 +422,6 @@ IFile statefulComponentFile9 =3D project.getFile("src/action/org/domain/= SeamWebWarTestProject/session/StatefulComponent.9"); try{ statefulComponentFile.setContents(statefulComponentFile9.getContents(),= true, false, new NullProgressMonitor()); - statefulComponentFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'StatefulComponent.java' content to = " + "'StatefulComponent.9'", ex); @@ -472,7 +445,6 @@ IFile statefulComponentFile10 =3D project.getFile("src/action/org/domain= /SeamWebWarTestProject/session/StatefulComponent.10"); try{ statefulComponentFile.setContents(statefulComponentFile10.getContents()= , true, false, new NullProgressMonitor()); - statefulComponentFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'StatefulComponent.java' content to = " + "'StatefulComponent.10'", ex); @@ -496,7 +468,6 @@ IFile statefulComponentFile11 =3D project.getFile("src/action/org/domain= /SeamWebWarTestProject/session/StatefulComponent.11"); try{ statefulComponentFile.setContents(statefulComponentFile11.getContents()= , true, false, new NullProgressMonitor()); - statefulComponentFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'StatefulComponent.java' content to = " + "'StatefulComponent.11'", ex); @@ -520,7 +491,6 @@ IFile statefulComponentFile12 =3D project.getFile("src/action/org/domain= /SeamWebWarTestProject/session/StatefulComponent.12"); try{ statefulComponentFile.setContents(statefulComponentFile12.getContents()= , true, false, new NullProgressMonitor()); - statefulComponentFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'StatefulComponent.java' content to = " + "'StatefulComponent.12'", ex); @@ -555,7 +525,6 @@ IFile Component12File2 =3D project.getFile("src/action/org/domain/SeamWe= bWarTestProject/session/Component12.2"); try{ Component12File.setContents(Component12File2.getContents(), true, false= , new NullProgressMonitor()); - Component12File.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'Component12File2.java' content to "= + "'Component12File2.2'", ex); @@ -595,7 +564,6 @@ IFile selectionTestFile2 =3D project.getFile("src/action/org/domain/Seam= WebWarTestProject/session/SelectionTest.2"); try{ selectionTestFile.setContents(selectionTestFile2.getContents(), true, f= alse, new NullProgressMonitor()); - selectionTestFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'SelectionTest.java' content to " + "'SelectionTest.2'", ex); @@ -604,7 +572,6 @@ IFile selectionIndexTestFile2 =3D project.getFile("src/action/org/domain= /SeamWebWarTestProject/session/SelectionIndexTest.2"); try{ selectionIndexTestFile.setContents(selectionIndexTestFile2.getContents(= ), true, false, new NullProgressMonitor()); - selectionIndexTestFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'SelectionIndexTest.java' content to= " + "'SelectionIndexTest.2'", ex); @@ -644,7 +611,6 @@ IFile selectionTestFile3 =3D project.getFile("src/action/org/domain/Seam= WebWarTestProject/session/SelectionTest.3"); try{ selectionTestFile.setContents(selectionTestFile3.getContents(), true, f= alse, new NullProgressMonitor()); - selectionTestFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'SelectionTest.java' content to " + "'SelectionTest.3'", ex); @@ -653,7 +619,6 @@ IFile selectionIndexTestFile3 =3D project.getFile("src/action/org/domain= /SeamWebWarTestProject/session/SelectionIndexTest.3"); try{ selectionIndexTestFile.setContents(selectionIndexTestFile3.getContents(= ), true, false, new NullProgressMonitor()); - selectionIndexTestFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'SelectionIndexTest.java' content to= " + "'SelectionIndexTest.3'", ex); @@ -702,7 +667,6 @@ IFile contextVariableTestFile2 =3D project.getFile("src/action/org/domai= n/SeamWebWarTestProject/session/ContextVariableTest.2"); try{ contextVariableTestFile.setContents(contextVariableTestFile2.getContent= s(), true, false, new NullProgressMonitor()); - contextVariableTestFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'ContextVariableTest.java' content t= o " + "'ContextVariableTest.2'", ex); @@ -728,7 +692,6 @@ IFile contextVariableTestFile3 =3D project.getFile("src/action/org/domai= n/SeamWebWarTestProject/session/ContextVariableTest.3"); try{ contextVariableTestFile.setContents(contextVariableTestFile3.getContent= s(), true, false, new NullProgressMonitor()); - contextVariableTestFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'ContextVariableTest.java' content t= o " + "'ContextVariableTest.3'", ex); @@ -775,7 +738,6 @@ IFile abcComponentXHTMLFile2 =3D project.getFile("WebContent/abcComponen= t.2"); try{ abcComponentXHTMLFile.setContents(abcComponentXHTMLFile2.getContents(),= true, false, new NullProgressMonitor()); - abcComponentXHTMLFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'abcComponent.xhtml' content to " + "'abcComponent.2'", ex); @@ -800,7 +762,6 @@ IFile abcComponentXHTMLFile3 =3D project.getFile("WebContent/abcComponen= t.3"); try{ abcComponentXHTMLFile.setContents(abcComponentXHTMLFile3.getContents(),= true, false, new NullProgressMonitor()); - abcComponentXHTMLFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'abcComponent.xhtml' content to " + "'abcComponent.3'", ex); @@ -825,7 +786,6 @@ IFile abcComponentXHTMLFile4 =3D project.getFile("WebContent/abcComponen= t.4"); try{ abcComponentXHTMLFile.setContents(abcComponentXHTMLFile4.getContents(),= true, false, new NullProgressMonitor()); - abcComponentXHTMLFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'abcComponent.xhtml' content to " + "'abcComponent.4'", ex); @@ -839,7 +799,6 @@ IFile abcComponentFile2 =3D project.getFile("src/action/org/domain/SeamW= ebWarTestProject/session/AbcComponent.2"); try{ abcComponentFile.setContents(abcComponentFile2.getContents(), true, fal= se, new NullProgressMonitor()); - abcComponentFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'abcComponent.java' content to " + "'abcComponent.2'", ex); @@ -861,7 +820,6 @@ IFile abcComponentFile3 =3D project.getFile("src/action/org/domain/SeamW= ebWarTestProject/session/AbcComponent.3"); try{ abcComponentFile.setContents(abcComponentFile3.getContents(), true, fal= se, new NullProgressMonitor()); - abcComponentFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'abcComponent.java' content to " + "'abcComponent.3'", ex); @@ -947,77 +905,13 @@ } = private void refreshProject(IProject project){ - long timestamp =3D project.getModificationStamp(); - int count =3D 1; - while(true){ - System.out.println("Refresh project "+count); - try { - project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor= ()); - try { waitForJob(); - } catch (InterruptedException e) { - JUnitUtils.fail(e.getMessage(),e); - } - } catch (Exception e) { - JUnitUtils.fail("Cannot build test Project", e); - break; - } - if(project.getModificationStamp() !=3D timestamp) break; - count++; - if(count > 1) break; - } } = - public static void waitForJob() throws InterruptedException { - Object[] o =3D { - XJob.FAMILY_XJOB, ResourcesPlugin.FAMILY_AUTO_REFRESH, ResourcesPlugin.= FAMILY_AUTO_BUILD - }; - while(true) { - boolean stop =3D true; - for (int i =3D 0; i < o.length; i++) { - Job[] js =3D Job.getJobManager().find(o[i]); - if(js !=3D null && js.length > 0) { - Job.getJobManager().join(o[i], new NullProgressMonitor()); - stop =3D false; - } - } - if(stop) { - Job running =3D getJobRunning(10); - if(running !=3D null) { - running.join(); - stop =3D false; - } - } - if(stop) break; - } + public static void waitForJob() { + EditorTestHelper.joinJobs(1000,10000,500); + //then wait for a while to Workspace runnable is finished + EditorTestHelper.joinJobs(2000, 2000, 0); } - = - public static Job getJobRunning(int iterationLimit) { - Job[] js =3D Job.getJobManager().find(null); - Job dm =3D null; - if(js !=3D null) for (int i =3D 0; i < js.length; i++) { - if(js[i].getState() =3D=3D Job.RUNNING && js[i].getThread() !=3D Thread= .currentThread()) { - if(js[i] instanceof UIJob) continue; - if(js[i].belongsTo(DecoratorManager.FAMILY_DECORATE) || js[i].getName(= ).equals("Task List Saver")) { - dm =3D js[i]; - continue; - } - //TODO keep watching = - System.out.println(js[i].getName()); - return js[i]; - } - } - if(dm !=3D null) { - try { - Thread.sleep(1000); - } catch (InterruptedException e) { - //ignore - } - if(iterationLimit > 0) - return getJobRunning(iterationLimit - 1); - } - return null; - = - } = } Added: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/= seam/core/test/SeamValidatorsTestSetup.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/SeamValidatorsTestSetup.java (rev 0) +++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/sea= m/core/test/SeamValidatorsTestSetup.java 2008-01-15 08:36:11 UTC (rev 5679) @@ -0,0 +1,40 @@ +/** + * = + */ +package org.jboss.tools.seam.core.test; + +import org.eclipse.core.resources.IProject; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.core.runtime.NullProgressMonitor; +import org.jboss.tools.test.util.ResourcesUtils; +import org.jboss.tools.test.util.xpl.EditorTestHelper; + +import junit.extensions.TestSetup; +import junit.framework.Test; + +/** + * @author dgolovin + * + */ +public class SeamValidatorsTestSetup extends TestSetup { + + public SeamValidatorsTestSetup(Test test) { + super(test); + } + + @Override + protected void setUp() throws Exception { + ResourcesUtils.importProject("org.jboss.tools.seam.core.test","projects/= SeamWebWarTestProject" , new NullProgressMonitor()); + EditorTestHelper.joinBackgroundActivities(); = + } + + @Override + protected void tearDown() throws Exception { + EditorTestHelper.joinBackgroundActivities(); = + IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject= ("SeamWebWarTestProject"); + if (project !=3D null) { + project.delete(true, true, null); + } + } + = +} Property changes on: trunk/seam/tests/org.jboss.tools.seam.core.test/src/or= g/jboss/tools/seam/core/test/SeamValidatorsTestSetup.java ___________________________________________________________________ Name: svn:mime-type + text/plain --===============2952362771440380390==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 04:34:42 2008 Content-Type: multipart/mixed; boundary="===============0884744043704334095==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5680 - trunk/documentation/guides/userguide/GettingStartedGuide/en/modules. Date: Tue, 15 Jan 2008 04:34:42 -0500 Message-ID: --===============0884744043704334095== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: cluts Date: 2008-01-15 04:34:42 -0500 (Tue, 15 Jan 2008) New Revision: 5680 Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/firs= t_seam.xml trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/gett= ing_started.xml trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/jsp_= application.xml trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/rad_= jsf_application.xml Log: http://jira.jboss.org/jira/browse/JBDS-143 - Transition sentences are added= to the all chapters and sections of GSG and Seam. Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modul= es/first_seam.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/userguide/GettingStartedGuide/en/modules/fir= st_seam.xml 2008-01-15 08:36:11 UTC (rev 5679) +++ trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/fir= st_seam.xml 2008-01-15 09:34:42 UTC (rev 5680) @@ -20,11 +20,11 @@ A core element that makes the JBoss Developer Studio "scalabl= e" is the JBoss Seam framework. = - In this chapter, we will cover how to build a simple Seam web appl= ication in minutes with - the JBoss Developer Studio. + The main purpose of this chapter is to tell you about build a sim= ple Seam web application in minutes with the JBoss Developer Studio. =
Create a Seam Project + This section helps you to create a simple Seam project. To create a new web application in Seam, yo= u should create a Seam web project. This section provides all the necessary steps to organize a= new project with appropriate tooling and adjust the settings that match your needs. @@ -432,6 +432,7 @@
Add a new UI Component = + This section tells you about how you can add a new UI Component.= Now, let's add a little more logic to the application. We w= ill add a new boolean property to the action component. If it is set to true, the action w= ould capitalize the input string and display it on the web page. The following code in the Sim= pleAction class implements Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modul= es/getting_started.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/userguide/GettingStartedGuide/en/modules/get= ting_started.xml 2008-01-15 08:36:11 UTC (rev 5679) +++ trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/get= ting_started.xml 2008-01-15 09:34:42 UTC (rev 5680) @@ -546,7 +546,7 @@ How can I add my own tag library to the JBoss = Tools Palette? - See Adding Tag L= ibraries in Visual Web Tools Guide. + See Adding Tag = Libraries in Visual Web Tools Guide. I see the Oracle ADF Faces component library t= ags in the JBoss Tools Palette, but I can't seem to find the libraries for ADF. How do = I use this component Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modul= es/jsp_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/userguide/GettingStartedGuide/en/modules/jsp= _application.xml 2008-01-15 08:36:11 UTC (rev 5679) +++ trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/jsp= _application.xml 2008-01-15 09:34:42 UTC (rev 5680) @@ -30,7 +30,7 @@
Setting Up the Project - We'll start with creation a new project for the application.<= /para> + The main purpose of this section is to tell you about creation a D= ynamic Web Project. Go to the menu bar and select Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modul= es/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/userguide/GettingStartedGuide/en/modules/rad= _jsf_application.xml 2008-01-15 08:36:11 UTC (rev 5679) +++ trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/rad= _jsf_application.xml 2008-01-15 09:34:42 UTC (rev 5680) @@ -31,6 +31,7 @@
Setting up the project + Now you know how to create a new JSF 1.2 project. First, we will create a JSF 1.2 project using an integrated = JBDS's new project wizard and predefined templates. Follow the next steps= : @@ -77,6 +78,7 @@
Creating JSP Pages + After you created a new JSF project you can create new JSP p= ages. And now, let's add two pages to our application. The first page is inputnumber.jsp. It prompts you to enter a number. If the guess is incorrect, the same page will = be redisplayed with a @@ -149,7 +151,7 @@
Creating Transition between two views - Then, we should create connection between jsp pages. + Then, we should create connection between jsp pages. In the diagram, select the @@ -483,6 +485,7 @@
Editing faces-config.xml File + In this section you know about faces-config.xml file. This file holds two navigation rules and defines the backing= bean used. @@ -970,6 +973,7 @@
Creating index.jsp page + Now you know how to create index.jsp page. The index.jsp page is the entry point of our application. It= 's just forwarding to inputnumber.jsp page. --===============0884744043704334095==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 04:36:21 2008 Content-Type: multipart/mixed; boundary="===============2938213258179140311==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5681 - trunk/seam/docs/reference/en/modules. Date: Tue, 15 Jan 2008 04:36:21 -0500 Message-ID: --===============2938213258179140311== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: cluts Date: 2008-01-15 04:36:21 -0500 (Tue, 15 Jan 2008) New Revision: 5681 Modified: trunk/seam/docs/reference/en/modules/crud_application_walkthrough.xml trunk/seam/docs/reference/en/modules/crud_database_application.xml trunk/seam/docs/reference/en/modules/directory_structure.xml trunk/seam/docs/reference/en/modules/generate_entities.xml trunk/seam/docs/reference/en/modules/intro.xml trunk/seam/docs/reference/en/modules/seam_editors.xml trunk/seam/docs/reference/en/modules/seam_view.xml trunk/seam/docs/reference/en/modules/seam_wizards.xml trunk/seam/docs/reference/en/modules/testng.xml Log: http://jira.jboss.org/jira/browse/JBDS-143 - Transition sentences are added= to the all chapters and sections of GSG and Seam. Modified: trunk/seam/docs/reference/en/modules/crud_application_walkthrough= .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/docs/reference/en/modules/crud_application_walkthrough.xml 2= 008-01-15 09:34:42 UTC (rev 5680) +++ trunk/seam/docs/reference/en/modules/crud_application_walkthrough.xml 2= 008-01-15 09:36:21 UTC (rev 5681) @@ -11,6 +11,7 @@ The CRUD Application Walkthrough + After you familiarized oneself with example of creating the CRUD= Database Application with Seam, you can read this charter.
Using CRUD Application To run your CRUD Application you should do the following ste= ps: Modified: trunk/seam/docs/reference/en/modules/crud_database_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/seam/docs/reference/en/modules/crud_database_application.xml 2008= -01-15 09:34:42 UTC (rev 5680) +++ trunk/seam/docs/reference/en/modules/crud_database_application.xml 2008= -01-15 09:36:21 UTC (rev 5681) @@ -18,7 +18,7 @@ CRUD is an acronym for the four basic types of SQL= commands: Create, Read, Update, Delete. Most application= s have some kind of CRUD functionality, and we can ass= ume that every programmer had to deal with CRUD at som= e point. A CRUD application is one that uses forms to = get data into and out of a database. - In the next chapter we will create Seam = Web application, connect it to the PostgreSQL database and add CRUD support. + In the next section we will create Seam= Web application, connect it to the PostgreSQL database and add CRUD support.
= Modified: trunk/seam/docs/reference/en/modules/directory_structure.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/docs/reference/en/modules/directory_structure.xml 2008-01-15= 09:34:42 UTC (rev 5680) +++ trunk/seam/docs/reference/en/modules/directory_structure.xml 2008-01-15= 09:36:21 UTC (rev 5681) @@ -5,7 +5,7 @@ JBoss Tools Seam - Eclispe + Eclipse = Modified: trunk/seam/docs/reference/en/modules/generate_entities.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/docs/reference/en/modules/generate_entities.xml 2008-01-15 0= 9:34:42 UTC (rev 5680) +++ trunk/seam/docs/reference/en/modules/generate_entities.xml 2008-01-15 0= 9:36:21 UTC (rev 5681) @@ -11,6 +11,7 @@ = Seam Generate Entities = + The main purpose of this chapter is to tell you about Seam Gener= ate Entities. Generate Entities is available directly from within Eclipse usin= g Hibernate Tools plugin for the standard seam-gen generation. Generate Entities generates a set of CRUD Seam components and we= b pages based on existing tables in a database or on existing entities in y= our application. = Modified: trunk/seam/docs/reference/en/modules/intro.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/docs/reference/en/modules/intro.xml 2008-01-15 09:34:42 UTC = (rev 5680) +++ trunk/seam/docs/reference/en/modules/intro.xml 2008-01-15 09:36:21 UTC = (rev 5681) @@ -14,7 +14,7 @@
= What is Seam? - = + This introduction will help you to understand what is Seam. Seam is a fully featured application framew= ork on top of Java EE 5. It is also one of the most popular enterprise Java= framework today. Seam deeply integrates many other standard-based or open source frameworks (e.g., JSF, EJB3, JMS, We= b Services, jBPM, JBoss Rules, Ajax4jsf, RichFaces, Facelets, Spring, iText= , Quartz, TestNG, etc.), and provides a single programming model for developers to "drive&= quot; those underlying frameworks via simple annotated POJOs (Plain Old Jav= a Objects). It makes life easier Modified: trunk/seam/docs/reference/en/modules/seam_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/seam/docs/reference/en/modules/seam_editors.xml 2008-01-15 09:34:= 42 UTC (rev 5680) +++ trunk/seam/docs/reference/en/modules/seam_editors.xml 2008-01-15 09:36:= 21 UTC (rev 5681) @@ -15,6 +15,7 @@ = Content Assist = + In this chapter you know what are Seam Editors Features and = how to work with them. = Content Assist (ctrl + space) is availa= ble when using expression language in: JSP Modified: trunk/seam/docs/reference/en/modules/seam_view.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/docs/reference/en/modules/seam_view.xml 2008-01-15 09:34:42 = UTC (rev 5680) +++ trunk/seam/docs/reference/en/modules/seam_view.xml 2008-01-15 09:36:21 = UTC (rev 5681) @@ -14,6 +14,7 @@
Seam Components View = + This chapter introduces you with Seam Components View. The Seam Components View is available f= rom Seam perspective. It provides a list of seam components found in a proj= ect. =
Modified: trunk/seam/docs/reference/en/modules/seam_wizards.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/docs/reference/en/modules/seam_wizards.xml 2008-01-15 09:34:= 42 UTC (rev 5680) +++ trunk/seam/docs/reference/en/modules/seam_wizards.xml 2008-01-15 09:36:= 21 UTC (rev 5681) @@ -10,7 +10,8 @@ = Seam Wizards - = + = + This chapter introduces you with Seam Components. All the Seam component generations options known from Seam-gen a= re available as wizards (with sensible auto-defaulting) for creating various common Seam components: = @@ -51,6 +52,7 @@ = New Seam Action = + In this and following sections you can see example creating = Seam Components. To create a New Seam Action you should select a necessary pr= oject, type a name for Seam component, POJO = class, Method, Page and sel= ect a Package using Browse button. = Modified: trunk/seam/docs/reference/en/modules/testng.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/docs/reference/en/modules/testng.xml 2008-01-15 09:34:42 UTC= (rev 5680) +++ trunk/seam/docs/reference/en/modules/testng.xml 2008-01-15 09:36:21 UTC= (rev 5681) @@ -9,6 +9,7 @@ Using TestNG project + With the help this chapter you will get to know with TestNG.
What is TestNG? TestNG ("Testing, the Next Generat= ion") is a Java unit testing framework that aims to overcome many limi= tations of JUnit. = --===============2938213258179140311==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 07:20:00 2008 Content-Type: multipart/mixed; boundary="===============0785497731391880730==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5682 - in trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces: resources/orderingList and 3 other directories. Date: Tue, 15 Jan 2008 07:19:59 -0500 Message-ID: --===============0785497731391880730== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dmaliarevich Date: 2008-01-15 07:19:58 -0500 (Tue, 15 Jan 2008) New Revision: 5682 Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingLi= st/ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingLi= st/bottom.gif trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingLi= st/button_bg.gif trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingLi= st/down.gif trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingLi= st/orderingList.css trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingLi= st/table_header_cell_bg.gif trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingLi= st/top.gif trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingLi= st/up.gif trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/= jsf/vpe/richfaces/template/RichFacesOrderingList.java Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/= jsf/vpe/richfaces/ComponentUtil.java trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/= jsf/vpe/richfaces/HtmlComponentUtil.java trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templa= tes-richfaces.xml Log: rich faces orderingList template commit to trunk Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderi= ngList/bottom.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/plugins/org.jboss.tools.jsf.vpe.richfaces/re= sources/orderingList/bottom.gif ___________________________________________________________________ Name: svn:mime-type + image/gif Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderi= ngList/button_bg.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/plugins/org.jboss.tools.jsf.vpe.richfaces/re= sources/orderingList/button_bg.gif ___________________________________________________________________ Name: svn:mime-type + image/gif Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderi= ngList/down.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/plugins/org.jboss.tools.jsf.vpe.richfaces/re= sources/orderingList/down.gif ___________________________________________________________________ Name: svn:mime-type + image/gif Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderi= ngList/orderingList.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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.vpe.richfaces/resources/orderingL= ist/orderingList.css (rev 0) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingL= ist/orderingList.css 2008-01-15 12:19:58 UTC (rev 5682) @@ -0,0 +1,171 @@ +.dr-table { + border-top: 1px solid; + border-left: 1px solid; + border-color: #C4C0B9; +} + +.dr-table-cell { + border-right: 1px solid; + border-bottom: 1px solid; + border-color: #C4C0B9; + padding: 4px 4px 4px 4px; + font-size: 11px; + color: #000000; + font-family: Arial, Verdana, sans-serif; +} + +.dr-subtable-cell { + border-right: 1px solid; + border-bottom: 1px solid; + border-color: #C4C0B9; + padding: 4px 4px 4px 4px; + font-size: 11px; + color: #000000; + font-family: Arial, Verdana, sans-serif; +} + +.dr-table-header { + background-color: #D4CFC7; + background-position: top left; + background-repeat: repeat-x; +} + +.dr-table-header-continue { + background-color: #D4CFC7; +} + +.dr-table-headercell { + border-right: 1px solid; + border-bottom: 1px solid; + border-color: #C4C0B9; + padding: 4px 4px 4px 4px; + color: #000000; + text-align: center; + font-weight: bold; + font-size: 11px; + font-family: Arial, Verdana, sans-serif; +} + +.dr-table-subheader { + background-color: #F1EEE9; +} + +.dr-table-subheadercell { + border-right: 1px solid; + border-bottom: 1px solid; + border-color: #C4C0B9; + padding: 4px 4px 4px 4px; + text-align: center; + font-size: 11px; + font-color: #000000; + font-family: Arial, Verdana, sans-serif; +} + +.dr-table-footercell { + border-right: 1px solid; + border-bottom: 1px solid; + border-color: #C4C0B9; + padding: 4px 4px 4px 4px; + color: #000000; + text-align: left; + font-weight: bold; + font-size: 11px; + font-family: Arial, Verdana, sans-serif; +} + +.dr-table-subfootercell { + border-right: 1px solid; + border-bottom: 1px solid; + border-color: #C4C0B9; + padding: 4px 4px 4px 4px; + text-align: left; + font-size: 11px; + color: #000000; + font-family: Arial, Verdana, sans-serif; +} + +.dr-subtable-header { + background-color: #F1EEE9; +} + +.dr-subtable-headercell { + border-right: 1px solid; + border-bottom: 1px solid; + border-color: #C4C0B9; + padding: 4px 4px 4px 4px; + text-align: center; + font-size: 11px; + color: #000000; + font-family: Arial, Verdana, sans-serif; +} + +.dr-subtable-footercell { + border-right: 1px solid; + border-bottom: 1px solid; + border-color: #C4C0B9; + padding: 4px 4px 4px 4px; + text-align: left; +} + +.dr-spr { + display: block; +} + +.dr-table-hidden { + overflow: hidden; + border: solid 1px #C4C0C9; +} + +.rich-ordering-list-button-layout { + padding:15px 8px 15px 0pt; +} + +.rich-ordering-control-disabled { + border:1px solid; + margin-bottom:3px; +} + +.rich-ordering-control { + border:1px solid; + margin-bottom:3px; +} + +.rich-ordering-list-button { + background-color:#E3DED5; + background-repeat: repeat-x; + background-attachment: scroll; + color:#000000; + font-family:Arial,Verdana,sans-serif; + font-size:11px; + cursor: pointer; +} +a.rich-ordering-list-button-selection:visited, a.rich-ordering-list-button= -selection:link, a.rich-ordering-list-button-a-disabled:visited, a.rich-ord= ering-list-button-a-disabled:link { + text-decoration:none; +} + +.rich-ordering-list-button-content { + padding:0pt 4px 0pt 1px; + text-align:left; + white-space:nowrap; +} + +.rich-ordering-list-button-content img { + margin-right:2px; + vertical-align:middle; +} + +.rich-ordering-list-table-header-cell, .rich-ordering-list-table-header-ce= ll-last { + background-color: #E3DED5; + background-repeat: repeat-x; + background-attachment: scroll; + border-bottom-color:#C4C0C9; + border-bottom-width:1px; + border-right-color:#C4C0C9; + border-right-width:1px; + color:#000000; + font-family:Arial,Verdana,sans-serif; + font-size:11px; +} +.rich-ordering-list-table-header-cell-last { + border-right-width:0pt; +} Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/re= sources/orderingList/orderingList.css ___________________________________________________________________ Name: svn:mime-type + text/css Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderi= ngList/table_header_cell_bg.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/plugins/org.jboss.tools.jsf.vpe.richfaces/re= sources/orderingList/table_header_cell_bg.gif ___________________________________________________________________ Name: svn:mime-type + image/gif Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderi= ngList/top.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/plugins/org.jboss.tools.jsf.vpe.richfaces/re= sources/orderingList/top.gif ___________________________________________________________________ Name: svn:mime-type + image/gif Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderi= ngList/up.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/plugins/org.jboss.tools.jsf.vpe.richfaces/re= sources/orderingList/up.gif ___________________________________________________________________ Name: svn:mime-type + image/gif Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss= /tools/jsf/vpe/richfaces/ComponentUtil.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/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/ComponentUtil.java 2008-01-15 09:36:21 UTC (rev 5681) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/ComponentUtil.java 2008-01-15 12:19:58 UTC (rev 5682) @@ -444,4 +444,25 @@ } else visualNode.removeAttribute(attrName); } + = + /** + * Parses string value retrieved from = + * sourceElement.getAttribure(..) method = + * to its boolean value. + *

+ * false is returned only if it specified explicitly, + * otherwise true is returned. + * = + * @param str the string to parse + * @return boolean value from string + */ + public static boolean string2boolean(String str) { + if ((str =3D=3D null) || ("".equals(str))) { + return true; + } else if (("true".equalsIgnoreCase(str)) || ("false".equalsIgnoreCase(s= tr))) { + return new Boolean(str).booleanValue(); + } = + return true; + } + } \ No newline at end of file Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss= /tools/jsf/vpe/richfaces/HtmlComponentUtil.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/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/HtmlComponentUtil.java 2008-01-15 09:36:21 UTC (rev 5681) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/HtmlComponentUtil.java 2008-01-15 12:19:58 UTC (rev 5682) @@ -69,6 +69,9 @@ /** HTML_TAG_SPAN */ public static final String HTML_TAG_SPAN =3D "SPAN"; = + /** HTML_TAG_A */ + public static final String HTML_TAG_A =3D "A"; + /** HTML_TAG_B */ public static final String HTML_TAG_B =3D "B"; = Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/to= ols/jsf/vpe/richfaces/template/RichFacesOrderingList.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/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/template/RichFacesOrderingList.java = (rev 0) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/template/RichFacesOrderingList.java 2008-01-15 12:19:58 = UTC (rev 5682) @@ -0,0 +1,744 @@ +/** + * = + */ +package org.jboss.tools.jsf.vpe.richfaces.template; + +import java.util.ArrayList; +import java.util.List; + +import org.jboss.tools.jsf.vpe.richfaces.ComponentUtil; +import org.jboss.tools.jsf.vpe.richfaces.HtmlComponentUtil; +import org.jboss.tools.jsf.vpe.richfaces.RichFacesTemplatesActivator; +import org.jboss.tools.vpe.editor.context.VpePageContext; +import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate; +import org.jboss.tools.vpe.editor.template.VpeChildrenInfo; +import org.jboss.tools.vpe.editor.template.VpeCreationData; +import org.mozilla.interfaces.nsIDOMDocument; +import org.mozilla.interfaces.nsIDOMElement; +import org.w3c.dom.Element; +import org.w3c.dom.Node; +import org.w3c.dom.NodeList; + +/** + * @author dmaliarevich + * = + */ +public class RichFacesOrderingList extends VpeAbstractTemplate { + + final static String DEFAULT_HEIGHT =3D "200px"; + final static String DEFAULT_WIDTH =3D "300px"; + final static String HEADER =3D "header"; + final static String HEADER_CLASS =3D "headerClass"; + final static String FOOTER =3D "footer"; + final static String FOOTER_CLASS =3D "footerClass"; + final static String CAPTION_CLASS =3D "captionClass"; + final static String CAPTION_STYLE =3D "captionStyle"; + final static String SPACE =3D " "; + + private static String STYLE_FOR_CAPTOION_LABEL =3D "white-space: normal; = word-wrap: break-word; font-weight: bold; "; + private static String STYLE_FOR_LOW_SCROLL =3D "overflow: scroll; width: = 100%; height: 17px;"; + private static String STYLE_FOR_RIGHT_SCROLL =3D "overflow: scroll; width= : 17px; height: 100%;"; + + private static int NUM_ROW =3D 1; + + private static final String TOP_CONTROL_IMG =3D "orderingList/top.gif"; + private static final String UP_CONTROL_IMG =3D "orderingList/up.gif"; + private static final String DOWN_CONTROL_IMG =3D "orderingList/down.gif"; + private static final String BOTTOM_CONTROL_IMG =3D "orderingList/bottom.g= if"; + + private static final String BUTTON_BG =3D "orderingList/button_bg.gif"; + private static final String HEADER_CELL_BG =3D "orderingList/table_header= _cell_bg.gif"; + + private static final String LIST_WIDTH =3D "listWidth"; + private static final String LIST_HEIGHT =3D "listHeight"; + + private static final String TOP_CONTROL_LABEL =3D "topControlLabel"; + private static final String UP_CONTROL_LABEL =3D "upControlLabel"; + private static final String DOWN_CONTROL_LABEL =3D "downControlLabel"; + private static final String BOTTOM_CONTROL_LABEL =3D "bottomControlLabel"; + + private static final String TOP_CONTROL_LABEL_DEFAULT =3D "First"; + private static final String UP_CONTROL_LABEL_DEFAULT =3D "Up"; + private static final String DOWN_CONTROL_LABEL_DEFAULT =3D "Down"; + private static final String BOTTOM_CONTROL_LABEL_DEFAULT =3D "Last"; + + private static final String CAPTION_LABEL =3D "captionLabel"; + private static final String CONTROLS_VERTICAL_ALIGN =3D "controlsVertical= Align"; + private static final String SHOW_BUTTON_LABELS =3D "showButtonLabels"; + private static final String FAST_ORDER_CONTROL_VISIBLE =3D "fastOrderCont= rolsVisible"; + + /* + * (non-Javadoc) + * = + * @see org.jboss.tools.vpe.editor.template.VpeTemplate#create(org.jboss.= tools.vpe.editor.context.VpePageContext, + * org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMDocument) + */ + public VpeCreationData create(VpePageContext pageContext, Node sourceNode, + nsIDOMDocument visualDocument) { + + Element sourceElement =3D (Element) sourceNode; + + String listWidth =3D sourceElement.getAttribute(LIST_WIDTH); + String listHeight =3D sourceElement.getAttribute(LIST_HEIGHT); + + String topControlLabel =3D sourceElement.getAttribute(TOP_CONTROL_LABEL); + String upControlLabel =3D sourceElement.getAttribute(UP_CONTROL_LABEL); + String downControlLabel =3D sourceElement + .getAttribute(DOWN_CONTROL_LABEL); + String bottomControlLabel =3D sourceElement + .getAttribute(BOTTOM_CONTROL_LABEL); + + String showButtonLabelsStr =3D sourceElement + .getAttribute(SHOW_BUTTON_LABELS); + String fastOrderControlsVisibleStr =3D sourceElement + .getAttribute(FAST_ORDER_CONTROL_VISIBLE); + boolean showButtonLabels =3D ComponentUtil + .string2boolean(showButtonLabelsStr); + boolean fastOrderControlsVisible =3D ComponentUtil + .string2boolean(fastOrderControlsVisibleStr); + + String controlsVerticalAlign =3D sourceElement + .getAttribute(CONTROLS_VERTICAL_ALIGN); + String captionLabel =3D sourceElement.getAttribute(CAPTION_LABEL); + + // --------------------- COMMON TABLE ------------------------ + nsIDOMElement tableCommon =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TABLE); + + VpeCreationData creationData =3D new VpeCreationData(tableCommon); + + nsIDOMElement row1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + nsIDOMElement row2 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + + tableCommon.appendChild(row1); + tableCommon.appendChild(row2); + + // ---------------------row1------------------------ + nsIDOMElement row1_TD1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + row1.appendChild(row1_TD1); + + nsIDOMElement row1_TD1_DIV =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + row1_TD1_DIV.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, + STYLE_FOR_CAPTOION_LABEL + "width: " + + (listWidth =3D=3D null ? DEFAULT_WIDTH : listWidth) + + "px"); + row1_TD1_DIV.appendChild(visualDocument.createTextNode(captionLabel)); + row1_TD1.appendChild(row1_TD1_DIV); + + // ---------------------row2 ---- with list table and buttons-----------= ------------- + nsIDOMElement row2_TD1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + row2.appendChild(row2_TD1); + + nsIDOMElement row2_TD2 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + row2.appendChild(row2_TD2); + + // ---------------------buttonsTable------------------------ + nsIDOMElement buttonsDiv =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + buttonsDiv.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-orderin= g-list-button-layout"); + = + nsIDOMElement btnUpDiv =3D createButtonDiv(visualDocument, + (null =3D=3D upControlLabel ? UP_CONTROL_LABEL_DEFAULT + : upControlLabel), UP_CONTROL_IMG, new Boolean( + showButtonLabels).booleanValue()); + nsIDOMElement btnDownDiv =3D createButtonDiv(visualDocument, + (null =3D=3D upControlLabel ? DOWN_CONTROL_LABEL_DEFAULT + : upControlLabel), DOWN_CONTROL_IMG, new Boolean( + showButtonLabels).booleanValue()); + + if (fastOrderControlsVisible) { + nsIDOMElement btnTopDiv =3D createButtonDiv(visualDocument, + (null =3D=3D upControlLabel ? TOP_CONTROL_LABEL_DEFAULT + : upControlLabel), TOP_CONTROL_IMG, new Boolean( + showButtonLabels).booleanValue()); + nsIDOMElement btnBottomDiv =3D createButtonDiv(visualDocument, + (null =3D=3D upControlLabel ? BOTTOM_CONTROL_LABEL_DEFAULT + : upControlLabel), BOTTOM_CONTROL_IMG, new Boolean( + showButtonLabels).booleanValue()); + = + buttonsDiv.appendChild(btnTopDiv); + buttonsDiv.appendChild(btnBottomDiv); + } + + buttonsDiv.appendChild(btnUpDiv); + buttonsDiv.appendChild(btnDownDiv); + = + row2_TD2.setAttribute(HtmlComponentUtil.HTML_ALIGN_ATTR, "center"); + row2_TD2.setAttribute(HtmlComponentUtil.HTML_ATTR_VALIGN, ("center" + .equalsIgnoreCase(controlsVerticalAlign) ? "middle" + : controlsVerticalAlign)); + row2_TD2.appendChild(buttonsDiv); + + // -------------------------------------------- + + // ---------------------listTable------------------------ + nsIDOMElement listTable =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TABLE); + nsIDOMElement tr1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + nsIDOMElement tr2 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + + listTable.appendChild(tr1); + listTable.appendChild(tr2); + + row2_TD1.appendChild(listTable); + + // ---------------------tr1------------------------ + nsIDOMElement tr1_TD1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + tr1.appendChild(tr1_TD1); + + nsIDOMElement tr1_TD2 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + tr1.appendChild(tr1_TD2); + + nsIDOMElement tr1_TD2_DIV =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + tr1_TD2_DIV.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, + STYLE_FOR_RIGHT_SCROLL); + tr1_TD2.appendChild(tr1_TD2_DIV); + + // ------------------------------------------------------- + + // ---------------------tr2------------------------ + nsIDOMElement tr2_TD =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TD); + tr2.appendChild(tr2_TD); + + nsIDOMElement tr2_TD_DIV =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + tr2_TD_DIV.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, + STYLE_FOR_LOW_SCROLL); + tr2_TD.appendChild(tr2_TD_DIV); + + // -------------------------------------------- + + nsIDOMElement div =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + tr1_TD1.appendChild(div); + div.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "dr-table-hidden"); + + String divStyle =3D HtmlComponentUtil.HTML_WIDTH_ATTR + " : " + + (listWidth =3D=3D null ? DEFAULT_WIDTH : listWidth) + ";" + + HtmlComponentUtil.HTML_HEIGHT_ATTR + " : " + + (listHeight =3D=3D null ? DEFAULT_HEIGHT : listHeight) + ";"; + + div.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, divStyle); + + nsIDOMElement table =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TABLE); + ComponentUtil.copyAttributes(sourceNode, table); + table.removeAttribute(HtmlComponentUtil.HTML_ATR_HEIGHT); + table.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, "width: 100%;"); + div.appendChild(table); + + ComponentUtil.setCSSLink(pageContext, "orderingList/orderingList.css", + "richFacesOrderingList"); + String tableClass =3D sourceElement + .getAttribute(HtmlComponentUtil.HTML_STYLECLASS_ATTR); + table + .setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "dr-table rich-table " + + (tableClass =3D=3D null ? "" : tableClass)); + + // Encode colgroup definition. + ArrayList columns =3D getColumns(sourceElement); + int columnsLength =3D getColumnsCount(sourceElement, columns); + nsIDOMElement colgroup =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_COLGROUP); + colgroup.setAttribute(HtmlComponentUtil.HTML_TAG_SPAN, String + .valueOf(columnsLength)); + table.appendChild(colgroup); + + // Encode Caption + encodeCaption(creationData, sourceElement, visualDocument, table); + + // Encode Header + Element header =3D ComponentUtil.getFacet(sourceElement, HEADER); + ArrayList columnsHeaders =3D getColumnsWithFacet(columns, HEADE= R); + if (header !=3D null || !columnsHeaders.isEmpty()) { + nsIDOMElement thead =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_THEAD); + table.appendChild(thead); + String headerClass =3D (String) sourceElement + .getAttribute(HEADER_CLASS); + if (header !=3D null) { + encodeTableHeaderFacet(creationData, thead, columnsLength, + visualDocument, header, + "dr-table-header rich-table-header", + "dr-table-header-continue rich-table-header-continue", + "dr-table-headercell rich-table-headercell", + headerClass, HtmlComponentUtil.HTML_TAG_TD); + } + if (!columnsHeaders.isEmpty()) { + nsIDOMElement tr =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + thead.appendChild(tr); + = + String styleClass =3D encodeStyleClass(null, + "dr-table-subheader rich-table-subheader", null, + headerClass); + if (styleClass !=3D null) { + tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + styleClass); + } + encodeHeaderFacets(creationData, tr, visualDocument, + columnsHeaders, + "rich-ordering-list-table-header-cell", + headerClass, HEADER, HtmlComponentUtil.HTML_TAG_TD); + } + } + + nsIDOMElement tbody =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TBODY); + table.appendChild(tbody); + + // Create mapping to Encode body + for (int i =3D 0; i < NUM_ROW; i++) { + List children =3D ComponentUtil.getChildren(sourceElement); + boolean firstRow =3D true; + nsIDOMElement tr =3D null; + VpeChildrenInfo trInfo =3D null; + for (Node child : children) { + if (child.getNodeName().endsWith(":column")) { + String breakBefore =3D ((Element) child) + .getAttribute("breakBefore"); + if (breakBefore !=3D null + && breakBefore.equalsIgnoreCase("true")) { + tr =3D null; + } + if (tr =3D=3D null) { + tr =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + if (firstRow) { + tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "dr-table-firstrow rich-table-firstrow"); + firstRow =3D false; + } else { + tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "dr-table-row rich-table-row"); + } + trInfo =3D new VpeChildrenInfo(tr); + tbody.appendChild(tr); + creationData.addChildrenInfo(trInfo); + } + trInfo.addSourceChild(child); + } else if (child.getNodeName().endsWith(":columnGroup")) { + RichFacesColumnGroupTemplate.DEFAULT_INSTANCE.encode( + creationData, (Element) child, visualDocument, + tbody); + tr =3D null; + } else if (child.getNodeName().endsWith(":subTable")) { + RichFacesSubTableTemplate.DEFAULT_INSTANCE.encode( + creationData, (Element) child, visualDocument, + tbody); + tr =3D null; + } else { + VpeChildrenInfo childInfo =3D new VpeChildrenInfo(tbody); + childInfo.addSourceChild(child); + creationData.addChildrenInfo(childInfo); + tr =3D null; + } + } + } + + return creationData; + } + + /** + * Creates control button with image and label. + * = + * @param visualDocument + * visual document + * @param btnName + * the button label + * @param imgName + * path to the image + * @param showButtonLabels + * show button label flag + * = + * @return the button + */ + private nsIDOMElement createButtonDiv(nsIDOMDocument visualDocument, + String btnName, String imgName, boolean showButtonLabels) { + = + nsIDOMElement div1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + nsIDOMElement div2 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + nsIDOMElement a =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_A); + nsIDOMElement div3 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + nsIDOMElement img =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_IMG); + = + div1.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-cont= rol"); + div2.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-list= -button"); + = + a.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-list-bu= tton-selection"); + div3.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-list= -button-content"); + = + String resourceFolder =3D RichFacesTemplatesActivator.getPluginResource= Path(); + img.setAttribute("src", "file://" + resourceFolder + imgName); + = + String divStyle =3D "background-image: url(file://" + resourceFolder + B= UTTON_BG + ");"; + div2.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, divStyle); + + div1.appendChild(div2); + div2.appendChild(a); + a.appendChild(div3); + = + div3.appendChild(img); + if (showButtonLabels) { + div3.appendChild(visualDocument.createTextNode(btnName)); + } + = + return div1; + } + + /** + * = + * @param creationData + * @param sourceElement + * @param visualDocument + * @param table + */ + protected void encodeCaption(VpeCreationData creationData, + Element sourceElement, nsIDOMDocument visualDocument, + nsIDOMElement table) { + // Encode caption + Element captionFromFacet =3D ComponentUtil.getFacet(sourceElement, + HtmlComponentUtil.HTML_TAG_CAPTION); + if (captionFromFacet !=3D null) { + String captionClass =3D (String) table.getAttribute(CAPTION_CLASS); + String captionStyle =3D (String) table.getAttribute(CAPTION_STYLE); + + nsIDOMElement caption =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_CAPTION); + table.appendChild(caption); + if (captionClass !=3D null && captionClass.length() > 0) { + captionClass =3D "dr-table-caption rich-table-caption " + + captionClass; + } else { + captionClass =3D "dr-table-caption rich-table-caption"; + } + caption.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + captionClass); + if (captionStyle !=3D null && captionStyle.length() > 0) { + caption.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, + captionStyle); + } + + VpeChildrenInfo cap =3D new VpeChildrenInfo(caption); + cap.addSourceChild(captionFromFacet); + creationData.addChildrenInfo(cap); + } + + } + + /** + * = + * @param creationData + * @param parentTr + * @param visualDocument + * @param headersOrFooters + * @param skinCellClass + * @param headerClass + * @param facetName + * @param element + */ + public static void encodeHeaderFacets(VpeCreationData creationData, + nsIDOMElement parentTr, nsIDOMDocument visualDocument, + ArrayList headersOrFooters, String skinCellClass, + String headerClass, String facetName, String element) { + for (Element column : headersOrFooters) { + String classAttribute =3D facetName + "Class"; + String columnHeaderClass =3D column.getAttribute(classAttribute); + nsIDOMElement td =3D visualDocument.createElement(element); + parentTr.appendChild(td); + String styleClass =3D encodeStyleClass(null, skinCellClass, + headerClass, columnHeaderClass); + td.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, styleClass); + = + nsIDOMElement div1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + String resourceFolder =3D RichFacesTemplatesActivator + .getPluginResourcePath(); + String div1Style =3D "background-image: url(file://" + resourceFolder + + HEADER_CELL_BG + ");"; + div1.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "rich-ordering-list-table-header-cell"); + div1.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, div1Style); + td.appendChild(div1); + + td.setAttribute("scop", "col"); + String colspan =3D column + .getAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN); + if (colspan !=3D null && colspan.length() > 0) { + td.setAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN, colspan); + } + Element facetBody =3D ComponentUtil.getFacet(column, facetName); + + VpeChildrenInfo child =3D new VpeChildrenInfo(div1); + child.addSourceChild(facetBody); + creationData.addChildrenInfo(child); + } + } + + /** + * = + * @param creationData + * @param parentTheadOrTfood + * @param columns + * @param visualDocument + * @param facetBody + * @param skinFirstRowClass + * @param skinRowClass + * @param skinCellClass + * @param facetBodyClass + * @param element + */ + protected void encodeTableHeaderFacet(VpeCreationData creationData, + nsIDOMElement parentTheadOrTfood, int columns, + nsIDOMDocument visualDocument, Element facetBody, + String skinFirstRowClass, String skinRowClass, + String skinCellClass, String facetBodyClass, String element) { + boolean isColumnGroup =3D facetBody.getNodeName() + .endsWith(":columnGroup"); + boolean isSubTable =3D facetBody.getNodeName().endsWith(":subTable"); + if (isColumnGroup) { + RichFacesColumnGroupTemplate.DEFAULT_INSTANCE.encode(creationData, + facetBody, visualDocument, parentTheadOrTfood); + } else if (isSubTable) { + RichFacesSubTableTemplate.DEFAULT_INSTANCE.encode(creationData, + facetBody, visualDocument, parentTheadOrTfood); + } else { + nsIDOMElement tr =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + parentTheadOrTfood.appendChild(tr); + + String styleClass =3D encodeStyleClass(null, skinFirstRowClass, + facetBodyClass, null); + if (styleClass !=3D null) { + tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, styleClass); + } + String style =3D ComponentUtil.getHeaderBackgoundImgStyle(); + tr.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, style); + + nsIDOMElement td =3D visualDocument.createElement(element); + tr.appendChild(td); + + styleClass =3D encodeStyleClass(null, skinCellClass, facetBodyClass, + null); + if (styleClass !=3D null) { + td.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, styleClass); + } + + if (columns > 0) { + td.setAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN, String + .valueOf(columns)); + } + td.setAttribute(HtmlComponentUtil.HTML_SCOPE_ATTR, + HtmlComponentUtil.HTML_TAG_COLGROUP); + + VpeChildrenInfo child =3D new VpeChildrenInfo(td); + child.addSourceChild(facetBody); + creationData.addChildrenInfo(child); + } + } + + /** + * = + * @param parentSourceElement + * @return list of columns + */ + public static ArrayList getColumns(Element parentSourceElement) { + ArrayList columns =3D new ArrayList(); + NodeList children =3D parentSourceElement.getChildNodes(); + for (int i =3D 0; i < children.getLength(); i++) { + Node child =3D children.item(i); + if ((child instanceof Element) + && child.getNodeName().endsWith(":column")) { + columns.add((Element) child); + } + } + return columns; + } + + /** + * = + * @param columns + * @param facetName + * @return list of columns with facet + */ + public static ArrayList getColumnsWithFacet( + ArrayList columns, String facetName) { + ArrayList columnsWithFacet =3D new ArrayList(); + for (Element column : columns) { + Element body =3D ComponentUtil.getFacet(column, facetName); + if (body !=3D null) { + columnsWithFacet.add(column); + } + } + return columnsWithFacet; + } + + /** + * = + * @param parentPredefined + * @param predefined + * @param parent + * @param custom + * @return + */ + public static String encodeStyleClass(Object parentPredefined, + Object predefined, Object parent, Object custom) { + StringBuffer styleClass =3D new StringBuffer(); + // Construct predefined classes + if (null !=3D parentPredefined) { + styleClass.append(parentPredefined).append(SPACE); + } else if (null !=3D predefined) { + styleClass.append(predefined).append(SPACE); + } + // Append class from parent component. + if (null !=3D parent) { + styleClass.append(parent).append(SPACE); + } + if (null !=3D custom) { + styleClass.append(custom); + } + if (styleClass.length() > 0) { + return styleClass.toString(); + } + return null; + } + + /** + * = + * @param sourceElement + * @param columns + * @return + */ + protected int getColumnsCount(Element sourceElement, + ArrayList columns) { + int count =3D 0; + // check for exact value in component + Integer span =3D null; + try { + span =3D Integer.valueOf(sourceElement.getAttribute("columns")); + } catch (Exception e) { + // Ignore bad attribute + } + if (null !=3D span && span.intValue() !=3D Integer.MIN_VALUE) { + count =3D span.intValue(); + } else { + // calculate max html columns count for all columns/rows children. + count =3D calculateRowColumns(sourceElement, columns); + } + return count; + } + + /* + * Calculate max number of columns per row. For rows, recursive calculate + * max length. + */ + private int calculateRowColumns(Element sourceElement, + ArrayList columns) { + int count =3D 0; + int currentLength =3D 0; + for (Element column : columns) { + if (ComponentUtil.isRendered(column)) { + if (column.getNodeName().endsWith(":columnGroup")) { + // Store max calculated value of previous rows. + if (currentLength > count) { + count =3D currentLength; + } + // Calculate number of columns in row. + currentLength =3D calculateRowColumns(sourceElement, + getColumns(column)); + // Store max calculated value + if (currentLength > count) { + count =3D currentLength; + } + currentLength =3D 0; + } else if (column.getNodeName().equals( + sourceElement.getPrefix() + ":column")) { + String breakBeforeStr =3D column.getAttribute("breakBefore"); + boolean breakBefore =3D false; + if (breakBeforeStr !=3D null) { + try { + breakBefore =3D Boolean.getBoolean(breakBeforeStr); + } catch (Exception e) { + // Ignore bad attribute + } + } + // For new row, save length of previous. + if (breakBefore) { + if (currentLength > count) { + count =3D currentLength; + } + currentLength =3D 0; + } + String colspanStr =3D column + .getAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN); + Integer colspan =3D null; + try { + colspan =3D Integer.valueOf(colspanStr); + } catch (Exception e) { + // Ignore + } + // Append colspan of this column + if (null !=3D colspan + && colspan.intValue() !=3D Integer.MIN_VALUE) { + currentLength +=3D colspan.intValue(); + } else { + currentLength++; + } + } else if (column.getNodeName().endsWith(":column")) { + // UIColumn always have colspan =3D=3D 1. + currentLength++; + } + + } + } + if (currentLength > count) { + count =3D currentLength; + } + return count; + } + + /** + * Checks, whether it is necessary to re-create an element at change of + * attribute + * = + * @param pageContext + * Contains the information on edited page. + * @param sourceElement + * The current element of the source tree. + * @param visualDocument + * The document of the visual tree. + * @param visualNode + * The current node of the visual tree. + * @param data + * The arbitrary data, built by a method create + * @param name + * Attribute name + * @param value + * Attribute value + * @return true if it is required to re-create an element at + * a modification of attribute, false otherwise. + */ + public boolean isRecreateAtAttrChange(VpePageContext pageContext, + Element sourceElement, nsIDOMDocument visualDocument, + nsIDOMElement visualNode, Object data, String name, String value) { + return true; + } +} Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/sr= c/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesOrderingList.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe= -templates-richfaces.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/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templ= ates-richfaces.xml 2008-01-15 09:36:21 UTC (rev 5681) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templ= ates-richfaces.xml 2008-01-15 12:19:58 UTC (rev 5682) @@ -339,6 +339,45 @@ = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = --===============0785497731391880730==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 08:00:45 2008 Content-Type: multipart/mixed; boundary="===============6108316443857630405==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5683 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor. Date: Tue, 15 Jan 2008 08:00:44 -0500 Message-ID: --===============6108316443857630405== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-15 08:00:44 -0500 (Tue, 15 Jan 2008) New Revision: 5683 Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/Vpe= VisualDomBuilder.java Log: http://jira.jboss.com/jira/browse/JBIDE-1556 Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/edi= tor/VpeVisualDomBuilder.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/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/Vp= eVisualDomBuilder.java 2008-01-15 12:19:58 UTC (rev 5682) +++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/Vp= eVisualDomBuilder.java 2008-01-15 13:00:44 UTC (rev 5683) @@ -103,7 +103,7 @@ private static final int DRAG_AREA_WIDTH =3D 10; private static final int DRAG_AREA_HEIGHT =3D 10; private static final String ATTR_XMLNS =3D "xmlns"; - private static final String ATTR_DRAG_AVAILABLE_CLASS=3D"__drag__avail= able_style"; + private static final String ATTR_DRAG_AVAILABLE_CLASS =3D "__drag__ava= ilable_style"; = private MozillaEditor visualEditor; private XulRunnerEditor xulRunnerEditor; @@ -498,7 +498,7 @@ } } } - if (childrenCount =3D=3D 0) { + if (childrenCount =3D=3D 0 && childrenInfoList.size() =3D=3D 0) { setPseudoContent(containerTemplate, sourceContainer, visualParent); } @@ -1720,23 +1720,26 @@ nsIDOMElement selectedElement =3D xulRunnerEditor .getLastSelectedElement(); if (selectedElement !=3D null && canInnerDrag(selectedElement)) { - String styleClasses =3D selectedElement.getAttribute(HTML.ATTR_CLASS); - if (inDragArea(getNodeBounds(selectedElement), VisualDomUtil + String styleClasses =3D selectedElement.getAttribute(HTML.ATTR_CLASS); + if (inDragArea(getNodeBounds(selectedElement), VisualDomUtil .getMousePoint(mouseEvent))) { // change cursor - if(styleClasses=3D=3Dnull || !(styleClasses.contains(ATTR_DRAG_AVAI= LABLE_CLASS))){ - //change cursor style to move - styleClasses=3DATTR_DRAG_AVAILABLE_CLASS+" "+styleClasses; - } = + if (styleClasses =3D=3D null + || !(styleClasses.contains(ATTR_DRAG_AVAILABLE_CLASS))) { + // change cursor style to move + styleClasses =3D ATTR_DRAG_AVAILABLE_CLASS + " " + + styleClasses; + } } else { - //change cursor style to normal - if(styleClasses!=3Dnull) { - = - styleClasses=3DstyleClasses.replaceAll(ATTR_DRAG_AVAILABLE_CLASS, "= "); - } + // change cursor style to normal + if (styleClasses !=3D null) { + + styleClasses =3D styleClasses.replaceAll( + ATTR_DRAG_AVAILABLE_CLASS, ""); + } } - selectedElement.setAttribute(HTML.ATTR_CLASS, styleClasses); - } + selectedElement.setAttribute(HTML.ATTR_CLASS, styleClasses); + } } = private boolean inDragArea(Rectangle dragArea, Point mousePoint) { --===============6108316443857630405==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:00:35 2008 Content-Type: multipart/mixed; boundary="===============6554718474477182650==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5684 - in trunk/jsf/docs/userguide/en: modules and 1 other directory. Date: Tue, 15 Jan 2008 09:00:34 -0500 Message-ID: --===============6554718474477182650== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-15 09:00:34 -0500 (Tue, 15 Jan 2008) New Revision: 5684 Removed: trunk/jsf/docs/userguide/en/modules/editors_features.xml trunk/jsf/docs/userguide/en/modules/more_editors.xml Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_44.png trunk/jsf/docs/userguide/en/images/more_editors/more_editors_45.png trunk/jsf/docs/userguide/en/modules/editors.xml Log: http://jira.jboss.com/jira/browse/JBDS-226 screens are retaken with 96 reso= lution + scale parameter is defined Modified: trunk/jsf/docs/userguide/en/images/more_editors/more_editors_44.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/more_editors/more_editors_45.p= ng =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/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 2008-01-15 13:00:44 UTC= (rev 5683) +++ trunk/jsf/docs/userguide/en/modules/editors.xml 2008-01-15 14:00:34 UTC= (rev 5684) @@ -1736,7 +1736,7 @@ Source Viewer - +

Deleted: trunk/jsf/docs/userguide/en/modules/editors_features.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_features.xml 2008-01-15 13:= 00:44 UTC (rev 5683) +++ trunk/jsf/docs/userguide/en/modules/editors_features.xml 2008-01-15 14:= 00:34 UTC (rev 5684) @@ -1,593 +0,0 @@ - - - -Editors Features -JBoss Developer Studio has powerful editor features that help you ea= sily navigate within your application and make use of content and code assi= st no matter what project file (jsp, xhtml, xml, css, etc.) you are working= on. -
- -OpenOn - -OpenOn let's you easily navigate through y= our project without using the Package Explorer view (project tree). With Op= enOn, you can simply click on a reference to another file and that file wil= l be opened. - -OpenOn is available for the following files: - -XML files -JSP/XHTML Pages - Java files - -
- -XML Files - -Press and hold down the Ctrl key. As you move the mouse cursor over = different file references in = -the file, they display an underline. When you have the mouse cursor over t= he name of the file you want - to open, click and the file will open in its own editor. In this example = the managed bean NameBean will - open. -
-NameBean Managed Bean - = - - - - -
-This is the result of using OpenOn -
-NameBean Java Class - = - - - - -
-You can also try OpenOn with defined attributes. -
-OpenOn With Defined Attributes - = - - - - -
-You can also open any JSP pages. -
-JSP Page OpenOn - = - - - - -
-
-
- -JSP Pages - -OpenOn is also very useful in JSP pages. It wil= l allow you to quickly jump to the reference - instead of having to hunt around in the project structure. - -You can easily open the imported property files. -
-OpenOn With Imported Property Files - = - - - - -
-Use OpenOn to open a CSS file used with a JSP page: -
-OpenOn With CSS File - = - - - - -
-Open managed beans: -
-OpenOn With Maneaged Beans - = - - - - -
-For JSP files in a JSF project, you can also easily open the navigat= ion rules by applying OpenOn to the JSF tag for the na= vigation outcome: -
-OpenOn With JSF Tag - = - - - - -
-
-
- -
- -Code Assist and Dynamic Code Assist (based on project data) -
- -Content Assist Features -
- -Content Assist -Content assist is available when working with - - -Seam project files -JSF project files -Struts project files -JSP files - -
-
- -JSF Project Files - - When working with JSF project in JBoss Developer Studio, you can= use various Content Assist features while developing:= - -Content Assist for XML, JSP and JSF configuration files -Content Assist based on project data -Content Assist with graphical JSF editor - -
- -Content Assist for XML, JSP and JSF configuration files - - At any point when working with any XML, JSP and JSF configuratio= n files Content Assist is available to help you. Simply type Ctrl-Space to see what is available. - -Content Assist for JSF configuration file: -
-Content Assist in JSF Configuration File - = - - - - -
-Content Assist for JSF JSP file: -
-Content Assist in JSP File - = - - - - -
-Content Assist for other JSF XML project files (web.xml shown): -
-Content Assist in web.xml File - = - - - - -
-
-
- -Content Assist Based on Project Data - -JBoss Developer Studio takes Content Assist to the next level. Studi= o will - constantly scan your project and you will be able to insert code into the= JSP page from your project that - includes: - -Values from Property files -"Managed beans&qu= ot; attributes and methods -Navigation Rule Outcomes - JSF variables (context, request etc...) - -The first screenshot shows how to insert message from a Properties f= iles. You simply put the cursor - inside the "value" attribute and press Ctrl-Space= . JBoss Developer Studio will scan your project and show a list = of possible values to insert. -
-Inserting Message - = - - - - -
-In the following screen shot we are inserting a "Managed bean" attribute va= lue. Again, by simply clicking Ctrl-Space, JBoss Developer Studio will show a list of all possible values th= at you can insert: - -Once you select a Managed bean, it will show you a list of all avail= able attributes for the selected Managed bean (userBean). -
-Attributes List - = - - - - -
-Code Assist based on project data will also prompt you for navigatio= n rules that exist in your JSF - configuration file. -
-Code Assist - = - - - - -
-
-
- -Content Assist within Tree JSF Editor - -JBoss Developer Studio also provides Content Assist when working wit= hin the Tree JSF = -configuration editor. Just click Ctrl-Space= . -
-Content Assist in Tree JSF Configuration Editor - = - - - - -
-If a field contains right class name and you click a link near the f= ield you will come to the file with this class otherwise a new Java Class d= ialog will be shown: -
-New Java Class - = - - - - -
-If you entered an incorrect name in the field error markers will be = shown for field labels and tree items: -
-Error Markers - = - - - - -
- -To add a new property to a managed bean expand <= property>Managed Beans and select <name_of_bean> -Click Add button= in the Properties panel -In the dialog Add Property define a new property. From her= e also you can generate setters and getters methods: - -
-Create New Property - = - - - - -
-Here you can also add an additional navigation rule to the faces-con= fig.xml file. - -Select Navigation Rules -Click Add button= -In the dialog Add Rule define a view and give a name to the rule. Click Finish: - -
-Add New Navigation Rule - = - - - - -
- -
-
-
- -Struts Project Files -
- -Content Assist for Struts Configuration File -
-Struts Content Assist - = - - - - -
-
-
- -Content Assist for Struts JSP File -
-Struts JSP Content Assist - = - - - - -
-
-
-
- -JSP Pages -
- -Content Assist for JSF Tags -JBDS provides full code completion for JSF tags: - -
-JSF Tags Content Assist - = - - - - -
-When the tag is selected the required attributes, if there any, are = already inserted and the cursor is located to the first attribute. As this = point you can ask for attribute proposals. -
-Attributes Content Assist - = - - - - -
- -
-
- -Content Assist for JSTL Tags -
-JSTL Tags Content Assist - = - - - - -
-
-
- -Content Assist for HTML Tags -Content assist for HTML tags has the same mechanism as for JSF tags:= -
-HTML Tags Content Assist - = - - - - -
-You can use as well attributes proposals for HTML tags: -
-HTML Tags Content Assist - = - - - - -
-
-
- -Content Assist for JavaScript Tags -
-JavaScript Tags Content Assist - = - - - - -
-
- -
- -Content Assist within JSF Configuration Editor -
-Content Assist in JSF Configuration Editor - = - - - - -
-
-
-
- -Content Assist for Rich Faces components -JBDS indeed provides code completion for Rich Faces framework compon= ents. All you have to do is to install Rich Faces libraries into your proje= ct. See here how to install. -
-Content Assist for Rich Faces Components - = - - - - -
- - To insert a Rich Faces component on a page expand JBoss Rich Faces group on the palette = - Click on some component - Put the needed attributes in the Ins= ert Tag dialog and click Finish button -
-Insert Tag - = - - - - -
-
-
- The Rich Faces tag will be inserted on your page displayed in sourc= e and visual modes: -
-Rich Faces Component - = - - - - -
-
-
- -
- -Adding dynamic code assist to custom components that were added to = JBoss Tools Palette -Here is what you need to do to add project based code assist to a cu= stom component added in = -JBoss Developer Studio: - - Create a new xml file in <JBDS_= home>studio/eclipse/plugins/org.jboss.tools.common.kb_***/schemas/tld/. For example call it JeniaFaces.xml. The file should b= e written according to <JBDS_home>/studio/eclipse= /plugins/org.jboss.tools.common.kb/kb.jar/org/jboss/tools/common/kb/kb-sche= ma_1.0.dtd - - Here is how you set what is available for code assist: - -Adds code assist for JSF pre-defined objects, such as valu= e=3D"#{param}": - - - - -]]> - -Adds bundle resource (property file) code assist= : - - - - -]]> - -Adds managed bean property code assist: - - - - -]]> - -Adds managed bean property but with a specified type: - - - - - - -]]> - -Adds managed bean method with a signature: - - - - - - - - - -]]> - - Add information on your xml file in <JBDS_home>/studio/eclipse/plugins/org.jboss.common.kb_***/plug= in.xml = - - ]]> - - -Restart Eclipse. You should now have code assist for the c= omponent. - -
-
-
- -Full Control over Source Files - Synchronized Source and Visual Edi= ting - -JBoss Developer Studio offers the flexibility to edit any files in e= ither source or extra visual - modes at the same time. - -The project is yours and so is the source. JBoss Developer Studio pr= ovides you many different - graphical editors to speed your application development. At the same time= , you always have full control - over all project source files. Any changes you make in the source view, = will immediately appear in - the graphical view. - -The JSF configuration file editor has three views: Diagram, Tree and= Source. All views are = -synchronized, you can edit the file in any view. -
-Diagram View - = - - - - -
-
-Tree View - = - - - - -
- -
-Source View - = - - - - -
-The same applies to all other JBoss Developer Studio editors. - -Web XML editor is shown. Web XML editor has a graphical view (Tree) = and source (Source). - -
-Tree View - = - - - - -
-
-Source View - = - - - - -
-JBoss Developer Studio TLD file editor shown in Tree view. At any po= int you can edit the source by going - switching to Source view. -
-Tree Editor - = - - - - -
-
-Source Editor - = - - - - -
-The Struts configuration file editor has three views: Diagram, Tree = and Source. All views are synchronized, - you can edit the file in any view. -
-Struts Diagram View - = - - - - -
-Source view. Any changes here will immediately appear in all other v= iews. -
-Struts Source View - = - - - - -
-
-
\ No newline at end of file Deleted: trunk/jsf/docs/userguide/en/modules/more_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/more_editors.xml 2008-01-15 13:00:4= 4 UTC (rev 5683) +++ trunk/jsf/docs/userguide/en/modules/more_editors.xml 2008-01-15 14:00:3= 4 UTC (rev 5684) @@ -1,723 +0,0 @@ - - - -More Editors -Besides Visual Page Editor JBDS provides editors for editing project= files of any types: properties, TLD, web.xml, tiles, and so on. = -
- -Graphical Properties Editor - - The Properties editor allows you to work in= two different modes and also supports unicode characters. - - To create a new properties file, in the Package Explorer view, s= elect New > Properties File from = the right-click context menu on the folder where you want to create the fil= e. -
-Selecting Properties File - = - - - - -
- -You can edit the file using a table-oriented "Properties" = viewer: - -
-"Properties" Viewer - = - - - - -
- -You can also use a Source viewer for editing the file: -
-Source Viewer - = - - - - -
-
- -
- -Graphical TLD Editor - - The TLD editor comes with same features you= will find in all other JBoss Developer Studio editors: - - -Graphical and source edit modes -Validation and error checking - -
- -Tree view - -
-Tree View - = - - - - -
-
-
- -Source view - -You can easily switch from Tree to Source by selecting the Source ta= b at the bottom of the editor. - -
-Source View - = - - - - -
- -You can easily add a new tag: - -
-Adding a New Tag - = - - - - -
- -You can also easily add a new attribute to an e= xisting tag: -
-Adding a New Attribute - = - - - - -
-Content assist is available when editing the file using the Source v= iewer: - -
-Content Assist - = - - - - -
- -In the Source viewer, if at any point a tag is incorrect or incomple= te, an error will be indicated = -next to the line and also in the Problems view below. - -
-Error Reporting - = - - - - -
-
-
- -
- -Graphical Web Application File (web.xml) Editor - -The Web Application File editor comes with the same features you wil= l find in all other = -JBoss Developer Studio editors: - - -Graphical and source edit modes -Validation and error checking - -
-Tree View - -
-Tree View - = - - - - -
- -You can add any new elements right in the Tree viewer: - -
-Adding New Elements - = - - - - -
-
-
- -Source View - -Switch to the Source viewer to edit the web.xml= file by hand at any time: - -
-Source View - = - - - - -
-
-
- -Content Assist - -Content assist is available in the Source viewer. Simply click CTRL-Space anywhere in the file. - -
-Content Assist - = - - - - -
-
-
- -Errors Checking and Validation - -If errors occur anywhere in the file, small red dots will appear nex= t to the lines where the errors - occurred. Also, note that the file is marked by a small x in the Package = Explorer view. - -
-Errors Reporting - = - - - - -
-
-
-
- -Graphical Tiles Files Editor -
- -Graphical Editor For Tiles Files -The Tiles configuration file editor has three main viewers (modes): = Tree (shown), Diagram and Source. The modes can be selected via the tabs at= the bottom of the editor. Any changes made in one mode are immediately vis= ible when you switch to any other mode. - -When working in Source view, you always have all following features = available: - - -Content Assist -Open On Selection - -
-
- -Create New Tiles File - -To create a new Tiles files, right click any folder and select New > Tiles Files: - -
-Creating New Tiles File - = - - - - -
-
-
- -Tree View - -In the Tree mode, the different elements of the Tiles file are organ= ized into functional categories = -on the left-hand side and a form for editing the properties of currently s= elected items on the right-hand - side. - -
-Tree View - = - - - - -
-To edit the file, simply right click any node and select among the a= vailable actions: - -
-Editing in Tiles Editor - = - - - - -
-
-
- -Diagram View - -The Diagram mode is shown below: -
-Diagram View - = - - - - -
- -To create new definition, simply right click anywhere in the diagram= : -
-Creating New Definition - = - - - - -
- -You can also use the Diagram toolbar to make editing easier: - -
-Diagram Toolbar - = - - - - -
-
-
- -Source - - The Tiles editor also comes with a Source view that gives you full control over the source. = -Any changes here will immediately appear in when you switch to any of the = other viewers. -
-Source View - = - - - - -
- -Content assist is available in the Source mode. - -
-Content Assist - = - - - - -
- -Any errors are immediately reported as shown below: -
-Error Reporting - = - - - - -
- -You can also use the Outline view together with the editor's So= urce mode. Selecting any node in the Outline view will jump to that place i= n the source: - -
-Outline View - = - - - - -
-
-
- -
- -Graphical Editor for Struts Validation Files -JBoss Developer Studio comes with a visual validation editor. To cre= ate a new validation file, = -right click any folder and select File > Validation Fi= le from the context menu. - -
-Creating Validation File - = - - - - -
- -The validation editor works through a number of viewers. - -The Formsets viewer shows forms and their elements for which to defi= ne validation rules: - -
-Formsets Viewer - = - - - - -
- -The Constants viewer lets you set constant values for your validatio= n rules: - -
-Constants viewer - = - - - - -
- -The validation file also can be viewed in a Tree viewer: - -
-Tree Viewer - = - - - - -
- -At any point you have full control over the source by switching to t= he Source viewer. Any editing = -in this viewer will immediately be available in the other viewers of this = editor. - -
-Source Viewer - = - - - - -
- -You can also open your own custom or Struts-standard validation-rule= s.xml file. - -The Validators viewer shows the validation rules for a selected vali= dator. You can of course add your - own rules. - -
-Validation Rules - = - - - - -
- -Here are the validation rules shown in the Source viewer. - -
-Validation Rules in Source Viewer - = - - - - -
-
-
- -Spring IDE - JBoss Developer Studio bundles a Spring Framework edit= or from Spring IDE f= or Eclipse. Visit this site for the latest versions and documentati= on. - - You can add a Spring Project nature to an e= xisting project by right-clicking on the project and - selecting from the context menu: - -
- Adding Spring Project Nature - = - - - - -
- - - Once the nature is added, you will see a small "S= " decorating a Spring project in the Package Explorer - view. To remove the nature, right click the project and select = Remove Spring Project Nature: - -
- Project with Spring Nature - = - - - - -
- -After creating a Spring configuration file with bean definitions: - -
- Spring Configuration File - = - - - - -
- - Select Spring Beans project with Project >= ; Properties > Spring > Beans Support from the = menu bar: - -
- Spring Beans - = - - - - -
- - Now you can add the Spring bean configuration files to your project= by clicking on Add button: - -
- Adding Configuration Files - = - - - - -
- -Once you add this file, the file will be marked by an "S" = to indicate a Spring bean file: - -
- Spring Bean File - = - - - - -
- - To activate the Spring Beans view, select Wi= ndow > Show View... > Other and then = Spring Explorer> Spring Beans from the - menu bar: - -
- Selecting Spring Beans View - = - - - - -
- -The Spring Beans view shows a read-only outline view of the Spring b= ean configuration file: - -
- Spring Beans View - = - - - - -
- -Using a context menu, you can select a graph view of the Spring conf= iguration file's referenced - beans: - -
- Graph View - = - - - - -
-
- -
- -CSS Editor - - The CSS editor comes with the same features= you will find in all other JBoss Developer Studio editors. - - -Content assist -Validation and error checking - - -With the CSS (Cascading Style Sheet) editor, you can take advantage = of code prompting: - -
-CSS Editor - = - - - - -
- -You can also use the Outline view next to the editor to navigate thr= ough the CSS file: - -
-Outline View - = - - - - -
- -And you can also use the Properties view next to the editor to edit = existing stylesheet = -declaration properties: - -
-Properties View - = - - - - -
- -
-
- -JavaScript Editor - - The JavaScript editor includes a Preview vi= ewer and a Source viewer. In the Source viewer, you can use code assist: - -
-JavaScript Editor - = - - - - -
- -You can also use the Source viewer with the Outline view to navigate= around the file: - -
-Source Viewer - = - - - - -
- -
-
- -Image Viewer -This simple image viewer allows you to view GIF and JPEG files indiv= idually in a separate window: - -
-Image Viewer - = - - - - -
- -
-
- -XSD Editor - - JBoss Developer Studio comes with an XSD Editor for XML Schema files. This editor comes from the Web Tools Project (WT= P) (see WTP Getting Started). - - To create a new XSD file, right-click a folder in the Package Ex= plorer view, select New > Other... from the context menu and then select XML > XML= Schema in the dialog box. - -
-Creating New XSD file - = - - - - -
- - The XSD Editor includes two viewers for working on the file, a D= esign viewer and a Source viewer: - -
-Source Viewer - = - - - - -
- - In the Design viewer, you can drill down on an element by double= -clicking on it: - -
- Design Viewer - = - - - - -
- -Various edit options are available when you right-click an element i= n the diagram: - -
-Edit Options - = - - - - -
- -You can also use the Properties view to edit a selected element: - -
-Properties View - = - - - - -
- -You can also use a Source viewer for the file. In this viewer, along= with direct editing of the - source code, you can also edit the file by using the Properties view on t= he right: - -
-Source Viewer - = - - - - -
- -
-
- -Support for XML Schema - -JBoss Developer Studio fully supports XML files based on schemas as = well as DTDs: -
-XML File - = - - - - -
- -
-
\ No newline at end of file --===============6554718474477182650==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:02:23 2008 Content-Type: multipart/mixed; boundary="===============1430762051588441620==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5685 - in trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces: src/org/jboss/tools/jsf/vpe/richfaces/template and 1 other directories. Date: Tue, 15 Jan 2008 09:02:23 -0500 Message-ID: --===============1430762051588441620== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-15 09:02:23 -0500 (Tue, 15 Jan 2008) New Revision: 5685 Removed: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/contextMen= u/ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/= jsf/vpe/richfaces/template/RichFacesContextMenuTemplate.java Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templa= tes-richfaces.xml Log: http://jira.jboss.com/jira/browse/JBIDE-1581 Deleted: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/= tools/jsf/vpe/richfaces/template/RichFacesContextMenuTemplate.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/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/template/RichFacesContextMenuTemplate.java 2008-01-15 14= :00:34 UTC (rev 5684) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/template/RichFacesContextMenuTemplate.java 2008-01-15 14= :02:23 UTC (rev 5685) @@ -1,122 +0,0 @@ -/*************************************************************************= ****** - * 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.jsf.vpe.richfaces.template; - -import java.util.List; - -import org.jboss.tools.jsf.vpe.richfaces.ComponentUtil; -import org.jboss.tools.jsf.vpe.richfaces.HtmlComponentUtil; -import org.jboss.tools.jsf.vpe.richfaces.RichFacesTemplatesActivator; -import org.jboss.tools.vpe.editor.context.VpePageContext; -import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate; -import org.jboss.tools.vpe.editor.template.VpeCreationData; -import org.mozilla.interfaces.nsIDOMDocument; -import org.mozilla.interfaces.nsIDOMElement; -import org.mozilla.interfaces.nsIDOMText; -import org.w3c.dom.Element; -import org.w3c.dom.Node; - -/** - * Template for Rich Faces contextMenu - * = - * @author dsakovich(a)exadel.com - */ -public class RichFacesContextMenuTemplate extends VpeAbstractTemplate { - - private final static String STYLE_PATH =3D "contextMenu/contextMenu.cs= s"; - private final static String IMAGE_PATH =3D "contextMenu/spacer.gif"; - private final static String BACKGROUND_PATH =3D "contextMenu/backgroun= d.gif"; - private final static String MENU_ITEM_NODE_NAME =3D "menuItem"; - private final static String VALUE =3D "value"; - private final static String DIV_STYLE =3D "border : 1px solid #C4C0B9;= "; - - public VpeCreationData create(VpePageContext pageContext, Node sourceN= ode, - nsIDOMDocument visualDocument) { - - ComponentUtil.setCSSLink(pageContext, STYLE_PATH, - "richFacesContextMenu"); - Element sourceElement =3D (Element) sourceNode; - - nsIDOMElement table =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TABLE); - - table.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, - "dr-menu-list-bg rich-menu-list-bg dr-menu-list-border"); - - String path =3D RichFacesTemplatesActivator.getPluginResourcePath() - + BACKGROUND_PATH; - - table.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, - "background-image: url(file://" + path + "); " + DIV_STYLE); - - List listItems =3D ComponentUtil.getChildren(sourceElement, false); - - for (Node node : listItems) { - nsIDOMElement element =3D createMenuItem(visualDocument, node); - if (element !=3D null) - table.appendChild(element); - } - - VpeCreationData creationData =3D new VpeCreationData(table); - - return creationData; - - } - - /** - * Create menu item - * = - * @param document - * @param sourceNode - * @return - */ - private nsIDOMElement createMenuItem(nsIDOMDocument document, - Node sourceNode) { - - Element sourceElement =3D (Element) sourceNode; - - String nodeName =3D sourceElement.getPrefix() + ":" + MENU_ITEM_NODE_NAME; - if (!sourceElement.getNodeName().equalsIgnoreCase(nodeName)) { - return null; - } - String value =3D sourceElement.getAttribute(VALUE); - nsIDOMElement div =3D document - .createElement(HtmlComponentUtil.HTML_TAG_DIV); - div - .setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, - "dr-menu-item rich-menu-item dr-menu-item-enabled rich-menu-item-enable= d"); - - nsIDOMElement span =3D document - .createElement(HtmlComponentUtil.HTML_TAG_SPAN); - span.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, - "dr-menu-icon rich-menu-item-icon"); - - nsIDOMElement img =3D document - .createElement(HtmlComponentUtil.HTML_TAG_IMG); - img.setAttribute(HtmlComponentUtil.HTML_ATR_WIDTH, "16"); - img.setAttribute(HtmlComponentUtil.HTML_ATR_HEIGHT, "16"); - ComponentUtil.setImg(img, IMAGE_PATH); - - nsIDOMElement textSpan =3D document - .createElement(HtmlComponentUtil.HTML_TAG_SPAN); - textSpan.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, - "rich-menu-item-label"); - - nsIDOMText text =3D document.createTextNode((value =3D=3D null) ? "" : va= lue); - - textSpan.appendChild(text); - span.appendChild(img); - div.appendChild(span); - div.appendChild(textSpan); - - return div; - } -} Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe= -templates-richfaces.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/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templ= ates-richfaces.xml 2008-01-15 14:00:34 UTC (rev 5684) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templ= ates-richfaces.xml 2008-01-15 14:02:23 UTC (rev 5685) @@ -565,8 +565,8 @@ = - + + = --===============1430762051588441620==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:18:09 2008 Content-Type: multipart/mixed; boundary="===============4653852854819322864==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5686 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages: JBIDE and 1 other directories. Date: Tue, 15 Jan 2008 09:18:09 -0500 Message-ID: --===============4653852854819322864== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dmaliarevich Date: 2008-01-15 09:18:09 -0500 (Tue, 15 Jan 2008) New Revision: 5686 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/JBIDE/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/JBIDE/1579/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/JBIDE/1579/JBIDE-1579-2buttons.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/JBIDE/1579/JBIDE-1579-4buttons.xhtml Log: JUnit test for the rich faces orderingList template Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/JBIDE/1579/JBIDE-1579-2buttons.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/pages/JBIDE/1579/JBIDE-1579-2buttons.xh= tml ___________________________________________________________________ Name: svn:mime-type + application/xhtml+xml Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/JBIDE/1579/JBIDE-1579-4buttons.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/pages/JBIDE/1579/JBIDE-1579-4buttons.xh= tml ___________________________________________________________________ Name: svn:mime-type + application/xhtml+xml --===============4653852854819322864==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:18:50 2008 Content-Type: multipart/mixed; boundary="===============2526336409267891062==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5687 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test: jbide and 1 other directory. Date: Tue, 15 Jan 2008 09:18:49 -0500 Message-ID: --===============2526336409267891062== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dmaliarevich Date: 2008-01-15 09:18:49 -0500 (Tue, 15 Jan 2008) New Revision: 5687 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/too= ls/jsf/vpe/richfaces/test/jbide/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/too= ls/jsf/vpe/richfaces/test/jbide/JBIDE1579Test.java Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/too= ls/jsf/vpe/richfaces/test/RichFacesAllTests.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/too= ls/jsf/vpe/richfaces/test/RichFacesComponentTest.java Log: JUnit test for the rich faces orderingList template Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jb= oss/tools/jsf/vpe/richfaces/test/RichFacesAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesAllTests.java 2008-01-15 14:18:09 UTC (= rev 5686) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesAllTests.java 2008-01-15 14:18:49 UTC (= rev 5687) @@ -15,6 +15,7 @@ = import junit.framework.Test; import junit.framework.TestSuite; +import org.jboss.tools.jsf.vpe.richfaces.test.jbide.JBIDE1579Test; import org.jboss.tools.vpe.ui.test.VpeTestSetup; import org.jboss.tools.vpe.ui.test.beans.ImportBean; = @@ -33,6 +34,7 @@ // $JUnit-BEGIN$ = suite.addTestSuite(RichFacesComponentTest.class); + suite.addTestSuite(JBIDE1579Test.class); = // $JUnit-END$ = Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jb= oss/tools/jsf/vpe/richfaces/test/RichFacesComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesComponentTest.java 2008-01-15 14:18:09 = UTC (rev 5686) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesComponentTest.java 2008-01-15 14:18:49 = UTC (rev 5687) @@ -138,6 +138,11 @@ "components/modalPanel.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } = + public void testOrderingList() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/orderingList.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS= -1$ + } + = public void testPaint2D() throws PartInitException, Throwable { performTestForVpeComponent((IFile) TestUtil.getComponentPath( "components/paint2D.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss= /tools/jsf/vpe/richfaces/test/jbide/JBIDE1579Test.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/jbide/JBIDE1579Test.java = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/jbide/JBIDE1579Test.java 2008-01-15 14:18:49 UTC= (rev 5687) @@ -0,0 +1,104 @@ +package org.jboss.tools.jsf.vpe.richfaces.test.jbide; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.core.resources.IFile; +import org.eclipse.ui.IEditorInput; +import org.eclipse.ui.part.FileEditorInput; +import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; +import org.jboss.tools.vpe.editor.util.HTML; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; +import org.mozilla.interfaces.nsIDOMDocument; +import org.mozilla.interfaces.nsIDOMElement; +import org.mozilla.interfaces.nsIDOMNode; + +public class JBIDE1579Test extends VpeTest { + + public static final String IMPORT_PROJECT_NAME =3D "richFacesTest"; + = + private static final String TEST_PAGE_NAME_2BUTTONS =3D "JBIDE/1579/JBIDE= -1579-2buttons.xhtml"; + private static final String TEST_PAGE_NAME_4BUTTONS =3D "JBIDE/1579/JBIDE= -1579-4buttons.xhtml"; + + public JBIDE1579Test(String name) { + super(name); + } + = + public void testJBIDE_1579_2buttons() throws Throwable{ + // wait + TestUtil.waitForJobs(); + // set exception + setException(null); + + // get test page path + IFile file =3D (IFile) TestUtil.getComponentPath( + TEST_PAGE_NAME_2BUTTONS, IMPORT_PROJECT_NAME); + = + assertNotNull("Could not open specified file " + file.getFullPath(), + file); + + IEditorInput input =3D new FileEditorInput(file); + + assertNotNull("Editor input is null", input); + // open and get editor + JSPMultiPageEditor part =3D openEditor(input); + + // get dom document + nsIDOMDocument document =3D getVpeVisualDocument(part); + nsIDOMElement element =3D document.getDocumentElement(); + = + //check that element is not null + assertNotNull(element); + = + // get root node + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + = + // find "img" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_IMG); + assertEquals(2, elements.size()); + = + } + = + public void testJBIDE_1579_4buttons() throws Throwable{ + // wait + TestUtil.waitForJobs(); + // set exception + setException(null); + + // get test page path + IFile file =3D (IFile) TestUtil.getComponentPath( + TEST_PAGE_NAME_4BUTTONS, IMPORT_PROJECT_NAME); + = + assertNotNull("Could not open specified file " + file.getFullPath(), + file); + + IEditorInput input =3D new FileEditorInput(file); + + assertNotNull("Editor input is null", input); + // open and get editor + JSPMultiPageEditor part =3D openEditor(input); + + // get dom document + nsIDOMDocument document =3D getVpeVisualDocument(part); + nsIDOMElement element =3D document.getDocumentElement(); + = + //check that element is not null + assertNotNull(element); + = + // get root node + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + = + // find "img" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_IMG); + assertEquals(4, elements.size()); + = + } + +} Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test= /src/org/jboss/tools/jsf/vpe/richfaces/test/jbide/JBIDE1579Test.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native --===============2526336409267891062==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:19:03 2008 Content-Type: multipart/mixed; boundary="===============0116630990932077920==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5688 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components. Date: Tue, 15 Jan 2008 09:19:03 -0500 Message-ID: --===============0116630990932077920== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dmaliarevich Date: 2008-01-15 09:19:02 -0500 (Tue, 15 Jan 2008) New Revision: 5688 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/components/orderingList.xhtml Log: JUnit test for the rich faces orderingList template Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/components/orderingList.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test= /resources/richFacesTest/WebContent/pages/components/orderingList.xhtml ___________________________________________________________________ Name: svn:mime-type + application/xhtml+xml --===============0116630990932077920==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:32:16 2008 Content-Type: multipart/mixed; boundary="===============4282372367387799858==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5689 - trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/actions. Date: Tue, 15 Jan 2008 09:32:15 -0500 Message-ID: --===============4282372367387799858== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 09:32:15 -0500 (Tue, 15 Jan 2008) New Revision: 5689 Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/or= g/jboss/tools/hibernate/ui/veditor/editors/actions/OpenMappingAction.java trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/or= g/jboss/tools/hibernate/ui/veditor/editors/actions/OpenSourceAction.java Log: http://jira.jboss.com/jira/browse/JBIDE-1412 Didn't work when entityName specified. Conceal exceptions - impossible to test. Add return editor to the open methods. Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor= /src/org/jboss/tools/hibernate/ui/veditor/editors/actions/OpenMappingAction= .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.veditor/src/o= rg/jboss/tools/hibernate/ui/veditor/editors/actions/OpenMappingAction.java = 2008-01-15 14:19:02 UTC (rev 5688) +++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/o= rg/jboss/tools/hibernate/ui/veditor/editors/actions/OpenMappingAction.java = 2008-01-15 14:32:15 UTC (rev 5689) @@ -1,3 +1,13 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ package org.jboss.tools.hibernate.ui.veditor.editors.actions; = import java.util.Iterator; @@ -4,10 +14,12 @@ import java.util.Set; = import org.eclipse.gef.ui.actions.SelectionAction; -import org.eclipse.jdt.core.IJavaProject; +import org.eclipse.jdt.core.JavaModelException; +import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.ui.IWorkbenchPart; +import org.eclipse.ui.PartInitException; import org.hibernate.console.ConsoleConfiguration; -import org.hibernate.mapping.PersistentClass; +import org.hibernate.eclipse.console.HibernateConsolePlugin; import org.hibernate.mapping.Property; import org.jboss.tools.hibernate.ui.veditor.editors.VisualEditor; import org.jboss.tools.hibernate.ui.veditor.editors.model.SpecialRootClass; @@ -42,14 +54,21 @@ && ((Property)selection).getPersistentClass() instanceof SpecialRootC= lass){ Property compositSel =3D ((Property)selection); Property parentProperty =3D ((SpecialRootClass)((Property)selection).g= etPersistentClass()).getProperty(); - org.hibernate.eclipse.console.actions.OpenMappingAction.run(compositSe= l, parentProperty, consoleConfiguration); + try { + org.hibernate.eclipse.console.actions.OpenMappingAction.run(compositS= el, parentProperty, consoleConfiguration); + } catch (Exception e) { + HibernateConsolePlugin.getDefault().logErrorMessage("Can't find or op= en mapping file.", e); + } continue; } if (selection instanceof SpecialRootClass) { selection =3D ((SpecialRootClass)selection).getProperty(); } - org.hibernate.eclipse.console.actions.OpenMappingAction.run(selection, = consoleConfiguration); - = + try { + org.hibernate.eclipse.console.actions.OpenMappingAction.run(selection,= consoleConfiguration); + } catch (Exception e) { + HibernateConsolePlugin.getDefault().logErrorMessage("Can't find or ope= n mapping file.", e); + } = = /*IResource resource =3D null; Object selectedElement =3D selection; Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor= /src/org/jboss/tools/hibernate/ui/veditor/editors/actions/OpenSourceAction.= 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.veditor/src/o= rg/jboss/tools/hibernate/ui/veditor/editors/actions/OpenSourceAction.java 2= 008-01-15 14:19:02 UTC (rev 5688) +++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/o= rg/jboss/tools/hibernate/ui/veditor/editors/actions/OpenSourceAction.java 2= 008-01-15 14:32:15 UTC (rev 5689) @@ -1,13 +1,17 @@ package org.jboss.tools.hibernate.ui.veditor.editors.actions; = +import java.io.FileNotFoundException; import java.util.Iterator; import java.util.Set; = import org.eclipse.core.resources.IResource; import org.eclipse.gef.ui.actions.SelectionAction; import org.eclipse.jdt.core.IJavaProject; +import org.eclipse.jdt.core.JavaModelException; import org.eclipse.ui.IWorkbenchPart; +import org.eclipse.ui.PartInitException; import org.hibernate.console.ConsoleConfiguration; +import org.hibernate.eclipse.console.HibernateConsolePlugin; import org.hibernate.mapping.PersistentClass; import org.hibernate.mapping.Property; import org.jboss.tools.hibernate.ui.veditor.editors.VisualEditor; @@ -47,11 +51,19 @@ } else continue; = IResource resource =3D null; - String fullyQualifiedName =3D HibernateUtils.getPersistentClassName(roo= tClass); - if (fullyQualifiedName.indexOf("$") > 0) { + String fullyQualifiedName =3D rootClass.getClassName();//HibernateUtils= .getPersistentClassName(rootClass); + /*if (fullyQualifiedName.indexOf("$") > 0) { fullyQualifiedName =3D fullyQualifiedName.substring(0, fullyQualifiedN= ame.indexOf("$")); + }*/ + try { + new org.hibernate.eclipse.console.actions.OpenSourceAction().run(selec= tion, proj, fullyQualifiedName); + } catch (PartInitException e) { + HibernateConsolePlugin.getDefault().logErrorMessage("Can't open source= file.", e); + } catch (JavaModelException e) { + HibernateConsolePlugin.getDefault().logErrorMessage("Can't find source= file.", e); + } catch (FileNotFoundException e) { + HibernateConsolePlugin.getDefault().logErrorMessage("Can't find source= file.", e); } - new org.hibernate.eclipse.console.actions.OpenSourceAction().run(select= ion, proj, fullyQualifiedName); } } = --===============4282372367387799858==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:32:22 2008 Content-Type: multipart/mixed; boundary="===============8503623267789581363==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5690 - in trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console: views and 1 other directory. Date: Tue, 15 Jan 2008 09:32:22 -0500 Message-ID: --===============8503623267789581363== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 09:32:21 -0500 (Tue, 15 Jan 2008) New Revision: 5690 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/actions/OpenMappingAction.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/actions/OpenSourceAction.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/views/KnownConfigurationsView.java Log: http://jira.jboss.com/jira/browse/JBIDE-1412 Didn't work when entityName specified. Conceal exceptions - impossible to test. Add return editor to the open methods. Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/actions/OpenMappingAction.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.console/src/org/hibe= rnate/eclipse/console/actions/OpenMappingAction.java 2008-01-15 14:32:15 UT= C (rev 5689) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/actions/OpenMappingAction.java 2008-01-15 14:32:21 UT= C (rev 5690) @@ -1,9 +1,23 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ package org.hibernate.eclipse.console.actions; = +import java.io.FileNotFoundException; + import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.Assert; import org.eclipse.jdt.core.IJavaProject; +import org.eclipse.jdt.core.JavaModelException; +import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.jface.text.BadLocationException; import org.eclipse.jface.text.FindReplaceDocumentAdapter; import org.eclipse.jface.text.IDocument; @@ -47,11 +61,19 @@ if (sel instanceof TreeSelection){ TreePath path =3D ((TreeSelection)sel).getPaths()[0]; ConsoleConfiguration consoleConfiguration =3D (ConsoleConfiguration)(pa= th.getSegment(0)); - run(path, consoleConfiguration); + try { + run(path, consoleConfiguration); + } catch (JavaModelException e) { + HibernateConsolePlugin.getDefault().logErrorMessage("Can't find mappin= g file.", e); + } catch (PartInitException e) { + HibernateConsolePlugin.getDefault().logErrorMessage("Can't open mappin= g file.", e); + } catch (FileNotFoundException e) { + HibernateConsolePlugin.getDefault().logErrorMessage("Can't find mappin= g file.", e); + } = } } = - public static void run(TreePath path, ConsoleConfiguration consoleConfigu= ration) { + public static void run(TreePath path, ConsoleConfiguration consoleConfigu= ration) throws PartInitException, JavaModelException, FileNotFoundException= { boolean isPropertySel =3D (path.getLastSegment() instanceof Property); if (isPropertySel){ Property propertySel =3D (Property)path.getLastSegment(); @@ -70,15 +92,19 @@ /** * @param selection * @param consoleConfiguration + * @throws JavaModelException = + * @throws PartInitException = + * @throws PresistanceClassNotFoundException = + * @throws FileNotFoundException = */ - public static void run(Object selection, ConsoleConfiguration consoleConf= iguration) { + public static IEditorPart run(Object selection, ConsoleConfiguration cons= oleConfiguration) throws PartInitException, JavaModelException, FileNotFoun= dException { IEditorPart editorPart =3D null; IJavaProject proj =3D ProjectUtils.findJavaProject(consoleConfiguration); java.io.File configXMLFile =3D consoleConfiguration.getPreferences().get= ConfigXMLFile(); IResource resource =3D null; if (selection instanceof Property){ Property p =3D (Property)selection; - if (p.getPersistentClass() =3D=3D null) return; + if (p.getPersistentClass() =3D=3D null) return null; //use PersistentClass to open editor resource =3D OpenFileActionUtils.getResource(consoleConfiguration, proj= , configXMLFile, p.getPersistentClass()); //editorPart =3D openMapping(p.getPersistentClass(), consoleConfigurati= on); @@ -91,7 +117,7 @@ if (editorPart !=3D null){ applySelectionToEditor(selection, editorPart); = } - return; + return editorPart; } = = //try to find hibernate-annotations = @@ -100,23 +126,31 @@ rootClass =3D (PersistentClass)selection; } else if (selection instanceof Property) { Property p =3D (Property)selection; - if (p.getPersistentClass() =3D=3D null) return; + if (p.getPersistentClass() =3D=3D null) return null; rootClass =3D (PersistentClass)p.getPersistentClass(); = } if (rootClass !=3D null){ if (OpenFileActionUtils.rootClassHasAnnotations(consoleConfiguration, c= onfigXMLFile, rootClass)) { - String fullyQualifiedName =3D OpenFileActionUtils.getPersistentClassNa= me(rootClass); - new OpenSourceAction().run(selection, proj, fullyQualifiedName); + String fullyQualifiedName =3D rootClass.getClassName(); + editorPart =3D new OpenSourceAction().run(selection, proj, fullyQuali= fiedName); + return editorPart; } + } else { + throw new FileNotFoundException("Mapping for " + selection + " not foun= d."); } + return null; = } = /** * @param compositeProperty * @param parentProperty * @param consoleConfiguration + * @throws JavaModelException = + * @throws PartInitException = + * @throws FileNotFoundException = + * @throws BadLocationException = */ - public static void run(Property compositeProperty, Property parentPropert= y, ConsoleConfiguration consoleConfiguration) { + public static void run(Property compositeProperty, Property parentPropert= y, ConsoleConfiguration consoleConfiguration) throws PartInitException, Jav= aModelException, FileNotFoundException{ if (parentProperty.getPersistentClass() =3D=3D null) return; IJavaProject proj =3D ProjectUtils.findJavaProject(consoleConfiguration); java.io.File configXMLFile =3D consoleConfiguration.getPreferences().get= ConfigXMLFile(); @@ -132,13 +166,16 @@ FindReplaceDocumentAdapter findAdapter =3D getFindDocAdapter(textEdito= r); IRegion parentRegion =3D findSelection(parentProperty, findAdapter); if (parentRegion =3D=3D null) return; + + IRegion propRegion =3D null; try { - IRegion propRegion =3D findAdapter.find(parentRegion.getOffset()+par= entRegion.getLength(), generatePattern(compositeProperty), true, true, fals= e, true); - if (propRegion !=3D null){ - textEditor.selectAndReveal(propRegion.getOffset(), propRegion.getLen= gth()); - } + propRegion =3D findAdapter.find(parentRegion.getOffset()+parentRegion= .getLength(), generatePattern(compositeProperty), true, true, false, true); } catch (BadLocationException e) { + HibernateConsolePlugin.getDefault().logErrorMessage("Selection not fo= und.", e); } + if (propRegion !=3D null){ + textEditor.selectAndReveal(propRegion.getOffset(), propRegion.getLeng= th()); + } } return; } = @@ -191,7 +228,7 @@ try { return OpenFileActionUtils.openEditor(HibernateConsolePlugin.= getDefault().getActiveWorkbenchWindow().getActivePage(), (IFile) resource); } catch (PartInitException e) { - HibernateConsolePlugin.getDefault().logErrorMessage("Can't op= en mapping or source file.", e); + = } = } else { HibernateConsolePlugin.getDefault().log("Can't open mapping file = " + resource); @@ -224,7 +261,8 @@ if (classRegion =3D=3D null) return null; IRegion finalRegion =3D findAdapter.find(classRegion.getOffset()+classR= egion.getLength(), " finalRegion.getOffset()){ return null; } else { Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/actions/OpenSourceAction.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.console/src/org/hibe= rnate/eclipse/console/actions/OpenSourceAction.java 2008-01-15 14:32:15 UTC= (rev 5689) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/actions/OpenSourceAction.java 2008-01-15 14:32:21 UTC= (rev 5690) @@ -1,5 +1,17 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ package org.hibernate.eclipse.console.actions; = +import java.io.FileNotFoundException; + import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IResource; import org.eclipse.jdt.core.IJavaElement; @@ -7,7 +19,6 @@ import org.eclipse.jdt.core.IType; import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.internal.ui.javaeditor.JavaEditor; -import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.jface.viewers.TreePath; import org.eclipse.jface.viewers.TreeSelection; @@ -20,8 +31,6 @@ import org.hibernate.mapping.Component; import org.hibernate.mapping.PersistentClass; import org.hibernate.mapping.Property; -import org.hibernate.mapping.RootClass; -import org.hibernate.mapping.Subclass; = /** * @author Dmitry Geraskov @@ -44,7 +53,7 @@ ConsoleConfiguration consoleConfiguration =3D (ConsoleConfiguration)(pa= th.getSegment(0)); IJavaProject proj =3D ProjectUtils.findJavaProject(consoleConfiguration= ); = - String fullyQualifiedName =3D OpenFileActionUtils.getPersistentClassNam= e(persClass); + String fullyQualifiedName =3D persClass.getClassName(); if (fullyQualifiedName.length() =3D=3D 0 && lastSegment instanceof Property){ Object prevSegment =3D path.getParentPath().getLastSegment(); @@ -53,8 +62,15 @@ fullyQualifiedName =3D((Component)((Property) prevSegment).getValue()= ).getComponentClassName(); } } - - run(lastSegment, proj, fullyQualifiedName); + try { + run(lastSegment, proj, fullyQualifiedName); + } catch (JavaModelException e) { + HibernateConsolePlugin.getDefault().logErrorMessage("Can't find source= file.", e); + } catch (PartInitException e) { + HibernateConsolePlugin.getDefault().logErrorMessage("Can't open source= file.", e); + } catch (FileNotFoundException e) { + HibernateConsolePlugin.getDefault().logErrorMessage("Can't find source= file.", e); + } } } = @@ -62,22 +78,19 @@ * @param selection * @param proj * @param fullyQualifiedName + * @throws JavaModelException = + * @throws PartInitException = + * @throws FileNotFoundException = */ - public void run(Object selection, IJavaProject proj, - String fullyQualifiedName) { + public IEditorPart run(Object selection, IJavaProject proj, + String fullyQualifiedName) throws JavaModelException, PartInitException= , FileNotFoundException { IResource resource =3D null; = - IType type =3D null; - try { - type =3D proj.findType(fullyQualifiedName); - if (type !=3D null) resource =3D type.getResource(); + IType type =3D proj.findType(fullyQualifiedName); + if (type !=3D null) resource =3D type.getResource(); = = - } catch (JavaModelException e) { - HibernateConsolePlugin.getDefault().logErrorMessage("Can't find source = file.", e); - } - = + IEditorPart editorPart =3D null; if (resource instanceof IFile){ - try { - IEditorPart editorPart =3D OpenFileActionUtils.openEditor(HibernateCons= olePlugin.getDefault().getActiveWorkbenchWindow().getActivePage(), (IFile) = resource); + editorPart =3D OpenFileActionUtils.openEditor(HibernateConsolePlugin.ge= tDefault().getActiveWorkbenchWindow().getActivePage(), (IFile) resource); if (editorPart instanceof JavaEditor) { IJavaElement jElement =3D null; if (selection instanceof Property){ @@ -88,14 +101,13 @@ JavaEditor jEditor =3D (JavaEditor) editorPart; selectionToEditor(jElement, jEditor); = } = - } catch (PartInitException e) { - HibernateConsolePlugin.getDefault().logErrorMessage("Can't open source = file.", e); } = + = + if (editorPart =3D=3D null) { + throw new FileNotFoundException("Source file for class '" + fullyQualif= iedName + "' not found."); } + return editorPart; = - if (resource =3D=3D null) { - MessageDialog.openInformation(HibernateConsolePlugin.getDefault().getSh= ell(), "Open Source File", "Source file for class '" + fullyQualifiedName += "' not found."); - } } = private PersistentClass getPersistentClass(Object selection){ Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/views/KnownConfigurationsView.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.console/src/org/hibe= rnate/eclipse/console/views/KnownConfigurationsView.java 2008-01-15 14:32:1= 5 UTC (rev 5689) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/views/KnownConfigurationsView.java 2008-01-15 14:32:2= 1 UTC (rev 5690) @@ -47,13 +47,11 @@ import org.hibernate.console.ConsoleConfiguration; import org.hibernate.console.KnownConfigurations; import org.hibernate.console.node.BaseNode; +import org.hibernate.eclipse.console.HibernateConsolePlugin; import org.hibernate.eclipse.console.actions.EditConsoleConfiguration; import org.hibernate.eclipse.console.actions.OpenMappingAction; import org.hibernate.eclipse.console.viewers.xpl.MTreeViewer; import org.hibernate.eclipse.console.workbench.xpl.AnyAdaptableLabelProvid= er; -import org.hibernate.mapping.Property; -import org.hibernate.mapping.RootClass; -import org.hibernate.mapping.Subclass; import org.hibernate.util.StringHelper; = = @@ -163,7 +161,11 @@ } else if (selection instanceof TreeSelection){ TreePath path =3D ((TreeSelection)selection).getPaths()[0]; ConsoleConfiguration consoleConfiguration =3D (ConsoleConfiguration)(= path.getSegment(0)); - OpenMappingAction.run(path, consoleConfiguration); + try { + OpenMappingAction.run(path, consoleConfiguration); + } catch (Exception e) { + HibernateConsolePlugin.getDefault().logErrorMessage("Can't find mapp= ing file.", e); + } = } } }; --===============8503623267789581363==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:34:36 2008 Content-Type: multipart/mixed; boundary="===============0700891371858811868==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5691 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject. Date: Tue, 15 Jan 2008 09:34:36 -0500 Message-ID: --===============0700891371858811868== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 09:34:36 -0500 (Tue, 15 Jan 2008) New Revision: 5691 Modified: 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 Log: http://jira.jboss.com/jira/browse/JBIDE-1412 http://jira.jboss.com/jira/browse/JBIDE-1594 Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/OpenMappingFileTest.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/OpenMappingFileTest.java 2008-= 01-15 14:32:21 UTC (rev 5690) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/OpenMappingFileTest.java 2008-= 01-15 14:34:36 UTC (rev 5691) @@ -12,6 +12,9 @@ = import junit.framework.TestCase; = +import org.eclipse.jdt.core.JavaModelException; +import org.eclipse.ui.IEditorPart; +import org.eclipse.ui.PartInitException; import org.hibernate.cfg.Configuration; import org.hibernate.console.ConsoleConfiguration; import org.hibernate.console.KnownConfigurations; @@ -26,7 +29,8 @@ * */ public class OpenMappingFileTest extends TestCase { - public void testOpenMappingFileTest(){ + = + public void testOpenMappingFileTest() throws Throwable{ KnownConfigurations knownConfigurations =3D KnownConfigurations.getInsta= nce(); final ConsoleConfiguration consCFG =3D knownConfigurations.find(ProjectU= til.ConsoleCFGName); assertNotNull(consCFG); @@ -38,8 +42,10 @@ for (int i =3D 0; i < persClasses.length; i++) { assertTrue(persClasses[0] instanceof PersistentClass); PersistentClass persClass =3D (PersistentClass) persClasses[i]; - OpenMappingAction.run(persClass, consCFG); - } = + IEditorPart editor =3D OpenMappingAction.run(persClass, consCFG); + if (editor =3D=3D null) fail("Editor not opened."); + ProjectUtil.throwExceptionIfItOccured(editor); + } } //close all editors } Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/OpenSourceFileTest.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/OpenSourceFileTest.java 2008-0= 1-15 14:32:21 UTC (rev 5690) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/OpenSourceFileTest.java 2008-0= 1-15 14:34:36 UTC (rev 5691) @@ -10,6 +10,9 @@ *************************************************************************= *****/ package org.hibernate.eclipse.console.test.mappingproject; = +import org.eclipse.jdt.core.JavaModelException; +import org.eclipse.ui.IEditorPart; +import org.eclipse.ui.PartInitException; import org.hibernate.cfg.Configuration; import org.hibernate.console.ConsoleConfiguration; import org.hibernate.console.KnownConfigurations; @@ -28,7 +31,7 @@ */ public class OpenSourceFileTest extends TestCase { = - public void testOpenSourceFileTest(){ + public void testOpenSourceFileTest() throws Throwable{ //fail("test fail"); KnownConfigurations knownConfigurations =3D KnownConfigurations.getInsta= nce(); final ConsoleConfiguration consCFG =3D knownConfigurations.find(ProjectU= til.ConsoleCFGName); @@ -41,8 +44,10 @@ for (int i =3D 0; i < persClasses.length; i++) { assertTrue(persClasses[0] instanceof PersistentClass); PersistentClass persClass =3D (PersistentClass) persClasses[i]; - new OpenSourceAction().run(persClass, MappingTestProject.getTestProjec= t().getIJavaProject(), = - ProjectUtil.getPersistentClassName(persClass)); + IEditorPart editor =3D new OpenSourceAction().run(persClass, MappingTe= stProject.getTestProject().getIJavaProject(), = + persClass.getClassName()); + if (editor =3D=3D null) fail("Editor not opened."); + ProjectUtil.throwExceptionIfItOccured(editor); } = } //close all editors --===============0700891371858811868==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:35:57 2008 Content-Type: multipart/mixed; boundary="===============5213078745963554733==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5692 - in trunk/hibernatetools/tests/org.hibernate.eclipse.console.test: src/org/hibernate/eclipse/console/test/mappingproject and 1 other directory. Date: Tue, 15 Jan 2008 09:35:56 -0500 Message-ID: --===============5213078745963554733== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 09:35:56 -0500 (Tue, 15 Jan 2008) New Revision: 5692 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/OpenMappingDiagrammTest.java Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/META-INF/M= ANIFEST.MF trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/HibernateNatureAddTest.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/HibernateNatureRemoveTest.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/MappingTestProject.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/ProjectUtil.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/TestSet.java Log: http://jira.jboss.com/jira/browse/JBIDE-1596 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 2008-01-15 14:34:36 UTC (rev 5691) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/META-INF/= MANIFEST.MF 2008-01-15 14:35:56 UTC (rev 5692) @@ -28,7 +28,8 @@ org.eclipse.wst.xml.core, org.eclipse.wst.xml.ui, org.apache.ant, - org.eclipse.ui.views + org.eclipse.ui.views, + org.jboss.tools.hibernate.ui.view Eclipse-LazyStart: true Bundle-Activator: org.hibernate.eclipse.console.test.HibernateConsoleTestP= lugin Eclipse-RegisterBuddy: org.hibernate.eclipse Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/HibernateNatureAddTest.j= ava =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/HibernateNatureAddTest.java 20= 08-01-15 14:34:36 UTC (rev 5691) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/HibernateNatureAddTest.java 20= 08-01-15 14:35:56 UTC (rev 5692) @@ -26,7 +26,7 @@ * */ public class HibernateNatureAddTest extends TestCase { - public void testEnableHibernateNature() throws BackingStoreException, Cor= eException { + public void testHibernateNatureAdd() throws BackingStoreException, CoreEx= ception { MappingTestProject project =3D MappingTestProject.getTestProject(); IJavaProject prj =3D project.getIJavaProject(); IScopeContext scope =3D new ProjectScope(prj.getProject() ); Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/HibernateNatureRemoveTes= t.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/HibernateNatureRemoveTest.java= 2008-01-15 14:34:36 UTC (rev 5691) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/HibernateNatureRemoveTest.java= 2008-01-15 14:35:56 UTC (rev 5692) @@ -23,7 +23,7 @@ * */ public class HibernateNatureRemoveTest extends TestCase { - public void testEnableHibernateNature() throws BackingStoreException, Cor= eException { + public void testHibernateNatureRemove() throws BackingStoreException, Cor= eException { MappingTestProject project =3D MappingTestProject.getTestProject(); IJavaProject prj =3D project.getIJavaProject(); ProjectUtils.removeProjectNature(prj.getProject(), "org.hibernate.eclips= e.console.hibernateNature", new NullProgressMonitor() ); Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/MappingTestProject.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/MappingTestProject.java 2008-0= 1-15 14:34:36 UTC (rev 5691) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/MappingTestProject.java 2008-0= 1-15 14:35:56 UTC (rev 5692) @@ -15,6 +15,7 @@ import java.io.FileInputStream; import java.io.FileNotFoundException; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; = import org.eclipse.core.resources.IFile; @@ -46,6 +47,8 @@ public class MappingTestProject{ = public static final String SRC_FOLDER =3D "src"; + = + public static final String LIB_FOLDER =3D "lib"; = private static MappingTestProject singleton=3D null; = @@ -53,6 +56,7 @@ = public static String PROJECT_NAME =3D "MappingTestProject"; public static String RESOURCE_PATH =3D "res/project/"; + public static String RES_LIB_FNAME =3D ".lib"; = private static FileFilter fileFilter =3D new FileFilter(){ public boolean accept(File pathname) { @@ -65,6 +69,11 @@ if (pathname.getName().charAt(0) =3D=3D '.') return false; return pathname.isDirectory(); }}; + = + private static FileFilter jarFilter =3D new FileFilter(){ + public boolean accept(File pathname) { + return !pathname.isDirectory() || pathname.getName().endsWith(".jar"); + }}; = private IProject project; private IJavaProject javaProject; @@ -108,13 +117,15 @@ IPath resourcePath =3D new Path(RESOURCE_PATH); File resourceFolder =3D resourcePath.toFile(); if (!resourceFolder.exists()) = - throw new RuntimeException("Folder " + RESOURCE_PATH + " does not found= !"); + throw new RuntimeException("Folder " + RESOURCE_PATH + " not found!"); = - IPackageFragmentRoot sourceFolder =3D buildSourceFolder(project, javaPro= ject); - recursiveCopyFiles(resourceFolder, (IFolder) sourceFolder.getResource())= ; = + IPackageFragmentRoot sourceFolder =3D createSourceFolder(project, javaPr= oject); + recursiveCopyFiles(resourceFolder, (IFolder) sourceFolder.getResource()); + List libs =3D copyLibs(resourceFolder); + generateClassPath(libs, sourceFolder); project.build(IncrementalProjectBuilder.INCREMENTAL_BUILD, new NullProgr= essMonitor()); - } - = + } = + private void recursiveCopyFiles(File src, IFolder dst){ File[] files =3D src.listFiles(fileFilter); for (int i =3D 0; i < files.length; i++) { @@ -147,6 +158,47 @@ } = } = + private List copyLibs(File res) throws CoreException { = + IFolder dst =3D project.getFolder(LIB_FOLDER); + if (!dst.exists()){ + dst.create(false, true, null); + javaProject.getPackageFragmentRoot(dst); + } + = + File libFolder =3D new File(res.getAbsolutePath()+"/" + RES_LIB_FNAME); + if ( !libFolder.exists() ) + throw new RuntimeException("Folder " + RESOURCE_PATH + RES_LIB_FNAME + = " not found!"); + = + = + List libs =3D new ArrayList(); + = + File[] files =3D libFolder.listFiles(jarFilter); + for (int i =3D 0; i < files.length; i++) { + File file =3D files[i]; + if (!file.exists()) continue; + IFile iFile =3D dst.getFile(file.getName()); + try { + iFile.create(new FileInputStream(file), true, null); = + libs.add(iFile.getFullPath()); + } catch (FileNotFoundException e) { + e.printStackTrace(); + continue; + } = + } = + return libs; + } + = + private void generateClassPath(List libs, IPackageFragmentRoot sou= rceFolder) throws JavaModelException{ + List entries =3D new ArrayList(); + //entries.addAll(Arrays.asList(javaProject.getRawClasspath())); + for (IPath lib_path : libs) { + entries.add(JavaCore.newLibraryEntry(lib_path, null, null)); + } + entries.add(JavaCore.newSourceEntry(sourceFolder.getPath())); + entries.add(JavaCore.newContainerEntry(JRE_CONTAINER)); + javaProject.setRawClasspath(entries.toArray(new IClasspathEntry[0]), nul= l); + } + = = private IProject buildNewProject(String projectName) { // get a project handle @@ -195,16 +247,16 @@ } = = - private IPackageFragmentRoot buildSourceFolder(IProject project, + private IPackageFragmentRoot createSourceFolder(IProject project, IJavaProject javaProject) throws CoreException { IFolder folder =3D project.getFolder(SRC_FOLDER); if (!folder.exists()){ folder.create(false, true, null); IPackageFragmentRoot root =3D javaProject.getPackageFragmentRoot(folder= ); - IClasspathEntry[] newEntries =3D { JavaCore + /*IClasspathEntry[] newEntries =3D { JavaCore .newSourceEntry(root.getPath()) , JavaCore .newContainerEntry(JRE_CONTAINER)}; - javaProject.setRawClasspath(newEntries, null); + javaProject.setRawClasspath(newEntries, null);*/ return root; } return javaProject.getPackageFragmentRoot(folder); Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/or= g/hibernate/eclipse/console/test/mappingproject/OpenMappingDiagrammTest.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/OpenMappingDiagrammTest.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/OpenMappingDiagrammTest.java 2= 008-01-15 14:35:56 UTC (rev 5692) @@ -0,0 +1,60 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ +package org.hibernate.eclipse.console.test.mappingproject; + +import java.lang.reflect.Field; + +import junit.framework.TestCase; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.eclipse.ui.IEditorPart; +import org.eclipse.ui.PartInitException; +import org.eclipse.ui.internal.ErrorEditorPart; +import org.hibernate.cfg.Configuration; +import org.hibernate.console.ConsoleConfiguration; +import org.hibernate.console.KnownConfigurations; +import org.hibernate.eclipse.console.workbench.ConfigurationWorkbenchAdapt= er; +import org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkben= chAdapter; +import org.hibernate.mapping.PersistentClass; +import org.jboss.tools.hibernate.ui.view.views.OpenDiagramActionDelegate; + +/** + * @author Dmitry Geraskov + * + */ +public class OpenMappingDiagrammTest extends TestCase { + public void testOpenMappingDiagramm() throws Throwable{ + KnownConfigurations knownConfigurations =3D KnownConfigurations.getInsta= nce(); + final ConsoleConfiguration consCFG =3D knownConfigurations.find(ProjectU= til.ConsoleCFGName); + assertNotNull(consCFG); + consCFG.reset(); + Object[] configs =3D new ConsoleConfigurationWorkbenchAdapter().getChild= ren(consCFG); + assertTrue(configs[0] instanceof Configuration); + Object[] persClasses =3D new ConfigurationWorkbenchAdapter().getChildren= (configs[0]); + if (persClasses.length > 0){ + for (int i =3D 0; i < persClasses.length; i++) { + assertTrue(persClasses[0] instanceof PersistentClass); + PersistentClass persClass =3D (PersistentClass) persClasses[i]; + try { + IEditorPart editor =3D new OpenDiagramActionDelegate().openEditor(per= sClass, consCFG); + ProjectUtil.throwExceptionIfItOccured(editor); + } catch (PartInitException e) { + fail("Error opening Mapping Diagramm for class " + persClass.getNodeN= ame() + + ".\n"+ e.getMessage()); + } + } = + } + //close all editors + } + + = +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/src/org/hibernate/eclipse/console/test/mappingproject/OpenMappingDi= agrammTest.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/ProjectUtil.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/ProjectUtil.java 2008-01-15 14= :34:36 UTC (rev 5691) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/ProjectUtil.java 2008-01-15 14= :35:56 UTC (rev 5692) @@ -10,14 +10,20 @@ *************************************************************************= *****/ package org.hibernate.eclipse.console.test.mappingproject; = +import java.lang.reflect.Field; + import org.apache.tools.ant.filters.StringInputStream; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IFolder; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.NullProgressMonitor; import org.eclipse.core.runtime.Path; +import org.eclipse.core.runtime.Status; import org.eclipse.jdt.core.IPackageFragment; +import org.eclipse.ui.IEditorPart; +import org.eclipse.ui.internal.ErrorEditorPart; import org.hibernate.console.preferences.ConsoleConfigurationPreferences; import org.hibernate.eclipse.console.wizards.ConsoleConfigurationCreationW= izard; import org.hibernate.mapping.PersistentClass; @@ -34,7 +40,9 @@ .append("\"http://hibernate.sourceforge.net/hibernate-configu= ration-3.0.dtd\">\n"); = private static final StringBuilder XML_CFG_START =3D new StringBuilder("<= hibernate-configuration>\n") - .append("\n"); + .append("\n") + .append("") + .append("org.hibernate.dialect.PostgreSQLDialect"); = private static final StringBuilder XML_CFG_END =3D new StringBuilder("\n") .append("\n"); = @@ -104,5 +112,42 @@ = } } + /** + * Sometimes we have exceptions while opening editors. + * IDE catches this exceptions and opens ErrorEditorPart instead of = + * our editor. To be sure that editor opened without exception use this m= ethod. + * It gets occurred exception from the editor if it was and passes it up. + * = + * @param editor + * @throws Throwable + */ + public static void throwExceptionIfItOccured(IEditorPart editor) throws T= hrowable { + if (editor instanceof ErrorEditorPart){ + Class clazz =3D ErrorEditorPart.class; + Field field; + try { + field =3D clazz.getDeclaredField("error"); + = + field.setAccessible(true); + = + Object error =3D field.get(editor); + if (error instanceof IStatus) { + IStatus err_status =3D (IStatus) error; + if (err_status.getSeverity() =3D=3D Status.ERROR){ + throw err_status.getException(); + } + } + // catch close means that exception occurred but we can't get it + } catch (SecurityException e) { + throw new RuntimeException("Can't get exception from ErrorEditorPart. = " + e.getMessage()); + } catch (NoSuchFieldException e) { + throw new RuntimeException("Can't get error field from ErrorEditorPart= . " + e.getMessage()); + } catch (IllegalArgumentException e) { + throw new RuntimeException("Can't get error field from ErrorEditorPart= . " + e.getMessage()); + } catch (IllegalAccessException e) { + throw new RuntimeException("Can't get error field from ErrorEditorPart= . " + e.getMessage()); + } + } + } = } Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/TestSet.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/TestSet.java 2008-01-15 14:34:= 36 UTC (rev 5691) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/TestSet.java 2008-01-15 14:35:= 56 UTC (rev 5692) @@ -33,13 +33,14 @@ } = = - private static void addTestsPackSetUp(TestSuite suite){ + private static void addTestsPackSetUp(TestSuite suite){ = suite.addTestSuite( UpdateConfigurationTest.class ); } = private static void addPackTests(TestSuite suite){ suite.addTestSuite( OpenSourceFileTest.class ); suite.addTestSuite( OpenMappingFileTest.class ); + suite.addTestSuite( OpenMappingDiagrammTest.class ); } = private static void addTestsPackTearDown(TestSuite suite){ --===============5213078745963554733==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:36:01 2008 Content-Type: multipart/mixed; boundary="===============2443286898466353585==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5693 - trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/jboss/tools/hibernate/ui/view/views. Date: Tue, 15 Jan 2008 09:36:00 -0500 Message-ID: --===============2443286898466353585== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 09:36:00 -0500 (Tue, 15 Jan 2008) New Revision: 5693 Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/j= boss/tools/hibernate/ui/view/views/OpenDiagramActionDelegate.java Log: http://jira.jboss.com/jira/browse/JBIDE-1596 Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/sr= c/org/jboss/tools/hibernate/ui/view/views/OpenDiagramActionDelegate.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.view/src/org/= jboss/tools/hibernate/ui/view/views/OpenDiagramActionDelegate.java 2008-01-= 15 14:35:56 UTC (rev 5692) +++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/= jboss/tools/hibernate/ui/view/views/OpenDiagramActionDelegate.java 2008-01-= 15 14:36:00 UTC (rev 5693) @@ -15,11 +15,13 @@ import org.eclipse.jdt.core.IJavaProject; import org.eclipse.jface.action.IAction; import org.eclipse.jface.viewers.TreeSelection; +import org.eclipse.ui.IEditorPart; import org.eclipse.ui.PartInitException; import org.eclipse.ui.ide.IDE; import org.eclipse.ui.internal.ObjectPluginAction; import org.hibernate.console.ConsoleConfiguration; import org.hibernate.eclipse.console.utils.ProjectUtils; +import org.hibernate.mapping.PersistentClass; import org.hibernate.mapping.RootClass; import org.hibernate.mapping.Subclass; import org.jboss.tools.hibernate.ui.view.ViewPlugin; @@ -29,26 +31,31 @@ = public void run(IAction action) { ObjectPluginAction objectPluginAction =3D (ObjectPluginAction)action; - Object persClass =3D ((TreeSelection)objectPluginAction.getSelection(= )).getFirstElement(); - Object rootClass =3D null; - if (persClass instanceof RootClass) { - rootClass =3D (RootClass) persClass; = - } else if (persClass instanceof Subclass) { - rootClass =3D ((Subclass) persClass).getRootClass(); = - } - ObjectEditorInput input =3D (ObjectEditorInput)hashMap.get(rootClass); - ConsoleConfiguration consoleConfiguration =3D (ConsoleConfiguration)(((T= reeSelection)objectPluginAction.getSelection()).getPaths()[0]).getSegment(0= ); + Object first_el =3D ((TreeSelection)objectPluginAction.getSelection()= ).getFirstElement(); + if (first_el instanceof PersistentClass) { + PersistentClass persClass =3D (PersistentClass) first_el; + ConsoleConfiguration consoleConfiguration =3D (ConsoleConfiguration)(((= TreeSelection)objectPluginAction.getSelection()).getPaths()[0]).getSegment(= 0); + = + try { + openEditor(persClass, consoleConfiguration); + } catch (PartInitException e) { + ViewPlugin.getDefault().logError("Can't open mapping view.", e); + } = + } = + } + + public IEditorPart openEditor(PersistentClass persClass, + ConsoleConfiguration consoleConfiguration) throws PartInitException { + ObjectEditorInput input =3D (ObjectEditorInput)hashMap.get(persClass.get= RootClass()); = + = IJavaProject proj =3D ProjectUtils.findJavaProject(consoleConfiguration); = if(input =3D=3D null) { - input =3D new ObjectEditorInput(consoleConfiguration, rootClass, proj); - hashMap.put(rootClass, input); + input =3D new ObjectEditorInput(consoleConfiguration, persClass.getRoot= Class(), proj); + hashMap.put(persClass.getRootClass(), input); } - try { - IDE.openEditor(ViewPlugin.getPage(),input ,"org.jboss.tools.hibernate.u= i.veditor.editors.visualeditor"); - } catch (PartInitException e) { - ViewPlugin.getDefault().logError("Can't open mapping view.", e); - } + + return IDE.openEditor(ViewPlugin.getPage(),input ,"org.jboss.tools.hiber= nate.ui.veditor.editors.visualeditor"); = } } \ No newline at end of file --===============2443286898466353585==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:38:25 2008 Content-Type: multipart/mixed; boundary="===============9103518036109075316==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5694 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject. Date: Tue, 15 Jan 2008 09:38:25 -0500 Message-ID: --===============9103518036109075316== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 09:38:24 -0500 (Tue, 15 Jan 2008) New Revision: 5694 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/Customization.java Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/HibernateAllMappingTests.java Log: http://jira.jboss.com/jira/browse/JBIDE-1622 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/or= g/hibernate/eclipse/console/test/mappingproject/Customization.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/Customization.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/Customization.java 2008-01-15 = 14:38:24 UTC (rev 5694) @@ -0,0 +1,56 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ +package org.hibernate.eclipse.console.test.mappingproject; + + +/** + * @author Dmitry Geraskov + * + */ +public class Customization { + = + /** + * is use TEST_PACKS_PATTERN to packages + */ + public static final boolean U_TEST_PACKS_PATTERN =3D false; + + /** + * packages name pattern + */ + public static final String TEST_PACKS_PATTERN =3D ".*\\.optlock.*"; + = + /** + * is stop after missing package or run further + */ + public static final boolean STOP_AFTER_MISSING_PACK =3D false; + = + /** + * Shows each test run as individual + */ + public static final boolean SHOW_EACH_TEST =3D true; + = + /** + * Delay in milliseconds after each package + */ + public static final int EACTH_PACK_TEST_DELAY =3D 0; + = + /** + * Delay in milliseconds before closing workspace + */ + public static final long AFTER_ALL_PACKS_DELAY =3D 20000; + = + /** + * Use time profiler + */ + public static final boolean USE_CONSOLE_OUTPUT =3D true; + = + +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/src/org/hibernate/eclipse/console/test/mappingproject/Customization= .java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/HibernateAllMappingTests= .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/HibernateAllMappingTests.java = 2008-01-15 14:36:00 UTC (rev 5693) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/HibernateAllMappingTests.java = 2008-01-15 14:38:24 UTC (rev 5694) @@ -10,6 +10,8 @@ *************************************************************************= *****/ package org.hibernate.eclipse.console.test.mappingproject; = +import java.util.regex.Pattern; + import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestResult; @@ -72,10 +74,6 @@ for (int i =3D 0; i < suite.testCount(); i++) { Test test =3D suite.testAt(i); test.run(result); - /*if (result.failureCount() > 0 || result.errorCount() > 0){ - // we have failed tests after setup - fail(((Throwable)result.failures().nextElement()).getMessage()); - }*/ } } = @@ -88,12 +86,13 @@ super.run(result); } = = - public void tearDown() throws Exception { + public void tearDown() throws Exception { = waitForJobs(); - runTestsBeforeTearDown(); + runTestsBeforeTearDown(); = waitForJobs(); - this.project.deleteIProject(); - waitForJobs(); + delay(1000); + //this.project.deleteIProject(); + //waitForJobs(); super.tearDown(); } = @@ -112,6 +111,7 @@ * the number of milliseconds */ protected void delay(long waitTimeMillis) { + if (waitTimeMillis <=3D 0) return; Display display =3D Display.getCurrent(); = // If this is the UI thread, @@ -148,11 +148,9 @@ } = = public void testEachPackWithTestSet() throws JavaModelException { - /* - * (1) All test runs show as one - * Comment this and uncomment (2) if you want to see each test run indepe= ndent - */ + long start_time =3D System.currentTimeMillis(); TestSuite suite =3D TestSet.getTests(); + int pack_count =3D 0; IPackageFragmentRoot[] roots =3D project.getIJavaProject().getAllPackage= FragmentRoots(); = for (int i =3D 0; i < roots.length; i++) { if (roots[i].getClass() !=3D PackageFragmentRoot.class) continue; @@ -164,13 +162,17 @@ IPackageFragment pack =3D (IPackageFragment) javaElement; // use packages only with compilation units if (pack.getCompilationUnits().length =3D=3D 0) continue; + if (Customization.U_TEST_PACKS_PATTERN && + !Pattern.matches(Customization.TEST_PACKS_PATTERN, javaElement.getEl= ementName())){ + continue; + } = - /* = - * (2) Each test run shows independent - * Comment this and uncomment (1) if you want to see all test runs a= s one - * TestSuite suite =3D TestSet.getTests(); - */ - = + long st_pack_time =3D System.currentTimeMillis(); = + int prev_failCount =3D result.failureCount(); = + int prev_errCount =3D result.errorCount(); + + if (Customization.SHOW_EACH_TEST) suite =3D TestSet.getTests(); + = activePackage =3D pack; //=3D=3D=3D=3D=3D=3D=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 @@ -180,14 +182,35 @@ waitForJobs(); } //=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D - } - waitForJobs(); - //delay(15000); - } - = + pack_count++; + if (Customization.USE_CONSOLE_OUTPUT){ + System.out.print( result.errorCount() - prev_errCount + " errors. \t= "); + System.out.print( result.failureCount() - prev_failCount + " fails.\= t"); = + long period =3D System.currentTimeMillis() - st_pack_time; + String time =3D period / 1000 + "." + (period % 1000) / 100; + System.out.println( time +" sec. " + javaElement.getElementName()); = = + } + waitForJobs(); + delay(Customization.EACTH_PACK_TEST_DELAY); + = + if (Customization.STOP_AFTER_MISSING_PACK){ + if (result.failureCount() > prev_failCount) break; + } + prev_failCount =3D result.failureCount(); + prev_errCount =3D result.errorCount(); + } = + } = } - waitForJobs(); - //delay(10000); + if (Customization.USE_CONSOLE_OUTPUT){ + System.out.println( "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D"); + System.out.print( result.errorCount() + " errors. \t"); + System.out.print( result.failureCount() + " fails.\t"); = + System.out.print(( System.currentTimeMillis() - start_time ) / 1000 + "= seconds.\t" ); = + System.out.println( pack_count + " packages tested." ); + } + waitForJobs(); = + = + delay(Customization.AFTER_ALL_PACKS_DELAY); } = /** --===============9103518036109075316==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:41:47 2008 Content-Type: multipart/mixed; boundary="===============5853421569483080882==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5695 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project. Date: Tue, 15 Jan 2008 09:41:47 -0500 Message-ID: --===============5853421569483080882== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 09:41:46 -0500 (Tue, 15 Jan 2008) New Revision: 5695 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/hibernate.cfg.xml Log: http://jira.jboss.com/jira/browse/JBIDE-1571 project files Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/hibernate.cfg.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/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/hibernate.cfg.xml (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/hibernate.cfg.xml 2008-01-15 14:41:46 UTC (rev 5695) @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/hibernate.cfg.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native --===============5853421569483080882==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:42:49 2008 Content-Type: multipart/mixed; boundary="===============7919445275420054939==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5696 - in trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project: .lib and 1 other directory. Date: Tue, 15 Jan 2008 09:42:48 -0500 Message-ID: --===============7919445275420054939== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 09:42:48 -0500 (Tue, 15 Jan 2008) New Revision: 5696 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/.lib/ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/.lib/hibernate3.jar trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/.lib/postgresql-8.2-506.jdbc3.jar Log: http://jira.jboss.com/jira/browse/JBIDE-1571 project files Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/.lib/hibernate3.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) Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/.lib/hibernate3.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/.lib/postgresql-8.2-506.jdbc3.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) Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/.lib/postgresql-8.2-506.jdbc3.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar --===============7919445275420054939==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:44:41 2008 Content-Type: multipart/mixed; boundary="===============8744182708965722605==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5697 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test: resources and 1 other directories. Date: Tue, 15 Jan 2008 09:44:40 -0500 Message-ID: --===============8744182708965722605== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-15 09:44:40 -0500 (Tue, 15 Jan 2008) New Revision: 5697 Removed: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/seamtest.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/js= f/vpe/seam/test/ImportSeamComponents.java Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/META-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/js= f/vpe/seam/test/SeamAllTests.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/js= f/vpe/seam/test/SeamComponentTest.java Log: Code adjustment for seam JUnit tests Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/META-INF/MANIFE= ST.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/tests/org.jboss.tools.jsf.vpe.seam.test/META-INF/MANIFEST.MF = 2008-01-15 14:42:48 UTC (rev 5696) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/META-INF/MANIFEST.MF = 2008-01-15 14:44:40 UTC (rev 5697) @@ -6,11 +6,15 @@ Bundle-Activator: org.jboss.tools.jsf.vpe.seam.test.SeamTestPlugin Require-Bundle: org.eclipse.ui, org.eclipse.core.runtime, + org.jboss.tools.vpe, + org.junit, org.eclipse.core.resources, org.eclipse.ui.ide, org.jboss.tools.common, - org.junit, - org.jboss.tools.vpe + org.jboss.tools.jsf.vpe.ui.test, + org.jboss.tools.jst.jsp, + org.jboss.tools.vpe.xulrunner, + org.mozilla.xpcom Eclipse-LazyStart: true Bundle-ClassPath: vpe-seam-test.jar Export-Package: org.jboss.tools.jsf.vpe.seam.test Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/seamte= st.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/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/to= ols/jsf/vpe/seam/test/ImportSeamComponents.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/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/j= sf/vpe/seam/test/ImportSeamComponents.java 2008-01-15 14:42:48 UTC (rev 569= 6) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/j= sf/vpe/seam/test/ImportSeamComponents.java 2008-01-15 14:44:40 UTC (rev 569= 7) @@ -1,92 +0,0 @@ -package org.jboss.tools.jsf.vpe.seam.test; - -import java.io.IOException; -import java.lang.reflect.InvocationTargetException; -import java.util.zip.ZipFile; - -import org.eclipse.core.resources.IProject; -import org.eclipse.core.resources.IResource; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.IPath; -import org.eclipse.core.runtime.NullProgressMonitor; -import org.eclipse.ui.PlatformUI; -import org.eclipse.ui.dialogs.IOverwriteQuery; -import org.eclipse.ui.internal.wizards.datatransfer.ZipLeveledStructurePro= vider; -import org.eclipse.ui.wizards.datatransfer.ImportOperation; - -/** - * Class for importing project from jar file - * = - * @author dsakovich(a)exadel.com - * = - */ -public class ImportSeamComponents { - private static final String PROJECT_NAME =3D "SeamTest"; // $NON-NLS-1$ - private static final String COMPONENTS_PATH =3D "WebContent/pages"; //= $NON-NLS-1$ - - @SuppressWarnings("restriction") - static void importSeamPages(String path) { - IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject( - PROJECT_NAME); - ZipLeveledStructureProvider zipStructureProvider; - try { - zipStructureProvider =3D new ZipLeveledStructureProvider(new ZipFile( - path)); - - IOverwriteQuery overwrite =3D new IOverwriteQuery() { - public String queryOverwrite(String pathString) { - return ALL; - } - }; - - ImportOperation importOp =3D new ImportOperation(project - .getFullPath(), zipStructureProvider.getRoot(), - zipStructureProvider, overwrite); - - importOp.setContext(PlatformUI.getWorkbench() - .getActiveWorkbenchWindow().getShell()); - - importOp.run(new NullProgressMonitor()); - } catch (InvocationTargetException ite) { - SeamTestPlugin.getPluginLog().logError(ite.getCause()); - } catch (InterruptedException ie) { - SeamTestPlugin.getPluginLog().logError(ie); - } catch (IOException e) { - SeamTestPlugin.getPluginLog().logError(e); - } - } - - /** - * = - * @return - * @throws CoreException - */ - static IPath getComponentPath(String componentPage) throws CoreExcepti= on { - IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject( - PROJECT_NAME); - if (project !=3D null) { - IResource resource =3D project.getFolder(COMPONENTS_PATH).findMember( - componentPage); - if (resource !=3D null) { - return resource.getFullPath(); - } - - } - - return null; - } - - /** - * = - * @throws CoreException - */ - static void removeProject() throws CoreException { - IProject project =3D ResourcesPlugin.getWorkspace().getRoot().getProject( - PROJECT_NAME); - if (project !=3D null) { - project.delete(IResource.ALWAYS_DELETE_PROJECT_CONTENT, - new NullProgressMonitor()); - } - } -} Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/t= ools/jsf/vpe/seam/test/SeamAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/j= sf/vpe/seam/test/SeamAllTests.java 2008-01-15 14:42:48 UTC (rev 5696) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/j= sf/vpe/seam/test/SeamAllTests.java 2008-01-15 14:44:40 UTC (rev 5697) @@ -10,9 +10,15 @@ *************************************************************************= *****/ package org.jboss.tools.jsf.vpe.seam.test; = +import java.util.ArrayList; +import java.util.List; + import junit.framework.Test; import junit.framework.TestSuite; = +import org.jboss.tools.vpe.ui.test.VpeTestSetup; +import org.jboss.tools.vpe.ui.test.beans.ImportBean; + /** * Class for testing all Seam components * = @@ -26,7 +32,12 @@ // $JUnit-BEGIN$ suite.addTestSuite(SeamComponentTest.class); // $JUnit-END$ - return suite; + List importProjects =3D new ArrayList(); + ImportBean importBean =3D new ImportBean(); + importBean.setImportProjectName(SeamComponentTest.IMPORT_PROJECT_NAME); + importBean.setImportProjectPath(SeamTestPlugin.getPluginResourcePath()); + importProjects.add(importBean); + return new VpeTestSetup(suite, importProjects); = } } Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/t= ools/jsf/vpe/seam/test/SeamComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/j= sf/vpe/seam/test/SeamComponentTest.java 2008-01-15 14:42:48 UTC (rev 5696) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/j= sf/vpe/seam/test/SeamComponentTest.java 2008-01-15 14:44:40 UTC (rev 5697) @@ -10,20 +10,9 @@ *************************************************************************= *****/ package org.jboss.tools.jsf.vpe.seam.test; = -import junit.framework.TestCase; - import org.eclipse.core.resources.IFile; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.ILogListener; -import org.eclipse.core.runtime.IPath; -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Platform; -import org.eclipse.core.runtime.jobs.Job; -import org.eclipse.swt.widgets.Display; -import org.eclipse.ui.IEditorInput; -import org.eclipse.ui.PartInitException; -import org.eclipse.ui.PlatformUI; -import org.eclipse.ui.part.FileEditorInput; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; = /** * Class for testing all Seam components @@ -31,158 +20,59 @@ * @author dsakovich(a)exadel.com * = */ -public class SeamComponentTest extends TestCase implements ILogListener{ +public class SeamComponentTest extends VpeTest { = - private final static String EDITOR_ID =3D "org.jboss.tools.jst.jsp.jsp= editor.JSPTextEditor"; // $NON-NLS-1$ - private final static String TEST_PROJECT_JAR_PATH =3D "/seamtest.jar"; //= $NON-NLS-1$ + // import project name + public static final String IMPORT_PROJECT_NAME =3D "SeamTest"; = - // check warning log - private final static boolean checkWarning =3D false; - private Throwable exception; + public SeamComponentTest(String name) { + super(name); + setCheckWarning(false); + } = - public SeamComponentTest(String name) { - super(name); - } + public void testButton() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/button.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - /** - * Perform pre-test initialization. - * = - * @throws Exception - * = - * @see TestCase#setUp() - */ - protected void setUp() throws Exception { - super.setUp(); + public void testDecorate() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/decorate.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - // TODO: Use TestSetup to create and remove project once for all tests = - // not for every one = - if(ResourcesPlugin.getWorkspace().getRoot().findMember("SeamTest")=3D=3D= null) { - = - ImportSeamComponents.importSeamPages(SeamTestPlugin - .getPluginResourcePath() + TEST_PROJECT_JAR_PATH); - = - waitForJobs(); - waitForJobs(); - delay(5000); - } - Platform.addLogListener(this); - } + public void testDiv() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/div.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - /** - * Perform post-test cleanup. - * = - * @throws Exception - * = - * @see TestCase#tearDown() - */ - protected void tearDown() throws Exception { - super.tearDown(); - Platform.removeLogListener(this); - } + public void testFormattedText() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/formattedText.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - /** - * Process UI input but do not return for the specified time interval. - * = - * @param waitTimeMillis - * the number of milliseconds - */ - private void delay(long waitTimeMillis) { - Display display =3D Display.getCurrent(); - if (display !=3D null) { - long endTimeMillis =3D System.currentTimeMillis() + waitTimeMillis; - while (System.currentTimeMillis() < endTimeMillis) { - if (!display.readAndDispatch()) - display.sleep(); - } - display.update(); - } - // Otherwise, perform a simple sleep. - else { - try { - Thread.sleep(waitTimeMillis); - } catch (InterruptedException e) { - // Ignored. - } - } - } + public void testSpan() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/span.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - /** - * Wait until all background tasks are complete. - */ - public void waitForJobs() { - while (Job.getJobManager().currentJob() !=3D null) - delay(5000); - } + public void testLabel() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/label.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - public void testButton() throws PartInitException, Throwable { - performTestForSeamComponent("button.xhtml"); // $NON-NLS-1$ - } - = - public void testDecorate() throws PartInitException, Throwable { - performTestForSeamComponent("decorate.xhtml"); // $NON-NLS-1$ - } - = - public void testDiv() throws PartInitException, Throwable { - performTestForSeamComponent("div.xhtml"); // $NON-NLS-1$ - } - = - public void testFormattedText() throws PartInitException, Throwable { - performTestForSeamComponent("formattedText.xhtml"); // $NON-NLS-1$ - } - = - public void testSpan() throws PartInitException, Throwable { - performTestForSeamComponent("span.xhtml"); // $NON-NLS-1$ - } - = - public void testLabel() throws PartInitException, Throwable { - performTestForSeamComponent("label.xhtml"); // $NON-NLS-1$ - } - = - public void testLink() throws PartInitException, Throwable { - performTestForSeamComponent("link.xhtml"); // $NON-NLS-1$ - } - = - public void testMessage() throws PartInitException, Throwable { - performTestForSeamComponent("message.xhtml"); // $NON-NLS-1$ - } - = - public void testAllComponentsOnSinglePage() throws PartInitException, Thr= owable { - performTestForSeamComponent("seamtest.xhtml"); // $NON-NLS-1$ - } - = - private void performTestForSeamComponent(String componentPage) throws Par= tInitException, Throwable { - waitForJobs(); + public void testLink() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/link.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - exception =3D null; - IPath componentPath =3D ImportSeamComponents.getComponentPath(componentP= age); - = - IFile file =3D ResourcesPlugin.getWorkspace().getRoot().getFile(componen= tPath); - IEditorInput input =3D new FileEditorInput(file); - = - PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().ope= nEditor(input, EDITOR_ID, true); + public void testMessage() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/message.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - waitForJobs(); - delay(3000); - PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().clo= seAllEditors(true); + public void testAllComponentsOnSinglePage() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/seamtest.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } = - if (exception !=3D null) { - throw exception; - } - } - - public void logging(IStatus status, String plugin) { - switch (status.getSeverity()) { - case IStatus.ERROR: - exception =3D status.getException(); - break; - case IStatus.WARNING: - if (checkWarning) - exception =3D status.getException(); - break; - default: - break; - } - - } - } --===============8744182708965722605==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:46:07 2008 Content-Type: multipart/mixed; boundary="===============7756469756048640406==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5699 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/abstractembeddedcomponents/cid. Date: Tue, 15 Jan 2008 09:46:07 -0500 Message-ID: --===============7756469756048640406== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 09:46:06 -0500 (Tue, 15 Jan 2008) New Revision: 5699 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/abstractembeddedcomponents/cid/MyInterface.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/abstractembeddedcomponents/cid/MyInterfaceImpl.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/abstractembeddedcomponents/cid/abstractembeddedcomponents.cid.hbm= .xml Log: http://jira.jboss.com/jira/browse/JBIDE-1571 project files Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/abstractembeddedcomponents/cid/MyInterface.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/res/proje= ct/mapping/abstractembeddedcomponents/cid/MyInterface.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/abstractembeddedcomponents/cid/MyInterface.java 2008-01-15 14:46= :06 UTC (rev 5699) @@ -0,0 +1,15 @@ +package mapping.abstractembeddedcomponents.cid; + +import java.io.Serializable; + +/** + * @author Steve Ebersole + */ +public interface MyInterface extends Serializable { + public String getKey1(); + public void setKey1(String key1); + public String getKey2(); + public void setKey2(String key2); + public String getName(); + public void setName(String name); +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/abstractembeddedcomponents/cid/MyInterface.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/abstractembeddedcomponents/cid/MyInterfaceImpl.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/res/proje= ct/mapping/abstractembeddedcomponents/cid/MyInterfaceImpl.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/abstractembeddedcomponents/cid/MyInterfaceImpl.java 2008-01-15 1= 4:46:06 UTC (rev 5699) @@ -0,0 +1,36 @@ +package mapping.abstractembeddedcomponents.cid; + +import mapping.abstractembeddedcomponents.cid.MyInterface; + +/** + * @author Steve Ebersole + */ +public class MyInterfaceImpl implements MyInterface { + private String key1; + private String key2; + private String name; + + public String getKey1() { + return key1; + } + + public void setKey1(String key1) { + this.key1 =3D key1; + } + + public String getKey2() { + return key2; + } + + public void setKey2(String key2) { + this.key2 =3D key2; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name =3D name; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/abstractembeddedcomponents/cid/MyInterfaceImpl.= java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/abstractembeddedcomponents/cid/abstractembeddedcomponents.cid= .hbm.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/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/abstractembeddedcomponents/cid/abstractembeddedcomponents.cid.hb= m.xml (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/abstractembeddedcomponents/cid/abstractembeddedcomponents.cid.hb= m.xml 2008-01-15 14:46:06 UTC (rev 5699) @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/abstractembeddedcomponents/cid/abstractembedded= components.cid.hbm.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native --===============7756469756048640406==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:46:54 2008 Content-Type: multipart/mixed; boundary="===============0880002171595236621==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5700 - in trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping: any and 7 other directories. Date: Tue, 15 Jan 2008 09:46:54 -0500 Message-ID: --===============0880002171595236621== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 09:46:54 -0500 (Tue, 15 Jan 2008) New Revision: 5700 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/abstractembeddedcomponents/propertyref/Address.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/abstractembeddedcomponents/propertyref/AddressImpl.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/abstractembeddedcomponents/propertyref/Mappings.hbm.xml trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/abstractembeddedcomponents/propertyref/Server.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/abstractembeddedcomponents/propertyref/ServerImpl.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/any/ComplexPropertyValue.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/any/IntegerPropertyValue.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/any/Person.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/any/PropertySet.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/any/PropertyValue.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/any/StringPropertyValue.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/array/A.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/batch/DataPoint.hbm.xml trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/batchfetch/Model.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/batchfetch/ProductLine.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/bytecode/BeanReflectionHelper.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/cache/Item.hbm.xml trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/cache/Item.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/cascade/Job.hbm.xml trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/cascade/Job.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/cascade/JobBatch.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/cid/LineItem.hbm.xml trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/cid/LineItem.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/cid/Product.hbm.xml trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/cid/Product.java Log: http://jira.jboss.com/jira/browse/JBIDE-1571 project files Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/abstractembeddedcomponents/propertyref/Address.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/res/proje= ct/mapping/abstractembeddedcomponents/propertyref/Address.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/abstractembeddedcomponents/propertyref/Address.java 2008-01-15 1= 4:46:54 UTC (rev 5700) @@ -0,0 +1,13 @@ +package mapping.abstractembeddedcomponents.propertyref; + +/** + * @author Steve Ebersole + */ +public interface Address { + public Long getId(); + public void setId(Long id); + public String getAddressType(); + public void setAddressType(String addressType); + public Server getServer(); + public void setServer(Server server); +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/abstractembeddedcomponents/propertyref/Address.= java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/abstractembeddedcomponents/propertyref/AddressImpl.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/res/proje= ct/mapping/abstractembeddedcomponents/propertyref/AddressImpl.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/abstractembeddedcomponents/propertyref/AddressImpl.java 2008-01-= 15 14:46:54 UTC (rev 5700) @@ -0,0 +1,34 @@ +package mapping.abstractembeddedcomponents.propertyref; + +/** + * @author Steve Ebersole + */ +public class AddressImpl implements Address { + private Long id; + private String addressType; + private Server server; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id =3D id; + } + + public String getAddressType() { + return addressType; + } + + public void setAddressType(String addressType) { + this.addressType =3D addressType; + } + + public Server getServer() { + return server; + } + + public void setServer(Server server) { + this.server =3D server; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/abstractembeddedcomponents/propertyref/AddressI= mpl.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/abstractembeddedcomponents/propertyref/Mappings.hbm.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/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/abstractembeddedcomponents/propertyref/Mappings.hbm.xml = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/abstractembeddedcomponents/propertyref/Mappings.hbm.xml 2008-01-= 15 14:46:54 UTC (rev 5700) @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/abstractembeddedcomponents/propertyref/Mappings= .hbm.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/abstractembeddedcomponents/propertyref/Server.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/res/proje= ct/mapping/abstractembeddedcomponents/propertyref/Server.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/abstractembeddedcomponents/propertyref/Server.java 2008-01-15 14= :46:54 UTC (rev 5700) @@ -0,0 +1,13 @@ +package mapping.abstractembeddedcomponents.propertyref; + +/** + * @author Steve Ebersole + */ +public interface Server { + public Long getId(); + public void setId(Long id); + public String getServerType(); + public void setServerType(String serverType); + public Address getAddress(); + public void setAddress(Address address); +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/abstractembeddedcomponents/propertyref/Server.j= ava ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/abstractembeddedcomponents/propertyref/ServerImpl.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/res/proje= ct/mapping/abstractembeddedcomponents/propertyref/ServerImpl.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/abstractembeddedcomponents/propertyref/ServerImpl.java 2008-01-1= 5 14:46:54 UTC (rev 5700) @@ -0,0 +1,35 @@ +package mapping.abstractembeddedcomponents.propertyref; + + +/** + * @author Steve Ebersole + */ +public class ServerImpl implements Server { + private Long id; + private String serverType; + private Address address; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id =3D id; + } + + public String getServerType() { + return serverType; + } + + public void setServerType(String serverType) { + this.serverType =3D serverType; + } + + public Address getAddress() { + return address; + } + + public void setAddress(Address address) { + this.address =3D address; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/abstractembeddedcomponents/propertyref/ServerIm= pl.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/any/ComplexPropertyValue.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/res/proje= ct/mapping/any/ComplexPropertyValue.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/any/ComplexPropertyValue.java 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,47 @@ +package mapping.any; + +import java.util.Map; +import java.util.HashMap; +import java.util.Iterator; + +/** + * todo: describe ${NAME} + * + * @author Steve Ebersole + */ +public class ComplexPropertyValue implements PropertyValue { + private Long id; + private Map subProperties =3D new HashMap(); + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id =3D id; + } + + public Map getSubProperties() { + return subProperties; + } + + public void setSubProperties(Map subProperties) { + this.subProperties =3D subProperties; + } + + public String asString() { + return "complex[" + keyString() + "]"; + } + + private String keyString() { + StringBuffer buff =3D new StringBuffer(); + Iterator itr =3D subProperties.keySet().iterator(); + while ( itr.hasNext() ) { + buff.append( itr.next() ); + if ( itr.hasNext() ) { + buff.append( ", " ); + } + } + return buff.toString(); + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/any/ComplexPropertyValue.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/any/IntegerPropertyValue.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/res/proje= ct/mapping/any/IntegerPropertyValue.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/any/IntegerPropertyValue.java 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,38 @@ +package mapping.any; + +/** + * todo: describe IntegerPropertyValue + * + * @author Steve Ebersole + */ +public class IntegerPropertyValue implements PropertyValue { + private Long id; + private int value; + + public IntegerPropertyValue() { + } + + public IntegerPropertyValue(int value) { + this.value =3D value; + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id =3D id; + } + + public int getValue() { + return value; + } + + public void setValue(int value) { + this.value =3D value; + } + + public String asString() { + return Integer.toString( value ); + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/any/IntegerPropertyValue.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/any/Person.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/res/proje= ct/mapping/any/Person.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/any/Person.java 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,37 @@ +package mapping.any; + +/** + * todo: describe Person + * + * @author Steve Ebersole + */ +public class Person { + private Long id; + private String name; + private Object data; + + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id =3D id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name =3D name; + } + + public Object getData() { + return data; + } + + public void setData(Object data) { + this.data =3D data; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/any/Person.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/any/PropertySet.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/res/proje= ct/mapping/any/PropertySet.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/any/PropertySet.java 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,55 @@ +package mapping.any; + +import java.util.Map; +import java.util.HashMap; + +/** + * todo: describe PropertySet + * + * @author Steve Ebersole + */ +public class PropertySet { + private Long id; + private String name; + private PropertyValue someSpecificProperty; + private Map generalProperties =3D new HashMap(); + + public PropertySet() { + } + + public PropertySet(String name) { + this.name =3D name; + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id =3D id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name =3D name; + } + + public PropertyValue getSomeSpecificProperty() { + return someSpecificProperty; + } + + public void setSomeSpecificProperty(PropertyValue someSpecificProperty) { + this.someSpecificProperty =3D someSpecificProperty; + } + + public Map getGeneralProperties() { + return generalProperties; + } + + public void setGeneralProperties(Map generalProperties) { + this.generalProperties =3D generalProperties; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/any/PropertySet.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/any/PropertyValue.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/res/proje= ct/mapping/any/PropertyValue.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/any/PropertyValue.java 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,10 @@ +package mapping.any; + +/** + * todo: describe PropertyValue + * + * @author Steve Ebersole + */ +public interface PropertyValue { + public String asString(); +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/any/PropertyValue.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/any/StringPropertyValue.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/res/proje= ct/mapping/any/StringPropertyValue.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/any/StringPropertyValue.java 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,38 @@ +package mapping.any; + +/** + * todo: describe StringPropertyValue + * + * @author Steve Ebersole + */ +public class StringPropertyValue implements PropertyValue { + private Long id; + private String value; + + public StringPropertyValue() { + } + + public StringPropertyValue(String value) { + this.value =3D value; + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id =3D id; + } + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value =3D value; + } + + public String asString() { + return value; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/any/StringPropertyValue.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/array/A.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/res/proje= ct/mapping/array/A.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/array/A.java 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,26 @@ +//$Id$ +package mapping.array; + +/** + * @author Emmanuel Bernard + */ +public class A { + private Integer id; + private B[] bs; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id =3D id; + } + + public B[] getBs() { + return bs; + } + + public void setBs(B[] bs) { + this.bs =3D bs; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/array/A.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/batch/DataPoint.hbm.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/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/batch/DataPoint.hbm.xml (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/batch/DataPoint.hbm.xml 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/batch/DataPoint.hbm.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/batchfetch/Model.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/res/proje= ct/mapping/batchfetch/Model.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/batchfetch/Model.java 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,44 @@ +//$Id$ +package mapping.batchfetch; + +/** + * @author Gavin King + */ +public class Model { + private String id; + private String name; + private String description; + private ProductLine productLine; + = + Model() {} + = + public Model(ProductLine pl) { + this.productLine =3D pl; + pl.getModels().add(this); + } + = + public String getDescription() { + return description; + } + public void setDescription(String description) { + this.description =3D description; + } + public String getId() { + return id; + } + public void setId(String id) { + this.id =3D id; + } + public String getName() { + return name; + } + public void setName(String name) { + this.name =3D name; + } + public ProductLine getProductLine() { + return productLine; + } + public void setProductLine(ProductLine productLine) { + this.productLine =3D productLine; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/batchfetch/Model.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/batchfetch/ProductLine.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/res/proje= ct/mapping/batchfetch/ProductLine.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/batchfetch/ProductLine.java 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,34 @@ +//$Id$ +package mapping.batchfetch; + +import java.util.HashSet; +import java.util.Set; + +/** + * @author Gavin King + */ +public class ProductLine { + + private String id; + private String description; + private Set models =3D new HashSet(); + = + public String getDescription() { + return description; + } + public void setDescription(String description) { + this.description =3D description; + } + public String getId() { + return id; + } + public void setId(String id) { + this.id =3D id; + } + public Set getModels() { + return models; + } + public void setModels(Set models) { + this.models =3D models; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/batchfetch/ProductLine.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/bytecode/BeanReflectionHelper.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/res/proje= ct/mapping/bytecode/BeanReflectionHelper.java (rev = 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/bytecode/BeanReflectionHelper.java 2008-01-15 14:46:54 UTC (rev = 5700) @@ -0,0 +1,78 @@ +package mapping.bytecode; + +import org.hibernate.property.BasicPropertyAccessor; +import org.hibernate.property.Getter; +import org.hibernate.property.Setter; + +import java.util.Date; + +/** + * @author Steve Ebersole + */ +public class BeanReflectionHelper { + + public static final Object[] TEST_VALUES =3D new Object[] { + "hello", new Long(1), new Integer(1), new Date(), new Long(1), new Inte= ger(1), new Object() + }; + + private static final String[] getterNames =3D new String[7]; + private static final String[] setterNames =3D new String[7]; + private static final Class[] types =3D new Class[7]; + + static { + BasicPropertyAccessor propertyAccessor =3D new BasicPropertyAccessor(); + Getter getter =3D propertyAccessor.getGetter( Bean.class, "someString" ); + Setter setter =3D propertyAccessor.getSetter( Bean.class, "someString" ); + getterNames[0] =3D getter.getMethodName(); + types[0] =3D getter.getReturnType(); + setterNames[0] =3D setter.getMethodName(); + + getter =3D propertyAccessor.getGetter( Bean.class, "someLong" ); + setter =3D propertyAccessor.getSetter( Bean.class, "someLong" ); + getterNames[1] =3D getter.getMethodName(); + types[1] =3D getter.getReturnType(); + setterNames[1] =3D setter.getMethodName(); + + getter =3D propertyAccessor.getGetter( Bean.class, "someInteger" ); + setter =3D propertyAccessor.getSetter( Bean.class, "someInteger" ); + getterNames[2] =3D getter.getMethodName(); + types[2] =3D getter.getReturnType(); + setterNames[2] =3D setter.getMethodName(); + + getter =3D propertyAccessor.getGetter( Bean.class, "someDate" ); + setter =3D propertyAccessor.getSetter( Bean.class, "someDate" ); + getterNames[3] =3D getter.getMethodName(); + types[3] =3D getter.getReturnType(); + setterNames[3] =3D setter.getMethodName(); + + getter =3D propertyAccessor.getGetter( Bean.class, "somelong" ); + setter =3D propertyAccessor.getSetter( Bean.class, "somelong" ); + getterNames[4] =3D getter.getMethodName(); + types[4] =3D getter.getReturnType(); + setterNames[4] =3D setter.getMethodName(); + + getter =3D propertyAccessor.getGetter( Bean.class, "someint" ); + setter =3D propertyAccessor.getSetter( Bean.class, "someint" ); + getterNames[5] =3D getter.getMethodName(); + types[5] =3D getter.getReturnType(); + setterNames[5] =3D setter.getMethodName(); + + getter =3D propertyAccessor.getGetter( Bean.class, "someObject" ); + setter =3D propertyAccessor.getSetter( Bean.class, "someObject" ); + getterNames[6] =3D getter.getMethodName(); + types[6] =3D getter.getReturnType(); + setterNames[6] =3D setter.getMethodName(); + } + + public static String[] getGetterNames() { + return getterNames; + } + + public static String[] getSetterNames() { + return setterNames; + } + + public static Class[] getTypes() { + return types; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/bytecode/BeanReflectionHelper.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/cache/Item.hbm.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/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/cache/Item.hbm.xml (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/cache/Item.hbm.xml 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/cache/Item.hbm.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/cache/Item.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/res/proje= ct/mapping/cache/Item.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/cache/Item.java 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,31 @@ +//$Id$ +package mapping.cache; + + +/** + * @author Gavin King + */ +public class Item { + private Long id; + private String name; + private String description; + = + public String getDescription() { + return description; + } + public void setDescription(String description) { + this.description =3D description; + } + public Long getId() { + return id; + } + public void setId(Long id) { + this.id =3D id; + } + public String getName() { + return name; + } + public void setName(String name) { + this.name =3D name; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/cache/Item.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/cascade/Job.hbm.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/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/cascade/Job.hbm.xml (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/cascade/Job.hbm.xml 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/cascade/Job.hbm.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/cascade/Job.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/res/proje= ct/mapping/cascade/Job.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/cascade/Job.java 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,53 @@ +// $Id$ +package mapping.cascade; + +/** + * Implementation of Job. + * + * @author Steve Ebersole + */ +public class Job { + private Long id; + private JobBatch batch; + private String processingInstructions; + private int status; + + /** GCLIB constructor */ + Job() {} + + protected Job(JobBatch batch) { + this.batch =3D batch; + } + + public Long getId() { + return id; + } + + /*package*/ void setId(Long id) { + this.id =3D id; + } + + public JobBatch getBatch() { + return batch; + } + + /*package*/ void setBatch(JobBatch batch) { + this.batch =3D batch; + } + + public String getProcessingInstructions() { + return processingInstructions; + } + + public void setProcessingInstructions(String processingInstructions) { + this.processingInstructions =3D processingInstructions; + } + + public int getStatus() { + return status; + } + + public void setStatus(int status) { + this.status =3D status; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/cascade/Job.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/cascade/JobBatch.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/res/proje= ct/mapping/cascade/JobBatch.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/cascade/JobBatch.java 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,54 @@ +// $Id$ +package mapping.cascade; + +import java.util.Date; +import java.util.Set; +import java.util.HashSet; + +/** + * Implementation of JobBatch. + * + * @author Steve Ebersole + */ +public class JobBatch { + private Long id; + private Date batchDate; + private Set jobs =3D new HashSet(); + + /** CGLIB constructor */ + JobBatch() {} + + public JobBatch(Date batchDate) { + this.batchDate =3D batchDate; + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id =3D id; + } + + public Date getBatchDate() { + return batchDate; + } + + public void setBatchDate(Date batchDate) { + this.batchDate =3D batchDate; + } + + public Set getJobs() { + return jobs; + } + + public void setJobs(Set jobs) { + this.jobs =3D jobs; + } + + public Job createJob() { + Job job =3D new Job( this ); + jobs.add( job ); + return job; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/cascade/JobBatch.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/cid/LineItem.hbm.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/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/cid/LineItem.hbm.xml (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/cid/LineItem.hbm.xml 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,49 @@ + + + + + + + + + = + + + + + + = + + = + + + + + = + + = + + = + + Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/cid/LineItem.hbm.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/cid/LineItem.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/res/proje= ct/mapping/cid/LineItem.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/cid/LineItem.java 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,137 @@ +//$Id$ +package mapping.cid; + +import java.io.Serializable; + +/** + * @author Gavin King + */ +public class LineItem { + public static class Id implements Serializable { + private String customerId; + private int orderNumber; + private String productId; + + public Id(String customerId, int orderNumber, String productId) { + this.customerId =3D customerId; + this.orderNumber =3D orderNumber; + this.productId =3D productId; + } + public Id() {} + + /** + * @return Returns the customerId. + */ + public String getCustomerId() { + return customerId; + } + /** + * @param customerId The customerId to set. + */ + public void setCustomerId(String customerId) { + this.customerId =3D customerId; + } + /** + * @return Returns the productId. + */ + public String getProductId() { + return productId; + } + /** + * @param productId The productId to set. + */ + public void setProductId(String productId) { + this.productId =3D productId; + } + /** + * @return Returns the orderNumber. + */ + public int getOrderNumber() { + return orderNumber; + } + /** + * @param orderNumber The orderNumber to set. + */ + public void setOrderNumber(int orderNumber) { + this.orderNumber =3D orderNumber; + } + public int hashCode() { + return customerId.hashCode() + orderNumber + productId.hashCode(); + } + public boolean equals(Object other) { + if (other instanceof Id) { + Id that =3D (Id) other; + return that.customerId.equals(this.customerId) && + that.productId.equals(this.productId) && + that.orderNumber =3D=3D this.orderNumber; + } + else { + return false; + } + } + } + + private Id id =3D new Id(); + private int quantity; + private Order order; + private Product product; + + public LineItem(Order o, Product p) { + this.order =3D o; + this.id.orderNumber =3D o.getId().getOrderNumber(); + this.id.customerId =3D o.getId().getCustomerId(); + this.id.productId =3D p.getProductId(); + o.getLineItems().add(this); + } + + public LineItem() {} + + /** + * @return Returns the order. + */ + public Order getOrder() { + return order; + } + /** + * @param order The order to set. + */ + public void setOrder(Order order) { + this.order =3D order; + } + /** + * @return Returns the product. + */ + public Product getProduct() { + return product; + } + /** + * @param product The product to set. + */ + public void setProduct(Product product) { + this.product =3D product; + } + /** + * @return Returns the quantity. + */ + public int getQuantity() { + return quantity; + } + /** + * @param quantity The quantity to set. + */ + public void setQuantity(int quantity) { + this.quantity =3D quantity; + } + /** + * @return Returns the id. + */ + public Id getId() { + return id; + } + /** + * @param id The id to set. + */ + public void setId(Id id) { + this.id =3D id; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/cid/LineItem.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/cid/Product.hbm.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/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/cid/Product.hbm.xml (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/cid/Product.hbm.xml 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,40 @@ + + + + + + + + + + = + + + + = + + + + = + + + + Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/cid/Product.hbm.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/cid/Product.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/res/proje= ct/mapping/cid/Product.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/cid/Product.java 2008-01-15 14:46:54 UTC (rev 5700) @@ -0,0 +1,75 @@ +//$Id$ +package mapping.cid; + +import java.math.BigDecimal; + +/** + * @author Gavin King + */ +public class Product { + private String productId; + private String description; + private BigDecimal price; + private int numberAvailable; + private int numberOrdered; + /** + * @return Returns the description. + */ + public String getDescription() { + return description; + } + /** + * @param description The description to set. + */ + public void setDescription(String description) { + this.description =3D description; + } + /** + * @return Returns the numberAvailable. + */ + public int getNumberAvailable() { + return numberAvailable; + } + /** + * @param numberAvailable The numberAvailable to set. + */ + public void setNumberAvailable(int numberAvailable) { + this.numberAvailable =3D numberAvailable; + } + /** + * @return Returns the numberOrdered. + */ + public int getNumberOrdered() { + return numberOrdered; + } + /** + * @param numberOrdered The numberOrdered to set. + */ + public void setNumberOrdered(int numberOrdered) { + this.numberOrdered =3D numberOrdered; + } + /** + * @return Returns the productId. + */ + public String getProductId() { + return productId; + } + /** + * @param productId The productId to set. + */ + public void setProductId(String productId) { + this.productId =3D productId; + } + /** + * @return Returns the price. + */ + public BigDecimal getPrice() { + return price; + } + /** + * @param price The price to set. + */ + public void setPrice(BigDecimal price) { + this.price =3D price; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/cid/Product.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native --===============0880002171595236621==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:51:28 2008 Content-Type: multipart/mixed; boundary="===============3051368649914665355==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5702 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources: SeamTest and 6 other directories. Date: Tue, 15 Jan 2008 09:51:27 -0500 Message-ID: --===============3051368649914665355== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-15 09:51:27 -0500 (Tue, 15 Jan 2008) New Revision: 5702 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.cl= asspath trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.pr= oject trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/MET= A-INF/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/MET= A-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/META-INF/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/META-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/WEB-INF/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/WEB-INF/web.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/pages/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/pages/components/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/pages/components/button.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/pages/components/decorate.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/pages/components/div.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/pages/components/formattedText.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/pages/components/insert.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/pages/components/label.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/pages/components/link.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/pages/components/message.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/pages/components/seamtest.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/pages/components/span.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/Web= Content/pages/components/validateAll.xhtml Log: Code adjustment for seam JUnit tests Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest= /.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/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.c= lasspath (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.c= lasspath 2008-01-15 14:51:27 UTC (rev 5702) @@ -0,0 +1,9 @@ + + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest= /.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/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.p= roject (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/.p= roject 2008-01-15 14:51:27 UTC (rev 5702) @@ -0,0 +1,30 @@ + + + SeamTest + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + + org.eclipse.wst.common.project.facet.core.nature + org.eclipse.jdt.core.javanature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.eclipse.jem.workbench.JavaEMFNature + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest= /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/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/ME= TA-INF/MANIFEST.MF (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/ME= TA-INF/MANIFEST.MF 2008-01-15 14:51:27 UTC (rev 5702) @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest= /WebContent/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/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/META-INF/MANIFEST.MF (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/META-INF/MANIFEST.MF 2008-01-15 14:51:27 UTC (rev 5702) @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: = + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest= /WebContent/WEB-INF/web.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/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/WEB-INF/web.xml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/WEB-INF/web.xml 2008-01-15 14:51:27 UTC (rev 5702) @@ -0,0 +1,12 @@ + + + SeamTest + + index.html + index.htm + index.jsp + default.html + default.htm + default.jsp + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest= /WebContent/pages/components/button.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/button.xhtml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/button.xhtml 2008-01-15 14:51:27 UTC (rev 5702) @@ -0,0 +1,12 @@ + + + + + + + + + = \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest= /WebContent/pages/components/decorate.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/decorate.xhtml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/decorate.xhtml 2008-01-15 14:51:27 UTC (rev 5702) @@ -0,0 +1,14 @@ + + + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest= /WebContent/pages/components/div.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/div.xhtml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/div.xhtml 2008-01-15 14:51:27 UTC (rev 5702) @@ -0,0 +1,12 @@ + + + + + + + + + = \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest= /WebContent/pages/components/formattedText.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/formattedText.xhtml (rev = 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/formattedText.xhtml 2008-01-15 14:51:27 UTC (rev = 5702) @@ -0,0 +1,11 @@ + + + + + + + + = \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest= /WebContent/pages/components/insert.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/insert.xhtml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/insert.xhtml 2008-01-15 14:51:27 UTC (rev 5702) @@ -0,0 +1,7 @@ + + +
+ JBoss Seam 2.0.0.CR3 278 Seam JSF controls +
+
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest= /WebContent/pages/components/label.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/label.xhtml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/label.xhtml 2008-01-15 14:51:27 UTC (rev 5702) @@ -0,0 +1,13 @@ + + + + + + + Label + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest= /WebContent/pages/components/link.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/link.xhtml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/link.xhtml 2008-01-15 14:51:27 UTC (rev 5702) @@ -0,0 +1,11 @@ + + + + + + + + = \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest= /WebContent/pages/components/message.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/message.xhtml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/message.xhtml 2008-01-15 14:51:27 UTC (rev 5702) @@ -0,0 +1,11 @@ + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest= /WebContent/pages/components/seamtest.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/seamtest.xhtml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/seamtest.xhtml 2008-01-15 14:51:27 UTC (rev 5702) @@ -0,0 +1,32 @@ + + + + + + + + = + + + + + + = + + = + + Label + + + + + + +* + + = + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest= /WebContent/pages/components/span.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/span.xhtml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/span.xhtml 2008-01-15 14:51:27 UTC (rev 5702) @@ -0,0 +1,11 @@ + + + + + +* + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest= /WebContent/pages/components/validateAll.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/validateAll.xhtml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/We= bContent/pages/components/validateAll.xhtml 2008-01-15 14:51:27 UTC (rev 57= 02) @@ -0,0 +1,11 @@ + + + + + + + + = \ No newline at end of file --===============3051368649914665355==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 09:53:26 2008 Content-Type: multipart/mixed; boundary="===============3014030708838685963==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5703 - in trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping: version/db and 1 other directories. Date: Tue, 15 Jan 2008 09:53:26 -0500 Message-ID: --===============3014030708838685963== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 09:53:26 -0500 (Tue, 15 Jan 2008) New Revision: 5703 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/version/Person.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/version/Task.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/version/Thing.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/version/db/User.hbm.xml trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/version/db/User.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/where/File.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/where/NumericTrueFalseType.java Log: Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/version/Person.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/res/proje= ct/mapping/version/Person.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/version/Person.java 2008-01-15 14:53:26 UTC (rev 5703) @@ -0,0 +1,43 @@ +//$Id$ +package mapping.version; + +import java.util.ArrayList; +import java.util.List; + +public class Person { + private String name; + private List things; + private List tasks; + private int version; + = + Person() {} + public Person(String name) { + this.name =3D name; + this.things =3D new ArrayList(); + this.tasks =3D new ArrayList(); + } + public String getName() { + return name; + } + public void setName(String name) { + this.name =3D name; + } + public List getThings() { + return things; + } + public void setThings(List things) { + this.things =3D things; + } + public int getVersion() { + return version; + } + public void setVersion(int version) { + this.version =3D version; + } + public List getTasks() { + return tasks; + } + public void setTasks(List tasks) { + this.tasks =3D tasks; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/version/Person.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/version/Task.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/res/proje= ct/mapping/version/Task.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/version/Task.java 2008-01-15 14:53:26 UTC (rev 5703) @@ -0,0 +1,33 @@ +//$Id$ +package mapping.version; + +public class Task { + private String description; + private Person person; + private int version; + = + public int getVersion() { + return version; + } + public void setVersion(int version) { + this.version =3D version; + } + Task() {} + public Task(String description, Person person) { + this.description =3D description; + this.person =3D person; + person.getTasks().add(this); + } + public String getDescription() { + return description; + } + public void setDescription(String description) { + this.description =3D description; + } + public Person getPerson() { + return person; + } + public void setPerson(Person person) { + this.person =3D person; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/version/Task.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/version/Thing.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/res/proje= ct/mapping/version/Thing.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/version/Thing.java 2008-01-15 14:53:26 UTC (rev 5703) @@ -0,0 +1,40 @@ +//$Id$ +package mapping.version; + +public class Thing { + private String description; + private Person person; + private int version; + private String longDescription; + = + public int getVersion() { + return version; + } + public void setVersion(int version) { + this.version =3D version; + } + Thing() {} + public Thing(String description, Person person) { + this.description =3D description; + this.person =3D person; + person.getThings().add(this); + } + public String getDescription() { + return description; + } + public void setDescription(String description) { + this.description =3D description; + } + public Person getPerson() { + return person; + } + public void setPerson(Person person) { + this.person =3D person; + } + public String getLongDescription() { + return longDescription; + } + public void setLongDescription(String longDescription) { + this.longDescription =3D longDescription; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/version/Thing.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/version/db/User.hbm.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/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/version/db/User.hbm.xml (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/version/db/User.hbm.xml 2008-01-15 14:53:26 UTC (rev 5703) @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/version/db/User.hbm.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/version/db/User.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/res/proje= ct/mapping/version/db/User.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/version/db/User.java 2008-01-15 14:53:26 UTC (rev 5703) @@ -0,0 +1,65 @@ +// $Id$ +package mapping.version.db; + +import java.util.Set; +import java.sql.Timestamp; + +/** + * Implementation of User. + * + * @author Steve Ebersole + */ +public class User { + private Long id; + private Timestamp timestamp; + private String username; + private Set groups; + private Set permissions; + + public User() { + } + + public User(String username) { + this.username =3D username; + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id =3D id; + } + + public Timestamp getTimestamp() { + return timestamp; + } + + public void setTimestamp(Timestamp timestamp) { + this.timestamp =3D timestamp; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username =3D username; + } + + public Set getGroups() { + return groups; + } + + public void setGroups(Set groups) { + this.groups =3D groups; + } + + public Set getPermissions() { + return permissions; + } + + public void setPermissions(Set permissions) { + this.permissions =3D permissions; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/version/db/User.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/where/File.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/res/proje= ct/mapping/where/File.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/where/File.java 2008-01-15 14:53:26 UTC (rev 5703) @@ -0,0 +1,52 @@ +//$Id$ +package mapping.where; + +import java.util.Set; + +public class File { + private long id; + private String name; + private File parent; + private boolean deleted; + private Set children; + = + public Set getChildren() { + return children; + } + public void setChildren(Set children) { + this.children =3D children; + } + + public File(String name, File parent) { + this.name =3D name; + this.parent =3D parent; + } + = + File() {} + = + public boolean isDeleted() { + return deleted; + } + public void setDeleted(boolean deleted) { + this.deleted =3D deleted; + } + public long getId() { + return id; + } + public void setId(long id) { + this.id =3D id; + } + public String getName() { + return name; + } + public void setName(String name) { + this.name =3D name; + } + public File getParent() { + return parent; + } + public void setParent(File parent) { + this.parent =3D parent; + } + = +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/where/File.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/where/NumericTrueFalseType.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/res/proje= ct/mapping/where/NumericTrueFalseType.java (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/where/NumericTrueFalseType.java 2008-01-15 14:53:26 UTC (rev 570= 3) @@ -0,0 +1,53 @@ +package mapping.where; + +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.PreparedStatement; +import java.sql.Types; + +import org.hibernate.type.BooleanType; +import org.hibernate.dialect.Dialect; + +/** + * Maps int db values to boolean java values. Zero is considered false; a= ny + * non-zero value is considered true. + * + * @author Steve Ebersole + */ +public class NumericTrueFalseType extends BooleanType { + + public Object get(ResultSet rs, String name) throws SQLException { + int value =3D rs.getInt( name ); + if ( rs.wasNull() ) { + return getDefaultValue(); + } + else if ( value =3D=3D 0 ) { + return Boolean.FALSE; + } + else { + return Boolean.TRUE; + } + } + + public void set(PreparedStatement st, Object value, int index) throws SQL= Exception { + if ( value =3D=3D null ) { + st.setNull( index, Types.INTEGER ); + } + else { + boolean bool =3D ( ( Boolean ) value ).booleanValue(); + st.setInt( index, bool ? 1 : 0 ); + } + } + + public String objectToSQLString(Object value, Dialect dialect) throws Exc= eption { + return ( ( Boolean ) value ).booleanValue() ? "1" : "0"; + } + + public int sqlType() { + return Types.INTEGER; + } + + public String getName() { + return "numeric_boolean"; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/where/NumericTrueFalseType.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native --===============3014030708838685963==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 10:01:31 2008 Content-Type: multipart/mixed; boundary="===============5922207353121568883==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5704 - in trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test: resources/StrutsTest/WebContent/pages/components/tiles and 1 other directories. Date: Tue, 15 Jan 2008 10:01:31 -0500 Message-ID: --===============5922207353121568883== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-15 10:01:30 -0500 (Tue, 15 Jan 2008) New Revision: 5704 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/tiles/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/tiles/add.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/tiles/definition.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/tiles/get.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/tiles/getAsString.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/tiles/importAttribute.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/tiles/insert.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/tiles/putList.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/tiles/userAttribute.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsTilesComponentTest.java Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsAllTests.java Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/tiles/add.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/add.jsp (= rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/add.jsp 2008-01-15 15:01:30 UTC (= rev 5704) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-tiles" prefix=3D"t= iles" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/tiles/definition.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/definition.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/definition.jsp 2008-01-15 15:01:3= 0 UTC (rev 5704) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-tiles" prefix=3D"t= iles" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/tiles/get.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/get.jsp (= rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/get.jsp 2008-01-15 15:01:30 UTC (= rev 5704) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-tiles" prefix=3D"t= iles" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/tiles/getAsString.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/getAsString.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/getAsString.jsp 2008-01-15 15:01:= 30 UTC (rev 5704) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-tiles" prefix=3D"t= iles" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/tiles/importAttribute.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/importAttribute.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/importAttribute.jsp 2008-01-15 15= :01:30 UTC (rev 5704) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-tiles" prefix=3D"t= iles" %> + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/tiles/insert.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/insert.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/insert.jsp 2008-01-15 15:01:30 UT= C (rev 5704) @@ -0,0 +1,12 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-tiles" prefix=3D"t= iles" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/tiles/putList.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/putList.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/putList.jsp 2008-01-15 15:01:30 U= TC (rev 5704) @@ -0,0 +1,11 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-tiles" prefix=3D"t= iles" %> + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/tiles/userAttribute.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/userAttribute.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/userAttribute.jsp 2008-01-15 15:0= 1:30 UTC (rev 5704) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-tiles" prefix=3D"t= iles" %> + + + + + + + + Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org= /jboss/tools/struts/vpe/struts/test/StrutsAllTests.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsAllTests.java 2008-01-15 14:53:26 UTC (= rev 5703) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsAllTests.java 2008-01-15 15:01:30 UTC (= rev 5704) @@ -35,6 +35,7 @@ suite.addTestSuite(StrutsLogicComponentTest.class); suite.addTestSuite(StrutsFormComponentTest.class); suite.addTestSuite(StrutsNestedComponentTest.class); + suite.addTestSuite(StrutsTilesComponentTest.class); //cleanUpTests(); // $JUnit-END$ return new VpeTestSetup(suite,TestUtil.createImportBeanList(StrutsHTMLCo= mponentTest.IMPORT_PROJECT_NAME, StrutsTestPlugin.getPluginResourcePath())); Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jb= oss/tools/struts/vpe/struts/test/StrutsTilesComponentTest.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsTilesComponentTest.java = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsTilesComponentTest.java 2008-01-15 15:0= 1:30 UTC (rev 5704) @@ -0,0 +1,71 @@ +/*************************************************************************= ****** = + * 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.struts.vpe.struts.test; + +import org.eclipse.core.resources.IFile; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; + +/** + * Class for testing tiles struts components + * = + * @author dazarov + * = + */ +public class StrutsTilesComponentTest extends VpeTest { + + // import project name + static final String IMPORT_PROJECT_NAME =3D "StrutsTest"; + + public StrutsTilesComponentTest(String name) { + super(name); + } + + /* + * Struts Tiles test cases + */ + + public void testAdd() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= tiles/add.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testDefinition() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= tiles/definition.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testGet() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= tiles/get.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testGetAsString() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= tiles/getAsString.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testImportAttribute() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= tiles/importAttribute.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testInitComponentDefinitions() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= tiles/initComponentDefinitions.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testInsert() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= tiles/insert.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testPutList() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= tiles/putList.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testUserAttribute() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= tiles/userAttribute.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } +} --===============5922207353121568883==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 10:01:55 2008 Content-Type: multipart/mixed; boundary="===============1158221737082120743==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5705 - trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/tiles. Date: Tue, 15 Jan 2008 10:01:55 -0500 Message-ID: --===============1158221737082120743== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-15 10:01:55 -0500 (Tue, 15 Jan 2008) New Revision: 5705 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/tiles/initComponentDefinitions.jsp Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/tiles/initComponentDefinitions.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/initComponentDefinitions.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/tiles/initComponentDefinitions.jsp 2008= -01-15 15:01:55 UTC (rev 5705) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-tiles" prefix=3D"t= iles" %> + + + + + + + + --===============1158221737082120743==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 10:11:12 2008 Content-Type: multipart/mixed; boundary="===============0962889991137331336==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5706 - in trunk/documentation/guides/userguide: GettingStartedGuide/en/modules and 1 other directory. Date: Tue, 15 Jan 2008 10:11:12 -0500 Message-ID: --===============0962889991137331336== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: cluts Date: 2008-01-15 10:11:12 -0500 (Tue, 15 Jan 2008) New Revision: 5706 Modified: trunk/documentation/guides/userguide/Exadel-migration/en/modules/jsf_str= uts.xml trunk/documentation/guides/userguide/Exadel-migration/en/modules/jsf_str= uts_war.xml trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/jsp_= application.xml trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/rad_= jsf_application.xml Log: http://jira.jboss.org/jira/browse/JBDS-143 - Transition sentences are added= to the all residuary guides (Migration,Web Tools and others). Modified: trunk/documentation/guides/userguide/Exadel-migration/en/modules/= jsf_struts.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/userguide/Exadel-migration/en/modules/jsf_st= ruts.xml 2008-01-15 15:01:55 UTC (rev 5705) +++ trunk/documentation/guides/userguide/Exadel-migration/en/modules/jsf_st= ruts.xml 2008-01-15 15:11:12 UTC (rev 5706) @@ -11,6 +11,7 @@ = Migration of JSF and Struts Projects + In this chapter you can find concise description of migration of JS= F and Struts Projects.
= JSF JBoss Developer Studio includes an Import JSF Project Wizard that radically simplifies the process of bringing your exis= ting JSF applications Modified: trunk/documentation/guides/userguide/Exadel-migration/en/modules/= jsf_struts_war.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/userguide/Exadel-migration/en/modules/jsf_st= ruts_war.xml 2008-01-15 15:01:55 UTC (rev 5705) +++ trunk/documentation/guides/userguide/Exadel-migration/en/modules/jsf_st= ruts_war.xml 2008-01-15 15:11:12 UTC (rev 5706) @@ -13,7 +13,7 @@ = Migrate JSF and Struts projects from *.war file - + After you familiarized oneself with last chapter you can read this= chapter. It looks as if you read in last chapter.
JSF = Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modul= es/jsp_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/userguide/GettingStartedGuide/en/modules/jsp= _application.xml 2008-01-15 15:01:55 UTC (rev 5705) +++ trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/jsp= _application.xml 2008-01-15 15:11:12 UTC (rev 5706) @@ -13,7 +13,7 @@ Note: We highly recommend developing in Seam. This = chapter is for users - who for some reason cannot use Seam. + who for some reason cannot use Seam. = In this chapter you'll find out how to create a simple JSP applicat= ion using the JBoss Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modul= es/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/userguide/GettingStartedGuide/en/modules/rad= _jsf_application.xml 2008-01-15 15:01:55 UTC (rev 5705) +++ trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/rad= _jsf_application.xml 2008-01-15 15:11:12 UTC (rev 5706) @@ -14,7 +14,7 @@ Note: We highly recommend developing in Seam.= This chapter is for users - who for some reason cannot use Seam. + who for some reason cannot use Seam. = In this chapter you will see how to create a simple JSF applicat= ion being based on @@ -528,10 +528,10 @@ ]]> The first navigation rule states that from any page (* stands for any page) an outcome of playagain will take you to - /pages/inputnumber.jsp. Outcome values ar= e returned from backing + /pages/inputnumber.jsp. Outcome values are returned from backing bean methods in this example. The second navigation rule state= s that if you are at the - page /pages/inputnumber.jsp, and the outc= ome is success, then - navigate to the /pages/success.jsp page. = + page /pages/inputnumber.jsp, and the outcome is success, then + navigate to the /pages/success.jsp page.
@@ -1023,7 +1023,7 @@ Console tabbed view stop scrolling, JBoss is available= ) - Right-click on project Run AS > Run on + Right-click on project Run AS &g= t; Run on Server --===============0962889991137331336==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 10:13:41 2008 Content-Type: multipart/mixed; boundary="===============5825086334658886062==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5707 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/value/type/basic. Date: Tue, 15 Jan 2008 10:13:40 -0500 Message-ID: --===============5825086334658886062== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 10:13:40 -0500 (Tue, 15 Jan 2008) New Revision: 5707 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/value/type/basic/BasicValueTypes.hbm.xml trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/value/type/basic/BasicValueTypesClass.java Log: http://jira.jboss.com/jira/browse/JBIDE-1571 project files Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/value/type/basic/BasicValueTypes.hbm.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/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/value/type/basic/BasicValueTypes.hbm.xml = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/value/type/basic/BasicValueTypes.hbm.xml 2008-01-15 15:13:40 UTC= (rev 5707) @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/value/type/basic/BasicValueTypes.hbm.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/value/type/basic/BasicValueTypesClass.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/res/proje= ct/mapping/value/type/basic/BasicValueTypesClass.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/value/type/basic/BasicValueTypesClass.java 2008-01-15 15:13:40 U= TC (rev 5707) @@ -0,0 +1,57 @@ +package mapping.value.type.basic; + +public class BasicValueTypesClass { + + private int property_int; + private long property_long; + private short property_short; + private float property_float; + private double property_double; + private byte property_byte; + private boolean property_boolean; + + public boolean isProperty_boolean() { + return property_boolean; + } + public void setProperty_boolean(boolean property_boolean) { + this.property_boolean =3D property_boolean; + } + public byte getProperty_byte() { + return property_byte; + } + public void setProperty_byte(byte property_byte) { + this.property_byte =3D property_byte; + } + public double getProperty_double() { + return property_double; + } + public void setProperty_double(double property_double) { + this.property_double =3D property_double; + } + public float getProperty_float() { + return property_float; + } + public void setProperty_float(float property_float) { + this.property_float =3D property_float; + } + public int getProperty_int() { + return property_int; + } + public void setProperty_int(int property_int) { + this.property_int =3D property_int; + } + public long getProperty_long() { + return property_long; + } + public void setProperty_long(long property_long) { + this.property_long =3D property_long; + } + public short getProperty_short() { + return property_short; + } + public void setProperty_short(short property_short) { + this.property_short =3D property_short; + } + + +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/value/type/basic/BasicValueTypesClass.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native --===============5825086334658886062==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 10:14:55 2008 Content-Type: multipart/mixed; boundary="===============8077516058317885634==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5708 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/value/type/collection/set. Date: Tue, 15 Jan 2008 10:14:55 -0500 Message-ID: --===============8077516058317885634== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 10:14:55 -0500 (Tue, 15 Jan 2008) New Revision: 5708 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/value/type/collection/set/CollectionSet.hbm.xml trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/value/type/collection/set/CollectionSetItem.java Log: Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/value/type/collection/set/CollectionSet.hbm.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/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/value/type/collection/set/CollectionSet.hbm.xml = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/value/type/collection/set/CollectionSet.hbm.xml 2008-01-15 15:14= :55 UTC (rev 5708) @@ -0,0 +1,13 @@ + + + + + = + + + = + + + \ No newline at end of file Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/value/type/collection/set/CollectionSet.hbm.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/value/type/collection/set/CollectionSetItem.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/res/proje= ct/mapping/value/type/collection/set/CollectionSetItem.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/value/type/collection/set/CollectionSetItem.java 2008-01-15 15:1= 4:55 UTC (rev 5708) @@ -0,0 +1,27 @@ +package mapping.value.type.collection.set; + +public class CollectionSetItem { + + private int id; + private int collectionSetId; + private String item; + + public int getCollectionSetId() { + return collectionSetId; + } + public void setCollectionSetId(int collectionSetId) { + this.collectionSetId =3D collectionSetId; + } + public int getId() { + return id; + } + public void setId(int id) { + this.id =3D id; + } + public String getItem() { + return item; + } + public void setItem(String item) { + this.item =3D item; + } +} Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/value/type/collection/set/CollectionSetItem.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native --===============8077516058317885634==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 10:22:26 2008 Content-Type: multipart/mixed; boundary="===============3116681046566352995==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5709 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/value/type/collection/list. Date: Tue, 15 Jan 2008 10:22:26 -0500 Message-ID: --===============3116681046566352995== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 10:22:26 -0500 (Tue, 15 Jan 2008) New Revision: 5709 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/value/type/collection/list/CollectionList.hbm.xml Log: http://jira.jboss.com/jira/browse/JBIDE-1571 project files Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/value/type/collection/list/CollectionList.hbm.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/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/value/type/collection/list/CollectionList.hbm.xml = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/value/type/collection/list/CollectionList.hbm.xml 2008-01-15 15:= 22:26 UTC (rev 5709) @@ -0,0 +1,13 @@ + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/value/type/collection/list/CollectionList.hbm.x= ml ___________________________________________________________________ Name: svn:mime-type + text/xml --===============3116681046566352995==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 10:22:44 2008 Content-Type: multipart/mixed; boundary="===============1210358527118946858==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5710 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/value/type/collection/list. Date: Tue, 15 Jan 2008 10:22:43 -0500 Message-ID: --===============1210358527118946858== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 10:22:43 -0500 (Tue, 15 Jan 2008) New Revision: 5710 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/value/type/collection/list/CollectionListItem.hbm.xml Log: http://jira.jboss.com/jira/browse/JBIDE-1571 project files Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/value/type/collection/list/CollectionListItem.hbm.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/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/value/type/collection/list/CollectionListItem.hbm.xml = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/value/type/collection/list/CollectionListItem.hbm.xml 2008-01-15= 15:22:43 UTC (rev 5710) @@ -0,0 +1,16 @@ + + + + + + + + + + \ No newline at end of file Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/value/type/collection/list/CollectionListItem.h= bm.xml ___________________________________________________________________ Name: svn:mime-type + text/xml --===============1210358527118946858==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 10:23:23 2008 Content-Type: multipart/mixed; boundary="===============1373744146566084533==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5711 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/value/type/collection/map. Date: Tue, 15 Jan 2008 10:23:23 -0500 Message-ID: --===============1373744146566084533== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 10:23:23 -0500 (Tue, 15 Jan 2008) New Revision: 5711 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/value/type/collection/map/CollectionListMap.hbm.xml trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/value/type/collection/map/CollectionMapMany.hbm.xml Log: http://jira.jboss.com/jira/browse/JBIDE-1571 project files Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/value/type/collection/map/CollectionListMap.hbm.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/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/value/type/collection/map/CollectionListMap.hbm.xml = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/value/type/collection/map/CollectionListMap.hbm.xml 2008-01-15 1= 5:23:23 UTC (rev 5711) @@ -0,0 +1,15 @@ + + + + + + + + + + \ No newline at end of file Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/value/type/collection/map/CollectionListMap.hbm= .xml ___________________________________________________________________ Name: svn:mime-type + text/xml Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/value/type/collection/map/CollectionMapMany.hbm.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/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/value/type/collection/map/CollectionMapMany.hbm.xml = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/value/type/collection/map/CollectionMapMany.hbm.xml 2008-01-15 1= 5:23:23 UTC (rev 5711) @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/value/type/collection/map/CollectionMapMany.hbm= .xml ___________________________________________________________________ Name: svn:mime-type + text/xml --===============1373744146566084533==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 10:24:55 2008 Content-Type: multipart/mixed; boundary="===============4281435568068755631==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5712 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/project/mapping/value/type/collection/map. Date: Tue, 15 Jan 2008 10:24:55 -0500 Message-ID: --===============4281435568068755631== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 10:24:54 -0500 (Tue, 15 Jan 2008) New Revision: 5712 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/mapping/value/type/collection/map/CollectionMap.hbm.xml Log: http://jira.jboss.com/jira/browse/JBIDE-1571 project files Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/mapping/value/type/collection/map/CollectionMap.hbm.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/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/value/type/collection/map/CollectionMap.hbm.xml = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/proje= ct/mapping/value/type/collection/map/CollectionMap.hbm.xml 2008-01-15 15:24= :54 UTC (rev 5712) @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/mapping/value/type/collection/map/CollectionMap.hbm.xml ___________________________________________________________________ Name: svn:mime-type + text/xml --===============4281435568068755631==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 10:36:22 2008 Content-Type: multipart/mixed; boundary="===============7592991471974145696==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5713 - in trunk/hibernatetools/tests/org.hibernate.eclipse.console.test: src/org/hibernate/eclipse/console/test/mappingproject and 1 other directory. Date: Tue, 15 Jan 2008 10:36:22 -0500 Message-ID: --===============7592991471974145696== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 10:36:21 -0500 (Tue, 15 Jan 2008) New Revision: 5713 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/.lib/hsqldb.jar Removed: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/.lib/postgresql-8.2-506.jdbc3.jar Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/ProjectUtil.java Log: replace postgresql with hsqldb Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/pr= oject/.lib/hsqldb.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) Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.conso= le.test/res/project/.lib/hsqldb.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Deleted: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/= project/.lib/postgresql-8.2-506.jdbc3.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/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/ProjectUtil.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/ProjectUtil.java 2008-01-15 15= :24:54 UTC (rev 5712) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/ProjectUtil.java 2008-01-15 15= :36:21 UTC (rev 5713) @@ -42,7 +42,7 @@ private static final StringBuilder XML_CFG_START =3D new StringBuilder("<= hibernate-configuration>\n") .append("\n") .append("") - .append("org.hibernate.dialect.PostgreSQLDialect"); + .append("org.hibernate.dialect.HSQLDialect"); = private static final StringBuilder XML_CFG_END =3D new StringBuilder("\n") .append("\n"); = --===============7592991471974145696==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 10:44:25 2008 Content-Type: multipart/mixed; boundary="===============2609490226346340972==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5714 - in trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test: src/org/jboss/tools/struts/vpe/struts/test and 1 other directory. Date: Tue, 15 Jan 2008 10:43:21 -0500 Message-ID: --===============2609490226346340972== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-15 10:43:21 -0500 (Tue, 15 Jan 2008) New Revision: 5714 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/checkbox.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/define.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/empty.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/equal.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/errors.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/file.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/form.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/greaterEqual.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/greaterThan.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/hidden.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/image.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/img.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/iterate.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/lessEqual.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/lessThan.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/link.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/match.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/message.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/nested/messages.jsp Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsNestedComponentTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/checkbox.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/checkbox.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/checkbox.jsp 2008-01-15 15:43:21= UTC (rev 5714) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + Option1
+ Option2
+ Option3
+
+ +
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/define.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/define.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/define.jsp 2008-01-15 15:43:21 U= TC (rev 5714) @@ -0,0 +1,12 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/empty.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/empty.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/empty.jsp 2008-01-15 15:43:21 UT= C (rev 5714) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + Empty + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/equal.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/equal.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/equal.jsp 2008-01-15 15:43:21 UT= C (rev 5714) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + Equal + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/errors.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/errors.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/errors.jsp 2008-01-15 15:43:21 U= TC (rev 5714) @@ -0,0 +1,12 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/file.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/file.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/file.jsp 2008-01-15 15:43:21 UTC= (rev 5714) @@ -0,0 +1,13 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/form.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/form.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/form.jsp 2008-01-15 15:43:21 UTC= (rev 5714) @@ -0,0 +1,11 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/greaterEqual.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/greaterEqual.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/greaterEqual.jsp 2008-01-15 15:4= 3:21 UTC (rev 5714) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + GreaterEqual + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/greaterThan.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/greaterThan.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/greaterThan.jsp 2008-01-15 15:43= :21 UTC (rev 5714) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + GreaterThan + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/hidden.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/hidden.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/hidden.jsp 2008-01-15 15:43:21 U= TC (rev 5714) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + Hidden + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/image.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/image.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/image.jsp 2008-01-15 15:43:21 UT= C (rev 5714) @@ -0,0 +1,12 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/img.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/img.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/img.jsp 2008-01-15 15:43:21 UTC = (rev 5714) @@ -0,0 +1,12 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/iterate.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/iterate.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/iterate.jsp 2008-01-15 15:43:21 = UTC (rev 5714) @@ -0,0 +1,13 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/lessEqual.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/lessEqual.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/lessEqual.jsp 2008-01-15 15:43:2= 1 UTC (rev 5714) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + LessEqual + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/lessThan.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/lessThan.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/lessThan.jsp 2008-01-15 15:43:21= UTC (rev 5714) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + LessThan + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/link.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/link.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/link.jsp 2008-01-15 15:43:21 UTC= (rev 5714) @@ -0,0 +1,12 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + test.jsp + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/match.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/match.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/match.jsp 2008-01-15 15:43:21 UT= C (rev 5714) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + Match + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/message.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/message.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/message.jsp 2008-01-15 15:43:21 = UTC (rev 5714) @@ -0,0 +1,12 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/nested/messages.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/messages.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/nested/messages.jsp 2008-01-15 15:43:21= UTC (rev 5714) @@ -0,0 +1,13 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"http://jakarta.apache.org/struts/tags-nested" prefix=3D"= nested" %> + + + + + + + + + + + Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org= /jboss/tools/struts/vpe/struts/test/StrutsNestedComponentTest.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsNestedComponentTest.java 2008-01-15 15:= 36:21 UTC (rev 5713) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsNestedComponentTest.java 2008-01-15 15:= 43:21 UTC (rev 5714) @@ -52,4 +52,80 @@ public void testWriteNesting() throws Throwable { performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/writeNesting.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } + + public void testCheckbox() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/checkbox.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testDefine() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/define.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testEmpty() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/empty.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testEqual() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/equal.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testErrors() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/errors.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testFile() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/file.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testForm() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/form.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testGraterEqual() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/greaterEqual.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testGraterThan() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/greaterThan.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testHidden() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/hidden.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testImage() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/image.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testImg() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/img.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testIterate() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/iterate.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testLessEqual() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/lessEqual.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testLessThan() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/lessThan.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testLink() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/link.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testMatch() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/match.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testMessage() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/message.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testMessages() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= nested/messages.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } } --===============2609490226346340972==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 10:53:07 2008 Content-Type: multipart/mixed; boundary="===============8412501597507613067==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5715 - in trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor: template and 1 other directories. Date: Tue, 15 Jan 2008 10:53:06 -0500 Message-ID: --===============8412501597507613067== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-15 10:53:06 -0500 (Tue, 15 Jan 2008) New Revision: 5715 Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/Vpe= PreviewDomBuilder.java trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/Vpe= VisualDomBuilder.java trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/tem= plate/HtmlBodyTemplate.java trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/tem= plate/VpeTemplateManager.java trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/uti= l/VpeDebugUtil.java Log: http://jira.jboss.com/jira/browse/JBIDE-1568 Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/edi= tor/VpePreviewDomBuilder.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/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/Vp= ePreviewDomBuilder.java 2008-01-15 15:43:21 UTC (rev 5714) +++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/Vp= ePreviewDomBuilder.java 2008-01-15 15:53:06 UTC (rev 5715) @@ -16,6 +16,7 @@ import java.util.Set; import org.eclipse.wst.sse.core.internal.provisional.INodeAdapter; import org.jboss.tools.jst.jsp.preferences.VpePreference; +import org.jboss.tools.vpe.VpePlugin; import org.jboss.tools.vpe.editor.context.VpePageContext; import org.jboss.tools.vpe.editor.mapping.VpeDomMapping; import org.jboss.tools.vpe.editor.mapping.VpeNodeMapping; @@ -27,6 +28,7 @@ import org.jboss.tools.vpe.editor.util.TextUtil; import org.mozilla.interfaces.nsIDOMElement; import org.mozilla.interfaces.nsIDOMNode; +import org.mozilla.xpcom.XPCOMException; import org.w3c.dom.Element; import org.w3c.dom.Node; = @@ -72,12 +74,19 @@ VpeTemplate template =3D templateManager.getTemplate(getPageContext(), = (Element)sourceNode, ifDependencySet); VpeCreationData creationData; = + //FIX FOR JBIDE-1568, added by Max Areshkau + try { if ( template.isHaveVisualPreview() ) { creationData =3D template.create(getPageContext(), sourceNode, getVisu= alDocument()); } else { nsIDOMElement tempHTMLElement =3D getVisualDocument().createElement(HT= ML.TAG_DIV); creationData =3D new VpeCreationData(tempHTMLElement); = } + }catch (XPCOMException ex) { + VpePlugin.getPluginLog().logError(ex); + VpeTemplate defTemplate =3D templateManager.getDefTemplate(); + creationData =3D defTemplate.create(getPageContext(), sourceNode, getV= isualDocument()); + } = getPageContext().setCurrentVisualNode(null); nsIDOMElement visualNewElement; Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/edi= tor/VpeVisualDomBuilder.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/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/Vp= eVisualDomBuilder.java 2008-01-15 15:43:21 UTC (rev 5714) +++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/Vp= eVisualDomBuilder.java 2008-01-15 15:53:06 UTC (rev 5715) @@ -368,8 +368,20 @@ VpeTemplate template =3D templateManager.getTemplate(pageContext, (Element) sourceNode, ifDependencySet); = - VpeCreationData creationData =3D template.create(pageContext, - sourceNode, visualDocument); + VpeCreationData creationData =3D null; + //FIX FOR JBIDE-1568, added by Max Areshkau + try { + if ( template.isHaveVisualPreview() ) { + creationData =3D template.create(getPageContext(), sourceNode, getVisu= alDocument()); + } else { + nsIDOMElement tempHTMLElement =3D getVisualDocument().createElement(HT= ML.TAG_DIV); + creationData =3D new VpeCreationData(tempHTMLElement); = + } + }catch (XPCOMException ex) { + VpePlugin.getPluginLog().logError(ex); + VpeTemplate defTemplate =3D templateManager.getDefTemplate(); + creationData =3D defTemplate.create(getPageContext(), sourceNode, getV= isualDocument()); + } pageContext.setCurrentVisualNode(null); nsIDOMElement visualNewElement =3D (nsIDOMElement) creationData .getNode(); Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/edi= tor/template/HtmlBodyTemplate.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/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/te= mplate/HtmlBodyTemplate.java 2008-01-15 15:43:21 UTC (rev 5714) +++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/te= mplate/HtmlBodyTemplate.java 2008-01-15 15:53:06 UTC (rev 5715) @@ -17,6 +17,7 @@ import org.mozilla.interfaces.nsIDOMElement; import org.mozilla.interfaces.nsIDOMNamedNodeMap; import org.mozilla.interfaces.nsIDOMNode; +import org.mozilla.xpcom.XPCOMException; import org.w3c.dom.Element; import org.w3c.dom.Node; = @@ -63,9 +64,13 @@ if (VpeStyleUtil.PARAMETR_BACKGROND.equalsIgnoreCase(name)) value =3D VpeStyleUtil.addFullPathIntoBackgroundValue(value, pageContext.getEditPart().getEditorInput()); - - bodyOld.setAttribute(name, value); - + //FIX FOR JBIDE-1568, added by Max Areshkau + try{ + bodyOld.setAttribute(name, value); + }catch(XPCOMException ex ) { + //jsut ignore it + } + = } = nsIDOMElement div =3D visualDocument.createElement(HTML.TAG_DIV); Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/edi= tor/template/VpeTemplateManager.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/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/te= mplate/VpeTemplateManager.java 2008-01-15 15:43:21 UTC (rev 5714) +++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/te= mplate/VpeTemplateManager.java 2008-01-15 15:53:06 UTC (rev 5715) @@ -11,7 +11,6 @@ package org.jboss.tools.vpe.editor.template; = import java.io.File; - import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; @@ -19,22 +18,19 @@ import java.util.List; import java.util.Map; import java.util.Set; - import org.eclipse.core.runtime.IConfigurationElement; import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.Platform; -import org.eclipse.core.runtime.Status; import org.eclipse.wst.xml.core.internal.document.ElementImpl; +import org.jboss.tools.common.xml.XMLUtilities; +import org.jboss.tools.vpe.VpePlugin; +import org.jboss.tools.vpe.editor.context.VpePageContext; import org.osgi.framework.Bundle; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; = -import org.jboss.tools.common.xml.XMLUtilities; -import org.jboss.tools.vpe.VpePlugin; -import org.jboss.tools.vpe.editor.context.VpePageContext; - public class VpeTemplateManager { = static final String TEMPLATES_FILE_LIST_NAME =3D "vpe-templates-list.xml"; @@ -206,7 +202,7 @@ return defTemplate; } } - = + private VpeTemplate getTemplateImpl(VpePageContext pageContext, Node sour= ceNode, Set dependencySet) { String name =3D getTemplateName(pageContext, sourceNode); if (name =3D=3D null) { @@ -793,4 +789,14 @@ defTemplate.init(createDefTemplateElement(), true); return defTemplate; } + + /** + * @return the defTemplate + */ + public VpeTemplate getDefTemplate() { + if(defTemplate=3D=3Dnull) { + defTemplate=3DcreateDefTemplate(); + } + return defTemplate; + } } Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/edi= tor/util/VpeDebugUtil.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/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/ut= il/VpeDebugUtil.java 2008-01-15 15:43:21 UTC (rev 5714) +++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/ut= il/VpeDebugUtil.java 2008-01-15 15:53:06 UTC (rev 5715) @@ -1,5 +1,4 @@ /*************************************************************************= ****** = - * 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 --===============8412501597507613067==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 10:53:17 2008 Content-Type: multipart/mixed; boundary="===============2910160543084929768==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5716 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test: resources/jsfTest/WebContent/pages/JBIDE/1568 and 2 other directories. Date: Tue, 15 Jan 2008 10:53:16 -0500 Message-ID: --===============2910160543084929768== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-15 10:53:16 -0500 (Tue, 15 Jan 2008) New Revision: 5716 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1568/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1568/JBIDE-1568-body.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1568/JBIDE-1568-richfaces.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1568/JBIDE-1568-seam.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/jbide/JsfJbide1568Test.java Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfAllTests.java Log: http://jira.jboss.com/jira/browse/JBIDE-1568 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1568/JBIDE-1568-body.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1568/JBIDE-1568-body.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1568/JBIDE-1568-body.jsp 2008-01-15 15:53:16 UTC (rev 57= 16) @@ -0,0 +1,18 @@ +<%@ taglib uri=3D"http://richfaces.org/rich" prefix=3D"rich" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> + + + + + + + + + + = + + + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1568/JBIDE-1568-richfaces.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1568/JBIDE-1568-richfaces.jsp (r= ev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1568/JBIDE-1568-richfaces.jsp 2008-01-15 15:53:16 UTC (r= ev 5716) @@ -0,0 +1,593 @@ + + + + + + + + + + + = + = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Fade Effect + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This rich panel component + + Test rich panel component + + + + + + + + Test panel bar item component + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This is simple toggle panel + + + + + + + + + + + + + + + + + + + + + + + Here is tab #1 + + + Here is tab #2 + + + Here is tab #3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = + + + + + + + + + + + + +
+ + dsfj s= df sdfj ksdfk jsdf o djgf sdnkafk nasdfkln sdlf sdfnk + +
+ + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1568/JBIDE-1568-seam.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1568/JBIDE-1568-seam.xhtml (rev = 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1568/JBIDE-1568-seam.xhtml 2008-01-15 15:53:16 UTC (rev = 5716) @@ -0,0 +1,44 @@ + + + + + + sdfsdf + + = + sdfsdf + + + + + = + sdfsdf + + = + sdfsdf + + + sdfsdf + + + sdfsdf + + + sdfsdf + = +* + + sdfsdf + = + + Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-15 15:53:06 UTC (rev 5715) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-15 15:53:16 UTC (rev 5716) @@ -20,6 +20,7 @@ import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1467Test; import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1501Test; import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1548Test; +import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1568Test; import org.jboss.tools.vpe.ui.test.VpeTestSetup; import org.jboss.tools.vpe.ui.test.beans.ImportBean; = @@ -41,6 +42,7 @@ suite.addTestSuite(JsfJbide1501Test.class); suite.addTestSuite(JBIDE1484Test.class); suite.addTestSuite(JsfJbide1548Test.class); + suite.addTestSuite(JsfJbide1568Test.class); // $JUnit-END$ //added by Max Areshkau //add here projects which should be imported for junit tests Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools= /jsf/vpe/jsf/test/jbide/JsfJbide1568Test.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JsfJbide1568Test.java (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JsfJbide1568Test.java 2008-01-15 15:53:16 UTC (rev 571= 6) @@ -0,0 +1,41 @@ +/*************************************************************************= ****** = +* 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.jsf.vpe.jsf.test.jbide; + +import org.eclipse.core.resources.IFile; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; + +/** + * @author Max Areshkau + * = + * junit for http://jira.jboss.com/jira/browse/JBIDE-1568 = + * + */ +public class JsfJbide1568Test extends VpeTest { + + public static final String IMPORT_PROJECT_NAME=3D"jsfTest"; + public JsfJbide1568Test(String name) { + super(name); + } + = + public void testJBIDE1568Body() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath("JBIDE/1568= /JBIDE-1568-body.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testJBIDE1568RichFaces() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath("JBIDE/156= 8/JBIDE-1568-richfaces.jsp",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testJBIDE1568Seam() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath("JBIDE/156= 8/JBIDE-1568-seam.xhtml",IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } +} --===============2910160543084929768==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 10:56:00 2008 Content-Type: multipart/mixed; boundary="===============4048426917681290805==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5717 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test. Date: Tue, 15 Jan 2008 10:55:59 -0500 Message-ID: --===============4048426917681290805== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-15 10:55:59 -0500 (Tue, 15 Jan 2008) New Revision: 5717 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/too= ls/jsf/vpe/richfaces/test/RichFacesComponentTest.java Log: Code adjustment for richfaces JUnit tests Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jb= oss/tools/jsf/vpe/richfaces/test/RichFacesComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesComponentTest.java 2008-01-15 15:53:16 = UTC (rev 5716) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesComponentTest.java 2008-01-15 15:55:59 = UTC (rev 5717) @@ -10,21 +10,10 @@ *************************************************************************= *****/ package org.jboss.tools.jsf.vpe.richfaces.test; = -import java.util.ArrayList; -import java.util.List; - import org.eclipse.core.resources.IFile; -import org.eclipse.ui.IEditorInput; import org.eclipse.ui.PartInitException; -import org.eclipse.ui.part.FileEditorInput; -import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; -import org.jboss.tools.vpe.editor.util.HTML; import org.jboss.tools.vpe.ui.test.TestUtil; import org.jboss.tools.vpe.ui.test.VpeTest; -import org.mozilla.interfaces.nsIDOMDocument; -import org.mozilla.interfaces.nsIDOMElement; -import org.mozilla.interfaces.nsIDOMNode; -import org.mozilla.interfaces.nsIDOMText; = /** * Class for testing all RichFaces components @@ -139,10 +128,10 @@ } = public void testOrderingList() throws PartInitException, Throwable { - performTestForVpeComponent((IFile) TestUtil.getComponentPath( - "components/orderingList.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS= -1$ + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/orderingList.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - = + public void testPaint2D() throws PartInitException, Throwable { performTestForVpeComponent((IFile) TestUtil.getComponentPath( "components/paint2D.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ @@ -218,71 +207,8 @@ "components/componentControl.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-= 1$ } = - public void testcontextMenu() throws Throwable { - nsIDOMElement element =3D performTestForRichFacesComponent("components/co= ntextMenu.xhtml"); - - nsIDOMNode node =3D (nsIDOMNode) element - .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); - - List elements =3D new ArrayList(); - - // find "span" elements - TestUtil.findElementsByName(node, elements, HTML.TAG_SPAN); - - assertEquals("Component's content is not shown", 4, elements.size()); - - nsIDOMElement elementSpan =3D (nsIDOMElement) elements.get(1) - .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); - - nsIDOMText text =3D (nsIDOMText) elementSpan.getFirstChild() - .queryInterface(nsIDOMText.NS_IDOMTEXT_IID); - - nsIDOMElement elementSpan1 =3D (nsIDOMElement) elements.get(3) - .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); - - nsIDOMText text1 =3D (nsIDOMText) elementSpan1.getFirstChild() - .queryInterface(nsIDOMText.NS_IDOMTEXT_IID); - - assertEquals("Component's content is not shown", text.getNodeValue(), - "Zoom In"); - assertEquals("Component's content is not shown", text1.getNodeValue(), - "Zoom Out"); - + public void testContextMenu() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/contextMenu.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } - - /** - * = - * @param componentPage - * @return - * @throws Throwable - */ - private nsIDOMElement performTestForRichFacesComponent(String componen= tPage) - throws Throwable { - TestUtil.waitForJobs(); - // set exception - setException(null); - - // get test page path - IFile file =3D (IFile) TestUtil.getComponentPath(componentPage, - IMPORT_PROJECT_NAME); - - assertNotNull("Could not open specified file " + file.getFullPath(), - file); - - IEditorInput input =3D new FileEditorInput(file); - - assertNotNull("Editor input is null", input); - // open and get editor - JSPMultiPageEditor part =3D openEditor(input); - - // get dom document - nsIDOMDocument document =3D getVpeVisualDocument(part); - nsIDOMElement element =3D document.getDocumentElement(); - - // check that element is not null - assertNotNull(element); - - return element; - } - } --===============4048426917681290805==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 11:00:55 2008 Content-Type: multipart/mixed; boundary="===============4491892515205830264==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5718 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core. Date: Tue, 15 Jan 2008 11:00:55 -0500 Message-ID: --===============4491892515205830264== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-15 11:00:55 -0500 (Tue, 15 Jan 2008) New Revision: 5718 Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/co= re/ISeamContextShortVariable.java Log: Comment added Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/= seam/core/ISeamContextShortVariable.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/c= ore/ISeamContextShortVariable.java 2008-01-15 15:55:59 UTC (rev 5717) +++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/c= ore/ISeamContextShortVariable.java 2008-01-15 16:00:55 UTC (rev 5718) @@ -1,5 +1,17 @@ package org.jboss.tools.seam.core; = +/** + * A seam variable can be accessed by a short name if seam package = + * is imported. In this model we duplicate variable, the copy has = + * name equal to short name of original. This interface is designed + * for instantiating a duplication object. + * = + * @author Viacheslav Kabanovich + */ public interface ISeamContextShortVariable extends ISeamContextVariable { + /** + * Returns variable with full name used to create this instance. + * @return + */ public ISeamContextVariable getOriginal(); } --===============4491892515205830264==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 11:06:12 2008 Content-Type: multipart/mixed; boundary="===============2479666876031286200==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5719 - in trunk/hibernatetools/tests/org.hibernate.eclipse.console.test: src/org/hibernate/eclipse/console/test/mappingproject and 1 other directory. Date: Tue, 15 Jan 2008 11:06:12 -0500 Message-ID: --===============2479666876031286200== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-15 11:06:11 -0500 (Tue, 15 Jan 2008) New Revision: 5719 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/lib/ Removed: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/projec= t/.lib/ Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/MappingTestProject.java Log: rename .lib to lib Copied: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/p= roject/lib (from rev 5713, trunk/hibernatetools/tests/org.hibernate.eclipse= .console.test/res/project/.lib) Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/MappingTestProject.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/MappingTestProject.java 2008-0= 1-15 16:00:55 UTC (rev 5718) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/MappingTestProject.java 2008-0= 1-15 16:06:11 UTC (rev 5719) @@ -56,7 +56,6 @@ = public static String PROJECT_NAME =3D "MappingTestProject"; public static String RESOURCE_PATH =3D "res/project/"; - public static String RES_LIB_FNAME =3D ".lib"; = private static FileFilter fileFilter =3D new FileFilter(){ public boolean accept(File pathname) { @@ -67,6 +66,7 @@ public boolean accept(File pathname) { //exclude ".svn" and other unnessesary folders if (pathname.getName().charAt(0) =3D=3D '.') return false; + if (LIB_FOLDER.equals(pathname.getName())) return false; return pathname.isDirectory(); }}; = @@ -165,9 +165,9 @@ javaProject.getPackageFragmentRoot(dst); } = - File libFolder =3D new File(res.getAbsolutePath()+"/" + RES_LIB_FNAME); + File libFolder =3D new File(res.getAbsolutePath()+"/" + LIB_FOLDER); if ( !libFolder.exists() ) - throw new RuntimeException("Folder " + RESOURCE_PATH + RES_LIB_FNAME + = " not found!"); + throw new RuntimeException("Folder " + RESOURCE_PATH + "/" + LIB_FOLDER= + " not found!"); = = List libs =3D new ArrayList(); --===============2479666876031286200==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 11:16:04 2008 Content-Type: multipart/mixed; boundary="===============0766400374340560170==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5720 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test: src/org/jboss/tools/jsf/vpe/facelets/test and 1 other directory. Date: Tue, 15 Jan 2008 11:16:04 -0500 Message-ID: --===============0766400374340560170== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-15 11:16:04 -0500 (Tue, 15 Jan 2008) New Revision: 5720 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelets= Test/WebContent/pages/components/faceletsTest.xhtml Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/tool= s/jsf/vpe/facelets/test/FaceletsComponentTest.java Log: Code adjustment for facelets JUnit tests Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/face= letsTest/WebContent/pages/components/faceletsTest.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/faceletsTest.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/resources/facelet= sTest/WebContent/pages/components/faceletsTest.xhtml 2008-01-15 16:16:04 UT= C (rev 5720) @@ -0,0 +1,40 @@ + + + + +All Test + + + + + + + + + + + + + + JSF 1.2 and Facelets under Tomcat. KickStar= t Application + + + This will be removed. + + + + JSF 1.2 and Facelets under Tomcat. KickStar= t Application + + +
#{dept.name}
+
#{dept.lastName}, #{dept.firstName}
+
+ + \ No newline at end of file Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jbo= ss/tools/jsf/vpe/facelets/test/FaceletsComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-15 16:06:11 UTC= (rev 5719) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/src/org/jboss/too= ls/jsf/vpe/facelets/test/FaceletsComponentTest.java 2008-01-15 16:16:04 UTC= (rev 5720) @@ -445,4 +445,14 @@ assertEquals(message, contextString, text.getNodeValue()); } = + /** + * Test for all facelets tags + * = + * @throws Throwable + */ + public void testAllTags() throws Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/faceletsTest.xhtml", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + } --===============0766400374340560170==-- From jbosstools-commits at lists.jboss.org Tue Jan 15 12:09:25 2008 Content-Type: multipart/mixed; boundary="===============0548783957230987556==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5721 - trunk/documentation/guides/userguide/GettingStartedGuide/en/modules. Date: Tue, 15 Jan 2008 12:05:25 -0500 Message-ID: --===============0548783957230987556== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-15 12:05:25 -0500 (Tue, 15 Jan 2008) New Revision: 5721 Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/firs= t_seam.xml trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/gett= ing_started.xml trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/jsp_= application.xml trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/mana= ge.xml Log: http://jira.jboss.com/jira/browse/JBDS-235 remarks+links+info added Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modul= es/first_seam.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/userguide/GettingStartedGuide/en/modules/fir= st_seam.xml 2008-01-15 16:16:04 UTC (rev 5720) +++ trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/fir= st_seam.xml 2008-01-15 17:05:25 UTC (rev 5721) @@ -27,7 +27,7 @@ This section helps you to create a simple Seam project. To create a new web application in Seam, yo= u should create a Seam web project. This section provides all the necessary steps to organize a= new project with appropriate - tooling and adjust the settings that match your needs. + tooling and adjust the settings that match your needs. In order to f= ind out more information, see Seam Dev Tools Reference guide First, select New > Project ... > Seam > Seam Web Project . You will be prompted to enter a name and a location dir= ectory for your new @@ -76,7 +76,7 @@ A dynamic web application contains both web pages and Java code.= The wizard will ask you - where you want to put those files. You can just leave the default va= lues. + where you want to put those files. You can just leave the default va= lues or choose another folder. =
Select Directory Names for Web Pages and Java Files @@ -88,7 +88,7 @@
= = - In the next screen, you will be able to select where those libra= ry JARs come from. The + On the next form, you will be able to select where those library= JARs come from. The easiest is just to select the JARs provided by the JBoss AS runtime = associated with this project. That is why it is important to chose the right JBoss AS 4.2= runtime in the project setup window. @@ -221,7 +221,7 @@ WebContent/home.xhtml file and edit it in the visual editor. Notice that the visual= editor lets you both the XHTML code and the rendered page. The rendered view is designed to m= ake it easy to find stuff - in a complex XHTML page. + in a complex XHTML page. If you'd like to learn more about the VPE, = read the Editors section in the Visual Web Tools Reference guide. =
Making Changes in the Visual Editor @@ -545,6 +545,7 @@ Seam Tools - New and Noteworthy: What's new and noteworthy + Max Andersen's blogs: Max's b= log, In Relation = To... =
Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modul= es/getting_started.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/userguide/GettingStartedGuide/en/modules/get= ting_started.xml 2008-01-15 16:16:04 UTC (rev 5720) +++ trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/get= ting_started.xml 2008-01-15 17:05:25 UTC (rev 5721) @@ -233,7 +233,7 @@ = - Installation process includes JBoss Enterprise Application Plat= form. Select + Installation process includes JBoss Enterprise Application Platform. Select Yes to use it in JBoss Developer Studio. @@ -257,9 +257,8 @@ = - Check your installation paths and see the components will be in= stalled. Click - Next - to start installation. + Check your installation paths and see the components to install= . If you'd like to change something, press Previous button. Click + Next to start installation. = @@ -356,7 +355,7 @@ = - to create new Seam, jBPM Process, JSF or Struts projects using J= BDS wizards + to create new Seam projects, jBPM Process, JSF or Struts project= s using JBDS wizards = @@ -437,7 +436,7 @@ FAQ For easy reference to JBoss Developer Studio related questions, ou= r FAQ provides answers to - our most "popular" questions. The sections of questions are o= rganized by type. + the most "popular" questions. The sections of questions are o= rganized by type.
= = - The JBoss AS plugin makes use of WTP. This includes starting and s= topping servers in run or debug mode. It also includes - targeting WTP projects, such as dynamic web projects, to certain serve= r runtimes in order to ensure that the proper jars - from a specific server are added to the project's classpath properly.<= /para> - In order to get started creating, running, and debugging J2EE appl= ications, we must start with creating our runtime and = - server instances. - = + The JBoss AS plugin makes use of WTP. This includes starting and s= topping servers in run or + debug mode. It also includes targeting WTP projects, such as dynamic w= eb projects, to certain + server runtimes in order to ensure that the proper jars from a specifi= c server are added to the + project's classpath properly. + In order to get started creating, running, and debugging J2EE appl= ications, we must start + with creating our runtime and server instances. +
WTP Runtimes - In JBoss Tools, the main purpose of Server Runtimes is to point= to a server installation somewhere on disk. = - In our case, this will be a JBoss installation, and it can than be= used for two primary purposes: = - - it provides classpath additions to WTP projects th= at require them. - For JBoss server at least, it provides information neces= sary for the starting and stopping of the server, it tells which jars to ru= n and which configuration to use. - - = -
Installing a new Runtime= = - You can install runtimes into eclipse from the Window > Preferences... - menu, and then select Server > Installed Ru= ntimes from the categories available. + In JBoss Tools, the main purpose of Server Runtimes is to point = to a server installation + somewhere on disk. In our case, this will be a JBoss installation, a= nd it can than be used for + two primary purposes: + + + it provides classpath additions to WTP projects that require= them. + + + For JBoss server at least, it provides information necessary= for the starting and + stopping of the server, it tells which jars to run and which con= figuration to use. + + + +
+ Installing a new Runtime + You can install runtimes into eclipse from the + Window > Preferences... + menu, and then select + Server > Installed Runtimes + from the categories available.
Installed Runtimes @@ -44,10 +55,19 @@
- From this preference page you can see what runtimes are declar= ed, and what type they are. In the image shown above, there are two declared - runtimes, including a JBoss 4.2 instance. - To create a JBoss runtime, we begin by clicking the = Add button. This will open another dialog t= hat allows us to choose what type = - of runtime we want to create. Most of the runtime options are prov= ided by WTP, but those provided by JBoss Tools are the ones we will focus o= n. + From this preference page you can see declared runtimes and th= eir types as well. In the + image shown above, there are two declared runtimes, including a JB= oss 4.2 instance. + + Here, it's possible to edit or remove existing runtimes a= s well as add a new + one. + + To create a JBoss runtime click + Add + button and choose necessary type of runtime from the a= ppeared dialog. + + +
Adding a Runtime @@ -56,10 +76,15 @@
- As seen above, there appear to be two JBoss categories. The fi= rst is contributed by WTP, and is a generic adapter that is not upkept very= well. - For this reason, JBoss Tools provides updated and supported adapte= rs of our own. There is one for each of JBoss 3.2, 4.0, and 4.2. You'll als= o note a deploy-only - runtime type. This type provides no classpath for WTP projects. It= is used solely by it's server type for the purpose of setting up a deploy = directory - for users who don't wish to make use of starting, stopping, or deb= ugging their projects inside eclipse. + + As seen above, there appear to be two JBoss categories. The fi= rst is contributed by WTP, + and is a generic adapter that is not upkept very well. For this re= ason, JBoss Tools provides + updated and supported adapters of our own. There is one for each o= f JBoss 3.2, 4.0, and 4.2. + You'll also note a deploy-only runtime type. This type provides no= classpath for WTP + projects. It is used solely by it's server type for the purpose of= setting up a deploy + directory for users who don't wish to make use of starting, stoppi= ng, or debugging their + projects inside eclipse. +
Adding a JBoss 4.2 Runtime @@ -68,61 +93,97 @@
- As shown above, all you need to do to create the runtime is to= name it, browse to it's install directory, - select a Java Runtime Environment, and select which configuration = you want. As you browse to a valid installation folder, the list of configu= rations will = - update allowing you to select the configuration of your choice. - Once the runtime is created, the configuration is an unchangin= g property = - of that runtime. This is because many of the jars necessary to pro= vide for classpaths, such as the ejb3 jar locations or the servlet jar loca= tions, - are located in deploy directories of each configurations (dependin= g on which version of JBoss is being used). Because of this, to compile aga= inst - a different configuration's jars, you will need to create a new ru= ntime from that configuration. - Also, because of the open-source nature of JBoss, it is likely= that a user may want to = - modify and repackage some of the configuration-specific jboss jars= and create their own configuration using those modified jars. Rather than = forcing the user to copy his - entire JBoss installation, this structure allows them to create on= ly a new configuration instead. - As a result of having each runtime represent a specific config= uration rather than the server installation as a whole, it is very likely y= ou'll create several different runtimes = - to test each of your configurations. It becomes important to ensur= e your runtimes, and later your servers, are given descriptive names that h= elp you remember which is which. - It will do no good to try to remember if "JBoss-runtime 5" is the = 4.0 install with ejb3? Or the 4.2 install's custom configuration you decide= d to create. - After pressing finish, you'll see that your new runtime has be= en added to the list and can now be targeted by WTP type projects or server= s, both of which we'll get to later. + + All you need here is to name chosen runtime (or you can leave = offered name), browse to + its install directory and select a Java Runtime Environment. As yo= u browse to a valid + installation folder, the list of configurations will update allowi= ng you to select the + configuration of your choice. + + + + + Once the runtime is created, the configuration is an unchangin= g property of that + runtime. This is because many of the jars necessary to provide for= classpaths, such as the + ejb3 jar locations or the servlet jar locations, are located in de= ploy directories of each + configurations (depending on which version of JBoss is being used)= . Because of this, to + compile against a different configuration's jars, you will need to= create a new runtime from + that configuration. + + + + + + Also, because of the open-source nature of JBoss, it is likely= that a user may want to + modify and repackage some of the configuration-specific jboss jars= and create their own + configuration using those modified jars. Rather than forcing the u= ser to copy his entire + JBoss installation, this structure allows them to create only a ne= w configuration instead. + + As a result of having each runtime represent a specific config= uration rather than the + server installation as a whole, it is very likely you'll create se= veral different runtimes + to test each of your configurations. It becomes important to ensur= e your runtimes, and later + your servers, are given descriptive names that help you remember w= hich is which. It will do + no good to try to remember if "JBoss-runtime 5" is the 4.0 install= with ejb3? Or the 4.2 + install's custom configuration you decided to create. + Press + Finish + to see your new runtime in the list.
- = +
- = +
WTP Servers - WTP servers are eclipse-representations of a backing server in= stallation. They are used to start or stop servers, deploy to servers, or d= ebug code that will run on the server. They keep track of the modules (jars= , wars, etc) = - you deploy to the server and also allow you to undeploy those modu= les. - Servers can be started or stopped with different command-line = arguments. They are often backed by a runtime object representing that serv= er's location. -
+ WTP servers are eclipse-representations of a backing server inst= allation. They are used to + start or stop servers, deploy to servers, or debug code that will ru= n on the server. They keep + track of the modules (jars, wars, etc) you deploy to the server and = also allow you to undeploy + those modules. + Servers can be started or stopped with different command-line ar= guments. They are often + backed by a runtime object representing that server's location. +
Creating a New Server - There are many ways to get to the new server wizard. One way is= to use the old standard File -> New -> Other... = wizard, = - and type in Server. This = should show the screen below, which does not look that different from the i= nitial screen when creating a new runtime. -
- Adding a JBoss Server - - - - - -
- Because the server object is what keeps track of things like c= ommand line arguments when starting or stopping, and runtimes keep track of= the location of the installation, = - each server instance must be backed by an appropriate runtime. - Because there may be many runtimes of each type declared, the = wizard allows you to select which runtime you want your server to be backed= by. The combo box below the view lets you - select which declared runtime to use. For example, if there were a= lready multiple JBoss 4.2 runtimes declared, the combo box would list all o= f the 4.2 runtimes available. - If none of the runtimes declared are one you want to use, for = example if you declared a default and a minimal runtime before but now want= your server - to be backed by the ALL configuration, then you can click on the <= emphasis>Installed Runtimes... button to b= ring up the preference page shown at the beginning of this chapter. -
- Installed Server Runtime Environments - - - - - -
- If the server you want to create doesn't have any installed ru= ntime yet, the combo box and button will disappear, and the next page in th= e wizard will force you to create - the associated runtime first. - Either way, after targeting your server to a runtime, the fina= l screen in this wizard is largely confirmational, giving the user a chance= to verify = - that he's selected the appropriate runtime. It also allows the use= r to name the server appropriately. + There are many ways to get to the new server wizard. One way i= s to use the old standard + File > New > Other... + wizard, and type in + Server + . This should show the screen below, which does not loo= k that different from the + initial screen when creating a new runtime. +
+ Adding a JBoss Server + + + + + +
+ Because the server object is what keeps track of things like c= ommand line arguments when + starting or stopping, and runtimes keep track of the location of t= he installation, each + server instance must be backed by an appropriate runtime. + Because there may be many runtimes of each type declared, the = wizard allows you to + select which runtime you want your server to be backed by. The com= bo box below the view lets + you select which declared runtime to use. For example, if there we= re already multiple JBoss + 4.2 runtimes declared, the combo box would list all of the 4.2 run= times available. + If none of the runtimes declared are one you want to use, for = example if you declared a + default and a minimal runtime before but now want your server to b= e backed by the ALL + configuration, then you can click on the + Installed Runtimes... + button to bring up the preference page shown at the be= ginning of this chapter. +
+ Installed Server Runtime Environments + + + + + +
+ If the server you want to create doesn't have any installed ru= ntime yet, the combo box + and button will disappear, and the next page in the wizard will fo= rce you to create the + associated runtime first. + Either way, after targeting your server to a runtime, the fina= l screen in this wizard is + largely confirmational, giving the user a chance to verify that he= 's selected the + appropriate runtime. It also allows the user to name the server ap= propriately. +
+
- = -
- = - + + --===============5541212736205200413==-- From jbosstools-commits at lists.jboss.org Wed Jan 16 14:43:20 2008 Content-Type: multipart/mixed; boundary="===============3177679693189054947==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5751 - trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test. Date: Wed, 16 Jan 2008 14:43:18 -0500 Message-ID: --===============3177679693189054947== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: akazakov Date: 2008-01-16 14:43:17 -0500 (Wed, 16 Jan 2008) New Revision: 5751 Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam= /core/test/SeamEARTest.java trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam= /core/test/SeamValidatorsTest.java Log: Fixed some issues with joing jobs. Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/too= ls/seam/core/test/SeamEARTest.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/SeamEARTest.java 2008-01-16 18:28:06 UTC (rev 5750) +++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/sea= m/core/test/SeamEARTest.java 2008-01-16 19:43:17 UTC (rev 5751) @@ -10,20 +10,19 @@ *************************************************************************= *****/ package org.jboss.tools.seam.core.test; = +import junit.framework.TestCase; + import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.IncrementalProjectBuilder; import org.eclipse.core.runtime.NullProgressMonitor; -import org.jboss.tools.common.model.XJob; import org.jboss.tools.common.test.util.TestProjectProvider; import org.jboss.tools.seam.core.ISeamComponent; import org.jboss.tools.seam.core.ISeamProject; import org.jboss.tools.seam.core.SeamCorePlugin; -import org.jboss.tools.seam.internal.core.SeamProject; import org.jboss.tools.test.util.JUnitUtils; +import org.jboss.tools.test.util.xpl.EditorTestHelper; = -import junit.framework.TestCase; - /** * @author V.Kabanovich * @@ -40,10 +39,10 @@ protected void setUp() throws Exception { TestProjectProvider providerEAR =3D new TestProjectProvider("org.jboss.t= ools.seam.core.test", null, "Test1-ear", makeCopy); projectEAR =3D providerEAR.getProject(); - = + TestProjectProvider providerWAR =3D new TestProjectProvider("org.jboss.t= ools.seam.core.test", null, "Test1", makeCopy); projectWAR =3D providerWAR.getProject(); - = + TestProjectProvider providerEJB =3D new TestProjectProvider("org.jboss.t= ools.seam.core.test", null, "Test1-ejb", makeCopy); projectEJB =3D providerEJB.getProject(); = @@ -55,26 +54,19 @@ JUnitUtils.fail("Error in refreshing",e); } = - try { - XJob.waitForJob(); - } catch (InterruptedException e) { - JUnitUtils.fail("Interrupted",e); - } + EditorTestHelper.joinBackgroundActivities(); } = private ISeamProject getSeamProject(IProject project) { try { - XJob.waitForJob(); + EditorTestHelper.joinBackgroundActivities(); +// XJob.waitForJob(); } catch (Exception e) { JUnitUtils.fail("Interrupted",e); } try { project.build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMon= itor()); - try { - XJob.waitForJob(); - } catch (InterruptedException e) { - JUnitUtils.fail("Interrupted",e); - } + EditorTestHelper.joinBackgroundActivities(); } catch (Exception e) { JUnitUtils.fail("Cannot build", e); } @@ -104,13 +96,11 @@ */ public void testCreatingProject() { } - = + public void testProject() { ISeamProject seamProject =3D getSeamProject(projectWAR); ISeamComponent c =3D seamProject.getComponent("authenticator"); - = + assertNotNull("War project must see component 'authenticator' declared i= n ejb project", c); - = } - -} +} \ 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 2008-01-16 18:28:06 UTC (rev 5750) +++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/sea= m/core/test/SeamValidatorsTest.java 2008-01-16 19:43:17 UTC (rev 5751) @@ -910,15 +910,14 @@ } return numbers; } - = + private void refreshProject(IProject project){ - waitForJob(); + waitForJob(); } - = + public static void waitForJob() { EditorTestHelper.joinJobs(1000,10000,500); //then wait for a while to Workspace runnable is finished - EditorTestHelper.joinJobs(2000, 2000, 0); + EditorTestHelper.joinJobs(2000, 2000, 500); } - -} +} \ No newline at end of file --===============3177679693189054947==-- From jbosstools-commits at lists.jboss.org Wed Jan 16 16:45:16 2008 Content-Type: multipart/mixed; boundary="===============3667173243387585360==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5752 - in trunk: tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/xpl and 1 other directory. Date: Wed, 16 Jan 2008 16:45:15 -0500 Message-ID: --===============3667173243387585360== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-16 16:45:15 -0500 (Wed, 16 Jan 2008) New Revision: 5752 Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam= /core/test/SeamValidatorsTestSetup.java trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/xpl= /EditorTestHelper.java Log: fix join job issues Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/too= ls/seam/core/test/SeamValidatorsTestSetup.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/SeamValidatorsTestSetup.java 2008-01-16 19:43:17 UTC (rev 5751) +++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/sea= m/core/test/SeamValidatorsTestSetup.java 2008-01-16 21:45:15 UTC (rev 5752) @@ -24,6 +24,7 @@ = @Override protected void setUp() throws Exception { + EditorTestHelper.joinBackgroundActivities(); = ResourcesUtils.importProject("org.jboss.tools.seam.core.test","projects/= SeamWebWarTestProject" , new NullProgressMonitor()); EditorTestHelper.joinBackgroundActivities(); = } Modified: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/u= til/xpl/EditorTestHelper.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/test/util/xp= l/EditorTestHelper.java 2008-01-16 19:43:17 UTC (rev 5751) +++ trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/xp= l/EditorTestHelper.java 2008-01-16 21:45:15 UTC (rev 5752) @@ -172,7 +172,7 @@ } } = // Join jobs - joinJobs(1000, 10000, 500); + joinJobs(0, 10000, 500); Logger.global.exiting("EditorTestHelper", "joinBackgroundActivities"); /= /$NON-NLS-1$ //$NON-NLS-2$ } = --===============3667173243387585360==-- From jbosstools-commits at lists.jboss.org Wed Jan 16 20:21:02 2008 Content-Type: multipart/mixed; boundary="===============6173081748278424900==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5753 - in trunk/seam: tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet and 1 other directory. Date: Wed, 16 Jan 2008 20:21:02 -0500 Message-ID: --===============6173081748278424900== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-16 20:21:02 -0500 (Wed, 16 Jan 2008) New Revision: 5753 Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/in= ternal/core/project/facet/Seam2FacetInstallDelegate.java trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam= /core/test/project/facet/Seam2FacetInstallDelegateTest.java Log: 1. core.jar is added to test/lib folder 2. security.drl moved to ejb/ejbModule for EAR deployment 3. checks for that are added to JUnit test for seam 2 EAR project Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/= seam/internal/core/project/facet/Seam2FacetInstallDelegate.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/project/facet/Seam2FacetInstallDelegate.java 2008-01-16 21:45:= 15 UTC (rev 5752) +++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/i= nternal/core/project/facet/Seam2FacetInstallDelegate.java 2008-01-17 01:21:= 02 UTC (rev 5753) @@ -101,6 +101,7 @@ .include("jboss-deployers.jar") //$NON-NLS-1$ .include("test/thirdparty-all\\.jar") //$NON-NLS-1$ .include("thirdparty-all\\.jar") //$NON-NLS-1$ + .include("core.jar") //$NON-NLS-1$ .exclude(".*/CVS") //$NON-NLS-1$ .exclude(".*/\\.svn"); //$NON-NLS-1$ = @@ -126,8 +127,7 @@ .include("jboss-el.*.jar") //$NON-NLS-1$ .include("mvel14.*.jar") //$NON-NLS-1$ .include("jbpm-jpdl.*\\.jar") //$NON-NLS-1$ - .include("richfaces-api.*\\.jar") //$NON-NLS-1$ - .include("security\\.drl"); //$NON-NLS-1$ + .include("richfaces-api.*\\.jar"); //$NON-NLS-1$ = /*public static AntCopyUtils.FileSet JBOSS_EAR_CONTENT_META_INF =3D new A= ntCopyUtils.FileSet() .include("META-INF/application\\.xml") //$NON-NLS-1$ @@ -411,6 +411,11 @@ // Copy seam project indicator // *******************************************************************= ************************* AntCopyUtils.copyFileToFolder(new File(seamGenResFolder,"seam.properti= es"), new File(ejb,"ejbModule/"), true); //$NON-NLS-1$ //$NON-NLS-2$ + + // *******************************************************************= ************************* + // Copy security.drl to source folder + // *******************************************************************= ************************* + AntCopyUtils.copyFileToFolder(new File(seamGenResFolder,"security.drl"= ), new File(ejb,"ejbModule/"), true); //$NON-NLS-1$ //$NON-NLS-2$ = File resources =3D new File(ear,"resources"); AntCopyUtils.copyFileToFile( Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/too= ls/seam/core/test/project/facet/Seam2FacetInstallDelegateTest.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/project/facet/Seam2FacetInstallDelegateTest.java 2008-01-16 21:= 45:15 UTC (rev 5752) +++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/sea= m/core/test/project/facet/Seam2FacetInstallDelegateTest.java 2008-01-17 01:= 21:02 UTC (rev 5753) @@ -128,6 +128,7 @@ = Set onlyInWar =3D new HashSet(); Set onlyInEar =3D new HashSet(); + Set onlyInEjbSrc =3D new HashSet(); = = onlyInEar.add("jboss-seam.jar"); onlyInEar.add("antlr-runtime.jar"); @@ -138,7 +139,6 @@ onlyInEar.add("richfaces-api.jar"); = onlyInEar.add("jbpm-jpdl.jar"); onlyInEar.add("META-INF"); - onlyInEar.add("security.drl"); = onlyInWar.add("commons-beanutils.jar"); onlyInWar.add("commons-digester.jar"); @@ -165,10 +165,16 @@ = assertOnlyContainsTheseFiles(onlyInEarMeta, earMeta); = - = assertOnlyContainsTheseFiles(onlyInWar, (IContainer)war.findMember("WebC= ontent/WEB-INF/lib").getAdapter(IContainer.class)); + + IProject ejb =3D seamProjectsSet.getEjbProject(); + + onlyInEjbSrc.add("security.drl"); + onlyInEjbSrc.add("seam.properties"); + onlyInEjbSrc.add("import.sql"); + onlyInEjbSrc.add("components.properties"); = - + assertOnlyContainsTheseFiles(onlyInEjbSrc, ear.findMember("ejbModule"));= = } = = @@ -230,6 +236,7 @@ libs.add("jboss-embedded-all.jar"); libs.add("thirdparty-all.jar"); libs.add("jboss-embedded-api.jar"); + libs.add("core.jar"); = = assertOnlyContainsTheseFiles(libs, testProject.findMember("lib")); assertNotNull(testProject.findMember("lib/testng.jar")); @@ -238,8 +245,6 @@ assertNotNull(testProject.findMember("lib/jboss-embedded-all.jar")); assertNotNull(testProject.findMember("lib/thirdparty-all.jar")); = - = - = } = public void testSeamProperties() { --===============6173081748278424900==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 04:22:06 2008 Content-Type: multipart/mixed; boundary="===============4297485664730272006==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5754 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject. Date: Thu, 17 Jan 2008 04:22:05 -0500 Message-ID: --===============4297485664730272006== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-17 04:22:05 -0500 (Thu, 17 Jan 2008) New Revision: 5754 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/OpenMappingDiagramTest.java Removed: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/OpenMappingDiagrammTest.java Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/TestSet.java Log: typo fixing Copied: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/o= rg/hibernate/eclipse/console/test/mappingproject/OpenMappingDiagramTest.jav= a (from rev 5753, trunk/hibernatetools/tests/org.hibernate.eclipse.console.= test/src/org/hibernate/eclipse/console/test/mappingproject/OpenMappingDiagr= ammTest.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/OpenMappingDiagramTest.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/OpenMappingDiagramTest.java 20= 08-01-17 09:22:05 UTC (rev 5754) @@ -0,0 +1,69 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ +package org.hibernate.eclipse.console.test.mappingproject; + +import junit.framework.TestCase; + +import org.eclipse.ui.IEditorPart; +import org.eclipse.ui.PartInitException; +import org.hibernate.InvalidMappingException; +import org.hibernate.MappingException; +import org.hibernate.cfg.Configuration; +import org.hibernate.console.ConsoleConfiguration; +import org.hibernate.console.KnownConfigurations; +import org.hibernate.eclipse.console.workbench.ConfigurationWorkbenchAdapt= er; +import org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkben= chAdapter; +import org.hibernate.mapping.PersistentClass; +import org.jboss.tools.hibernate.ui.view.views.OpenDiagramActionDelegate; + +/** + * @author Dmitry Geraskov + * + */ +public class OpenMappingDiagramTest extends TestCase { + public void testOpenMappingDiagram() { + KnownConfigurations knownConfigurations =3D KnownConfigurations.getInsta= nce(); + final ConsoleConfiguration consCFG =3D knownConfigurations.find(ProjectU= til.ConsoleCFGName); + assertNotNull(consCFG); + consCFG.reset(); + Object[] configs =3D null; + Object[] persClasses =3D null; + try { + configs =3D new ConsoleConfigurationWorkbenchAdapter().getChildren(cons= CFG); + assertTrue(configs[0] instanceof Configuration); + persClasses =3D new ConfigurationWorkbenchAdapter().getChildren(configs= [0]); + } catch (InvalidMappingException ex){ + fail("Mapping Diagramms for package " + HibernateAllMappingTests.getAct= ivePackage().getElementName() + + " can't be opened:\n " + ex.getMessage()); + } + = + if (persClasses.length > 0){ + for (int i =3D 0; i < persClasses.length; i++) { + assertTrue(persClasses[0] instanceof PersistentClass); + PersistentClass persClass =3D (PersistentClass) persClasses[i]; + = + IEditorPart editor =3D null; + Throwable ex =3D null; + try { + editor =3D new OpenDiagramActionDelegate().openEditor(persClass, cons= CFG); + } catch (PartInitException e) { + ex =3D e; + } = + if (ex =3D=3D null ) ex =3D ProjectUtil.getExceptionIfItOccured(editor= ); = + if (ex !=3D null) fail("Mapping Diagramm for " + persClass.getClassNam= e() + + " not opened:\n" + ex.getMessage()); + } = + } + //close all editors + } + + = +} Deleted: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/= org/hibernate/eclipse/console/test/mappingproject/OpenMappingDiagrammTest.j= ava =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/OpenMappingDiagrammTest.java 2= 008-01-17 01:21:02 UTC (rev 5753) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/OpenMappingDiagrammTest.java 2= 008-01-17 09:22:05 UTC (rev 5754) @@ -1,69 +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 - * - * Contributor: - * Red Hat, Inc. - initial API and implementation - *************************************************************************= *****/ -package org.hibernate.eclipse.console.test.mappingproject; - -import junit.framework.TestCase; - -import org.eclipse.ui.IEditorPart; -import org.eclipse.ui.PartInitException; -import org.hibernate.InvalidMappingException; -import org.hibernate.MappingException; -import org.hibernate.cfg.Configuration; -import org.hibernate.console.ConsoleConfiguration; -import org.hibernate.console.KnownConfigurations; -import org.hibernate.eclipse.console.workbench.ConfigurationWorkbenchAdapt= er; -import org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkben= chAdapter; -import org.hibernate.mapping.PersistentClass; -import org.jboss.tools.hibernate.ui.view.views.OpenDiagramActionDelegate; - -/** - * @author Dmitry Geraskov - * - */ -public class OpenMappingDiagrammTest extends TestCase { - public void testOpenMappingDiagramm() { - KnownConfigurations knownConfigurations =3D KnownConfigurations.getInsta= nce(); - final ConsoleConfiguration consCFG =3D knownConfigurations.find(ProjectU= til.ConsoleCFGName); - assertNotNull(consCFG); - consCFG.reset(); - Object[] configs =3D null; - Object[] persClasses =3D null; - try { - configs =3D new ConsoleConfigurationWorkbenchAdapter().getChildren(cons= CFG); - assertTrue(configs[0] instanceof Configuration); - persClasses =3D new ConfigurationWorkbenchAdapter().getChildren(configs= [0]); - } catch (InvalidMappingException ex){ - fail("Mapping Diagramms for package " + HibernateAllMappingTests.getAct= ivePackage().getElementName() - + " can't be opened:\n " + ex.getMessage()); - } - = - if (persClasses.length > 0){ - for (int i =3D 0; i < persClasses.length; i++) { - assertTrue(persClasses[0] instanceof PersistentClass); - PersistentClass persClass =3D (PersistentClass) persClasses[i]; - = - IEditorPart editor =3D null; - Throwable ex =3D null; - try { - editor =3D new OpenDiagramActionDelegate().openEditor(persClass, cons= CFG); - } catch (PartInitException e) { - ex =3D e; - } = - if (ex =3D=3D null ) ex =3D ProjectUtil.getExceptionIfItOccured(editor= ); = - if (ex !=3D null) fail("Mapping Diagramm for " + persClass.getClassNam= e() - + " not opened:\n" + ex.getMessage()); - } = - } - //close all editors - } - - = -} Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/TestSet.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/TestSet.java 2008-01-17 01:21:= 02 UTC (rev 5753) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/TestSet.java 2008-01-17 09:22:= 05 UTC (rev 5754) @@ -40,7 +40,7 @@ private static void addPackTests(TestSuite suite){ suite.addTestSuite( OpenSourceFileTest.class ); suite.addTestSuite( OpenMappingFileTest.class ); - suite.addTestSuite( OpenMappingDiagrammTest.class ); + suite.addTestSuite( OpenMappingDiagramTest.class ); } = private static void addTestsPackTearDown(TestSuite suite){ --===============4297485664730272006==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 04:35:14 2008 Content-Type: multipart/mixed; boundary="===============3041786002003893074==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5755 - trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal. Date: Thu, 17 Jan 2008 04:35:13 -0500 Message-ID: --===============3041786002003893074== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-17 04:35:13 -0500 (Thu, 17 Jan 2008) New Revision: 5755 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibern= ate/eclipse/jdt/ui/internal/HQLJavaCompletionProposalComputer.java Log: JBIDE-1643 remove bad System.out.println("...") Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org= /hibernate/eclipse/jdt/ui/internal/HQLJavaCompletionProposalComputer.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.jdt.ui/src/org/hiber= nate/eclipse/jdt/ui/internal/HQLJavaCompletionProposalComputer.java 2008-01= -17 09:22:05 UTC (rev 5754) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hiber= nate/eclipse/jdt/ui/internal/HQLJavaCompletionProposalComputer.java 2008-01= -17 09:35:13 UTC (rev 5755) @@ -145,7 +145,7 @@ } = public void sessionStarted() { - System.out.println("..."); + = } = } --===============3041786002003893074==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 04:51:31 2008 Content-Type: multipart/mixed; boundary="===============3355367524438921345==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5756 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions. Date: Thu, 17 Jan 2008 04:51:31 -0500 Message-ID: --===============3355367524438921345== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-17 04:51:31 -0500 (Thu, 17 Jan 2008) New Revision: 5756 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/actions/OpenMappingAction.java Log: http://jira.jboss.com/jira/browse/JBIDE-1644 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/actions/OpenMappingAction.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.console/src/org/hibe= rnate/eclipse/console/actions/OpenMappingAction.java 2008-01-17 09:35:13 UT= C (rev 5755) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/actions/OpenMappingAction.java 2008-01-17 09:51:31 UT= C (rev 5756) @@ -11,18 +11,20 @@ package org.hibernate.eclipse.console.actions; = import java.io.FileNotFoundException; +import java.util.ArrayList; +import java.util.List; = import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.Assert; import org.eclipse.jdt.core.IJavaProject; import org.eclipse.jdt.core.JavaModelException; -import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.jface.text.BadLocationException; import org.eclipse.jface.text.FindReplaceDocumentAdapter; import org.eclipse.jface.text.IDocument; import org.eclipse.jface.text.IRegion; import org.eclipse.jface.text.Region; +import org.eclipse.jface.text.source.ISourceViewer; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.jface.viewers.TreePath; import org.eclipse.jface.viewers.TreeSelection; @@ -30,6 +32,7 @@ import org.eclipse.ui.PartInitException; import org.eclipse.ui.actions.SelectionListenerAction; import org.eclipse.ui.part.MultiPageEditorPart; +import org.eclipse.ui.texteditor.AbstractTextEditor; import org.eclipse.ui.texteditor.ITextEditor; import org.hibernate.console.ConsoleConfiguration; import org.hibernate.eclipse.console.HibernateConsolePlugin; @@ -150,8 +153,8 @@ * @throws FileNotFoundException = * @throws BadLocationException = */ - public static void run(Property compositeProperty, Property parentPropert= y, ConsoleConfiguration consoleConfiguration) throws PartInitException, Jav= aModelException, FileNotFoundException{ - if (parentProperty.getPersistentClass() =3D=3D null) return; + public static boolean run(Property compositeProperty, Property parentProp= erty, ConsoleConfiguration consoleConfiguration) throws PartInitException, = JavaModelException, FileNotFoundException{ + if (parentProperty.getPersistentClass() =3D=3D null) return false; IJavaProject proj =3D ProjectUtils.findJavaProject(consoleConfiguration); java.io.File configXMLFile =3D consoleConfiguration.getPreferences().get= ConfigXMLFile(); IResource resource =3D OpenFileActionUtils.getResource(consoleConfigurat= ion, proj, configXMLFile, parentProperty.getPersistentClass()); @@ -160,13 +163,19 @@ if (resource !=3D null){ editorPart =3D openMapping(resource); if (editorPart !=3D null){ - ITextEditor textEditor =3D getTextEditor(editorPart); - if (textEditor =3D=3D null) return; - textEditor.selectAndReveal(0, 0); - FindReplaceDocumentAdapter findAdapter =3D getFindDocAdapter(textEdito= r); + ITextEditor[] textEditors =3D getTextEditors(editorPart); + if (textEditors.length =3D=3D 0) return false; + textEditors[0].selectAndReveal(0, 0); + FindReplaceDocumentAdapter findAdapter =3D null; + ITextEditor textEditor =3D null; + for (int i =3D 0; i < textEditors.length && findAdapter =3D=3D null; i= ++) { + textEditor =3D textEditors[i]; + findAdapter =3D getFindDocAdapter(textEditor); = + } + if (findAdapter =3D=3D null) return false; + = IRegion parentRegion =3D findSelection(parentProperty, findAdapter); - if (parentRegion =3D=3D null) return; - + if (parentRegion =3D=3D null) return false; IRegion propRegion =3D null; try { propRegion =3D findAdapter.find(parentRegion.getOffset()+parentRegion= .getLength(), generatePattern(compositeProperty), true, true, false, true); @@ -175,29 +184,38 @@ } if (propRegion !=3D null){ textEditor.selectAndReveal(propRegion.getOffset(), propRegion.getLeng= th()); + return true; } } - return; + return false; } = = if (parentProperty.getPersistentClass() !=3D null && parentProperty.i= sComposite()){ = PersistentClass rootClass =3D parentProperty.getPersistentClass(); if (OpenFileActionUtils.rootClassHasAnnotations(consoleConfiguration, c= onfigXMLFile, rootClass)) { String fullyQualifiedName =3D((Component)((Property) parentProperty).g= etValue()).getComponentClassName(); - new OpenSourceAction().run(compositeProperty, proj, fullyQualifiedName= ); + IEditorPart editor =3D new OpenSourceAction().run(compositeProperty, p= roj, fullyQualifiedName); + if (editor !=3D null) return true; } - } = + } + return false; } = /** * @param selection * @param editorPart */ - static public void applySelectionToEditor(Object selection, IEditorPart e= ditorPart) { - ITextEditor textEditor =3D getTextEditor(editorPart); - if (textEditor =3D=3D null) return; - textEditor.selectAndReveal(0, 0); - FindReplaceDocumentAdapter findAdapter =3D getFindDocAdapter(textEditor)= ; = + static public boolean applySelectionToEditor(Object selection, IEditorPar= t editorPart) { + ITextEditor[] textEditors =3D getTextEditors(editorPart); + if (textEditors.length =3D=3D 0) return false; + textEditors[0].selectAndReveal(0, 0); + FindReplaceDocumentAdapter findAdapter =3D null; + ITextEditor textEditor =3D null; + for (int i =3D 0; i < textEditors.length && findAdapter =3D=3D null; i++= ) { + textEditor =3D textEditors[i]; + findAdapter =3D getFindDocAdapter(textEditor); = + } + if (findAdapter =3D=3D null) return false; = IRegion selectRegion =3D null; = = if (selection instanceof RootClass @@ -209,7 +227,9 @@ = if (selectRegion !=3D null){ textEditor.selectAndReveal(selectRegion.getOffset(), selectRegion.getLe= ngth()); + return true; } + return false; } = /** @@ -218,7 +238,11 @@ */ private static FindReplaceDocumentAdapter getFindDocAdapter( ITextEditor textEditor) { - IDocument document =3D textEditor.getDocumentProvider().getDocument(text= Editor.getEditorInput()); = + IDocument document =3D null; + if (textEditor.getDocumentProvider() !=3D null){ + document =3D textEditor.getDocumentProvider().getDocument(textEditor.ge= tEditorInput()); + } + if (document =3D=3D null) return null; FindReplaceDocumentAdapter findAdapter =3D new FindReplaceDocumentAdapte= r(document); return findAdapter; } @@ -357,22 +381,28 @@ return pattern.toString(); } = - private static ITextEditor getTextEditor(IEditorPart editorPart) { + /** + * Method gets all ITextEditors from IEditorPart. + * Never returns null. + * @param editorPart + * @return + */ = + private static ITextEditor[] getTextEditors(IEditorPart editorPart) { /* * if EditorPart is MultiPageEditorPart then get ITextEditor from it. */ if (editorPart instanceof MultiPageEditorPart) { - ITextEditor editor =3D null; + List testEditors =3D new ArrayList(); = IEditorPart[] editors =3D ((MultiPageEditorPart) editorPart).findEdi= tors(editorPart.getEditorInput()); for (int i =3D 0; i < editors.length; i++) { if (editors[i] instanceof ITextEditor){ - editor =3D (ITextEditor) editors[i]; - break; + testEditors.add(editors[i]); } } - return editor; + return (ITextEditor[])testEditors.toArray(new ITextEditor[0]); + } else if (editorPart instanceof ITextEditor){ + return new ITextEditor[]{(ITextEditor) editorPart}; } - return null; - } - = + return new ITextEditor[0]; + } = } --===============3355367524438921345==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 05:30:39 2008 Content-Type: multipart/mixed; boundary="===============2093890564056842786==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5757 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject. Date: Thu, 17 Jan 2008 05:30:38 -0500 Message-ID: --===============2093890564056842786== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-17 05:30:38 -0500 (Thu, 17 Jan 2008) New Revision: 5757 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/CloseAllEditorsTest.java Removed: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/CloaseAllEditorsTest.java Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/TestSet.java Log: spelling error fix Deleted: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/= org/hibernate/eclipse/console/test/mappingproject/CloaseAllEditorsTest.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/CloaseAllEditorsTest.java 2008= -01-17 09:51:31 UTC (rev 5756) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/CloaseAllEditorsTest.java 2008= -01-17 10:30:38 UTC (rev 5757) @@ -1,27 +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 - * - * Contributor: - * Red Hat, Inc. - initial API and implementation - *************************************************************************= *****/ -package org.hibernate.eclipse.console.test.mappingproject; - -import junit.framework.TestCase; - -import org.eclipse.ui.PlatformUI; - -/** - * @author Dmitry Geraskov - * - */ -public class CloaseAllEditorsTest extends TestCase { - = - public void testCloseAllEditors(){ - PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().clo= seAllEditors(false); - } - = -} Copied: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/o= rg/hibernate/eclipse/console/test/mappingproject/CloseAllEditorsTest.java (= from rev 5756, trunk/hibernatetools/tests/org.hibernate.eclipse.console.tes= t/src/org/hibernate/eclipse/console/test/mappingproject/CloaseAllEditorsTes= t.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/CloseAllEditorsTest.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/CloseAllEditorsTest.java 2008-= 01-17 10:30:38 UTC (rev 5757) @@ -0,0 +1,27 @@ +/*************************************************************************= ****** + * 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 + * + * Contributor: + * Red Hat, Inc. - initial API and implementation + *************************************************************************= *****/ +package org.hibernate.eclipse.console.test.mappingproject; + +import junit.framework.TestCase; + +import org.eclipse.ui.PlatformUI; + +/** + * @author Dmitry Geraskov + * + */ +public class CloseAllEditorsTest extends TestCase { + = + public void testCloseAllEditors(){ + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().clo= seAllEditors(false); + } + = +} Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/TestSet.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/TestSet.java 2008-01-17 09:51:= 31 UTC (rev 5756) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/TestSet.java 2008-01-17 10:30:= 38 UTC (rev 5757) @@ -44,7 +44,7 @@ } = private static void addTestsPackTearDown(TestSuite suite){ - suite.addTestSuite( CloaseAllEditorsTest.class ); + suite.addTestSuite( CloseAllEditorsTest.class ); } = } --===============2093890564056842786==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 08:20:31 2008 Content-Type: multipart/mixed; boundary="===============3777221068284233497==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5759 - trunk/seam/docs/reference/en/modules. Date: Thu, 17 Jan 2008 08:20:31 -0500 Message-ID: --===============3777221068284233497== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-17 08:20:30 -0500 (Thu, 17 Jan 2008) New Revision: 5759 Modified: trunk/seam/docs/reference/en/modules/creating_new_seam.xml Log: http://jira.jboss.com/jira/browse/JBDS-234 - adding scale to the screenshot Modified: trunk/seam/docs/reference/en/modules/creating_new_seam.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/docs/reference/en/modules/creating_new_seam.xml 2008-01-17 1= 2:07:45 UTC (rev 5758) +++ trunk/seam/docs/reference/en/modules/creating_new_seam.xml 2008-01-17 1= 3:20:30 UTC (rev 5759) @@ -20,7 +20,7 @@ Seam Perspective - + --===============3777221068284233497==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 08:31:15 2008 Content-Type: multipart/mixed; boundary="===============0240514860710378137==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5760 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist. Date: Thu, 17 Jan 2008 08:31:14 -0500 Message-ID: --===============0240514860710378137== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vrubezhny Date: 2008-01-17 08:31:14 -0500 (Thu, 17 Jan 2008) New Revision: 5760 Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/co= ntentassist/RedHatHtmlContentAssistProcessor.java trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/co= ntentassist/RedHatJSPContentAssistProcessor.java Log: http://jira.jboss.org/jira/browse/JBIDE-1641 Problems with inserting atribu= tes using CA on xhtml pages. Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst= /jsp/contentassist/RedHatHtmlContentAssistProcessor.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/RedHatHtmlContentAssistProcessor.java 2008-01-17 13:20:30 UTC = (rev 5759) +++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/c= ontentassist/RedHatHtmlContentAssistProcessor.java 2008-01-17 13:31:14 UTC = (rev 5760) @@ -555,7 +555,8 @@ return null; } = - if (sdRegion.getStartOffset(region) =3D=3D pos) { + if (region.getType() =3D=3D DOMRegionContext.XML_TAG_OPEN && = + sdRegion.getStartOffset(region) =3D=3D pos) { // The offset is at the beginning of the region if ((sdRegion.getStartOffset(region) =3D=3D sdRegion.getStartOffset()) = && (sdRegion.getPrevious() !=3D null) && (!sdRegion.getPrevious().isEnded()= )) { // Is the region also the start of the node? If so, the Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst= /jsp/contentassist/RedHatJSPContentAssistProcessor.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/RedHatJSPContentAssistProcessor.java 2008-01-17 13:20:30 UTC (= rev 5759) +++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/c= ontentassist/RedHatJSPContentAssistProcessor.java 2008-01-17 13:31:14 UTC (= rev 5760) @@ -43,6 +43,7 @@ import org.eclipse.wst.xml.core.internal.provisional.document.IDOMDocument; import org.eclipse.wst.xml.core.internal.provisional.document.IDOMElement; import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode; +import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext; import org.eclipse.wst.xml.ui.internal.XMLUIMessages; import org.eclipse.wst.xml.ui.internal.XMLUIPlugin; import org.eclipse.wst.xml.ui.internal.contentassist.ContentAssistRequest; @@ -633,7 +634,8 @@ return null; } = - if (sdRegion.getStartOffset(region) =3D=3D pos) { + if (region.getType() =3D=3D DOMRegionContext.XML_TAG_OPEN && = + sdRegion.getStartOffset(region) =3D=3D pos) { // The offset is at the beginning of the region if ((sdRegion.getStartOffset(region) =3D=3D sdRegion.getStartOffset()) = && (sdRegion.getPrevious() !=3D null) && (!sdRegion.getPrevious().isEnded()= )) { // Is the region also the start of the node? If so, the --===============0240514860710378137==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 08:32:07 2008 Content-Type: multipart/mixed; boundary="===============7402272058836915884==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5761 - trunk/jsf/tests. Date: Thu, 17 Jan 2008 08:32:07 -0500 Message-ID: --===============7402272058836915884== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dmaliarevich Date: 2008-01-17 08:32:07 -0500 (Thu, 17 Jan 2008) New Revision: 5761 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/ Log: Initial import. --===============7402272058836915884==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 08:36:04 2008 Content-Type: multipart/mixed; boundary="===============5218133198931695554==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5762 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test: META-INF and 18 other directories. Date: Thu, 17 Jan 2008 08:36:04 -0500 Message-ID: --===============5218133198931695554== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dmaliarevich Date: 2008-01-17 08:36:03 -0500 (Thu, 17 Jan 2008) New Revision: 5762 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/.classpath trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/.project trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/META-INF/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/META-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/build.properties trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/plugin.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/.classpath trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/.project trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/.settings/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/.settings/org.eclipse.jdt.core.prefs trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/.settings/org.eclipse.jst.common.project.facet.core.prefs trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/.settings/org.eclipse.wst.common.component trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/.settings/org.eclipse.wst.common.project.facet.core.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/.settings/org.jboss.tools.jst.web.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/JavaSource/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/META-INF/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/META-INF/MANIFEST.MF trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/.faces-config.xml.jsfdia trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/classes/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/faces-config.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/commons-beanutils.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/commons-codec.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/commons-collections.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/commons-digester.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/commons-el.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/commons-fileupload.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/commons-lang.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/commons-logging.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/commons-validator.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/jakarta-oro.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/jstl.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/log4j-1.2.8.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/myfaces-api-1.1.4.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/myfaces-impl-1.1.4.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/portlet-api.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/struts.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/lib/tomahawk-1.1.4.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/WEB-INF/web.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/aliasBean.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/checkbox.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/commandButton.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/commandLink.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/commandNavigation.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/commandSortHeader.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/dataList.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/dataScroller.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/dataTable.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/iconProvider.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/inputCalendar.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/inputDate.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/inputFileUpload.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/inputText.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/inputTextarea.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/jscookMenu.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/message.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/messages.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/navigationMenuItem.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/navigationMenuItems.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/outputLabel.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/outputText.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/panelLayout.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/panelNavigation.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/panelStack.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/panelTab.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/panelTabbedPane.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/popup.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/radio.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/saveState.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/selectManyCheckbox.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/selectOneMenu.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/selectOneRadio.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/stylesheet.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/tabChangeListener.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/tree.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/treeSelectionListener.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/updateActionListener.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/validateCreditCard.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/validateEmail.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/validateEqual.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/validateISBN.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/WebContent/pages/components/validateRegExpr.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/ant/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/ant/build.properties trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesTe= st/ant/build.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/tools/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/tools= /jsf/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/tools= /jsf/vpe/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/tools= /jsf/vpe/myfaces/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/tools= /jsf/vpe/myfaces/test/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/tools= /jsf/vpe/myfaces/test/MyFacesAllTests.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/tools= /jsf/vpe/myfaces/test/MyFacesComponentTest.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/tools= /jsf/vpe/myfaces/test/MyFacesTestPlugin.java Log: http://jira.jboss.com/jira/browse/JBIDE-1618 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.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/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/.classpath = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/.classpath 2008-01= -17 13:36:03 UTC (rev 5762) @@ -0,0 +1,7 @@ + + + + + + + Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/.= classpath ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.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/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/.project = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/.project 2008-01-1= 7 13:36:03 UTC (rev 5762) @@ -0,0 +1,28 @@ + + + org.jboss.tools.jsf.vpe.myfaces.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/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/.= project ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/META-INF/MANIFE= ST.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/tests/org.jboss.tools.jsf.vpe.myfaces.test/META-INF/MANIFEST.= MF (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/META-INF/MANIFEST.= MF 2008-01-17 13:36:03 UTC (rev 5762) @@ -0,0 +1,20 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: MyFaces Test Plug-in +Bundle-SymbolicName: org.jboss.tools.jsf.vpe.myfaces.test;singleton:=3Dtrue +Bundle-Version: 1.0.0 +Bundle-Activator: org.jboss.tools.jsf.vpe.myfaces.test.MyFacesTestPlugin +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.jboss.tools.vpe, + org.junit, + org.eclipse.core.resources, + org.eclipse.ui.ide, + org.jboss.tools.common, + org.jboss.tools.jst.jsp, + org.jboss.tools.common.text.ext, + org.jboss.tools.common.model, + org.jboss.tools.vpe.xulrunner, + org.mozilla.xpcom, + org.jboss.tools.jsf.vpe.ui.test;visibility:=3Dreexport +Eclipse-LazyStart: true Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/M= ETA-INF/MANIFEST.MF ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.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/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/build.properties = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/build.properties 2= 008-01-17 13:36:03 UTC (rev 5762) @@ -0,0 +1,10 @@ +source.myfaces-test.jar =3D src/ +output.myfaces-test.jar =3D bin/ +bin.includes =3D META-INF/,\ + myfaces-test.jar,\ + plugin.xml,\ + resources/ +src.includes =3D META-INF/,\ + build.properties,\ + src/,\ + resources/ Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/b= uild.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/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/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/plugin.xml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/plugin.xml 2008-01= -17 13:36:03 UTC (rev 5762) @@ -0,0 +1,12 @@ + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/p= lugin.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/.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/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/.classpath (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/.classpath 2008-01-17 13:36:03 UTC (rev 5762) @@ -0,0 +1,9 @@ + + + + + + + + + Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/.classpath ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/.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/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/.project (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/.project 2008-01-17 13:36:03 UTC (rev 5762) @@ -0,0 +1,36 @@ + + + myFacesTest + + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.jboss.tools.common.verification.verifybuilder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.jdt.core.javanature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.jboss.tools.jsf.jsfnature + org.eclipse.wst.common.project.facet.core.nature + + Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/.project ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/.settings/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/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/.settings/org.eclipse.jdt.core.prefs (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/.settings/org.eclipse.jdt.core.prefs 2008-01-17 13:36:03 UTC (rev 5762) @@ -0,0 +1,7 @@ +#Tue Jan 15 18:31:47 EET 2008 +eclipse.preferences.version=3D1 +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/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/.settings/org.eclipse.jdt.core.prefs ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/.settings/org.eclipse.jst.common.project.facet.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/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/.settings/org.eclipse.jst.common.project.facet.core.prefs = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/.settings/org.eclipse.jst.common.project.facet.core.prefs 2008-01-17 13= :36:03 UTC (rev 5762) @@ -0,0 +1,4 @@ +#Tue Jan 15 18:31:48 EET 2008 +classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jd= t.internal.debug.ui.launcher.StandardVMType\:\:jdk1.5.0_11/owners=3Djst.jav= a\:5.0 +classpath.helper/org.eclipse.jst.server.core.container\:\:org.eclipse.jst.= server.tomcat.runtimeTarget\:\:Apache\ Tomcat\ v5.5/owners=3Djst.web\:2.4 +eclipse.preferences.version=3D1 Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/.settings/org.eclipse.jst.common.project.facet.core.pr= efs ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/.settings/org.eclipse.wst.common.component =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/.settings/org.eclipse.wst.common.component (rev= 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/.settings/org.eclipse.wst.common.component 2008-01-17 13:36:03 UTC (rev= 5762) @@ -0,0 +1,9 @@ + + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/.settings/org.eclipse.wst.common.project.facet.core.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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/.settings/org.eclipse.wst.common.project.facet.core.xml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/.settings/org.eclipse.wst.common.project.facet.core.xml 2008-01-17 13:3= 6:03 UTC (rev 5762) @@ -0,0 +1,8 @@ + + + + + + + + Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/.settings/org.eclipse.wst.common.project.facet.core.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/.settings/org.jboss.tools.jst.web.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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/.settings/org.jboss.tools.jst.web.xml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/.settings/org.jboss.tools.jst.web.xml 2008-01-17 13:36:03 UTC (rev 5762) @@ -0,0 +1,7 @@ + + + + + + Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/.settings/org.jboss.tools.jst.web.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/META-INF/MANIFEST.MF (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/META-INF/MANIFEST.MF 2008-01-17 13:36:03 UTC (rev 5762) @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: = + Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/META-INF/MANIFEST.MF ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/WEB-INF/.faces-config.xml.jsfdia =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/WEB-INF/.faces-config.xml.jsfdia (re= v 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/WEB-INF/.faces-config.xml.jsfdia 2008-01-17 13:36:03 UTC (re= v 5762) @@ -0,0 +1,2 @@ + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/WEB-INF/faces-config.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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/WEB-INF/faces-config.xml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/WEB-INF/faces-config.xml 2008-01-17 13:36:03 UTC (rev 5762) @@ -0,0 +1,8 @@ + + + + + + Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/faces-config.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/lib/commons-beanutils.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/WEB-INF/lib/commons-codec.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/lib/commons-codec.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/lib/commons-collections.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/lib/commons-digester.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/WEB-INF/lib/commons-el.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/lib/commons-el.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/WEB-INF/lib/commons-fileupload.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/lib/commons-fileupload.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/WEB-INF/lib/commons-lang.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/lib/commons-lang.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/lib/commons-logging.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/WEB-INF/lib/commons-validator.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/lib/commons-validator.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/WEB-INF/lib/jakarta-oro.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/lib/jakarta-oro.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/WEB-INF/lib/jstl.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/lib/jstl.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/WEB-INF/lib/log4j-1.2.8.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/lib/log4j-1.2.8.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/WEB-INF/lib/myfaces-api-1.1.4.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/lib/myfaces-api-1.1.4.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/WEB-INF/lib/myfaces-impl-1.1.4.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/lib/myfaces-impl-1.1.4.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/WEB-INF/lib/portlet-api.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/lib/portlet-api.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/WEB-INF/lib/struts.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/lib/struts.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/WEB-INF/lib/tomahawk-1.1.4.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) Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/lib/tomahawk-1.1.4.jar ___________________________________________________________________ Name: svn:mime-type + application/x-jar Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/WEB-INF/web.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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/WEB-INF/web.xml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/WEB-INF/web.xml 2008-01-17 13:36:03 UTC (rev 5762) @@ -0,0 +1,69 @@ + + + myFacesTest + + javax.faces.STATE_SAVING_METHOD + server + + + org.apache.myfaces.ALLOW_JAVASCRIPT + true + + + org.apache.myfaces.DETECT_JAVASCRIPT + false + + + org.apache.myfaces.PRETTY_HTML + true + + + org.apache.myfaces.AUTO_SCROLL + true + + + + MyFacesExtensionsFilter + org.apache.myfaces.webapp.filter.ExtensionsFilter + + maxFileSize + 20m + + + + MyFacesExtensionsFilter + + Faces Servlet + + + + MyFacesExtensionsFilter + /faces/myFacesExtensionResource/* + + + MyFacesExtensionsFilter + *.jsp + + + + org.apache.myfaces.webapp.StartupServletContextListener<= /listener-class> + + + + Faces Servlet + javax.faces.webapp.FacesServlet + 1 + + + Faces Servlet + *.jsf + + + Faces Servlet + /faces/* + + + BASIC + + Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/WEB-INF/web.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/aliasBean.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/aliasBean.jsp (rev = 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/aliasBean.jsp 2008-01-17 13:36:03 UTC (rev = 5762) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/aliasBean.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/checkbox.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/checkbox.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/checkbox.jsp 2008-01-17 13:36:03 UTC (rev 5= 762) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + = + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/checkbox.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/commandButton.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/commandButton.jsp (= rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/commandButton.jsp 2008-01-17 13:36:03 UTC (= rev 5762) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + = + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/commandButton.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/commandLink.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/commandLink.jsp (re= v 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/commandLink.jsp 2008-01-17 13:36:03 UTC (re= v 5762) @@ -0,0 +1,16 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + = + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/commandLink.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/commandNavigation.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/commandNavigation.jsp = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/commandNavigation.jsp 2008-01-17 13:36:03 U= TC (rev 5762) @@ -0,0 +1,21 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + = + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/commandNavigation.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/commandSortHeader.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/commandSortHeader.jsp = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/commandSortHeader.jsp 2008-01-17 13:36:03 U= TC (rev 5762) @@ -0,0 +1,40 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/commandSortHeader.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/dataList.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/dataList.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/dataList.jsp 2008-01-17 13:36:03 UTC (rev 5= 762) @@ -0,0 +1,18 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/dataList.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/dataScroller.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/dataScroller.jsp (r= ev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/dataScroller.jsp 2008-01-17 13:36:03 UTC (r= ev 5762) @@ -0,0 +1,40 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + = + + + + + + + + + + + + + + + + + + + + + + + = + + = + + = + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/dataScroller.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/dataTable.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/dataTable.jsp (rev = 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/dataTable.jsp 2008-01-17 13:36:03 UTC (rev = 5762) @@ -0,0 +1,34 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/dataTable.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/iconProvider.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/iconProvider.jsp (r= ev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/iconProvider.jsp 2008-01-17 13:36:03 UTC (r= ev 5762) @@ -0,0 +1,13 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/iconProvider.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/inputCalendar.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/inputCalendar.jsp (= rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/inputCalendar.jsp 2008-01-17 13:36:03 UTC (= rev 5762) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + = + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/inputCalendar.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/inputDate.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/inputDate.jsp (rev = 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/inputDate.jsp 2008-01-17 13:36:03 UTC (rev = 5762) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + = + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/inputDate.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/inputFileUpload.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/inputFileUpload.jsp = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/inputFileUpload.jsp 2008-01-17 13:36:03 UTC= (rev 5762) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + = + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/inputFileUpload.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/inputText.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/inputText.jsp (rev = 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/inputText.jsp 2008-01-17 13:36:03 UTC (rev = 5762) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + = + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/inputText.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/inputTextarea.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/inputTextarea.jsp (= rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/inputTextarea.jsp 2008-01-17 13:36:03 UTC (= rev 5762) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + = + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/inputTextarea.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/jscookMenu.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/jscookMenu.jsp (rev= 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/jscookMenu.jsp 2008-01-17 13:36:03 UTC (rev= 5762) @@ -0,0 +1,16 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/jscookMenu.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/message.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/message.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/message.jsp 2008-01-17 13:36:03 UTC (rev 57= 62) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/message.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/messages.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/messages.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/messages.jsp 2008-01-17 13:36:03 UTC (rev 5= 762) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + = + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/messages.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/navigationMenuItem.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/navigationMenuItem.jsp = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/navigationMenuItem.jsp 2008-01-17 13:36:03 = UTC (rev 5762) @@ -0,0 +1,19 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/navigationMenuItem.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/navigationMenuItems.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/navigationMenuItems.jsp = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/navigationMenuItems.jsp 2008-01-17 13:36:03= UTC (rev 5762) @@ -0,0 +1,21 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + + + = + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/navigationMenuItems.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/outputLabel.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/outputLabel.jsp (re= v 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/outputLabel.jsp 2008-01-17 13:36:03 UTC (re= v 5762) @@ -0,0 +1,16 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/outputLabel.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/outputText.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/outputText.jsp (rev= 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/outputText.jsp 2008-01-17 13:36:03 UTC (rev= 5762) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + = + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/outputText.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/panelLayout.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/panelLayout.jsp (re= v 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/panelLayout.jsp 2008-01-17 13:36:03 UTC (re= v 5762) @@ -0,0 +1,17 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/panelLayout.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/panelNavigation.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/panelNavigation.jsp = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/panelNavigation.jsp 2008-01-17 13:36:03 UTC= (rev 5762) @@ -0,0 +1,21 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/panelNavigation.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/panelStack.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/panelStack.jsp (rev= 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/panelStack.jsp 2008-01-17 13:36:03 UTC (rev= 5762) @@ -0,0 +1,45 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + = + + + + + + + + + + + + + + = + + = + + + + + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/panelStack.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/panelTab.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/panelTab.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/panelTab.jsp 2008-01-17 13:36:03 UTC (rev 5= 762) @@ -0,0 +1,27 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + = + + + + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/panelTab.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/panelTabbedPane.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/panelTabbedPane.jsp = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/panelTabbedPane.jsp 2008-01-17 13:36:03 UTC= (rev 5762) @@ -0,0 +1,27 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + = + + + + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/panelTabbedPane.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/popup.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/popup.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/popup.jsp 2008-01-17 13:36:03 UTC (rev 5762) @@ -0,0 +1,22 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + + + + + + + + Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/popup.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/radio.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/radio.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/radio.jsp 2008-01-17 13:36:03 UTC (rev 5762) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/radio.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/saveState.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/saveState.jsp (rev = 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/saveState.jsp 2008-01-17 13:36:03 UTC (rev = 5762) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + = + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/saveState.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/selectManyCheckbox.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/selectManyCheckbox.jsp = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/selectManyCheckbox.jsp 2008-01-17 13:36:03 = UTC (rev 5762) @@ -0,0 +1,17 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/selectManyCheckbox.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/selectOneMenu.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/selectOneMenu.jsp (= rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/selectOneMenu.jsp 2008-01-17 13:36:03 UTC (= rev 5762) @@ -0,0 +1,16 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/selectOneMenu.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/selectOneRadio.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/selectOneRadio.jsp = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/selectOneRadio.jsp 2008-01-17 13:36:03 UTC = (rev 5762) @@ -0,0 +1,18 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/selectOneRadio.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/stylesheet.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/stylesheet.jsp (rev= 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/stylesheet.jsp 2008-01-17 13:36:03 UTC (rev= 5762) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/stylesheet.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/tabChangeListener.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/tabChangeListener.jsp = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/tabChangeListener.jsp 2008-01-17 13:36:03 U= TC (rev 5762) @@ -0,0 +1,24 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/tabChangeListener.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/tree.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/tree.jsp (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/tree.jsp 2008-01-17 13:36:03 UTC (rev 5762) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/tree.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/treeSelectionListener.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/treeSelectionListener.jsp = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/treeSelectionListener.jsp 2008-01-17 13:36:= 03 UTC (rev 5762) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/treeSelectionListener.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/updateActionListener.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/updateActionListener.jsp = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/updateActionListener.jsp 2008-01-17 13:36:0= 3 UTC (rev 5762) @@ -0,0 +1,17 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/updateActionListener.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/validateCreditCard.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/validateCreditCard.jsp = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/validateCreditCard.jsp 2008-01-17 13:36:03 = UTC (rev 5762) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/validateCreditCard.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/validateEmail.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/validateEmail.jsp (= rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/validateEmail.jsp 2008-01-17 13:36:03 UTC (= rev 5762) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/validateEmail.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/validateEqual.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/validateEqual.jsp (= rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/validateEqual.jsp 2008-01-17 13:36:03 UTC (= rev 5762) @@ -0,0 +1,16 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/validateEqual.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/validateISBN.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/validateISBN.jsp (r= ev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/validateISBN.jsp 2008-01-17 13:36:03 UTC (r= ev 5762) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + = + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/validateISBN.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/WebContent/pages/components/validateRegExpr.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/validateRegExpr.jsp = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/WebContent/pages/components/validateRegExpr.jsp 2008-01-17 13:36:03 UTC= (rev 5762) @@ -0,0 +1,15 @@ +<%@ taglib uri=3D"http://myfaces.apache.org/extensions" prefix=3D"x" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f" %> +<%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h" %> + + + + + + + + + + + + \ No newline at end of file Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/WebContent/pages/components/validateRegExpr.jsp ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/ant/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/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/ant/build.properties (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/ant/build.properties 2008-01-17 13:36:03 UTC (rev 5762) @@ -0,0 +1,3 @@ +# +#Tue Jan 15 18:31:46 EET 2008 +classpath.external=3DD\:\\Projects\\RHDS\\runtime-RHDS\\.metadata\\.plugin= s\\org.jboss.tools.common.projecttemplates\\lib\\servlet\\2.4\\jsp-api.jar;= D\:\\Projects\\RHDS\\runtime-RHDS\\.metadata\\.plugins\\org.jboss.tools.com= mon.projecttemplates\\lib\\servlet\\2.4\\servlet-api.jar; Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/ant/build.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFac= esTest/ant/build.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/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/ant/build.xml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/resources/myFacesT= est/ant/build.xml 2008-01-17 13:36:03 UTC (rev 5762) @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/r= esources/myFacesTest/ant/build.xml ___________________________________________________________________ Name: svn:mime-type + text/xml Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/t= ools/jsf/vpe/myfaces/test/MyFacesAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/tool= s/jsf/vpe/myfaces/test/MyFacesAllTests.java (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/tool= s/jsf/vpe/myfaces/test/MyFacesAllTests.java 2008-01-17 13:36:03 UTC (rev 57= 62) @@ -0,0 +1,40 @@ +package org.jboss.tools.jsf.vpe.myfaces.test; + +import java.util.ArrayList; +import java.util.List; + +import org.jboss.tools.vpe.ui.test.VpeTestSetup; +import org.jboss.tools.vpe.ui.test.beans.ImportBean; + +import junit.framework.Test; +import junit.framework.TestSuite; + +/** + * The Class MyFacesAllTests. + */ +public class MyFacesAllTests { + + /** + * Suite. + * = + * @return the test + */ + public static Test suite() { + + TestSuite suite =3D new TestSuite("Tests for Vpe MyFaces components"); /= / $NON-NLS-1$ + + // $JUnit-BEGIN$ + suite.addTestSuite(MyFacesComponentTest.class); + // $JUnit-END$ + + List projectToImport =3D new ArrayList(); + ImportBean importBean =3D new ImportBean(); + importBean + .setImportProjectName(MyFacesComponentTest.IMPORT_PROJECT_NAME); + importBean.setImportProjectPath(MyFacesTestPlugin + .getPluginResourcePath()); + projectToImport.add(importBean); + + return new VpeTestSetup(suite, projectToImport); + } +} Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/s= rc/org/jboss/tools/jsf/vpe/myfaces/test/MyFacesAllTests.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/t= ools/jsf/vpe/myfaces/test/MyFacesComponentTest.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/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/tool= s/jsf/vpe/myfaces/test/MyFacesComponentTest.java (r= ev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/tool= s/jsf/vpe/myfaces/test/MyFacesComponentTest.java 2008-01-17 13:36:03 UTC (r= ev 5762) @@ -0,0 +1,233 @@ +package org.jboss.tools.jsf.vpe.myfaces.test; + +import org.eclipse.core.resources.IFile; +import org.eclipse.ui.PartInitException; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; + +public class MyFacesComponentTest extends VpeTest { + + // import project name + public static final String IMPORT_PROJECT_NAME =3D "myFacesTest"; + = + public MyFacesComponentTest(String name) { + super(name); + setCheckWarning(false); + } + = + public void testAliasBean() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/aliasBean.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testCheckbox() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/checkbox.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testCommandButton() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/commandButton.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testCommandLink() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/commandLink.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testCommandNavigation() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/commandNavigation.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS= -1$ + } + = + public void testCommandSortHeader() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/commandSortHeader.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS= -1$ + } + = + public void testDataList() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dataList.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testDataScroller() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dataScroller.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testDataTable() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/dataTable.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testJscookMenu() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/jscookMenu.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testInputDate() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/inputDate.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testIconProvider() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/iconProvider.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testInputText() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/inputText.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testInputTextarea() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/inputTextarea.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testInputFileUpload() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/inputFileUpload.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testInputCalendar() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/inputCalendar.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testMessage() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/message.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testMessages() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/messages.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testOutputLabel() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/outputLabel.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testNavigationMenuItem() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/navigationMenuItem.jsp", IMPORT_PROJECT_NAME)); // $NON-NL= S-1$ + } + = + public void testNavigationMenuItems() throws PartInitException, Throwable= { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/navigationMenuItems.jsp", IMPORT_PROJECT_NAME)); // $NON-N= LS-1$ + } + = + public void testOutputText() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/outputText.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testPanelNavigation() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/panelNavigation.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testPanelTab() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/panelTab.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testPanelTabbedPane() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/panelTabbedPane.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testPanelLayout() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/panelLayout.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testPanelStack() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/panelStack.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testRadio() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/radio.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testSaveState() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/saveState.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testSelectManyCheckbox() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/selectManyCheckbox.jsp", IMPORT_PROJECT_NAME)); // $NON-NL= S-1$ + } + = + public void testSelectOneRadio() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/selectOneRadio.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testSelectOneMenu() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/selectOneMenu.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testStylesheet() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/stylesheet.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testTabChangeListener() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/tabChangeListener.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS= -1$ + } + = + public void testTree() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/tree.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testTreeSelectionListener() throws PartInitException, Throwab= le { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/treeSelectionListener.jsp", IMPORT_PROJECT_NAME)); // $NON= -NLS-1$ + } + = + public void testUpdateActionListener() throws PartInitException, Throwabl= e { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/updateActionListener.jsp", IMPORT_PROJECT_NAME)); // $NON-= NLS-1$ + } + = + public void testValidateEmail() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/validateEmail.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testValidateRegExpr() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/validateRegExpr.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testValidateCreditCard() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/validateCreditCard.jsp", IMPORT_PROJECT_NAME)); // $NON-NL= S-1$ + } + = + public void testValidateEqual() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/validateEqual.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testValidateISBN() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/validateISBN.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + = + public void testPopup() throws PartInitException, Throwable { + performTestForVpeComponent((IFile) TestUtil.getComponentPath( + "components/popup.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + +} Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/s= rc/org/jboss/tools/jsf/vpe/myfaces/test/MyFacesComponentTest.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/t= ools/jsf/vpe/myfaces/test/MyFacesTestPlugin.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/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/tool= s/jsf/vpe/myfaces/test/MyFacesTestPlugin.java (rev = 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/src/org/jboss/tool= s/jsf/vpe/myfaces/test/MyFacesTestPlugin.java 2008-01-17 13:36:03 UTC (rev = 5762) @@ -0,0 +1,67 @@ +package org.jboss.tools.jsf.vpe.myfaces.test; + +import java.net.URL; + +import org.eclipse.core.runtime.FileLocator; +import org.eclipse.core.runtime.Platform; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.Bundle; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class MyFacesTestPlugin extends AbstractUIPlugin { + + // The plug-in ID + public static final String PLUGIN_ID =3D "org.jboss.tools.jsf.vpe.myfaces= .test"; + + // The shared instance + private static MyFacesTestPlugin plugin; + = + /** + * The constructor + */ + public MyFacesTestPlugin() { + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.B= undleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin =3D this; + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.Bu= ndleContext) + */ + public void stop(BundleContext context) throws Exception { + plugin =3D null; + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static MyFacesTestPlugin getDefault() { + return plugin; + } + = + public static String getPluginResourcePath() { + Bundle bundle =3D Platform.getBundle(PLUGIN_ID); + URL url =3D null; + try { + url =3D bundle =3D=3D null ? null : FileLocator.resolve(bundle + .getEntry("/resources")); // $NON-NLS-1$ + } catch (Exception e) { + url =3D bundle.getEntry("/resources"); // $NON-NLS-1$ + } + return (url =3D=3D null) ? null : url.getPath(); + } + +} Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.myfaces.test/s= rc/org/jboss/tools/jsf/vpe/myfaces/test/MyFacesTestPlugin.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:keywords + Author Id Revision Date Name: svn:eol-style + native --===============5218133198931695554==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 08:54:56 2008 Content-Type: multipart/mixed; boundary="===============9148576112159888804==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5763 - in trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core: el and 1 other directory. Date: Thu, 17 Jan 2008 08:50:56 -0500 Message-ID: --===============9148576112159888804== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-17 08:50:56 -0500 (Thu, 17 Jan 2008) New Revision: 5763 Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/in= ternal/core/SeamJavaComponentDeclaration.java trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/in= ternal/core/el/TypeInfoCollector.java Log: JBIDE-1642 Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/= seam/internal/core/SeamJavaComponentDeclaration.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/SeamJavaComponentDeclaration.java 2008-01-17 13:36:03 UTC (rev= 5762) +++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/i= nternal/core/SeamJavaComponentDeclaration.java 2008-01-17 13:50:56 UTC (rev= 5763) @@ -188,6 +188,10 @@ if(superclass.indexOf('.') < 0) { superclass =3D EclipseJavaUtil.resolveType(type, superclass); } + if(superclass !=3D null && superclass.equals(type.getFullyQualifiedName(= ))) { + //FIX JBIDE-1642 + return null; + } SeamProject p =3D (SeamProject)getSeamProject(); return p =3D=3D null ? null : p.getAllJavaComponentDeclarations().get(su= perclass); } Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/= seam/internal/core/el/TypeInfoCollector.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/el/TypeInfoCollector.java 2008-01-17 13:36:03 UTC (rev 5762) +++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/i= nternal/core/el/TypeInfoCollector.java 2008-01-17 13:50:56 UTC (rev 5763) @@ -534,6 +534,10 @@ if(superclassName!=3Dnull) { String fullySuperclassName =3D EclipseJavaUtil.resolveType(type, superc= lassName); if(fullySuperclassName!=3Dnull&&!fullySuperclassName.equals("java.lang.= Object")) { //$NON-NLS-1$ + if(fullySuperclassName.equals(type.getFullyQualifiedName())) { + //FIX JBIDE-1642 + return null; + } IType superType =3D type.getJavaProject().findType(fullySuperclassName= ); return superType; } --===============9148576112159888804==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 09:29:34 2008 Content-Type: multipart/mixed; boundary="===============5839639248105141801==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5764 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test. Date: Thu, 17 Jan 2008 09:29:33 -0500 Message-ID: --===============5839639248105141801== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-17 09:29:33 -0500 (Thu, 17 Jan 2008) New Revision: 5764 Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/ConsolePluginAllTests.java Log: add HibernateallMappingTest to tests Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/ConsolePluginAllTests.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/ConsolePluginAllTests.java 2008-01-17 13:50:5= 6 UTC (rev 5763) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/ConsolePluginAllTests.java 2008-01-17 14:29:3= 3 UTC (rev 5764) @@ -2,6 +2,8 @@ = import java.io.IOException; = +import org.hibernate.eclipse.console.test.mappingproject.HibernateAllMappi= ngTests; + import junit.framework.Test; import junit.framework.TestSuite; = @@ -18,6 +20,7 @@ suite.addTestSuite( JavaFormattingTest.class ); suite.addTestSuite( OpenMappingTests.class ); = + suite.addTestSuite( HibernateAllMappingTests.class ); = // core tests //Properties properties =3D new Properties(); --===============5839639248105141801==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 09:40:23 2008 Content-Type: multipart/mixed; boundary="===============5695525771383833308==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5765 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el. Date: Thu, 17 Jan 2008 09:40:23 -0500 Message-ID: --===============5695525771383833308== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vrubezhny Date: 2008-01-17 09:40:23 -0500 (Thu, 17 Jan 2008) New Revision: 5765 Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/in= ternal/core/el/SeamELCompletionEngine.java Log: http://jira.jboss.org/jira/browse/JBIDE-1645 Seam EL Content Assist suggest= s wrong proposals if we have an uncompleted EL in text. Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/= seam/internal/core/el/SeamELCompletionEngine.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/el/SeamELCompletionEngine.java 2008-01-17 14:29:33 UTC (rev 57= 64) +++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/i= nternal/core/el/SeamELCompletionEngine.java 2008-01-17 14:40:23 UTC (rev 57= 65) @@ -62,7 +62,22 @@ if(document!=3Dnull) { documentContent =3D document.get(); } + return getCompletions(project, file, documentContent, prefix, position); + } = + /** + * Create the array of suggestions. = + * = + * @param project Seam project = + * @param file File = + * @param documentContent = + * @param prefix the prefix to search for + * @param position Offset of the prefix = + * @return the list of all possible suggestions + * @throws BadLocationException if accessing the current document fails + */ + public List getCompletions(ISeamProject project, IFile file, Stri= ng documentContent, CharSequence prefix, = + int position) throws BadLocationException, StringIndexOutOfBoundsExcept= ion { List completions =3D new ArrayList(); SeamELOperandResolveStatus status =3D resolveSeamELOperand(project, file= , documentContent, prefix, position, false); if (status.isOK()) { @@ -72,7 +87,6 @@ = // return getCompletions(project, file, documentContent, prefix, position= , false, null, null); } - /** * Create the array of suggestions. = * @param project Seam project = --===============5695525771383833308==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 09:40:54 2008 Content-Type: multipart/mixed; boundary="===============4364595914127191688==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5766 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java. Date: Thu, 17 Jan 2008 09:40:54 -0500 Message-ID: --===============4364595914127191688== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vrubezhny Date: 2008-01-17 09:40:54 -0500 (Thu, 17 Jan 2008) New Revision: 5766 Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/t= ext/java/SeamELProposalProcessor.java Log: http://jira.jboss.org/jira/browse/JBIDE-1645 Seam EL Content Assist suggest= s wrong proposals if we have an uncompleted EL in text. Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/se= am/ui/text/java/SeamELProposalProcessor.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/= text/java/SeamELProposalProcessor.java 2008-01-17 14:40:23 UTC (rev 5765) +++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/= text/java/SeamELProposalProcessor.java 2008-01-17 14:40:54 UTC (rev 5766) @@ -43,6 +43,7 @@ import org.eclipse.ui.editors.text.EditorsUI; import org.eclipse.ui.texteditor.ITextEditor; import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion; +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.ui.internal.contentassist.ContentAssistUtils; import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode; @@ -257,20 +258,32 @@ = String proposalPrefix =3D ""; String proposalSufix =3D ""; + String documentContent =3D null; + IDocument document =3D viewer.getDocument(); if (!checkStartPositionInEL(viewer, offset)) { // Work only with attribute value for JSP/HTML if((part instanceof XMLTextEditor) || (!isAttributeValue(viewer, offse= t))) { return NO_PROPOSALS; } + prefix =3D ""; // Clear prefix because it's not the part of EL = if(isCharSharp(viewer, offset-1)) { proposalPrefix =3D "{"; //$NON-NLS-1$ } else { proposalPrefix =3D "#{"; //$NON-NLS-1$ } + = + if(document !=3D null) { + documentContent =3D document.get(0,offset) + proposalPrefix + docume= nt.get(offset, document.getLength() - offset); + } + = proposalSufix =3D "}"; //$NON-NLS-1$ + } else { + if(viewer.getDocument() !=3D null) { + documentContent =3D document.get(); + } } = - List suggestions =3D fEngine.getCompletions(seamProject, file, = viewer.getDocument(), prefix, offset - prefix.length()); + List suggestions =3D fEngine.getCompletions(seamProject, file, = documentContent, prefix, offset - prefix.length()); List uniqueSuggestions =3D fEngine.makeUnique(suggestions); = List result=3D new ArrayList(= ); @@ -414,14 +427,28 @@ * @throws BadLocationException */ private boolean checkStartPositionInEL(ITextViewer viewer, int offset) th= rows BadLocationException { + IStructuredDocumentRegion sdRegion =3D ContentAssistUtils.getStructuredD= ocumentRegion(viewer, offset); + ITextRegion region =3D (sdRegion =3D=3D null ? null : sdRegion.getRegion= AtCharacterOffset(offset)); + = + int startIndex =3D (region =3D=3D null ? 0 : sdRegion.getStartOffset() += region.getStart()); + = IDocument doc=3D viewer.getDocument(); if (doc =3D=3D null || offset > doc.getLength()) return false; = - while (--offset >=3D 0) { + while (--offset >=3D startIndex) { if ('}' =3D=3D doc.getChar(offset)) return false; = + if ('"' =3D=3D doc.getChar(offset) || '\'' =3D=3D doc.getChar(offset)) { + int backslashCount =3D 0; + while (doc.getChar(offset - 1 - backslashCount) =3D=3D '\\') { + backslashCount++; + } + if (backslashCount%2 =3D=3D 0) + return false; + } + if ('{' =3D=3D doc.getChar(offset) && (offset - 1) >=3D 0 && = ('#' =3D=3D doc.getChar(offset - 1) || = --===============4364595914127191688==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 10:17:11 2008 Content-Type: multipart/mixed; boundary="===============0808521885171620979==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5767 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java. Date: Thu, 17 Jan 2008 10:17:10 -0500 Message-ID: --===============0808521885171620979== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vrubezhny Date: 2008-01-17 10:17:10 -0500 (Thu, 17 Jan 2008) New Revision: 5767 Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/t= ext/java/SeamELProposalProcessor.java Log: JBIDE-1635 Wrong Seam EL proposal appears if prompted not from beginning of= attribute Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/se= am/ui/text/java/SeamELProposalProcessor.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/= text/java/SeamELProposalProcessor.java 2008-01-17 14:40:54 UTC (rev 5766) +++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/= text/java/SeamELProposalProcessor.java 2008-01-17 15:17:10 UTC (rev 5767) @@ -283,7 +283,7 @@ } } = - List suggestions =3D fEngine.getCompletions(seamProject, file, = documentContent, prefix, offset - prefix.length()); + List suggestions =3D fEngine.getCompletions(seamProject, file, = documentContent, prefix, offset + proposalPrefix.length() - prefix.length()= ); List uniqueSuggestions =3D fEngine.makeUnique(suggestions); = List result=3D new ArrayList(= ); --===============0808521885171620979==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 10:19:50 2008 Content-Type: multipart/mixed; boundary="===============2947982814321611304==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5768 - in trunk: jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/.settings and 9 other directories. Date: Thu, 17 Jan 2008 10:19:49 -0500 Message-ID: --===============2947982814321611304== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-17 10:19:49 -0500 (Thu, 17 Jan 2008) New Revision: 5768 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/.settings/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/.settings/org.eclipse.jdt.core.prefs trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/.settings/org.eclipse.jst.common.project.facet.core.prefs trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/.settings/org.eclipse.wst.common.component trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/.settings/org.eclipse.wst.common.project.facet.core.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/.settings/org.jboss.tools.jst.web.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/JBIDE/1614/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/JBIDE/1614/JBIDE-1614-absolute.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/JBIDE/1614/JBIDE-1614-related.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/JBIDE/1614/sample.groovy trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/too= ls/jsf/vpe/richfaces/test/jbide/Jbide1614Test.java Removed: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/META-INF/ Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/.classpath trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/.project trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/.faces-config.xml.jsfdia trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/faces-config.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/lib/jsf-tlds.jar trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/WEB-INF/web.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/index.jsp trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/ant/build.properties trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/ant/build.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/too= ls/jsf/vpe/richfaces/test/RichFacesAllTests.java trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/uti= l/HTML.java Log: Add junit test for http://jira.jboss.com/jira/browse/JBIDE-1614 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/= richFacesTest/.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.classpath 2008-01-17 15:17:10 UTC (rev 5767) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.classpath 2008-01-17 15:19:49 UTC (rev 5768) @@ -1,8 +1,9 @@ - - - - - - - - + + + + + + + + + Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/= richFacesTest/.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.project 2008-01-17 15:17:10 UTC (rev 5767) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.project 2008-01-17 15:19:49 UTC (rev 5768) @@ -1,36 +1,36 @@ - - - test - - - - - - org.eclipse.wst.common.project.facet.core.builder - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.wst.validation.validationbuilder - - - - - org.jboss.tools.common.verification.verifybuilder - - - - - - org.eclipse.jem.workbench.JavaEMFNature - org.eclipse.jdt.core.javanature - org.eclipse.wst.common.modulecore.ModuleCoreNature - org.jboss.tools.jsf.jsfnature - org.eclipse.wst.common.project.facet.core.nature - - + + + richFacesTest + + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.jboss.tools.common.verification.verifybuilder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.jdt.core.javanature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.jboss.tools.jsf.jsfnature + org.eclipse.wst.common.project.facet.core.nature + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/.settings/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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.settings/org.eclipse.jdt.core.prefs (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.settings/org.eclipse.jdt.core.prefs 2008-01-17 15:19:49 UTC (rev 5= 768) @@ -0,0 +1,7 @@ +#Thu Jan 17 15:59:03 GMT+02:00 2008 +eclipse.preferences.version=3D1 +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 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/.settings/org.eclipse.jst.common.project.facet.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.settings/org.eclipse.jst.common.project.facet.core.prefs = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.settings/org.eclipse.jst.common.project.facet.core.prefs 2008-01-1= 7 15:19:49 UTC (rev 5768) @@ -0,0 +1,4 @@ +#Thu Jan 17 15:59:04 GMT+02:00 2008 +classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER/owners=3Djst.java= \:5.0 +classpath.helper/org.eclipse.jst.server.core.container\:\:org.eclipse.jst.= server.tomcat.runtimeTarget\:\:Apache\ Tomcat\ v6.0/owners=3Djst.web\:2.4 +eclipse.preferences.version=3D1 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/.settings/org.eclipse.wst.common.component =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.settings/org.eclipse.wst.common.component = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.settings/org.eclipse.wst.common.component 2008-01-17 15:19:49 UTC = (rev 5768) @@ -0,0 +1,9 @@ + + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/.settings/org.eclipse.wst.common.project.facet.core.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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.settings/org.eclipse.wst.common.project.facet.core.xml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.settings/org.eclipse.wst.common.project.facet.core.xml 2008-01-17 = 15:19:49 UTC (rev 5768) @@ -0,0 +1,8 @@ + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/.settings/org.jboss.tools.jst.web.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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.settings/org.jboss.tools.jst.web.xml (rev = 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/.settings/org.jboss.tools.jst.web.xml 2008-01-17 15:19:49 UTC (rev = 5768) @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/= richFacesTest/WebContent/WEB-INF/.faces-config.xml.jsfdia =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/WEB-INF/.faces-config.xml.jsfdia 2008-01-17 15:17:10 UTC= (rev 5767) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/WEB-INF/.faces-config.xml.jsfdia 2008-01-17 15:19:49 UTC= (rev 5768) @@ -1,2 +1,2 @@ - - + + Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/= richFacesTest/WebContent/WEB-INF/faces-config.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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/WEB-INF/faces-config.xml 2008-01-17 15:17:10 UTC (rev 57= 67) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/WEB-INF/faces-config.xml 2008-01-17 15:19:49 UTC (rev 57= 68) @@ -1,9 +1,16 @@ - - - - - com.sun.facelets.FaceletViewHandler - - + + + + + User Name Bean + user + demo.User + session + + name + java.lang.String + + + + Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/= richFacesTest/WebContent/WEB-INF/lib/jsf-tlds.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/= richFacesTest/WebContent/WEB-INF/web.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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/WEB-INF/web.xml 2008-01-17 15:17:10 UTC (rev 5767) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/WEB-INF/web.xml 2008-01-17 15:19:49 UTC (rev 5768) @@ -1,56 +1,26 @@ - - - Facelets StarterKit - test - - javax.faces.DEFAULT_SUFFIX - .xhtml - - - facelets.REFRESH_PERIOD - 2 - - - facelets.DEVELOPMENT - true - - - javax.faces.STATE_SAVING_METHOD - client - - - com.sun.faces.validateXml - true - - - com.sun.faces.verifyObjects - true - - - Faces Servlet - javax.faces.webapp.FacesServlet - 1 - - - Faces Servlet - *.jsf - - - BASIC - - - - Ajax4jsf Filter - ajax4jsf - org.ajax4jsf.Filter - - - ajax4jsf - Faces Servlet - REQUEST - FORWARD - INCLUDE - - + + + richFacesTest + + javax.faces.STATE_SAVING_METHOD + server + + + com.sun.faces.config.ConfigureListener + + + + Faces Servlet + javax.faces.webapp.FacesServlet + 1 + + + + Faces Servlet + *.jsf + + + BASIC + + Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/= richFacesTest/WebContent/index.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/index.jsp 2008-01-17 15:17:10 UTC (rev 5767) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/index.jsp 2008-01-17 15:19:49 UTC (rev 5768) @@ -1,7 +1,7 @@ + - - + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/JBIDE/1614/JBIDE-1614-absolute.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/JBIDE/1614/JBIDE-1614-absolute.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/JBIDE/1614/JBIDE-1614-absolute.xhtml 2008-01-17 15= :19:49 UTC (rev 5768) @@ -0,0 +1,15 @@ + + + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/JBIDE/1614/JBIDE-1614-related.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/JBIDE/1614/JBIDE-1614-related.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/JBIDE/1614/JBIDE-1614-related.xhtml 2008-01-17 15:= 19:49 UTC (rev 5768) @@ -0,0 +1,15 @@ + + + + + + + + + + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/JBIDE/1614/sample.groovy =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/JBIDE/1614/sample.groovy (= rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/JBIDE/1614/sample.groovy 2008-01-17 15:19:49 UTC (= rev 5768) @@ -0,0 +1,9 @@ +double[] values =3D new double[8] + +i =3D 0 +[1, 2, 3, 4, 5, 6, 7, 8].each { + println it + values[i++] =3D it + // uncomment the next line and it works fine!! + //println it +} \ No newline at end of file Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/= richFacesTest/ant/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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/ant/build.properties 2008-01-17 15:17:10 UTC (rev 5767) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/ant/build.properties 2008-01-17 15:19:49 UTC (rev 5768) @@ -1,3 +1,3 @@ -# -#Wed Sep 26 14:10:18 EEST 2007 -classpath.external=3DD\:\\workspaces\\runtime-New_configuration\\.metadata= \\.plugins\\org.jboss.tools.common.projecttemplates\\lib\\servlet\\2.4\\jsp= -api.jar;D\:\\workspaces\\runtime-New_configuration\\.metadata\\.plugins\\o= rg.jboss.tools.common.projecttemplates\\lib\\servlet\\2.4\\servlet-api.jar; +# +#Thu Jan 17 15:59:03 GMT+02:00 2008 +classpath.external=3D/home/dsakovich/work/runtimeVpe/.metadata/.plugins/or= g.jboss.tools.common.projecttemplates/lib/servlet/2.4/servlet-api.jar;/home= /dsakovich/work/runtimeVpe/.metadata/.plugins/org.jboss.tools.common.projec= ttemplates/lib/servlet/2.4/jsp-api.jar; Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/= richFacesTest/ant/build.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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/ant/build.xml 2008-01-17 15:17:10 UTC (rev 5767) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/ant/build.xml 2008-01-17 15:19:49 UTC (rev 5768) @@ -1,88 +1,74 @@ - + = + + = - - + + + + + = + + = - - + + + + + + + + + = - - - - - + + + + + + + + + + + = + + + + = - - - - - - - - - - - - - + + + + + = - - - - + + + + + + = - - - - - - - - - - - - + + = - - - - - - + + = - - - - - + + + + + + + = - - - + + + + = - - - - - - - - - - - - - - - - - - + \ No newline at end of file Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jb= oss/tools/jsf/vpe/richfaces/test/RichFacesAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesAllTests.java 2008-01-17 15:17:10 UTC (= rev 5767) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesAllTests.java 2008-01-17 15:19:49 UTC (= rev 5768) @@ -18,10 +18,10 @@ import org.jboss.tools.jsf.vpe.richfaces.test.jbide.JBIDE1579Test; import org.jboss.tools.jsf.vpe.richfaces.test.jbide.JBIDE1613Test; import org.jboss.tools.jsf.vpe.richfaces.test.jbide.Jbide1580Test; +import org.jboss.tools.jsf.vpe.richfaces.test.jbide.Jbide1614Test; import org.jboss.tools.vpe.ui.test.VpeTestSetup; import org.jboss.tools.vpe.ui.test.beans.ImportBean; = - /** * Class for testing all RichFaces components * = @@ -29,29 +29,30 @@ * = */ = -public class RichFacesAllTests { +public class RichFacesAllTests { = - public static Test suite() { - TestSuite suite =3D new TestSuite("Tests for Vpe RichFaces components");= // $NON-NLS-1$ - // $JUnit-BEGIN$ + public static Test suite() { + TestSuite suite =3D new TestSuite("Tests for Vpe RichFaces components"); = // $NON-NLS-1$ + // $JUnit-BEGIN$ = - suite.addTestSuite(RichFacesComponentTest.class); - suite.addTestSuite(JBIDE1579Test.class); - suite.addTestSuite(Jbide1580Test.class); - suite.addTestSuite(JBIDE1613Test.class); + suite.addTestSuite(RichFacesComponentTest.class); + suite.addTestSuite(JBIDE1579Test.class); + suite.addTestSuite(Jbide1580Test.class); + suite.addTestSuite(JBIDE1613Test.class); + suite.addTestSuite(Jbide1614Test.class); = - // $JUnit-END$ + // $JUnit-END$ = - List projectToImport =3D new ArrayList(); - ImportBean importBean =3D new ImportBean(); - importBean - .setImportProjectName(RichFacesComponentTest.IMPORT_PROJECT_NAME); - importBean.setImportProjectPath(RichFacesTestPlugin - .getPluginResourcePath()); - projectToImport.add(importBean); + List projectToImport =3D new ArrayList(); + ImportBean importBean =3D new ImportBean(); + importBean + .setImportProjectName(RichFacesComponentTest.IMPORT_PROJECT_NAME); + importBean.setImportProjectPath(RichFacesTestPlugin + .getPluginResourcePath()); + projectToImport.add(importBean); = - return new VpeTestSetup(suite, projectToImport); + return new VpeTestSetup(suite, projectToImport); = - } + } = } Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss= /tools/jsf/vpe/richfaces/test/jbide/Jbide1614Test.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/jbide/Jbide1614Test.java = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/jbide/Jbide1614Test.java 2008-01-17 15:19:49 UTC= (rev 5768) @@ -0,0 +1,131 @@ +/*************************************************************************= ****** = + * 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.jsf.vpe.richfaces.test.jbide; + +import java.util.ArrayList; +import java.util.List; + +import junit.framework.Assert; + +import org.eclipse.core.resources.IFile; +import org.eclipse.ui.IEditorInput; +import org.eclipse.ui.part.FileEditorInput; +import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; +import org.jboss.tools.vpe.editor.util.HTML; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; +import org.mozilla.interfaces.nsIDOMDocument; +import org.mozilla.interfaces.nsIDOMElement; +import org.mozilla.interfaces.nsIDOMNode; + +/** + * = + * = + * @author dsakovich(a)exadel.com + * = + */ +public class Jbide1614Test extends VpeTest { + + public static final String IMPORT_PROJECT_NAME =3D "richFacesTest"; + + public static final String FILE_NAME1 =3D "JBIDE/1614/JBIDE-1614-absol= ute.xhtml"; + public static final String FILE_NAME2 =3D "JBIDE/1614/JBIDE-1614-relat= ed.xhtml"; + + public Jbide1614Test(String name) { + super(name); + } + + public void testAbsolutePath() throws Throwable { + + // wait + TestUtil.waitForJobs(); + // set exception + setException(null); + + // get test page path + IFile file =3D (IFile) TestUtil.getComponentPath(FILE_NAME1, + IMPORT_PROJECT_NAME); + + IEditorInput input =3D new FileEditorInput(file); + + // open and get editor + JSPMultiPageEditor part =3D openEditor(input); + + // get dom document + nsIDOMDocument document =3D getVpeVisualDocument(part); + assertNotNull(document); + + // get dom element + nsIDOMElement element =3D document.getDocumentElement(); + assertNotNull(element); + + // get root node + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "code" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_CODE); + + Assert.assertEquals(1, elements.size()); + + // check exception + if (getException() !=3D null) { + throw getException(); + } + + } + + public void testRelatedPath() throws Throwable { + + // wait + TestUtil.waitForJobs(); + // set exception + setException(null); + + // get test page path + IFile file =3D (IFile) TestUtil.getComponentPath(FILE_NAME2, + IMPORT_PROJECT_NAME); + + IEditorInput input =3D new FileEditorInput(file); + + // open and get editor + JSPMultiPageEditor part =3D openEditor(input); + + // get dom document + nsIDOMDocument document =3D getVpeVisualDocument(part); + assertNotNull(document); + + // get dom element + nsIDOMElement element =3D document.getDocumentElement(); + assertNotNull(element); + + // get root node + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "code" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_CODE); + + Assert.assertEquals(1, elements.size()); + + // check exception + if (getException() !=3D null) { + throw getException(); + } + + } + +} Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/edi= tor/util/HTML.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/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/ut= il/HTML.java 2008-01-17 15:17:10 UTC (rev 5767) +++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/ut= il/HTML.java 2008-01-17 15:19:49 UTC (rev 5768) @@ -13,58 +13,58 @@ = /** * @author Sergey Vasilyev (svasilyev(a)exadel.com) - * + * = */ public final class HTML { = - private HTML() {} + private HTML() { + } = - public static final String TAG_HTML =3D "HTML"; - public static final String TAG_HEAD =3D "HEAD"; - public static final String TAG_BODY =3D "BODY"; - public static final String TAG_IMG =3D "IMG"; - public static final String TAG_LINK =3D "LINK"; - public static final String TAG_SELECT =3D "SELECT"; - public static final String TAG_OPTION =3D "OPTION"; - public static final String TAG_STYLE =3D "STYLE"; - public static final String TAG_TABLE =3D "TABLE"; - public static final String TAG_TBODY =3D "TBODY"; - public static final String TAG_THEAD =3D "THEAD"; - public static final String TAG_TFOOT =3D "TFOOT"; - public static final String TAG_TH =3D "TH"; = - public static final String TAG_TR =3D "TR"; - public static final String TAG_TD =3D "TD"; - public static final String TAG_DL =3D "DL"; - public static final String TAG_DT =3D "DT"; - public static final String TAG_COL =3D "COL"; - public static final String TAG_COLS =3D "COLS"; - public static final String TAG_COLGROUP =3D "COLGROUP"; - public static final String TAG_BR =3D "BR"; - public static final String TAG_LI =3D "LI"; - public static final String TAG_DIV =3D "DIV"; - public static final String TAG_SPAN =3D "SPAN"; - public static final String TAG_P =3D "P"; - public static final String TAG_TEXTAREA =3D "TEXTAREA"; - public static final String TAG_INPUT =3D "INPUT"; - public static final String TAG_BUTTON =3D "BUTTON"; - public static final String TAG_OL =3D "OL"; - public static final String TAG_UL =3D "UL"; - = - = - = - public static final String ATTR_ID =3D "ID"; - public static final String ATTR_TYPE =3D"TYPE"; - public static final String ATTR_TEXT =3D"TEXT"; - public static final String ATTR_CLASS =3D"CLASS"; - public static final String ATTR_TITLE =3D"TITLE"; - public static final String ATTR_NAME =3D"NAME"; - public static final String ATTR_VALUE =3D"VALUE"; - public static final String ATTR_STYLE =3D"STYLE"; - public static final String ATTR_SIZE =3D"SIZE"; - public static final String ATTR_MULTIPLE =3D "MULTIPLE"; - public static final String ATTR_COLSPAN =3D "colspan"; = - public static final String ATTR_CELLSPACING =3D "cellspacing"; - public static final String ATTR_CELLPADDING =3D "cellpadding"; - public static final String ATTR_WIDTH =3D "WIDTH"; - public static final String ATTR_HEIGHT =3D "HEIGHT"; + public static final String TAG_HTML =3D "HTML"; + public static final String TAG_HEAD =3D "HEAD"; + public static final String TAG_BODY =3D "BODY"; + public static final String TAG_IMG =3D "IMG"; + public static final String TAG_LINK =3D "LINK"; + public static final String TAG_SELECT =3D "SELECT"; + public static final String TAG_OPTION =3D "OPTION"; + public static final String TAG_STYLE =3D "STYLE"; + public static final String TAG_TABLE =3D "TABLE"; + public static final String TAG_TBODY =3D "TBODY"; + public static final String TAG_THEAD =3D "THEAD"; + public static final String TAG_TFOOT =3D "TFOOT"; + public static final String TAG_TH =3D "TH"; + public static final String TAG_TR =3D "TR"; + public static final String TAG_TD =3D "TD"; + public static final String TAG_DL =3D "DL"; + public static final String TAG_DT =3D "DT"; + public static final String TAG_COL =3D "COL"; + public static final String TAG_COLS =3D "COLS"; + public static final String TAG_COLGROUP =3D "COLGROUP"; + public static final String TAG_BR =3D "BR"; + public static final String TAG_LI =3D "LI"; + public static final String TAG_DIV =3D "DIV"; + public static final String TAG_SPAN =3D "SPAN"; + public static final String TAG_P =3D "P"; + public static final String TAG_TEXTAREA =3D "TEXTAREA"; + public static final String TAG_INPUT =3D "INPUT"; + public static final String TAG_BUTTON =3D "BUTTON"; + public static final String TAG_OL =3D "OL"; + public static final String TAG_UL =3D "UL"; + public static final String TAG_CODE =3D "CODE"; + + public static final String ATTR_ID =3D "ID"; + public static final String ATTR_TYPE =3D "TYPE"; + public static final String ATTR_TEXT =3D "TEXT"; + public static final String ATTR_CLASS =3D "CLASS"; + public static final String ATTR_TITLE =3D "TITLE"; + public static final String ATTR_NAME =3D "NAME"; + public static final String ATTR_VALUE =3D "VALUE"; + public static final String ATTR_STYLE =3D "STYLE"; + public static final String ATTR_SIZE =3D "SIZE"; + public static final String ATTR_MULTIPLE =3D "MULTIPLE"; + public static final String ATTR_COLSPAN =3D "colspan"; + public static final String ATTR_CELLSPACING =3D "cellspacing"; + public static final String ATTR_CELLPADDING =3D "cellpadding"; + public static final String ATTR_WIDTH =3D "WIDTH"; + public static final String ATTR_HEIGHT =3D "HEIGHT"; } \ No newline at end of file --===============2947982814321611304==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 10:44:02 2008 Content-Type: multipart/mixed; boundary="===============8134821588867940217==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5769 - in trunk/jsf: plugins/org.jboss.tools.jsf.vpe.richfaces/templates and 4 other directories. Date: Thu, 17 Jan 2008 10:44:01 -0500 Message-ID: --===============8134821588867940217== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sdzmitrovich Date: 2008-01-17 10:44:01 -0500 (Thu, 17 Jan 2008) New Revision: 5769 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/JBIDE/1639/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFac= esTest/WebContent/pages/JBIDE/1639/JBIDE-1639.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/too= ls/jsf/vpe/richfaces/test/jbide/Jbide1639Test.java Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/= jsf/vpe/richfaces/template/RichFacesSpacerTemplate.java trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templa= tes-richfaces.xml trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/too= ls/jsf/vpe/richfaces/test/RichFacesAllTests.java Log: http://jira.jboss.com/jira/browse/JBIDE-1639 Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss= /tools/jsf/vpe/richfaces/template/RichFacesSpacerTemplate.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/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/template/RichFacesSpacerTemplate.java 2008-01-17 15:19:4= 9 UTC (rev 5768) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/template/RichFacesSpacerTemplate.java 2008-01-17 15:44:0= 1 UTC (rev 5769) @@ -48,16 +48,9 @@ .createElement(HtmlComponentUtil.HTML_TAG_IMG); ComponentUtil.setImg(img, IMAGE_NAME); = - if (sourceNode instanceof Element) { - // ComponentUtil.copyAttributes(sourceNode, img); - img.setAttribute("style", ((Element) sourceNode) - .getAttribute("style")); - img.setAttribute("class", ((Element) sourceNode) - .getAttribute("styleClass")); - img.setAttribute("width", getSize((Element) sourceNode, "width")); - img.setAttribute("height", getSize((Element) sourceNode, "height")); + Element sourceElement =3D (Element) sourceNode; = - } + setData(sourceElement, img); = VpeCreationData creationData =3D new VpeCreationData(img); = @@ -88,11 +81,23 @@ = nsIDOMElement img =3D (nsIDOMElement) visualNode .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID); - // ComponentUtil.copyAttributes(sourceElement, img); = - img.setAttribute("style", sourceElement.getAttribute("style")); - img.setAttribute("class", sourceElement.getAttribute("styleClass")); - img.setAttribute("width", getSize(sourceElement, "width")); - img.setAttribute("height", getSize(sourceElement, "height")); + setData(sourceElement, img); } + + /** + * = + * @param sourceElement + * @param visualElement + */ + private void setData(Element sourceElement, nsIDOMElement visualElement) { + + visualElement + .setAttribute("style", sourceElement.getAttribute("style")); + visualElement.setAttribute("class", sourceElement + .getAttribute("styleClass")); + visualElement.setAttribute("width", getSize(sourceElement, "width")); + visualElement.setAttribute("height", getSize(sourceElement, "height")); + + } } \ No newline at end of file Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe= -templates-richfaces.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/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templ= ates-richfaces.xml 2008-01-17 15:19:49 UTC (rev 5768) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templ= ates-richfaces.xml 2008-01-17 15:44:01 UTC (rev 5769) @@ -157,7 +157,7 @@ = - @@ -167,6 +167,12 @@ + + + + + + = @@ -730,7 +736,6 @@ - Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/ric= hFacesTest/WebContent/pages/JBIDE/1639/JBIDE-1639.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/JBIDE/1639/JBIDE-1639.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFa= cesTest/WebContent/pages/JBIDE/1639/JBIDE-1639.xhtml 2008-01-17 15:44:01 UT= C (rev 5769) @@ -0,0 +1,21 @@ + + + + + + + + + + + + \ No newline at end of file Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jb= oss/tools/jsf/vpe/richfaces/test/RichFacesAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesAllTests.java 2008-01-17 15:19:49 UTC (= rev 5768) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/RichFacesAllTests.java 2008-01-17 15:44:01 UTC (= rev 5769) @@ -19,6 +19,7 @@ import org.jboss.tools.jsf.vpe.richfaces.test.jbide.JBIDE1613Test; import org.jboss.tools.jsf.vpe.richfaces.test.jbide.Jbide1580Test; import org.jboss.tools.jsf.vpe.richfaces.test.jbide.Jbide1614Test; +import org.jboss.tools.jsf.vpe.richfaces.test.jbide.Jbide1639Test; import org.jboss.tools.vpe.ui.test.VpeTestSetup; import org.jboss.tools.vpe.ui.test.beans.ImportBean; = @@ -40,7 +41,8 @@ suite.addTestSuite(Jbide1580Test.class); suite.addTestSuite(JBIDE1613Test.class); suite.addTestSuite(Jbide1614Test.class); - + suite.addTestSuite(Jbide1639Test.class); + = // $JUnit-END$ = List projectToImport =3D new ArrayList(); Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss= /tools/jsf/vpe/richfaces/test/jbide/Jbide1639Test.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/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/jbide/Jbide1639Test.java = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/to= ols/jsf/vpe/richfaces/test/jbide/Jbide1639Test.java 2008-01-17 15:44:01 UTC= (rev 5769) @@ -0,0 +1,101 @@ +/*************************************************************************= ****** = + * 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.jsf.vpe.richfaces.test.jbide; + +import java.util.ArrayList; +import java.util.List; + +import junit.framework.Assert; + +import org.eclipse.core.resources.IFile; +import org.eclipse.ui.IEditorInput; +import org.eclipse.ui.part.FileEditorInput; +import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; +import org.jboss.tools.vpe.editor.util.HTML; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; +import org.mozilla.interfaces.nsIDOMDocument; +import org.mozilla.interfaces.nsIDOMElement; +import org.mozilla.interfaces.nsIDOMNamedNodeMap; +import org.mozilla.interfaces.nsIDOMNode; + +/** + * = + * @author sdzmitrovich + * = + */ +public class Jbide1639Test extends VpeTest { + + public static final String IMPORT_PROJECT_NAME =3D "richFacesTest"; + + public static final String FILE_NAME =3D "JBIDE/1639/JBIDE-1639.xhtml"; + + public Jbide1639Test(String name) { + super(name); + } + + public void testStyleClass() throws Throwable { + + // wait + TestUtil.waitForJobs(); + // set exception + setException(null); + + // get test page path + IFile file =3D (IFile) TestUtil.getComponentPath(FILE_NAME, + IMPORT_PROJECT_NAME); + + IEditorInput input =3D new FileEditorInput(file); + + // open and get editor + JSPMultiPageEditor part =3D openEditor(input); + + // get dom document + nsIDOMDocument document =3D getVpeVisualDocument(part); + assertNotNull(document); + + // get dom element + nsIDOMElement element =3D document.getDocumentElement(); + assertNotNull(element); + + // get root node + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "img" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_IMG); + + Assert.assertEquals(1, elements.size()); + + nsIDOMNode img =3D elements.get(0); + + nsIDOMNamedNodeMap attributes =3D img.getAttributes(); + + // "img" must have attributes + assertNotNull(attributes); + + // "img" must have "multiple" attribute + nsIDOMNode classAttribute =3D attributes.getNamedItem(HTML.ATTR_CLASS); + assertNotNull(classAttribute); + assertNotNull(classAttribute.getNodeValue()); + assertEquals(true, classAttribute.getNodeValue().length() > 0); + + // check exception + if (getException() !=3D null) { + throw getException(); + } + + } + +} --===============8134821588867940217==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 11:05:20 2008 Content-Type: multipart/mixed; boundary="===============6564436038091547408==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5770 - in trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test: resources/StrutsTest/WebContent/pages/components/form and 3 other directories. Date: Thu, 17 Jan 2008 11:05:19 -0500 Message-ID: --===============6564436038091547408== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-17 11:05:19 -0500 (Thu, 17 Jan 2008) New Revision: 5770 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/bean/page.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/form/button.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/form/password.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/form/textarea.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/javascript.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/optionsCollection.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/html/xhtml.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/forward.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/messagesNotPresent.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/messagesPresent.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/notPresent.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/present.jsp trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Stru= tsTest/WebContent/pages/components/logic/redirect.jsp Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsBeanComponentTest.java trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsFormComponentTest.java trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsHTMLComponentTest.java trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/= tools/struts/vpe/struts/test/StrutsLogicComponentTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1565 Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/bean/page.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/page.jsp (= rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/bean/page.jsp 2008-01-17 16:05:19 UTC (= rev 5770) @@ -0,0 +1,12 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-bean.tld" prefix=3D"bean" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/form/button.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/button.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/button.jsp 2008-01-17 16:05:19 UTC= (rev 5770) @@ -0,0 +1,11 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/form/password.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/password.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/password.jsp 2008-01-17 16:05:19 U= TC (rev 5770) @@ -0,0 +1,11 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/form/textarea.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/textarea.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/form/textarea.jsp 2008-01-17 16:05:19 U= TC (rev 5770) @@ -0,0 +1,11 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/html/javascript.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/javascript.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/javascript.jsp 2008-01-17 16:05:19= UTC (rev 5770) @@ -0,0 +1,11 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/html/optionsCollection.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/optionsCollection.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/optionsCollection.jsp 2008-01-17 1= 6:05:19 UTC (rev 5770) @@ -0,0 +1,11 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/html/xhtml.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/xhtml.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/html/xhtml.jsp 2008-01-17 16:05:19 UTC = (rev 5770) @@ -0,0 +1,10 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/logic/forward.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/forward.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/forward.jsp 2008-01-17 16:05:19 U= TC (rev 5770) @@ -0,0 +1,12 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> + + + + + + + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/logic/messagesNotPresent.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/messagesNotPresent.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/messagesNotPresent.jsp 2008-01-17= 16:05:19 UTC (rev 5770) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> + + + + + + + + MessagesNotPresent + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/logic/messagesPresent.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/messagesPresent.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/messagesPresent.jsp 2008-01-17 16= :05:19 UTC (rev 5770) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> + + + + + + + + MessagesPresent + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/logic/notPresent.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/notPresent.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/notPresent.jsp 2008-01-17 16:05:1= 9 UTC (rev 5770) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> + + + + + + + + NotPresent + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/logic/present.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/present.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/present.jsp 2008-01-17 16:05:19 U= TC (rev 5770) @@ -0,0 +1,14 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> + + + + + + + + Present + + + + Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/= StrutsTest/WebContent/pages/components/logic/redirect.jsp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/redirect.jsp = (rev 0) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/Str= utsTest/WebContent/pages/components/logic/redirect.jsp 2008-01-17 16:05:19 = UTC (rev 5770) @@ -0,0 +1,12 @@ +<%@ taglib uri=3D"/WEB-INF/struts-html" prefix=3D"html" %> +<%@ taglib uri=3D"/WEB-INF/struts-logic" prefix=3D"logic" %> + + + + + + + + + + Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org= /jboss/tools/struts/vpe/struts/test/StrutsBeanComponentTest.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsBeanComponentTest.java 2008-01-17 15:44= :01 UTC (rev 5769) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsBeanComponentTest.java 2008-01-17 16:05= :19 UTC (rev 5770) @@ -72,4 +72,8 @@ public void testWrite() throws Throwable { performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= bean/write.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } + + public void testPage() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= bean/page.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } } Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org= /jboss/tools/struts/vpe/struts/test/StrutsFormComponentTest.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsFormComponentTest.java 2008-01-17 15:44= :01 UTC (rev 5769) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsFormComponentTest.java 2008-01-17 16:05= :19 UTC (rev 5770) @@ -84,4 +84,16 @@ public void testText() throws Throwable { performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= form/text.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } + + public void testButton() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= form/button.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testPassword() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= form/password.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testTextarea() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= form/textarea.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } } Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org= /jboss/tools/struts/vpe/struts/test/StrutsHTMLComponentTest.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsHTMLComponentTest.java 2008-01-17 15:44= :01 UTC (rev 5769) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsHTMLComponentTest.java 2008-01-17 16:05= :19 UTC (rev 5770) @@ -68,4 +68,16 @@ public void testMessages() throws Throwable { performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/messages.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } + + public void testJavascript() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/javascript.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testOptionsCollection() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/optionsCollection.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testXHTML() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= html/xhtml.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } } Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org= /jboss/tools/struts/vpe/struts/test/StrutsLogicComponentTest.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/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsLogicComponentTest.java 2008-01-17 15:4= 4:01 UTC (rev 5769) +++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss= /tools/struts/vpe/struts/test/StrutsLogicComponentTest.java 2008-01-17 16:0= 5:19 UTC (rev 5770) @@ -76,4 +76,28 @@ public void testNotMatch() throws Throwable { performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/notMatch.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ } + + public void testForward() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/forward.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testMessagesNotPresent() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/messagesNotPresent.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testMessagesPresent() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/messagesPresent.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testNotPresent() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/notPresent.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testPresent() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/present.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } + + public void testRedirect() throws Throwable { + performTestForVpeComponent((IFile)TestUtil.getComponentPath("components/= logic/redirect.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$ + } } --===============6564436038091547408==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 11:57:06 2008 Content-Type: multipart/mixed; boundary="===============1437239718579948781==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5771 - in trunk/jsf/docs/userguide/en: modules and 1 other directory. Date: Thu, 17 Jan 2008 11:57:06 -0500 Message-ID: --===============1437239718579948781== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: afedosik Date: 2008-01-17 11:57:05 -0500 (Thu, 17 Jan 2008) New Revision: 5771 Removed: trunk/jsf/docs/userguide/en/modules/features_list.xml trunk/jsf/docs/userguide/en/modules/jboss_tools.xml Modified: trunk/jsf/docs/userguide/en/master.xml trunk/jsf/docs/userguide/en/modules/Visual_Web_Tools.xml trunk/jsf/docs/userguide/en/modules/jsf_support.xml Log: http://jira.jboss.com/jira/browse/JBDS-162 Guide structure and JSF support = chapter updated according Sveta remarks Modified: trunk/jsf/docs/userguide/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/jsf/docs/userguide/en/master.xml 2008-01-17 16:05:19 UTC (rev 577= 0) +++ trunk/jsf/docs/userguide/en/master.xml 2008-01-17 16:57:05 UTC (rev 577= 1) @@ -4,7 +4,6 @@ = [ - @@ -34,10 +33,8 @@ = = = - &jsf_support; &Visual_Web_Tools; - &features_list; - = + &jsf_support; &struts_support; &editors; &palette; Modified: trunk/jsf/docs/userguide/en/modules/Visual_Web_Tools.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/Visual_Web_Tools.xml 2008-01-17 16:= 05:19 UTC (rev 5770) +++ trunk/jsf/docs/userguide/en/modules/Visual_Web_Tools.xml 2008-01-17 16:= 57:05 UTC (rev 5771) @@ -11,8 +11,113 @@ = Visual Web Tools - In JBoss Tools - there is an extensive collection of specialized wizards, = - editors and views that can be used in various scenarios while developing= Web applications. The following = - chapters walksthrough these features. + = + This guide covers the usage of Visual Web Tools in JBoss = Developer Studio and JBoss Tools. The diff= erence + between these products is that JBoss Tools are just a set of Eclipse plug= ins and JBoss Developer Studio adds: + + an installer + Eclipse and Web Tools preconfigured + JBoss EAP with JBoss AS and Seam preconfigured + 3rd party plugins bundled and configured + access to RHEL and Red Hat Network + access to the JBoss/Red Hat supported software + + = + You can find more information about JBoss Developer Studio here. + = + In JBoss Tools there is an extensive collection of specialized wiza= rds, editors and views that can be used in various scenarios while developi= ng Web + applications. The following chapters walk through these features. + = +
+ Key Features of Visual Web Tools + Here is the table of main features of Visual Web Tools: + + Key Functionality for Visual Web Tools + + + + Feature + Benefit + Chapter + + + + + Visual Page Editor + Powerful and customizable visual page editor. Possibility to = develop an application using any web technology: jsf, seam, struts, jsp, ht= ml and others. Developing using four tabs: visual/source, visual, source an= d preview.Fast and easy switching between these tabs. Split screen design o= f visual and source views. Full and instant synchronization between source = and visual views. Integration with properties and outline views. Graphical = toolbar to add inline styling to any tag. + visual page editor + + + JBoss Tools Palette + Organizing various tags by groups, inserting tags into a jsp = or xhtml page with one click, adding custom or 3rd party tag libraries into= the palette, easy controling the number of tag groups shown on the palette= . + jboss tools palette + + + Web Projects View + Visualizing and displaying projects by function. Easy selecti= ng of different kinds of items and dropping them into jsp pages. Using cont= ext menus to develop the application. Using icon shortcuts to create and im= port JSF and Struts projects. Expanding and inspecting tag library files. S= electing custom and third-party tag libraries to drag and drop onto the JBo= ss Tools Palette. + web projects view + + + JSF and Facelets support + Step-by-step wizards for creating new JSF and Facelets projec= ts with a number of predefined templates, importing existing ones and addin= g JSF capabilities to non-jsf web projects. + jsf support + + = + + Flexible and customizable project template management + Jump-start development with out-of-the-box templates or easil= y customized templates = + for re-use. + working with projec= ts + + + Support for Managed Beans + Adding new managed beans, generating code for attributes, pro= perties and getter/setter methods. + managed beans + + + OpenOn + Easy navigation between views and other parts of your project= s. + facelets support<= /entry> + = + + Content Assist + Code completion proposals while working in java, xml, jsp, xh= tml, xhtml, seam project and jsf configuration files. Content assist based = on project data (dynamic code assist); with graphical editor. Code completi= on for values from property files, beans attributes and methods, navigation= rule outcomes and jsf variables. + content assist + + + Support for Custom Converters and Validators + Fast creating of custom converters and validators with tree v= iew of faces-config.xml file. + conv= erters and validators + + + Verification and Validation + All occuring errors will be immediately reported by verificat= ion feature, no matter in what view you are working. Constant validation an= d errors checking allows to catch many of the errors during development pro= cess that significantly reduces development time. + verification and validation + + + Drag-and-Drop + Possibility of inserting any tag onto the page you are editin= g by just drag-and-droping it from the palette to this page. Adding any pro= perties, managed bean attributes, navigation rules, tag library file declar= ations, jsp files from web projects view by clicking them and draging to so= urce code. + visual page editor drag-and-drop + = + + Struts Support + Step-by-step wizards for creating a new struts project with a= number of predefined templates, importing existing ones and adding struts = capabilities to non-struts web projects. + struts support + + = + + Support for JSF and JSF Configuration Files + Working on files using three modes: diagram, tree and source.= Synchronization between the modes and full control over the code. Easy mov= ing around the diagram using the Diagram Navigator. Working with struts pro= jects that have multiple modules. Possibility to use Struts configuration f= ile debugger allowing to set break points on struts diagram and then launch= the server in debug mode. + graphical editor for jsf graphical editor for struts + + + Rich Faces Support + Tight integration between JBDS and RichFaces frameworks. Easy= managing RichFaces components in any web application. + rich faces support<= /entry> + + + +
= +
+ = Deleted: trunk/jsf/docs/userguide/en/modules/features_list.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/features_list.xml 2008-01-17 16:05:= 19 UTC (rev 5770) +++ trunk/jsf/docs/userguide/en/modules/features_list.xml 2008-01-17 16:57:= 05 UTC (rev 5771) @@ -1,94 +0,0 @@ - - - - Key Features of Visual Web Tools - Here is the table of main features of Visual Web Tools: - - Key Functionality for Visual Web Tools - - - - Feature - Benefit - Chapter - - - - - Visual Page Editor - Powerful and customizable visual page editor. Possibility to = develop an application using any web technology: jsf, seam, struts, jsp, ht= ml and others. Developing using four tabs: visual/source, visual, source an= d preview.Fast and easy switching between these tabs. Split screen design o= f visual and source views. Full and instant synchronization between source = and visual views. Integration with properties and outline views. Graphical = toolbar to add inline styling to any tag. - visual page editor - - - JBoss Tools Palette - Organizing various tags by groups, inserting tags into a jsp = or xhtml page with one click, adding custom or 3rd party tag libraries into= the palette, easy controling the number of tag groups shown on the palette= . - jboss tools palette - - - Web Projects View - Visualizing and displaying projects by function. Easy selectin= g of different kinds of items and dropping them into jsp pages. Using conte= xt menus to develop the application. Using icon shortcuts to create and imp= ort JSF and Struts projects. Expanding and inspecting tag library files. Se= lecting custom and third-party tag libraries to drag and drop onto the JBos= s Tools Palette. - web projects view - - - JSF and Facelets support - Step-by-step wizards for creating new JSF and Facelets projec= ts with a number of predefined templates, importing existing ones and addin= g JSF capabilities to non-jsf web projects. - jsf support - - = - - Flexible and customizable project template management - Jump-start development with out-of-the-box templates or easil= y customized templates = - for re-use. - working with projec= ts - - - Support for Managed Beans - Adding new managed beans, generating code for attributes, pro= perties and getter/setter methods. - managed beans - - - OpenOn - Easy navigation between views and other parts of your project= s. - facelets support<= /entry> - = - - Content Assist - Code completion proposals while working in java, xml, jsp, xh= tml, xhtml, seam project and jsf configuration files. Content assist based = on project data (dynamic code assist); with graphical editor. Code completi= on for values from property files, beans attributes and methods, navigation= rule outcomes and jsf variables. - content assist - - - Support for Custom Converters and Validators - Fast creating of custom converters and validators with tree v= iew of faces-config.xml file. - conv= erters and validators - - - Verification and Validation - All occuring errors will be immediately reported by verificat= ion feature, no matter in what view you are working. Constant validation an= d errors checking allows to catch many of the errors during development pro= cess that significantly reduces development time. - verification and validation - - - Drag-and-Drop - Possibility of inserting any tag onto the page you are editing= by just drag-and-droping it from the palette to this page. Adding any prop= erties, managed bean attributes, navigation rules, tag library file declara= tions, jsp files from web projects view by clicking them and draging to sou= rce code. - visual page editor drag-and-drop - = - - Struts Support - Step-by-step wizards for creating a new struts project with a = number of predefined templates, importing existing ones and adding struts c= apabilities to non-struts web projects. - struts support - - = - - Support for JSF and JSF Configuration Files - Working on files using three modes: diagram, tree and source. = Synchronization between the modes and full control over the code. Easy movi= ng around the diagram using the Diagram Navigator. Working with struts proj= ects that have multiple modules. Possibility to use Struts configuration fi= le debugger allowing to set break points on struts diagram and then launch = the server in debug mode. - graphical editor for jsf graphical editor for struts - - - Rich Faces Support - Tight integration between JBDS and RichFaces frameworks. Easy= managing RichFaces components in any web application. - rich faces support<= /entry> - - - -
= - = -
\ No newline at end of file Deleted: trunk/jsf/docs/userguide/en/modules/jboss_tools.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/jboss_tools.xml 2008-01-17 16:05:19= UTC (rev 5770) +++ trunk/jsf/docs/userguide/en/modules/jboss_tools.xml 2008-01-17 16:57:05= UTC (rev 5771) @@ -1,36 +0,0 @@ - - - - - - JBoss Tools - Eclipse - Java - Tomcat - - - JBoss Tools -JBoss Tools is an umbrella project for the JBoss developed plugins t= hat will make it into JBoss Developer Studio. It includes the following Ecl= ipse modules: - - Seam Tools Will include support for seam-gen, RichFaces VE integration, Seam relate= d code completion and refactoring and more. - To read more on Seam, see Seam Reference Guide or Getting Started Guide - - = - RichFaces Support. Rich Faces is an open source framework that adds Ajax capability= into existing JSF applications without resorting to JavaScript. - To read more on RF, see RF Developer Guide - - Hibernate ToolsSupporting mapping files, annotations and JPA with reverse engineeri= ng, code completion, project wizards, refactoring, interactive HQL/JPA-QL/C= riteria execution and more.In short a merger of Hibernate Tools and Exadel= ORM features. - To read more on Hibernate Tools, see Hibernate Tools Reference Guid= e - - JBoss AS Tools= Easy start, stop and debug of JBoss AS 4+ servers from within Eclipse. Wil= l also include features for efficient packaging and deployment of any type = of Eclipse project. - - - Drools IDERule= s file editing, Rete View, working memory debugging/inspection and more. - - = - JBPM ToolsJBPM= workflow editing, deployment and more. - - = - - - Modified: trunk/jsf/docs/userguide/en/modules/jsf_support.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/jsf_support.xml 2008-01-17 16:05:19= UTC (rev 5770) +++ trunk/jsf/docs/userguide/en/modules/jsf_support.xml 2008-01-17 16:57:05= UTC (rev 5771) @@ -85,13 +85,15 @@ Facelets Support = - Facelets extends JavaServer Fac= es by providing a - lightweight framework that radically simplifies th= e design of presentation - pages for JSF. JBoss Developer Studio provides sup= port for Facelets in a - variety of ways. + The Fa= celets extends JavaServer Faces by providing a lightweight framewor= k that radically simplifies the design + of presentation pages for JSF. JBoss Developer Studio prov= ides support for Facelets in a variety of ways: + = + + The New JSF Project wizard contain= s templates for creating Facelets projects based on version 1.2 of the JSF = Reference Implementation. Just select the + JSF 1.2 with Facelets= in JSF Environment section. + = - The Create New JSF Project wizard contains templates= for creating - Faceletsprojects based on version 1.2 of the JSF R= eference Implementation: + =
Choosing Facelets Environment @@ -101,8 +103,7 @@
= - Once you select the environment, you can select one = of the six available - templates: + Once you select the environment, you can select the = one of three available templates.
Choosing Facelets Template @@ -111,8 +112,13 @@
- The JBoss Tools Palette comes with the Facelets comp= onents ready to use. A - useful tip appears when you hover the mouse cursor= over the tag - that includes a detailed description of the tag component, = the syntax and available attributes: + = + + The JBoss Tools Palette comes with= the Facelets components ready to use. A + useful tip appears when you hover the mous= e cursor over the tag, the tip includes a detailed description of the tag c= omponent, the syntax and available attributes. + + = + = = = = = @@ -109,15 +176,10 @@ compile against a different configuration's jars, you will need to= create a new runtime from that configuration. = - - - - - Also, because of the open-source nature of JBoss, it is likely= that a user may want to + = As a result of having each runtime represent a specific config= uration rather than the server installation as a whole, it is very likely you'll create se= veral different runtimes @@ -125,6 +187,7 @@ your servers, are given descriptive names that help you remember w= hich is which. It will do no good to try to remember if "JBoss-runtime 5" is the 4.0 install= with ejb3? Or the 4.2 install's custom configuration you decided to create. + Press Finish to see your new runtime in the list. @@ -144,10 +207,9 @@ Creating a New Server There are many ways to get to the new server wizard. One way i= s to use the old standard File > New > Other... - wizard, and type in + and then Server - . This should show the screen below, which does not loo= k that different from the - initial screen when creating a new runtime. + . This should show the wizard like below.
Adding a JBoss Server @@ -156,18 +218,22 @@
- Because the server object is what keeps track of things like c= ommand line arguments when - starting or stopping, and runtimes keep track of the location of t= he installation, each - server instance must be backed by an appropriate runtime. - Because there may be many runtimes of each type declared, the = wizard allows you to + A server object is that keeps track of things like command lin= e arguments when starting + or stopping, and runtimes keep track of the location of the instal= lation. Thus, each server + instance must be backed by an appropriate runtime. + + The combo box below the view lets you select which runtime to = use from the list of + already declared. If there is no runtime that match your needs jus= t press + Installed Runtimes... + to bring up the familiar preference page. + Here, it becomes possible to edit already existing runtime or add = a new one with necessary + configuration. + + + =
Installed Server Runtime Environments --===============6643947145905586083==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 12:08:42 2008 Content-Type: multipart/mixed; boundary="===============3571169257287247770==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5773 - trunk/as/docs/reference/en/modules. Date: Thu, 17 Jan 2008 12:07:01 -0500 Message-ID: --===============3571169257287247770== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-17 12:07:00 -0500 (Thu, 17 Jan 2008) New Revision: 5773 Modified: trunk/as/docs/reference/en/modules/perspective.xml Log: http://jira.jboss.com/jira/browse/JBDS-199 - adding a table = Modified: trunk/as/docs/reference/en/modules/perspective.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/as/docs/reference/en/modules/perspective.xml 2008-01-17 16:59:07 = UTC (rev 5772) +++ trunk/as/docs/reference/en/modules/perspective.xml 2008-01-17 17:07:00 = UTC (rev 5773) @@ -1,362 +1,563 @@ - - - JBoss Developer Studio - Eclipse - Deploy - Deployment - JBoss - - + + + JBoss Developer Studio + Eclipse + Deploy + Deployment + JBoss + + JBoss AS Perspective - = - This chapter tells how to manage installed JBoss Servers via JBoss AS Perspective. = - The JBoss AS Perspective is similar to the = Java perspective, but it contains a few additional views. Two of the additi= onal views are standard views, specifically the Console view and the Properties view. = - The other two views that are added are the Proje= ct archives view and the JBoss Servers View. - = + This chapter tells how to manage installed JBoss Servers via JBoss AS + Perspective. + + The JBoss AS Perspective is similar to the = Java perspective, but it + contains a few additional views. Two of the additional views are s= tandard views, + specifically the Console view and the Properties + view. The other two views that are added are the Project= archives view + and the JBoss Servers View. +
- + + The JBoss Servers View + This chapter will focus on the the JBoss Server's View. The = JBoss Servers View is + based on the WTP view, Servers View. The top half of the JBoss= Servers View essentially + embeds the original Servers View directly into it, making slig= ht changes to the context + menu. A second half was added to provide additional informatio= n about the server + selected in the top half. In the image provided, categories in= the second half include + which modules are currently deployed. + +
The JBoss Servers View - This chapter will focus on the the JBoss Server's View. Th= e JBoss Servers View is based on the WTP view, Servers View. The top half o= f the JBoss Servers View essentially embeds the original Servers View direc= tly into it, making slight changes to the context menu. - A second half was added to provide additional information abou= t the server selected in the top half. In the image provided, categories in= the second half include which modules are currently deployed. - = -
- The JBoss Servers View - = - - - - -
- = - = - In order to access the view's preferences, you should access Window > Preferences > JBoss Tools > JBoss Server= s > View. = - This preference page allows you to select which view extensions yo= u want on or off, the order they appear - in the view, as well as any other extension-specific preferences t= hat may be available. + + + + + +
+ + + In order to access the view's preferences, you should access= + Window > Preferences > JBoss Tools > JB= oss Servers + > View + . This preference page allows you to select which v= iew extensions you want on + or off, the order they appear in the view, as well as any othe= r extension-specific + preferences that may be available. +
+ View Preferences + + + + + +
+ Extender is meant to provide additional functionality releva= nt to the server selected + in the top half of the view. If a standard server element is s= elected from above, some + of the extensions may still provide the additional information= . Others may not. So, + let's look at the currently available extensions to the JBoss = Server's View. +
+ View Extensions + + + + + +
+ The Modules section shows what modules = are currently deployed to + the server, and allows you to remove them from the server, or = force a full republish + upon them. It only shows which modules have been deployed thro= ugh Eclipse, not any and + all modules that happen to be in the deploy directory. +
+ Modules Action + + + + + +
+ The Event Log will show relevant inform= ation to your server's + startup, shutdown, and publish processes. This allows you to k= eep an eye on what's going + on (such as automatic incremental deployment if you have it en= abled). The only action + available is to clear the event log. However if the properties= view is opened, you can + receive further information on each event log item (when avail= able). +
+ Event Log Actions + + + + + +
+
+ Stopping the Server + + + + + +
+ The XML Configuration category allows y= ou to quickly browse to + descriptor files in your server's deploy directory and check o= r change the values. Its + use requires the Properties view. Basically, XML Configuration= are XML XPaths where a + xpath is a path used to access some specific part of an xml do= cument. +
+ XML Configuration and Properties View + + + + + +
+ The view itself contains only a list of categories. By right= -clicking on + XML Configuration + , you can create a new category. Ports are provided= by default and is filled + with many of the most commonly used ports in the JBoss Server.= +
+ Adding New Category + + + + + +
+ By right-clicking on + Ports + , you can create a new XPaths. +
+ Adding New XPath + + + + + +
+ After that, the dialog shown below will appear. +
+ Adding New XPath + + + + + +
+ As you type, the fields autocomplete to help you locate exac= tly what xpath you're + looking for. The goal here is to get an end result where the x= path matches up with an + easily changed property. With that in mind, if the property yo= u want to change is the + text of an element, then the final field Attribute Name should= be left blank and your + xpath should end with port. If, on the other hand, your desire= d field is the port + attribute of <fieldName port=3D"35">, then your xpath wi= ll end with + fieldName and your Attribute Name will be "port". When finishe= d, you can click + Preview + to see how many matches you have for that particul= ar xpath, as shown below. +
+ XPath Preview + + + + + +
+
+ As part of the JBoss Server view there is a + JMX Console + section which allows you to browse and use the JMX exp= osed beans on the server.
- View Preferences - = - - - - -
- Extender is meant to provide additional functionality relevant t= o the server selected in the top half of the view. If a standard server ele= ment is selected from above, some - of the extensions may still provide the additional information. Ot= hers may not. = - = - So, let's look at the currently available extensions to the JBoss = Server's View. -
- View Extensions - = - - - - -
- The Modules section shows what modules are = currently deployed to the server, and allows you to remove them - from the server, or force a full republish upon them. It only show= s which modules have been deployed through Eclipse, - not any and all modules that happen to be in the deploy directory.= -
- Modules Action - = - - - - -
- The Event Log will show relevant info= rmation to your server's startup, shutdown, and publish processes. This all= ows - you to keep an eye on what's going on (such as automatic increment= al deployment if you have it enabled). - The only action available is to clear the event log. However if th= e properties view is opened, you can receive further - information on each event log item (when available). -
- Event Log Actions - = - - - - -
-
- Stopping the Server - = - - - - -
- The XML Configuration category allows= you to quickly browse to descriptor files in your server's deploy director= y and - check or change the values. Its use requires the Properties view. = Basically, XML Configuration are XML XPaths where a xpath is a path used to= access - some specific part of an xml document. -
- XML Configuration and Properties View - = - - - - -
- The view itself contains only a list of categories. By rig= ht-clicking on XML Configuration,= you can create a new category. - Ports are provided by default and is filled with many of the= most commonly used ports in the JBoss Server. -
- Adding New Category - = - - - - -
- By right-clicking on Ports<= /emphasis>, you can create a new XPaths. -
- Adding New XPath - = - - - - -
- After that, the dialog shown below will appear. -
- Adding New XPath - = - - - - -
- As you type, the fields autocomplete to help you locate ex= actly what xpath you're looking for. The goal here is to - get an end result where the xpath matches up with an easily = changed property. With that in mind, if the property - you want to change is the text of an element, then the final= field Attribute Name - should be left blank and your xpath should end with port. - If, on the other hand, your desired field is the port at= tribute of <fieldName port=3D"35">, then your xpath will end - with fieldName and your Attribute Name will be "port= ". - When finished, you can click Pre= view to see how many matches you have for that partic= ular xpath, as shown below. -
- XPath Preview - = - - - - -
-
- As part of the JBoss Server view there is a = JMX Console section which allows you to browse and us= e the JMX exposed beans on the server. -
JMX Console - = +
- = - Also you can see the server's publish status in the JBoss Server= s view that allows you to see if changes are awaiting (Republish), are bein= g updated (Publishing...) or are in-sync (Synchronized). + + Also you can see the server's publish status in the JBoss Server= s view that allows you to + see if changes are awaiting (Republish), are being updated (Publis= hing...) or are in-sync + (Synchronized).
Server's Publish Status - = +
- The Server section of the view lists all declared servers and th= eir current states, that is, whether they are started or stopped. By Double= -clicking on each server, an editor window will appear allowing you to edit= parts of that server. = - The editor will also link you to modify that server's launch configura= tion, set command line arguments, and other things that are relevant to lau= nching the server. - A username/password is available in the UI when configuring the = server. If you get an SecurityException when trying to launch the server it= is most likely because your server is protected and hence you need to fill= the username/password fields with appropriate values. + The Server section of the view lists all declared servers and th= eir current states, that + is, whether they are started or stopped. By Double-clicking on eac= h server, an editor window + will appear allowing you to edit parts of that server. The editor = will also link you to + modify that server's launch configuration, set command line argume= nts, and other things that + are relevant to launching the server. + A username/password is available in the UI when configuring the = server. If you get an + SecurityException when trying to launch the server it is most like= ly because your server is + protected and hence you need to fill the username/password fields = with appropriate values.
- - = + + <mediaobject> <imageobject> <imagedata fileref=3D"images/perspective/perspective_20.pn= g"/> </imageobject> </mediaobject> </figure> - <para>The view's toolbar shown below provides quick access to starting= a server (in debug mode, run mode, or profile mode), restarting the server= , stopping the server, or publishing to the server.</para> + <para>The view's toolbar shown below provides quick access to starting= a server (in debug mode, + run mode, or profile mode), restarting the server, stopping the se= rver, or publishing to the + server.</para> <figure> <title>The JBoss Server View Toolbar - = +
- In order to debug your applications or EJB's that are deployed t= o the server, you must start the server in debug mode. = - By starting the server in debug mode, eclipse will allow you to se= t breakpoints on code in your workspace and step through the code. - The publish icon, on the extreme right, will republish any modul= es where it has determined the workspace is out of sync with the server. = - It will attempt to do an incremental publish if it turns out that = the module in question is capable of doing one. - Because the JBoss servers have few properties to edit in the edi= tor, a shortcut to the launch configuration has been provided in the contex= t menu when right-clicking on a server. = - This menu also provides the functionality of starting the server i= n run or debug mode, stopping it, or synching the publish information betwe= en the server and workspace. + In order to debug your applications or EJB's that are deployed t= o the server, you must + start the server in debug mode. By starting the server in debug mo= de, eclipse will allow you + to set breakpoints on code in your workspace and step through the = code. + The publish icon, on the extreme right, will republish any modul= es where it has determined + the workspace is out of sync with the server. It will attempt to d= o an incremental publish + if it turns out that the module in question is capable of doing on= e. + Because the JBoss servers have few properties to edit in the edi= tor, a shortcut to the + launch configuration has been provided in the context menu when ri= ght-clicking on a + server.
Launch Configuration - = +
- Near the bottom you'll also see the Add and Remove Projects... i= tem, which allows you to publish a new project to the server (if its type i= s supported). = - The last menu item is the one labeled Twiddle Server. - The Twiddle Server item will open a dialog and allow you to run = Twiddle commands against it. = - Twiddle is a JMX library that comes with JBoss, and you can use it= to access any variables that exposed via the JBoss JMX interfaces. + + The following table describes all those additional + properties. + + Server Properties through the Context Menu + + + + + + + + Name + + + + Description + + + + + + + + New Server + + + The option allows to define a new server. + + + + + + Delete + + + Standard option that allows to delete any ex= isting server. + + + + + + Start + + + The action for stating a server in a run mod= e. + + + + + + Debug + + + The action for stating a server in a debug m= ode. + + + + + + Stop + + + The action for stopping a declared server. + + + + + + Publish + + + The action for synching the publish informat= ion + between the server and workspace. + + + + + + Clean + + + The option for complete redeploying. + + + + + + Twiddle Server + + + The option provides a dialog for running Twi= ddle commands against the Twiddle Server. + + + + + + Edit Launch Configuration + + + The option that provides an editor for editi= ng launch configuration properties of the proper server. + + + + + + Add and Remove Projects + + + The option allows to publish a new project t= o the server (if its type is supported). + + + + +
+ + Mentioned above Twiddle is a JMX library that comes with JBoss, = and you can use it to access any + variables that exposed via the JBoss JMX interfaces. = +
- Project archives View - Every application, whether plain old Java, J2EE, or = some other language altogether, needs to be packaged in some way. In Java-r= elated projects, = - many people use ANT. JBoss Tools comes with our own ar= chives tool with a bit easier and less-verbose XML and a handy user interfa= ce. - The Project Archives plugin consists primarily of a = view to set up each packaging configuration. Each project can enable or dis= able its builder, or depend on the global setting. - The packaging configuration for each project is stor= ed in that project's root folder, and is in a file named .package= s, which has a fairly simple XML - structure. Modifying the file by hand is neither requi= red nor recommended, and using the UI is the official way of modifying your= packaging structure. - Aside from the builder, the other preferences for th= e plugin are mostly cosmetic, allowing you to show full or truncated paths,= show the project at the - root, etc. None of these has any effect on the functio= nality of the packaging plugin. - = -
- Creating an Archive - When creating a new archive, you have some diffe= rent options at your disposal. If the project has no .packages file, your = - options will be presented to you all at once for y= ou to choose from (as above). Otherwise you will right-click inside the vie= w and select New Archive - to see your archive type options. -
- Create an Archive - = - - - - -
- JAR is the standard archive type, and does very = little configuration, leaving most of the work up to you. You can customize= the name, add folders, = - filesets, and inner jars to it. - The other types, for the most part, simply start= off with a default setting, usually the jar with some specific children ba= sed on an expected - structure of the project. For example, if the project = is a dynamic web project, and you create a WAR archive, the archive will be= created with a few filesets relevant to the known structure of the project= . - = - Because the first page of all new archive wizard= s are the same, and it is also the only page in the New Jar Wizard, that pa= ge is shown below. -
- New JAR Wizard - = - - - - -
- = - The page is pretty simple. All it asks is for th= e name of your new archive, a destination, which we'll get to in a moment, = and whether the archive = - is exploded or packaged up. - The destination of an archive can be anywhere on= the filesystem, anywhere in the workspace, inside some other archive, or i= nside a folder - declared inside an archive. You can browse to work= space or filesystem destinations by clicking on their respective buttons. T= o select a destination - inside some other archive, you'll need to press th= e Workspace... button. At the bottom of the list, you'= ll see archives that have been declared in the - workspace. -
- Creating a Folder - Creating a folder is much easier. You simply= right-click on an archive or folder you want your new folder to be a child= under. The only piece of = - required information is naming the file. -
-
- Creating a FileSet - To create a new fileset, you click on an ava= ilable target location such as an archive, a nested archive, or a folder wi= thin an archive, and select = - New Fileset. The New Fileset Wizard requires a= destination (where the files will go), and a root directory (or where the = files are coming from). = - The source can be anywhere in the workspace or= from the filesystem at large. - Below that, the fileset requires only an inc= ludes pattern and an excludes pattern. As you type in either of these field= s, the preview viewer should - update itself with which files are matched. -
-
-
- View Actions -
- Context Menu on the Item - = - - - - -
- The context menu on the items in the view is ext= endable, but there are several that come standard. - = - - Context Menu on the Item - - - - = - = - - - - Name - - = - - Description - - - - = - - = - - Build Archive (Full) - = - The action enabled only on top= -level archives, which initiates a full build on that archive - - = - - Edit Archive - = - Standard action that brings u= p the wizard associated with that particular node type and allows the detai= ls to be changed - - = - - Delete Archive - = - Deleting node is standard act= ion with deletion not needing an explanation - - = - - Publish To Server - = - The action means the ability = to publish to a declared server - - = - - -
- = - = - = - = -
-
- Publish to Server -
- Context Menu on the Item - = - - - - -
- The dialog above appears after selecting Publish To Server. To simply publish once, you just select th= e server(s) that you want, and finish. = - If you want the Publish to Server action on that p= articular Archive to always publish to that set of servers, then check the = appropriate checkbox. = - And finally, to enable automatic publishing upon b= uild events, check the last checkbox. - The automatic publishing feature is nice if, for= example, your package's destination (where it is built) is a temporary fol= der and you want the = - archive published to several servers. If you only = really want your archive published to one server, it might be easier to hav= e the archive's destination - folder be the deploy folder of the server. -
+ Project archives View + Every application, whether plain old Java, J2EE, or some oth= er language altogether, + needs to be packaged in some way. In Java-related projects, ma= ny people use ANT. JBoss + Tools comes with our own archives tool with a bit easier and l= ess-verbose XML and a + handy user interface. + The Project Archives plugin consists primarily of a view to = set up each packaging + configuration. Each project can enable or disable its builder,= or depend on the global + setting. + The packaging configuration for each project is stored in th= at project's root folder, + and is in a file named .packages, which h= as a fairly simple XML + structure. Modifying the file by hand is neither required nor = recommended, and using the + UI is the official way of modifying your packaging structure.<= /para> + Aside from the builder, the other preferences for the plugin= are mostly cosmetic, + allowing you to show full or truncated paths, show the project= at the root, etc. None of + these has any effect on the functionality of the packaging plu= gin. = -
- = +
+ Creating an Archive + When creating a new archive, you have some different opt= ions at your disposal. If + the project has no .packages file, yo= ur options will be + presented to you all at once for you to choose from (as ab= ove). Otherwise you will + right-click inside the view and select + New Archive + to see your archive type options. +
+ Create an Archive + + + + + +
+ JAR is the standard archive type, and does very little c= onfiguration, leaving most + of the work up to you. You can customize the name, add fol= ders, filesets, and inner + jars to it. + The other types, for the most part, simply start off wit= h a default setting, + usually the jar with some specific children based on an ex= pected structure of the + project. For example, if the project is a dynamic web proj= ect, and you create a WAR + archive, the archive will be created with a few filesets r= elevant to the known + structure of the project. + + Because the first page of all new archive wizards are th= e same, and it is also the + only page in the New Jar Wizard, that page is shown below.= +
+ New JAR Wizard + + + + + +
+ + The page is pretty simple. All it asks is for the name o= f your new archive, a + destination, which we'll get to in a moment, and whether t= he archive is exploded or + packaged up. + The destination of an archive can be anywhere on the fil= esystem, anywhere in the + workspace, inside some other archive, or inside a folder d= eclared inside an archive. + You can browse to workspace or filesystem destinations by = clicking on their + respective buttons. To select a destination inside some ot= her archive, you'll need + to press the Workspace... button. At = the bottom of the list, + you'll see archives that have been declared in the workspa= ce. +
+ Creating a Folder + Creating a folder is much easier. You simply right-c= lick on an archive or + folder you want your new folder to be a child under. T= he only piece of required + information is naming the file. +
+
+ Creating a FileSet + To create a new fileset, you click on an available t= arget location such as an + archive, a nested archive, or a folder within an archi= ve, and select New + Fileset. The New Fileset Wizard requires a destination= (where the files will + go), and a root directory (or where the files are comi= ng from). The source can + be anywhere in the workspace or from the filesystem at= large. + Below that, the fileset requires only an includes pa= ttern and an excludes + pattern. As you type in either of these fields, the pr= eview viewer should update + itself with which files are matched. +
+
+
+ View Actions +
+ Context Menu on the Item + + + + + +
+ The context menu on the items in the view is extendable,= but there are several + that come standard. + + + Context Menu on the Item + + + + + + + + + Name + + + + Description + + + + + + + + + Build Archive (Full) + + + + The action enabled only on top-level= archives, which initiates + a full build on that archive + + + + + + Edit Archive + + + + Standard action that brings up the w= izard associated with that + particular node type and allows the de= tails to be changed + + + + + + Delete Archive + + + + Deleting node is standard action wit= h deletion not needing an + explanation + + + + + + Publish To Server + + + + The action means the ability to publ= ish to a declared + server + + + + + +
+ + + + +
+
+ Publish to Server +
+ Context Menu on the Item + + + + + +
+ The dialog above appears after selecting Publi= sh To Server. + To simply publish once, you just select the server(s) that= you want, and finish. If + you want the Publish to Server action on that particular A= rchive to always publish + to that set of servers, then check the appropriate checkbo= x. And finally, to enable + automatic publishing upon build events, check the last che= ckbox. + The automatic publishing feature is nice if, for example= , your package's + destination (where it is built) is a temporary folder and = you want the archive + published to several servers. If you only really want your= archive published to one + server, it might be easier to have the archive's destinati= on folder be the deploy + folder of the server. +
+ +
+
Deploy to Server - In the context menu of files there is a Deploy To = Server option that allows a single file deployment. To deploy th= ese non-WTP files/projects right click on the file (-ds.xml, .ear, .jar etc= .) and select Deploy To server an= d it will be automatically deployed. + In the context menu of files there is a Deploy To = Server option + that allows a single file deployment. To deploy these non-WTP = files/projects right click + on the file (-ds.xml, .ear, .jar etc.) and select + Deploy To server + and it will be automatically deployed.
Deploy to Sever - = +
- The deployed files are listed side-by-side with other module= s that are deployed to the server. + The deployed files are listed side-by-side with other module= s that are deployed to the + server. = -
+
= --===============3571169257287247770==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 13:22:34 2008 Content-Type: multipart/mixed; boundary="===============7275999758600877846==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5775 - in trunk: jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/1615 and 3 other directories. Date: Thu, 17 Jan 2008 13:22:34 -0500 Message-ID: --===============7275999758600877846== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dsakovich Date: 2008-01-17 13:22:34 -0500 (Thu, 17 Jan 2008) New Revision: 5775 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1615/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1615/JBIDE-1615.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/jbide/JBIDE1615Test.java Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfAllTests.java trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf.xml Log: http://jira.jboss.com/jira/browse/JBIDE-1615 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1615/JBIDE-1615.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1615/JBIDE-1615.xhtml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1615/JBIDE-1615.xhtml 2008-01-17 18:22:34 UTC (rev 5775) @@ -0,0 +1,63 @@ + + = + + = + = + + = + + + = + + + + + + + + + + + + + + + + + + + + + + + + + = + + + + + + + + \ No newline at end of file Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/JsfAllTests.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-17 17:08:11 UTC (rev 5774) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/JsfAllTests.java 2008-01-17 18:22:34 UTC (rev 5775) @@ -17,6 +17,7 @@ import junit.framework.TestSuite; = import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1484Test; +import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1615Test; import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1467Test; import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1501Test; import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1548Test; @@ -43,6 +44,7 @@ suite.addTestSuite(JBIDE1484Test.class); suite.addTestSuite(JsfJbide1548Test.class); suite.addTestSuite(JsfJbide1568Test.class); + suite.addTestSuite(JBIDE1615Test.class); // $JUnit-END$ //added by Max Areshkau //add here projects which should be imported for junit tests Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools= /jsf/vpe/jsf/test/jbide/JBIDE1615Test.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JBIDE1615Test.java (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JBIDE1615Test.java 2008-01-17 18:22:34 UTC (rev 5775) @@ -0,0 +1,80 @@ +/*************************************************************************= ****** = + * 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.jsf.vpe.jsf.test.jbide; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.core.resources.IFile; +import org.eclipse.ui.IEditorInput; +import org.eclipse.ui.part.FileEditorInput; +import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; +import org.jboss.tools.vpe.editor.util.HTML; +import org.jboss.tools.vpe.ui.test.TestUtil; +import org.jboss.tools.vpe.ui.test.VpeTest; +import org.mozilla.interfaces.nsIDOMDocument; +import org.mozilla.interfaces.nsIDOMElement; +import org.mozilla.interfaces.nsIDOMNode; + +public class JBIDE1615Test extends VpeTest { + + public static final String IMPORT_PROJECT_NAME =3D "jsfTest"; + + private static final String TEST_PAGE_NAME =3D "JBIDE/1615/JBIDE-1615.= xhtml"; + + public JBIDE1615Test(String name) { + + super(name); + } + + //test method for JBIDE 1484 + public void testJBIDE_1484() throws Throwable { + // wait + TestUtil.waitForJobs(); + // set exception + setException(null); + + // get test page path + IFile file =3D (IFile) TestUtil.getComponentPath(TEST_PAGE_NAME, + IMPORT_PROJECT_NAME); + + assertNotNull("Could not open specified file " + file.getFullPath(), + file); + + IEditorInput input =3D new FileEditorInput(file); + + assertNotNull("Editor input is null", input); + // open and get editor + JSPMultiPageEditor part =3D openEditor(input); + + // get dom document + nsIDOMDocument document =3D getVpeVisualDocument(part); + nsIDOMElement element =3D document.getDocumentElement(); + + //check that element is not null + assertNotNull(element); + + // get root node + nsIDOMNode node =3D (nsIDOMNode) element + .queryInterface(nsIDOMNode.NS_IDOMNODE_IID); + + List elements =3D new ArrayList(); + + // find "span" elements + TestUtil.findElementsByName(node, elements, HTML.TAG_SPAN); + = + assertEquals(13, elements.size()); + if (getException() !=3D null) { + throw getException(); + } + } + +} Modified: trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf= .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/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf.xml 2= 008-01-17 17:08:11 UTC (rev 5774) +++ trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf.xml 2= 008-01-17 18:22:34 UTC (rev 5775) @@ -997,7 +997,7 @@ - = + = --===============7275999758600877846==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 14:21:31 2008 Content-Type: multipart/mixed; boundary="===============7102778956178263130==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5776 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject. Date: Thu, 17 Jan 2008 14:21:30 -0500 Message-ID: --===============7102778956178263130== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-17 14:21:30 -0500 (Thu, 17 Jan 2008) New Revision: 5776 Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/HibernateNatureAddTest.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mappingproject/HibernateNatureRemoveTest.java Log: use standard methods for enabling hibernate Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/HibernateNatureAddTest.j= ava =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/HibernateNatureAddTest.java 20= 08-01-17 18:22:34 UTC (rev 5775) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/HibernateNatureAddTest.java 20= 08-01-17 19:21:30 UTC (rev 5776) @@ -10,17 +10,13 @@ *************************************************************************= *****/ package org.hibernate.eclipse.console.test.mappingproject; = -import org.eclipse.core.resources.ProjectScope; +import junit.framework.TestCase; + import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.NullProgressMonitor; -import org.eclipse.core.runtime.preferences.IScopeContext; import org.eclipse.jdt.core.IJavaProject; import org.hibernate.eclipse.console.utils.ProjectUtils; import org.osgi.service.prefs.BackingStoreException; -import org.osgi.service.prefs.Preferences; = -import junit.framework.TestCase; - /** * @author Dmitry Geraskov * @@ -29,15 +25,7 @@ public void testHibernateNatureAdd() throws BackingStoreException, CoreEx= ception { MappingTestProject project =3D MappingTestProject.getTestProject(); IJavaProject prj =3D project.getIJavaProject(); - IScopeContext scope =3D new ProjectScope(prj.getProject() ); - //fail("HibernateNatureAdd testfail"); - Preferences node =3D scope.getNode("org.hibernate.eclipse.console"); - - node.putBoolean("hibernate3.enabled", true ); - node.put("default.configuration", "testcfg" ); - node.flush(); - - ProjectUtils.addProjectNature(prj.getProject(), "org.hibernate.eclipse.c= onsole.hibernateNature", new NullProgressMonitor() ); - //ProjectUtils.removeProjectNature(prj.getProject(), "org.hibernate.ecli= pse.console.hibernateNature", new NullProgressMonitor() ); + = + ProjectUtils.toggleHibernateOnProject(project.getIProject(), true, "test= cfg"); = } } Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/HibernateNatureRemoveTes= t.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/HibernateNatureRemoveTest.java= 2008-01-17 18:22:34 UTC (rev 5775) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/HibernateNatureRemoveTest.java= 2008-01-17 19:21:30 UTC (rev 5776) @@ -13,8 +13,6 @@ import junit.framework.TestCase; = import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.NullProgressMonitor; -import org.eclipse.jdt.core.IJavaProject; import org.hibernate.eclipse.console.utils.ProjectUtils; import org.osgi.service.prefs.BackingStoreException; = @@ -25,7 +23,6 @@ public class HibernateNatureRemoveTest extends TestCase { public void testHibernateNatureRemove() throws BackingStoreException, Cor= eException { MappingTestProject project =3D MappingTestProject.getTestProject(); - IJavaProject prj =3D project.getIJavaProject(); - ProjectUtils.removeProjectNature(prj.getProject(), "org.hibernate.eclips= e.console.hibernateNature", new NullProgressMonitor() ); + ProjectUtils.toggleHibernateOnProject(project.getIProject(), true, "test= cfg"); } } --===============7102778956178263130==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 14:22:07 2008 Content-Type: multipart/mixed; boundary="===============1929804664508408089==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5777 - in trunk/hibernatetools/tests/org.hibernate.eclipse.console.test: src/org/hibernate/eclipse/console/test and 1 other directories. Date: Thu, 17 Jan 2008 14:22:07 -0500 Message-ID: --===============1929804664508408089== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-17 14:22:07 -0500 (Thu, 17 Jan 2008) New Revision: 5777 Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/xpl/ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/xpl/JavaProjectHelper.java Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/META-INF/M= ANIFEST.MF trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/HibernateConsoleTest.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/HibernateConsoleTestPlugin.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/SimpleTestProject.java Log: various fixes to allow better tests 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 2008-01-17 19:21:30 UTC (rev 5776) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/META-INF/= MANIFEST.MF 2008-01-17 19:22:07 UTC (rev 5777) @@ -11,7 +11,8 @@ Bundle-Localization: plugin Export-Package: org.hibernate.eclipse.console.test, org.hibernate.eclipse.console.test.mapping, - org.hibernate.eclipse.console.test.mappingproject + org.hibernate.eclipse.console.test.mappingproject, + org.hibernate.eclipse.console.test.xpl Require-Bundle: org.junit, org.eclipse.jdt.core, org.eclipse.core.resources, Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/HibernateConsoleTest.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/HibernateConsoleTest.java 2008-01-17 19:21:30= UTC (rev 5776) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/HibernateConsoleTest.java 2008-01-17 19:22:07= UTC (rev 5777) @@ -24,8 +24,9 @@ = protected void setUp() throws Exception { super.setUp(); - this.project =3D new SimpleTestProject(); + this.project =3D createTestProject(); = + = waitForJobs(); PlatformUI.getWorkbench() .getActiveWorkbenchWindow().getActivePage().setPerspective( @@ -50,6 +51,10 @@ = delay(2000); } + + protected SimpleTestProject createTestProject() { + return new SimpleTestProject(); + } = protected void tearDown() throws Exception { waitForJobs(); Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/HibernateConsoleTestPlugin.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/HibernateConsoleTestPlugin.java 2008-01-17 19= :21:30 UTC (rev 5776) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/HibernateConsoleTestPlugin.java 2008-01-17 19= :22:07 UTC (rev 5777) @@ -1,8 +1,16 @@ package org.hibernate.eclipse.console.test; = +import java.io.File; +import java.io.IOException; +import java.net.URL; import java.util.MissingResourceException; import java.util.ResourceBundle; = +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.FileLocator; +import org.eclipse.core.runtime.IPath; +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; @@ -82,4 +90,14 @@ public static ImageDescriptor getImageDescriptor(String path) { return AbstractUIPlugin.imageDescriptorFromPlugin("org.hibernate.eclipse= .console.test.test", path); } + = + public File getFileInPlugin(IPath path) throws CoreException { + try { + URL installURL=3D new URL(getBundle().getEntry("/"), path.toString()); + URL localURL=3D FileLocator.toFileURL(installURL); + return new File(localURL.getFile()); + } catch (IOException e) { + throw new CoreException(new Status(IStatus.ERROR, "org.hibernate.eclips= e.console.test", IStatus.ERROR, e.getMessage(), e)); + } + } } Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/SimpleTestProject.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/SimpleTestProject.java 2008-01-17 19:21:30 UT= C (rev 5776) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/SimpleTestProject.java 2008-01-17 19:22:07 UT= C (rev 5777) @@ -1,5 +1,7 @@ package org.hibernate.eclipse.console.test; = +import java.io.IOException; + import org.eclipse.core.resources.IFolder; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IProjectDescription; @@ -22,13 +24,20 @@ IProject project; IJavaProject javaProject; = - public static String PROJECT_NAME =3D "HibernateToolsTestProject"; + final private String projectName; + = public static String PACKAGE_NAME =3D "test"; public static String TYPE_NAME =3D "TestClass"; public static String FILE_NAME =3D "TestClass.java"; = = + public SimpleTestProject(String projectName) { + this.projectName=3DprojectName; + initialize(); + } + = public SimpleTestProject() { + projectName =3D "HibernateToolsTestProject"; initialize(); } = @@ -76,8 +85,8 @@ = } = - private void buildSimpleTestProject() throws JavaModelException, CoreExce= ption { - project =3D buildNewProject(PROJECT_NAME); + protected void buildSimpleTestProject() throws JavaModelException, CoreEx= ception, IOException { + project =3D buildNewProject(projectName); javaProject =3D buildJavaProject(project); = buildType(buildPackage(PACKAGE_NAME, project, javaProject), FILE_NAME); @@ -151,7 +160,7 @@ return sourceFolder.createPackageFragment(name, false, null); } = - private IType buildType(IPackageFragment pack, String cuName) + protected IType buildType(IPackageFragment pack, String cuName) throws JavaModelException { = //create empty ICompilationUnit Added: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/or= g/hibernate/eclipse/console/test/xpl/JavaProjectHelper.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/xpl/JavaProjectHelper.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/xpl/JavaProjectHelper.java 2008-01-17 19:22:0= 7 UTC (rev 5777) @@ -0,0 +1,606 @@ +/*************************************************************************= ****** + * Copyright (c) 2000, 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 + * (from org.eclipse.jdt.testplugin) + * Contributors: + * IBM Corporation - initial API and implementation + * Ferenc Hechler, ferenc_hechler(a)users.sourceforge.net - 83258 [jar= exporter] Deploy java application as executable jar + * Max Rydahl Andersen, made more general for usage in Hibernate tests. + *************************************************************************= ******/ +package org.hibernate.eclipse.console.test.xpl; + +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.lang.reflect.InvocationTargetException; +import java.net.URL; +import java.util.ArrayList; +import java.util.Enumeration; +import java.util.Map; +import java.util.zip.ZipFile; + +import junit.framework.Assert; + +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.IProjectDescription; +import org.eclipse.core.resources.IResource; +import org.eclipse.core.resources.IWorkspace; +import org.eclipse.core.resources.IWorkspaceDescription; +import org.eclipse.core.resources.IWorkspaceRoot; +import org.eclipse.core.resources.IWorkspaceRunnable; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.core.runtime.Path; +import org.eclipse.jdt.core.IClasspathEntry; +import org.eclipse.jdt.core.IJavaElement; +import org.eclipse.jdt.core.IJavaProject; +import org.eclipse.jdt.core.IPackageFragmentRoot; +import org.eclipse.jdt.core.JavaCore; +import org.eclipse.jdt.core.JavaModelException; +import org.eclipse.jdt.core.search.IJavaSearchConstants; +import org.eclipse.jdt.core.search.SearchEngine; +import org.eclipse.jdt.core.search.SearchPattern; +import org.eclipse.jdt.core.search.TypeNameRequestor; +import org.eclipse.jdt.internal.ui.JavaPlugin; +import org.eclipse.jdt.internal.ui.util.CoreUtility; +import org.eclipse.ui.dialogs.IOverwriteQuery; +import org.eclipse.ui.wizards.datatransfer.ImportOperation; +import org.eclipse.ui.wizards.datatransfer.ZipFileStructureProvider; +import org.hibernate.eclipse.console.HibernateConsolePlugin; +import org.hibernate.eclipse.console.test.HibernateConsoleTestPlugin; + +/** + * Helper methods to set up a IJavaProject. + */ +public class JavaProjectHelper { + = + = + private static final int MAX_RETRY=3D 5; + = + /** + * Creates a IJavaProject. + * @param projectName The name of the project + * @param binFolderName Name of the output folder + * @return Returns the Java project handle + * @throws CoreException Project creation failed + */ = + public static IJavaProject createJavaProject(String projectName, String b= inFolderName) throws CoreException { + IWorkspaceRoot root=3D ResourcesPlugin.getWorkspace().getRoot(); + IProject project=3D root.getProject(projectName); + if (!project.exists()) { + project.create(null); + } else { + project.refreshLocal(IResource.DEPTH_INFINITE, null); + } + = + if (!project.isOpen()) { + project.open(null); + } + = + IPath outputLocation; + if (binFolderName !=3D null && binFolderName.length() > 0) { + IFolder binFolder=3D project.getFolder(binFolderName); + if (!binFolder.exists()) { + CoreUtility.createFolder(binFolder, false, true, null); + } + outputLocation=3D binFolder.getFullPath(); + } else { + outputLocation=3D project.getFullPath(); + } + = + if (!project.hasNature(JavaCore.NATURE_ID)) { + addNatureToProject(project, JavaCore.NATURE_ID, null); + } + = + IJavaProject jproject=3D JavaCore.create(project); + = + jproject.setOutputLocation(outputLocation, null); + jproject.setRawClasspath(new IClasspathEntry[0], null); + = + return jproject; = + } + = + /** + * Sets the compiler options to 1.5 for the given project. + * @param project the java project + */ = + public static void set15CompilerOptions(IJavaProject project) { + Map options=3D project.getOptions(false); + JavaProjectHelper.set15CompilerOptions(options); + project.setOptions(options); + } + = + /** + * Sets the compiler options to 1.4 for the given project. + * @param project the java project + */ = + public static void set14CompilerOptions(IJavaProject project) { + Map options=3D project.getOptions(false); + JavaProjectHelper.set14CompilerOptions(options); + project.setOptions(options); + } + = + /** + * Sets the compiler options to 1.5 + * @param options The compiler options to configure + */ = + public static void set15CompilerOptions(Map options) { + options.put(JavaCore.COMPILER_COMPLIANCE, JavaCore.VERSION_1_5); + options.put(JavaCore.COMPILER_PB_ASSERT_IDENTIFIER, JavaCore.ERROR); + options.put(JavaCore.COMPILER_PB_ENUM_IDENTIFIER, JavaCore.ERROR); + options.put(JavaCore.COMPILER_SOURCE, JavaCore.VERSION_1_5); + options.put(JavaCore.COMPILER_CODEGEN_TARGET_PLATFORM, JavaCore.VERSION_= 1_5); + } + = + /** + * Sets the compiler options to 1.4 + * @param options The compiler options to configure + */ = + public static void set14CompilerOptions(Map options) { + options.put(JavaCore.COMPILER_COMPLIANCE, JavaCore.VERSION_1_4); + options.put(JavaCore.COMPILER_PB_ASSERT_IDENTIFIER, JavaCore.ERROR); + options.put(JavaCore.COMPILER_PB_ENUM_IDENTIFIER, JavaCore.WARNING); + options.put(JavaCore.COMPILER_SOURCE, JavaCore.VERSION_1_3); + options.put(JavaCore.COMPILER_CODEGEN_TARGET_PLATFORM, JavaCore.VERSION_= 1_2); + } + = + /** + * Sets the compiler options to 1.3 + * @param options The compiler options to configure + */ = + public static void set13CompilerOptions(Map options) { + options.put(JavaCore.COMPILER_COMPLIANCE, JavaCore.VERSION_1_3); + options.put(JavaCore.COMPILER_PB_ASSERT_IDENTIFIER, JavaCore.WARNING); + options.put(JavaCore.COMPILER_PB_ENUM_IDENTIFIER, JavaCore.WARNING); + options.put(JavaCore.COMPILER_SOURCE, JavaCore.VERSION_1_3); + options.put(JavaCore.COMPILER_CODEGEN_TARGET_PLATFORM, JavaCore.VERSION_= 1_2); + } + = + /** + * Removes a IJavaElement + * = + * @param elem The element to remove + * @throws CoreException Removing failed + * @see #ASSERT_NO_MIXED_LINE_DELIMIERS + */ = + public static void delete(final IJavaElement elem) throws CoreException { + = + IWorkspaceRunnable runnable=3D new IWorkspaceRunnable() { + public void run(IProgressMonitor monitor) throws CoreException { + performDummySearch(); + if (elem instanceof IJavaProject) { + IJavaProject jproject=3D (IJavaProject) elem; + jproject.setRawClasspath(new IClasspathEntry[0], jproject.getProject(= ).getFullPath(), null); + } + for (int i=3D 0; i < MAX_RETRY; i++) { + try { + elem.getResource().delete(true, null); + i=3D MAX_RETRY; + } catch (CoreException e) { + if (i =3D=3D MAX_RETRY - 1) { + JavaPlugin.log(e); + throw e; + } + try { + Thread.sleep(1000); // sleep a second + } catch (InterruptedException e1) { + } = + } + } + } + }; + ResourcesPlugin.getWorkspace().run(runnable, null); = + = + } + + /** + * Removes all files in the project and sets the given classpath + * @param jproject The project to clear + * @param entries The default class path to set + * @throws CoreException Clearing the project failed + */ = + public static void clear(final IJavaProject jproject, final IClasspathEnt= ry[] entries) throws CoreException { + performDummySearch(); + = + IWorkspaceRunnable runnable=3D new IWorkspaceRunnable() { + public void run(IProgressMonitor monitor) throws CoreException { + jproject.setRawClasspath(entries, null); + = + IResource[] resources=3D jproject.getProject().members(); + for (int i=3D 0; i < resources.length; i++) { + if (!resources[i].getName().startsWith(".")) { + resources[i].delete(true, null); + } + } + } + }; + ResourcesPlugin.getWorkspace().run(runnable, null); + } + = + + public static void performDummySearch() throws JavaModelException { + new SearchEngine().searchAllTypeNames( + null, + SearchPattern.R_EXACT_MATCH, + "XXXXXXXXX".toCharArray(), // make sure we search a concrete name. Thi= s is faster according to Kent = + SearchPattern.R_EXACT_MATCH | SearchPattern.R_CASE_SENSITIVE, + IJavaSearchConstants.CLASS, + SearchEngine.createJavaSearchScope(new IJavaElement[0]), + new Requestor(), + IJavaSearchConstants.WAIT_UNTIL_READY_TO_SEARCH, + null); + } + + + /** + * Adds a source container to a IJavaProject. + * @param jproject The parent project + * @param containerName The name of the new source container + * @return The handle to the new source container + * @throws CoreException Creation failed + */ = + public static IPackageFragmentRoot addSourceContainer(IJavaProject jproje= ct, String containerName) throws CoreException { + return addSourceContainer(jproject, containerName, new Path[0]); + } + + /** + * Adds a source container to a IJavaProject. + * @param jproject The parent project + * @param containerName The name of the new source container + * @param exclusionFilters Exclusion filters to set + * @return The handle to the new source container + * @throws CoreException Creation failed + */ = + public static IPackageFragmentRoot addSourceContainer(IJavaProject jproje= ct, String containerName, IPath[] exclusionFilters) throws CoreException { + return addSourceContainer(jproject, containerName, new Path[0], exclusio= nFilters); + } + = + /** + * Adds a source container to a IJavaProject. + * @param jproject The parent project + * @param containerName The name of the new source container + * @param inclusionFilters Inclusion filters to set + * @param exclusionFilters Exclusion filters to set + * @return The handle to the new source container + * @throws CoreException Creation failed + */ = + public static IPackageFragmentRoot addSourceContainer(IJavaProject jproje= ct, String containerName, IPath[] inclusionFilters, IPath[] exclusionFilter= s) throws CoreException { + return addSourceContainer(jproject, containerName, inclusionFilters, exc= lusionFilters, null); + } + = + /** + * Adds a source container to a IJavaProject. + * @param jproject The parent project + * @param containerName The name of the new source container + * @param inclusionFilters Inclusion filters to set + * @param exclusionFilters Exclusion filters to set + * @param outputLocation The location where class files are written to, <= b>null for project output folder + * @return The handle to the new source container + * @throws CoreException Creation failed + */ + public static IPackageFragmentRoot addSourceContainer(IJavaProject jproje= ct, String containerName, IPath[] inclusionFilters, IPath[] exclusionFilter= s, String outputLocation) throws CoreException { + IProject project=3D jproject.getProject(); + IContainer container=3D null; + if (containerName =3D=3D null || containerName.length() =3D=3D 0) { + container=3D project; + } else { + IFolder folder=3D project.getFolder(containerName); + if (!folder.exists()) { + CoreUtility.createFolder(folder, false, true, null); + } + container=3D folder; + } + IPackageFragmentRoot root=3D jproject.getPackageFragmentRoot(container); + = + IPath outputPath=3D null; + if (outputLocation !=3D null) { + IFolder folder=3D project.getFolder(outputLocation); + if (!folder.exists()) { + CoreUtility.createFolder(folder, false, true, null); + } + outputPath=3D folder.getFullPath(); + } + IClasspathEntry cpe=3D JavaCore.newSourceEntry(root.getPath(), inclusion= Filters, exclusionFilters, outputPath); + addToClasspath(jproject, cpe); = + return root; + } + = + /** + * Adds a source container to a IJavaProject and imports all files contai= ned + * in the given ZIP file. + * @param jproject The parent project + * @param containerName Name of the source container + * @param zipFile Archive to import + * @param containerEncoding encoding for the generated source container + * @return The handle to the new source container + * @throws InvocationTargetException Creation failed + * @throws CoreException Creation failed + * @throws IOException Creation failed + */ = + public static IPackageFragmentRoot addSourceContainerWithImport(IJavaProj= ect jproject, String containerName, File zipFile, String containerEncoding)= throws InvocationTargetException, CoreException, IOException { + return addSourceContainerWithImport(jproject, containerName, zipFile, co= ntainerEncoding, new Path[0]); + } = + + /** + * Adds a source container to a IJavaProject and imports all files contai= ned + * in the given ZIP file. + * @param jproject The parent project + * @param containerName Name of the source container + * @param zipFile Archive to import + * @param containerEncoding encoding for the generated source container + * @param exclusionFilters Exclusion filters to set + * @return The handle to the new source container + * @throws InvocationTargetException Creation failed + * @throws CoreException Creation failed + * @throws IOException Creation failed + */ = + public static IPackageFragmentRoot addSourceContainerWithImport(IJavaProj= ect jproject, String containerName, File zipFile, String containerEncoding,= IPath[] exclusionFilters) throws InvocationTargetException, CoreException,= IOException { + ZipFile file=3D new ZipFile(zipFile); + try { + IPackageFragmentRoot root=3D addSourceContainer(jproject, containerName= , exclusionFilters); + ((IContainer) root.getCorrespondingResource()).setDefaultCharset(contai= nerEncoding, null); + importFilesFromZip(file, root.getPath(), null); + return root; + } finally { + file.close(); + } + } + + /** + * Removes a source folder from a IJavaProject. + * @param jproject The parent project + * @param containerName Name of the source folder to remove + * @throws CoreException Remove failed + */ = + public static void removeSourceContainer(IJavaProject jproject, String co= ntainerName) throws CoreException { + IFolder folder=3D jproject.getProject().getFolder(containerName); + removeFromClasspath(jproject, folder.getFullPath()); + folder.delete(true, null); + } + + /** + * Adds a library entry to a IJavaProject. + * @param jproject The parent project + * @param path The path of the library to add + * @return The handle of the created root + * @throws JavaModelException = + */ = + public static IPackageFragmentRoot addLibrary(IJavaProject jproject, IPat= h path) throws JavaModelException { + return addLibrary(jproject, path, null, null); + } + + /** + * Adds a library entry with source attachment to a IJavaProject. + * @param jproject The parent project + * @param path The path of the library to add + * @param sourceAttachPath The source attachment path + * @param sourceAttachRoot The source attachment root path + * @return The handle of the created root + * @throws JavaModelException = + */ = + public static IPackageFragmentRoot addLibrary(IJavaProject jproject, IPat= h path, IPath sourceAttachPath, IPath sourceAttachRoot) throws JavaModelExc= eption { + IClasspathEntry cpe=3D JavaCore.newLibraryEntry(path, sourceAttachPath, = sourceAttachRoot); + addToClasspath(jproject, cpe); + return jproject.getPackageFragmentRoot(path.toString()); + } + = + + /** + * Copies the library into the project and adds it as library entry. + * @param jproject The parent project + * @param jarPath = + * @param sourceAttachPath The source attachment path + * @param sourceAttachRoot The source attachment root path + * @return The handle of the created root + * @throws IOException = + * @throws CoreException = + */ = + public static IPackageFragmentRoot addLibraryWithImport(IJavaProject jpro= ject, IPath jarPath, IPath sourceAttachPath, IPath sourceAttachRoot) throws= IOException, CoreException { + IProject project=3D jproject.getProject(); + IFile newFile=3D project.getFile(jarPath.lastSegment()); + InputStream inputStream=3D null; + try { + inputStream=3D new FileInputStream(jarPath.toFile()); = + newFile.create(inputStream, true, null); + } finally { + if (inputStream !=3D null) { + try { inputStream.close(); } catch (IOException e) { } + } + } = + return addLibrary(jproject, newFile.getFullPath(), sourceAttachPath, sou= rceAttachRoot); + } = + + /** + * Creates and adds a class folder to the class path. + * @param jproject The parent project + * @param containerName = + * @param sourceAttachPath The source attachment path + * @param sourceAttachRoot The source attachment root path + * @return The handle of the created root + * @throws CoreException = + */ = + public static IPackageFragmentRoot addClassFolder(IJavaProject jproject, = String containerName, IPath sourceAttachPath, IPath sourceAttachRoot) throw= s CoreException { + IProject project=3D jproject.getProject(); + IContainer container=3D null; + if (containerName =3D=3D null || containerName.length() =3D=3D 0) { + container=3D project; + } else { + IFolder folder=3D project.getFolder(containerName); + if (!folder.exists()) { + CoreUtility.createFolder(folder, false, true, null); + } + container=3D folder; + } + IClasspathEntry cpe=3D JavaCore.newLibraryEntry(container.getFullPath(),= sourceAttachPath, sourceAttachRoot); + addToClasspath(jproject, cpe); + return jproject.getPackageFragmentRoot(container); + } + + /** + * Creates and adds a class folder to the class path and imports all files + * contained in the given ZIP file. + * @param jproject The parent project + * @param containerName = + * @param sourceAttachPath The source attachment path + * @param sourceAttachRoot The source attachment root path + * @param zipFile = + * @return The handle of the created root + * @throws IOException = + * @throws CoreException = + * @throws InvocationTargetException = + */ = + public static IPackageFragmentRoot addClassFolderWithImport(IJavaProject = jproject, String containerName, IPath sourceAttachPath, IPath sourceAttachR= oot, File zipFile) throws IOException, CoreException, InvocationTargetExcep= tion { + ZipFile file=3D new ZipFile(zipFile); + try { + IPackageFragmentRoot root=3D addClassFolder(jproject, containerName, so= urceAttachPath, sourceAttachRoot); + importFilesFromZip(file, root.getPath(), null); + return root; + } finally { + file.close(); + } + } = + + = + /** + * Adds a variable entry with source attachment to a IJavaProject. + * Can return null if variable can not be resolved. + * @param jproject The parent project + * @param path The variable path + * @param sourceAttachPath The source attachment path (variable path) + * @param sourceAttachRoot The source attachment root path (variable path) + * @return The added package fragment root + * @throws JavaModelException = + */ = + public static IPackageFragmentRoot addVariableEntry(IJavaProject jproject= , IPath path, IPath sourceAttachPath, IPath sourceAttachRoot) throws JavaMo= delException { + IClasspathEntry cpe=3D JavaCore.newVariableEntry(path, sourceAttachPath,= sourceAttachRoot); + addToClasspath(jproject, cpe); + IPath resolvedPath=3D JavaCore.getResolvedVariablePath(path); + if (resolvedPath !=3D null) { + return jproject.getPackageFragmentRoot(resolvedPath.toString()); + } + return null; + } + = + = + + /** + * Adds a required project entry. + * @param jproject Parent project + * @param required Project to add to the build path + * @throws JavaModelException Creation failed + */ = + public static void addRequiredProject(IJavaProject jproject, IJavaProject= required) throws JavaModelException { + IClasspathEntry cpe=3D JavaCore.newProjectEntry(required.getProject().ge= tFullPath()); + addToClasspath(jproject, cpe); + } = + = + public static void removeFromClasspath(IJavaProject jproject, IPath path)= throws JavaModelException { + IClasspathEntry[] oldEntries=3D jproject.getRawClasspath(); + int nEntries=3D oldEntries.length; + ArrayList list=3D new ArrayList(nEntries); + for (int i=3D 0 ; i < nEntries ; i++) { + IClasspathEntry curr=3D oldEntries[i]; + if (!path.equals(curr.getPath())) { + list.add(curr); = + } + } + IClasspathEntry[] newEntries=3D (IClasspathEntry[])list.toArray(new ICla= sspathEntry[list.size()]); + jproject.setRawClasspath(newEntries, null); + } = + + /** + * Sets auto-building state for the test workspace. + * @param state The new auto building state + * @return The previous state + * @throws CoreException Change failed + */ + public static boolean setAutoBuilding(boolean state) throws CoreException= { + // disable auto build + IWorkspace workspace=3D ResourcesPlugin.getWorkspace(); + IWorkspaceDescription desc=3D workspace.getDescription(); + boolean result=3D desc.isAutoBuilding(); + desc.setAutoBuilding(state); + workspace.setDescription(desc); + return result; + } + + public static void addToClasspath(IJavaProject jproject, IClasspathEntry = cpe) throws JavaModelException { + IClasspathEntry[] oldEntries=3D jproject.getRawClasspath(); + for (int i=3D 0; i < oldEntries.length; i++) { + if (oldEntries[i].equals(cpe)) { + return; + } + } + int nEntries=3D oldEntries.length; + IClasspathEntry[] newEntries=3D new IClasspathEntry[nEntries + 1]; + System.arraycopy(oldEntries, 0, newEntries, 0, nEntries); + newEntries[nEntries]=3D cpe; + jproject.setRawClasspath(newEntries, null); + } + + = + private static void addNatureToProject(IProject proj, String natureId, IP= rogressMonitor monitor) throws CoreException { + IProjectDescription description =3D proj.getDescription(); + String[] prevNatures=3D description.getNatureIds(); + String[] newNatures=3D new String[prevNatures.length + 1]; + System.arraycopy(prevNatures, 0, newNatures, 0, prevNatures.length); + newNatures[prevNatures.length]=3D natureId; + description.setNatureIds(newNatures); + proj.setDescription(description, monitor); + } + = + private static void importFilesFromZip(ZipFile srcZipFile, IPath destPath= , IProgressMonitor monitor) throws InvocationTargetException { = + ZipFileStructureProvider structureProvider=3D new ZipFileStructureProvid= er(srcZipFile); + try { + ImportOperation op=3D new ImportOperation(destPath, structureProvider.g= etRoot(), structureProvider, new ImportOverwriteQuery()); + op.run(monitor); + } catch (InterruptedException e) { + // should not happen + } + } + = + /** + * Imports resources from bundleSourcePath to importTa= rget. + * = + * @param importTarget the parent container + * @param bundleSourcePath the path to a folder containing resources + * = + * @throws CoreException import failed + * @throws IOException import failed + */ + public static void importResources(IContainer importTarget, String bundle= SourcePath) throws CoreException, IOException { + Enumeration entryPaths=3D HibernateConsoleTestPlugin.getDefault().getBun= dle().getEntryPaths(bundleSourcePath); + while (entryPaths.hasMoreElements()) { + String path=3D (String) entryPaths.nextElement(); + IPath name=3D new Path(path.substring(bundleSourcePath.length())); + if (path.endsWith("/")) { + IFolder folder=3D importTarget.getFolder(name); + folder.create(false, true, null); + importResources(folder, path); + } else { + URL url=3D HibernateConsoleTestPlugin.getDefault().getBundle().getEntr= y(path); + IFile file=3D importTarget.getFile(name); + file.create(url.openStream(), true, null); + } + } + } + + private static class ImportOverwriteQuery implements IOverwriteQuery { + public String queryOverwrite(String file) { + return ALL; + } = + } = + = + private static class Requestor extends TypeNameRequestor{ + } +} + --===============1929804664508408089==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 14:33:19 2008 Content-Type: multipart/mixed; boundary="===============5658192437013616146==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5778 - trunk/documentation/guides/userguide/GettingStartedGuide/en/modules. Date: Thu, 17 Jan 2008 14:33:19 -0500 Message-ID: --===============5658192437013616146== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-17 14:33:19 -0500 (Thu, 17 Jan 2008) New Revision: 5778 Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/jsp_= application.xml Log: http://jira.jboss.com/jira/browse/JBDS-232 text correction Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modul= es/jsp_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/userguide/GettingStartedGuide/en/modules/jsp= _application.xml 2008-01-17 19:22:07 UTC (rev 5777) +++ trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/jsp= _application.xml 2008-01-17 19:33:19 UTC (rev 5778) @@ -188,7 +188,7 @@ ]]> If you come back to design mode you will see that the changes mad= e are automatically reflected in that mode. - Actually you don't really need any config right now. You can= clear the + Actually you don't really need to do any configurations righ= t now. You can clear the web.xml file, save it and you'll still be able to launch your application.
--===============5658192437013616146==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 15:13:35 2008 Content-Type: multipart/mixed; boundary="===============7826725362172901215==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5779 - in trunk/tests: plugins and 1 other directory. Date: Thu, 17 Jan 2008 15:13:35 -0500 Message-ID: --===============7826725362172901215== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-17 15:13:34 -0500 (Thu, 17 Jan 2008) New Revision: 5779 Added: trunk/tests/plugins/ trunk/tests/plugins/org.jboss.tools.test.product/ Log: Product that should be used during JUnut test execution to show SWT Welcome= screan insteda of default one which is InternalBrowser based --===============7826725362172901215==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 15:13:54 2008 Content-Type: multipart/mixed; boundary="===============2071939347932887530==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5780 - in trunk/tests/plugins/org.jboss.tools.test.product: META-INF and 1 other directories. Date: Thu, 17 Jan 2008 15:13:53 -0500 Message-ID: --===============2071939347932887530== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-17 15:13:53 -0500 (Thu, 17 Jan 2008) New Revision: 5780 Added: trunk/tests/plugins/org.jboss.tools.test.product/.classpath trunk/tests/plugins/org.jboss.tools.test.product/.eclipseproduct trunk/tests/plugins/org.jboss.tools.test.product/.project trunk/tests/plugins/org.jboss.tools.test.product/License.txt trunk/tests/plugins/org.jboss.tools.test.product/META-INF/ trunk/tests/plugins/org.jboss.tools.test.product/META-INF/MANIFEST.MF trunk/tests/plugins/org.jboss.tools.test.product/about.html trunk/tests/plugins/org.jboss.tools.test.product/build.properties trunk/tests/plugins/org.jboss.tools.test.product/config.ini trunk/tests/plugins/org.jboss.tools.test.product/eclipse.ini trunk/tests/plugins/org.jboss.tools.test.product/intro/ trunk/tests/plugins/org.jboss.tools.test.product/intro/introContent.xml trunk/tests/plugins/org.jboss.tools.test.product/intro/introData.xml trunk/tests/plugins/org.jboss.tools.test.product/plugin.properties trunk/tests/plugins/org.jboss.tools.test.product/plugin.xml trunk/tests/plugins/org.jboss.tools.test.product/plugin_customization.ini trunk/tests/plugins/org.jboss.tools.test.product/src/ trunk/tests/plugins/org.jboss.tools.test.product/test.product Log: Added: trunk/tests/plugins/org.jboss.tools.test.product/.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/tests/plugins/org.jboss.tools.test.product/.classpath = (rev 0) +++ trunk/tests/plugins/org.jboss.tools.test.product/.classpath 2008-01-17 = 20:13:53 UTC (rev 5780) @@ -0,0 +1,7 @@ + + + + + + + Property changes on: trunk/tests/plugins/org.jboss.tools.test.product/.clas= spath ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/tests/plugins/org.jboss.tools.test.product/.eclipseproduct =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/plugins/org.jboss.tools.test.product/.eclipseproduct = (rev 0) +++ trunk/tests/plugins/org.jboss.tools.test.product/.eclipseproduct 2008-0= 1-17 20:13:53 UTC (rev 5780) @@ -0,0 +1,5 @@ +#Eclipse Product File + +version=3D1.0.0 +name=3DJBoss Tools Test +id=3Dorg.jboss.tools.product Added: trunk/tests/plugins/org.jboss.tools.test.product/.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/plugins/org.jboss.tools.test.product/.project = (rev 0) +++ trunk/tests/plugins/org.jboss.tools.test.product/.project 2008-01-17 20= :13:53 UTC (rev 5780) @@ -0,0 +1,28 @@ + + + org.jboss.tools.test.product + + + + + + 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/tests/plugins/org.jboss.tools.test.product/.proj= ect ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/tests/plugins/org.jboss.tools.test.product/License.txt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/plugins/org.jboss.tools.test.product/License.txt = (rev 0) +++ trunk/tests/plugins/org.jboss.tools.test.product/License.txt 2008-01-17= 20:13:53 UTC (rev 5780) @@ -0,0 +1 @@ +The JBDS License! \ No newline at end of file Property changes on: trunk/tests/plugins/org.jboss.tools.test.product/Licen= se.txt ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/tests/plugins/org.jboss.tools.test.product/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/plugins/org.jboss.tools.test.product/META-INF/MANIFEST.MF = (rev 0) +++ trunk/tests/plugins/org.jboss.tools.test.product/META-INF/MANIFEST.MF 2= 008-01-17 20:13:53 UTC (rev 5780) @@ -0,0 +1,16 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: JBoss Tools Test Product +Bundle-SymbolicName: org.jboss.tools.test.product;singleton:=3Dtrue +Bundle-Version: 2.0.0 +Bundle-Vendor: JBoss, a division of Red Hat +Bundle-Localization: plugin +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.eclipse.ui.ide, + org.eclipse.ui.ide.application, + org.eclipse.ui.intro, + org.eclipse.ui.intro.universal, + org.eclipse.help, + org.eclipse.ui.cheatsheets +Eclipse-LazyStart: true Property changes on: trunk/tests/plugins/org.jboss.tools.test.product/META-= INF/MANIFEST.MF ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/tests/plugins/org.jboss.tools.test.product/about.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/tests/plugins/org.jboss.tools.test.product/about.html = (rev 0) +++ trunk/tests/plugins/org.jboss.tools.test.product/about.html 2008-01-17 = 20:13:53 UTC (rev 5780) @@ -0,0 +1,34 @@ + + + + +About + + + + + +

About This Content

+ +

©2007 Red Hat, Inc. All rights reserved

+ +

License

+ +

Red Hat Inc., through its JBoss division, makes available all content i= n this plug-in = +("Content"). Unless otherwise indicated below, the Content is provided to = you = +under the terms and conditions of the Eclipse Public License Version 1.0 = +("EPL"). A copy of the EPL is available at +http://www.ec= lipse.org/org/documents/epl-v10.php. = +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from Red Hat Inc., the = +Content is being redistributed by another party ("Redistributor") and diff= erent = +terms and conditions may apply to your use of any object code in the Conte= nt. = +Check the Redistributor's license that was provided with the Content. If n= o such = +license exists, contact the Redistributor. Unless otherwise indicated belo= w, the = +terms and conditions of the EPL still apply to any source code in the Cont= ent = +and such source code may be obtained at + http://www.jboss.org/tools. + + + \ No newline at end of file Property changes on: trunk/tests/plugins/org.jboss.tools.test.product/about= .html ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/tests/plugins/org.jboss.tools.test.product/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/tests/plugins/org.jboss.tools.test.product/build.properties = (rev 0) +++ trunk/tests/plugins/org.jboss.tools.test.product/build.properties 2008-= 01-17 20:13:53 UTC (rev 5780) @@ -0,0 +1,26 @@ +output.. =3D bin/ +bin.includes =3D META-INF/,\ + plugin.xml,\ + plugin.properties,\ + plugin_customization.ini,\ + License.txt,\ + .eclipseproduct,\ + eclipse.ini,\ + intro/,\ + test.product,\ + about.html,\ + config.ini +src.includes =3D License.txt,\ + src/,\ + plugin_customization.ini,\ + plugin.xml,\ + plugin.properties,\ + eclipse.ini,\ + config.ini,\ + build.properties,\ + META-INF/,\ + .project,\ + .eclipseproduct,\ + .classpath,\ + intro/ +jars.compile.order =3D = Property changes on: trunk/tests/plugins/org.jboss.tools.test.product/build= .properties ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/tests/plugins/org.jboss.tools.test.product/config.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/tests/plugins/org.jboss.tools.test.product/config.ini = (rev 0) +++ trunk/tests/plugins/org.jboss.tools.test.product/config.ini 2008-01-17 = 20:13:53 UTC (rev 5780) @@ -0,0 +1,58 @@ +# Eclipse runtime configuration file +# This file contains a number of key/value pairs that are merged into the = +# System properties on system startup. The values control the way the = +# runtime is structured and runs. + +# Note: Only platform:/base/ and file: URLs are supported. In general th= e = +# URLs given may include a version number (e.g., .../location_1.2.3). = +# If a version is not specified, the system binds +# to the location which matches exactly or to the versioned location with = the +# latest version number. If a version number is given then only exact mat= ches +# are considered. + +# The URL for the runtime entry point. The default value is +# platform:/base/plugins/org.eclipse.osgi = +#osgi.framework =3D platform:/base/plugins/org.eclipse.osgi + +# The classpath for the framework found at the osgi.framework location. T= his = +# comma-separated list contains either URLs or simple element names. Simp= le +# names are assumed to be relative to the framework's install directory. = +# Typically this value need not be set as it is initialized by the framewo= rk itself. +# Version match searching is not done for URLs listed here. +#osgi.frameworkClassPath =3D + +# The comma-separated list of locations to search for the splash screen fi= le (splash.bmp). +# For each list element a subdirectory structure based on the pattern nl/<= locale> is searched. +# The system binds to the first matching file. There is no default value. +osgi.splashPath =3D + +# The location of the splash screen file. If this value is set at system = startup it is used = +# in favour of the osgi.splashPath searching outlined above. If the value= is not set = +# the searching is done and this key is bound to the result of the search. +#osgi.splashLocation =3D + +# The comma-separated list of bundles which are automatically installed an= d optionally started +# once the system is up and running. Each entry if of the form +# [@ [] [":start"]] +# If the startlevel is omitted then the framework will use the default sta= rt level for the bundle. +# If the "start" tag is added then the bundle will be marked as started af= ter being installed. +# Simple bundle locations are interepreted as relative to the framework's = parent directory. +# The startlevel indicates the OSGi start level at which the bundle should= run. +# If this value is not set, the system computes an appropriate default. +osgi.bundles=3Dorg.eclipse.equinox.common(a)2:start, org.eclipse.update.co= nfigurator(a)3:start, org.eclipse.core.runtime(a)start + +# The product to run. A given Eclipse configuration may contain many prod= ucts. +# The product identified will supply the branding (window icons, title bar= text) etc = +# as well as define the default application to run. = +eclipse.product=3Dcom.jboss.jbds.product.product + +# The application to run. The value specified here is the id of the appli= cation extension +# the runtime will find, instantiate and execute once the system is up. N= ote that typically = +# the identified eclipse.product defines the default application to run. +#eclipse.application=3D + +# The default workspace location +osgi.instance.area.default=3D@user.home/workspace + +# End of file marker - must be here +eof=3Deof \ No newline at end of file Property changes on: trunk/tests/plugins/org.jboss.tools.test.product/confi= g.ini ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/tests/plugins/org.jboss.tools.test.product/eclipse.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/tests/plugins/org.jboss.tools.test.product/eclipse.ini = (rev 0) +++ trunk/tests/plugins/org.jboss.tools.test.product/eclipse.ini 2008-01-17= 20:13:53 UTC (rev 5780) @@ -0,0 +1,5 @@ +-vmargs +-Xms128m +-Xmx512m +-XX:MaxPermSize=3D128m + Property changes on: trunk/tests/plugins/org.jboss.tools.test.product/eclip= se.ini ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/tests/plugins/org.jboss.tools.test.product/intro/introContent.= 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/tests/plugins/org.jboss.tools.test.product/intro/introContent.xml= (rev 0) +++ trunk/tests/plugins/org.jboss.tools.test.product/intro/introContent.xml= 2008-01-17 20:13:53 UTC (rev 5780) @@ -0,0 +1,7 @@ + + + + + + = + \ No newline at end of file Property changes on: trunk/tests/plugins/org.jboss.tools.test.product/intro= /introContent.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/tests/plugins/org.jboss.tools.test.product/intro/introData.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/tests/plugins/org.jboss.tools.test.product/intro/introData.xml = (rev 0) +++ trunk/tests/plugins/org.jboss.tools.test.product/intro/introData.xml 20= 08-01-17 20:13:53 UTC (rev 5780) @@ -0,0 +1,3 @@ + + + Property changes on: trunk/tests/plugins/org.jboss.tools.test.product/intro= /introData.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/tests/plugins/org.jboss.tools.test.product/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/tests/plugins/org.jboss.tools.test.product/plugin.properties = (rev 0) +++ trunk/tests/plugins/org.jboss.tools.test.product/plugin.properties 2008= -01-17 20:13:53 UTC (rev 5780) @@ -0,0 +1,18 @@ +aboutText=3DJBoss Developer Studio\n\ +\n\ +Version: CR1\n\ +Build id: 1.0.0\n\ +\n\ +(c) Red Hat Middleware LLC, Eclipse contributors, and others 2006.\n\ +Homepage: http://labs.jboss.com/portal/rhdevstudio\n\ +User Forums: http://jboss.com/index.html?module=3Dbb&op=3Dviewforum&f=3D20= 1\n + +actionSets.online_help.label=3DJBoss Developer Studio Help + +introTitle=3DWelcome to\nJBoss Developer Studio +#introBrandingImage=3Dproduct:ico_16_jbds.png +introBrandingImage=3Dproduct:ico_32_jbds.png +introBrandingImage=3Dico_16_jbds.png +introBrandingImage=3Dico_32_jbds.png +introBrandingImageText=3DRed Hat + Property changes on: trunk/tests/plugins/org.jboss.tools.test.product/plugi= n.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/tests/plugins/org.jboss.tools.test.product/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/tests/plugins/org.jboss.tools.test.product/plugin.xml = (rev 0) +++ trunk/tests/plugins/org.jboss.tools.test.product/plugin.xml 2008-01-17 = 20:13:53 UTC (rev 5780) @@ -0,0 +1,76 @@ + + + + + + + = + = + = + + + + + + + + = + + + + = + + + + + + + + + + + + = + + = + = + Property changes on: trunk/tests/plugins/org.jboss.tools.test.product/plugi= n.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/tests/plugins/org.jboss.tools.test.product/plugin_customizatio= n.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/tests/plugins/org.jboss.tools.test.product/plugin_customization.i= ni (rev 0) +++ trunk/tests/plugins/org.jboss.tools.test.product/plugin_customization.i= ni 2008-01-17 20:13:53 UTC (rev 5780) @@ -0,0 +1,40 @@ +# plugin_customization.ini = +# sets default values for plug-in-specific preferences +# keys are qualified by plug-in id +# e.g., com.example.acmeplugin/myproperty=3Dmyvalue +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# "%key" are externalized strings defined in plugin_customization.properti= es +# This file does not need to be translated. + +# Property "org.eclipse.ui/defaultPerspectiveId" controls the = +# perspective that the workbench opens initially +org.eclipse.ui/defaultPerspectiveId=3Dorg.jboss.tools.seam.ui.SeamPerspect= ive + +# new-style tabs by default +org.eclipse.ui/SHOW_TRADITIONAL_STYLE_TABS=3Dfalse + +# put the perspective switcher on the top right +org.eclipse.ui/DOCK_PERSPECTIVE_BAR=3DtopRight + +# show progress on startup +org.eclipse.ui/SHOW_PROGRESS_ON_STARTUP=3Dtrue + +# use the window set by default +org.eclipse.ui/USE_WINDOW_WORKING_SET_BY_DEFAULT=3Dtrue + +# Intro-related preferences (since 3.2) + +# Welcome theme to use +org.eclipse.ui.intro/INTRO_THEME =3D com.jboss.jbds.product.intro.jbds + +# Root page links to show in the Universal Welcome +org.eclipse.ui.intro.universal/INTRO_ROOT_PAGES =3D gettingstarted,createn= ew,perspectives,webresources + +# Initial page layout of the Universal Welcome +org.eclipse.ui.intro.universal/INTRO_DATA =3D product:intro/introData.xml + +# To enable Use External Browser preference = +# org.eclipse.ui.browser/browser-choice =3D 1 + +# Enables the build id to show up via the default EclipseSplashHandler +# org.eclipse.ui.workbench/SHOW_BUILDID_ON_STARTUP=3Dtrue Property changes on: trunk/tests/plugins/org.jboss.tools.test.product/plugi= n_customization.ini ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/tests/plugins/org.jboss.tools.test.product/test.product =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/plugins/org.jboss.tools.test.product/test.product = (rev 0) +++ trunk/tests/plugins/org.jboss.tools.test.product/test.product 2008-01-1= 7 20:13:53 UTC (rev 5780) @@ -0,0 +1,84 @@ + + + + + + + + + %aboutText + + + + + + + -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.sm= allFonts + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Property changes on: trunk/tests/plugins/org.jboss.tools.test.product/test.= product ___________________________________________________________________ Name: svn:mime-type + text/plain --===============2071939347932887530==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 15:14:51 2008 Content-Type: multipart/mixed; boundary="===============2093755845242137217==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5781 - in trunk/hibernatetools: plugins/org.hibernate.eclipse.jdt.ui/META-INF and 12 other directories. Date: Thu, 17 Jan 2008 15:14:51 -0500 Message-ID: --===============2093755845242137217== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-17 15:14:50 -0500 (Thu, 17 Jan 2008) New Revision: 5781 Added: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibern= ate/eclipse/jdt/ui/internal/ELTransformer.java trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/.classpath trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/.project trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/META-INF/ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/META-INF/MA= NIFEST.MF trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/build.prope= rties trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hib= ernate/ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hib= ernate/eclipse/ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hib= ernate/eclipse/jdt/ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hib= ernate/eclipse/jdt/ui/ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hib= ernate/eclipse/jdt/ui/test/ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hib= ernate/eclipse/jdt/ui/test/ELTransformerTest.java trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hib= ernate/eclipse/jdt/ui/test/HQLQueryValidatorTest.java trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hib= ernate/eclipse/jdt/ui/test/HibernateJDTuiTestPlugin.java trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hib= ernate/eclipse/jdt/ui/test/JDTuiAllTests.java trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/testresourc= es/ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/testresourc= es/ejb3-persistence.jar Modified: trunk/hibernatetools/features/org.hibernate.eclipse.test.feature/feature= .xml trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/META-INF/MANIF= EST.MF trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibern= ate/eclipse/jdt/ui/internal/HQLDetector.java trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibern= ate/eclipse/jdt/ui/internal/HQLExpressionCompilerParticipant.java trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibern= ate/eclipse/jdt/ui/internal/HQLProblem.java Log: http://jira.jboss.com/jira/browse/JBIDE-1533 HQL validation now "ignores" EL expressions by replacing #{bla blah} with := _bla_bla_ so it looks like a named parameter. + proper tests. Modified: trunk/hibernatetools/features/org.hibernate.eclipse.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/hibernatetools/features/org.hibernate.eclipse.test.feature/featur= e.xml 2008-01-17 20:13:53 UTC (rev 5780) +++ trunk/hibernatetools/features/org.hibernate.eclipse.test.feature/featur= e.xml 2008-01-17 20:14:50 UTC (rev 5781) @@ -23,4 +23,11 @@ install-size=3D"0" version=3D"0.0.0"/> = + + Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/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/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/META-INF/MANI= FEST.MF 2008-01-17 20:13:53 UTC (rev 5780) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/META-INF/MANI= FEST.MF 2008-01-17 20:14:50 UTC (rev 5781) @@ -18,3 +18,5 @@ org.hibernate.eclipse, org.hibernate.eclipse.console Eclipse-LazyStart: true +Export-Package: org.hibernate.eclipse.jdt.ui, + org.hibernate.eclipse.jdt.ui.internal Added: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hi= bernate/eclipse/jdt/ui/internal/ELTransformer.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.jdt.ui/src/org/hiber= nate/eclipse/jdt/ui/internal/ELTransformer.java (re= v 0) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hiber= nate/eclipse/jdt/ui/internal/ELTransformer.java 2008-01-17 20:14:50 UTC (re= v 5781) @@ -0,0 +1,27 @@ +package org.hibernate.eclipse.jdt.ui.internal; + +public class ELTransformer { + + /** + * transform any #{el expressions} into named parameters so HQL validatio= n won't fail on it. + * @param hql + * @return + */ + static public String removeEL(String hql) { + int elStart =3D hql.indexOf("#{"); + int next =3D hql.indexOf("}", elStart); + = + while(elStart!=3D-1 && next!=3D-1) { + String result =3D hql.substring(0, elStart); + result +=3D ":_" + hql.substring(elStart+2, next).replaceAll("[^\\p{j= avaJavaIdentifierStart}]","_") + "_"; + result +=3D hql.substring(next+1); = + = + hql =3D result; + = + elStart =3D hql.indexOf("#{"); + next =3D hql.indexOf("}", elStart); + } + = + return hql; + } +} Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org= /hibernate/eclipse/jdt/ui/internal/HQLDetector.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.jdt.ui/src/org/hiber= nate/eclipse/jdt/ui/internal/HQLDetector.java 2008-01-17 20:13:53 UTC (rev = 5780) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hiber= nate/eclipse/jdt/ui/internal/HQLDetector.java 2008-01-17 20:14:50 UTC (rev = 5781) @@ -43,7 +43,7 @@ if(value instanceof StringLiteral) { StringLiteral sl =3D (StringLiteral)value; try { - checkQuery( consoleConfiguration, sl.getLiteralValue() ); + checkQuery( consoleConfiguration, sl.getLiteralValue(), true ); } catch(RuntimeException re) { problems.add(new HQLProblem(re.getLocalizedMessage(), true, resourc= e, sl.getStartPosition(), sl.getStartPosition()+sl.getLength()-1, getLineNu= mber(sl.getStartPosition()))); } @@ -81,7 +81,7 @@ StringLiteral sl =3D (StringLiteral) object; String literalValue =3D sl.getLiteralValue(); try { - checkQuery( consoleConfiguration, literalValue ); + checkQuery( consoleConfiguration, literalValue, true ); } catch(RuntimeException re) { problems.add(new HQLProblem(re.getLocalizedMessage(), true, resource= , sl.getStartPosition(), sl.getStartPosition()+sl.getLength()-1, getLineNum= ber( sl.getStartPosition() ))); } @@ -96,14 +96,25 @@ } = } = - private void checkQuery(ConsoleConfiguration cc, String query) { + /** + * Given a ConsoleConfiguration and a query this method validates the que= ry through hibernate if a sessionfactory is available. + * @param cc + * @param query + * @param allowEL if true, EL syntax will be replaced as a named variable + * @throws HibernteException if something is wrong with the query + */ + public static void checkQuery(ConsoleConfiguration cc, String query, bool= ean allowEL) { if(cc!=3Dnull && cc.isSessionFactoryCreated()) { + if(allowEL) { + query =3D ELTransformer.removeEL(query); + } new HQLQueryPlan(query, false, Collections.EMPTY_MAP, (SessionFactoryIm= pl)cc.getSessionFactory()); } else { = //messager.printWarning( annoValue.getPosition(), "Could not verify syn= tax. SessionFactory not created." ); } = } = + = public List getProblems() { return problems; } Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org= /hibernate/eclipse/jdt/ui/internal/HQLExpressionCompilerParticipant.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.jdt.ui/src/org/hiber= nate/eclipse/jdt/ui/internal/HQLExpressionCompilerParticipant.java 2008-01-= 17 20:13:53 UTC (rev 5780) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hiber= nate/eclipse/jdt/ui/internal/HQLExpressionCompilerParticipant.java 2008-01-= 17 20:14:50 UTC (rev 5781) @@ -1,9 +1,5 @@ package org.hibernate.eclipse.jdt.ui.internal; = -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.jdt.core.ICompilationUnit; import org.eclipse.jdt.core.IJavaProject; import org.eclipse.jdt.core.compiler.BuildContext; @@ -15,15 +11,13 @@ import org.eclipse.jdt.core.dom.ASTParser; import org.eclipse.jdt.core.dom.CompilationUnit; import org.hibernate.console.ConsoleConfiguration; -import org.hibernate.eclipse.console.HibernateConsolePlugin; import org.hibernate.eclipse.console.utils.ProjectUtils; -import org.hibernate.eclipse.jdt.ui.Activator; import org.hibernate.eclipse.nature.HibernateNature; = public class HQLExpressionCompilerParticipant extends CompilationParticipa= nt { = public HQLExpressionCompilerParticipant() { - // TODO Auto-generated constructor stub + = } = protected CompilationUnit parse(ICompilationUnit unit) { Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org= /hibernate/eclipse/jdt/ui/internal/HQLProblem.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.jdt.ui/src/org/hiber= nate/eclipse/jdt/ui/internal/HQLProblem.java 2008-01-17 20:13:53 UTC (rev 5= 780) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hiber= nate/eclipse/jdt/ui/internal/HQLProblem.java 2008-01-17 20:14:50 UTC (rev 5= 781) @@ -5,7 +5,7 @@ import org.eclipse.jdt.core.compiler.IProblem; import org.hibernate.eclipse.jdt.ui.Activator; = -class HQLProblem extends CategorizedProblem implements IProblem = +public class HQLProblem extends CategorizedProblem implements IProblem = { = private int startingOffset; private int endingOffset; Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.u= i.test ___________________________________________________________________ Name: svn:ignore + bin Added: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.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/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/.classpath= (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/.classpath= 2008-01-17 20:14:50 UTC (rev 5781) @@ -0,0 +1,11 @@ + + + + + + + + + + + Added: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.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/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/.project = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/.project 2= 008-01-17 20:14:50 UTC (rev 5781) @@ -0,0 +1,28 @@ + + + org.hibernate.eclipse.jdt.ui.test + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + Added: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.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/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/META-INF/M= ANIFEST.MF (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/META-INF/M= ANIFEST.MF 2008-01-17 20:14:50 UTC (rev 5781) @@ -0,0 +1,18 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Hibernate Tools JDT integration Test Plug-in +Bundle-SymbolicName: org.hibernate.eclipse.jdt.ui.test +Bundle-Version: 1.0.0 +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.hibernate.eclipse.console.test, + org.hibernate.eclipse.console, + org.hibernate.eclipse.jdt.ui, + org.hibernate.eclipse, + org.junit, + org.eclipse.core.resources, + org.eclipse.jdt.core, + org.eclipse.jdt.launching +Eclipse-LazyStart: true +Export-Package: org.hibernate.eclipse.jdt.ui.test +Bundle-Activator: org.hibernate.eclipse.jdt.ui.test.HibernateJDTuiTestPlug= in Added: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.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/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/build.prop= erties (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/build.prop= erties 2008-01-17 20:14:50 UTC (rev 5781) @@ -0,0 +1,5 @@ +source.. =3D src/ +output.. =3D bin/ +bin.includes =3D META-INF/,\ + .,\ + testresources/ Added: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org= /hibernate/eclipse/jdt/ui/test/ELTransformerTest.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.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/ELTransformerTest.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/ELTransformerTest.java 2008-01-17 20:14:50 UTC = (rev 5781) @@ -0,0 +1,18 @@ +package org.hibernate.eclipse.jdt.ui.test; + +import org.hibernate.eclipse.jdt.ui.internal.ELTransformer; + +import junit.framework.TestCase; + +public class ELTransformerTest extends TestCase { + + public void testTransformer() { + = + assertEquals("from Test", ELTransformer.removeEL("from Test")); + assertEquals("from Test where t.x =3D :_customer_id_", ELTransformer.rem= oveEL("from Test where t.x =3D #{customer.id}")); + assertEquals("from Test where t.x =3D #{customer.id", ELTransformer.remo= veEL("from Test where t.x =3D #{customer.id")); + assertEquals("from Test where t.x =3D :_customer_id_ and x =3D :_id_ ", = ELTransformer.removeEL("from Test where t.x =3D #{customer.id} and x =3D #{= id} ")); + assertEquals("from Test where t.x =3D :_customer_id_and_x_____id_ ", ELT= ransformer.removeEL("from Test where t.x =3D #{customer.id and x =3D #{id} = ")); + assertEquals("from Test where t.x =3D :_id_______", ELTransformer.remove= EL("from Test where t.x =3D #{id+-&*()}")); + } +} \ No newline at end of file Added: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org= /hibernate/eclipse/jdt/ui/test/HQLQueryValidatorTest.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.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/HQLQueryValidatorTest.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/HQLQueryValidatorTest.java 2008-01-17 20:14:50 = UTC (rev 5781) @@ -0,0 +1,175 @@ +package org.hibernate.eclipse.jdt.ui.test; + + +import java.io.ByteArrayInputStream; +import java.io.File; +import java.io.IOException; + +import org.eclipse.core.resources.IncrementalProjectBuilder; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.NullProgressMonitor; +import org.eclipse.core.runtime.Path; +import org.eclipse.jdt.core.IClasspathEntry; +import org.eclipse.jdt.core.ICompilationUnit; +import org.eclipse.jdt.core.IPackageFragment; +import org.eclipse.jdt.core.IPackageFragmentRoot; +import org.eclipse.jdt.core.IType; +import org.eclipse.jdt.core.JavaCore; +import org.eclipse.jdt.core.JavaModelException; +import org.eclipse.jdt.core.dom.AST; +import org.eclipse.jdt.core.dom.ASTNode; +import org.eclipse.jdt.core.dom.ASTParser; +import org.eclipse.jdt.core.dom.CompilationUnit; +import org.eclipse.jdt.internal.core.JavaProject; +import org.eclipse.jdt.launching.JavaRuntime; +import org.hibernate.HibernateException; +import org.hibernate.console.ConsoleConfiguration; +import org.hibernate.console.HibernateConsoleRuntimeException; +import org.hibernate.console.KnownConfigurations; +import org.hibernate.console.preferences.ConsoleConfigurationPreferences.C= onfigurationMode; +import org.hibernate.eclipse.console.EclipseConsoleConfiguration; +import org.hibernate.eclipse.console.EclipseConsoleConfigurationPreference= s; +import org.hibernate.eclipse.console.test.HibernateConsoleTest; +import org.hibernate.eclipse.console.test.HibernateConsoleTestPlugin; +import org.hibernate.eclipse.console.test.SimpleTestProject; +import org.hibernate.eclipse.console.test.xpl.JavaProjectHelper; +import org.hibernate.eclipse.console.utils.ProjectUtils; +import org.hibernate.eclipse.jdt.ui.internal.HQLDetector; +import org.hibernate.eclipse.jdt.ui.internal.HQLProblem; + +public class HQLQueryValidatorTest extends HibernateConsoleTest { + + = + private ConsoleConfiguration ccfg; + + public HQLQueryValidatorTest(String name) { + super(name); = + } + = + @Override + protected SimpleTestProject createTestProject() { + return new SimpleTestProject("hqlquerytest") { + = + @Override + protected void buildSimpleTestProject() throws JavaModelException, + CoreException, IOException { = + super.buildSimpleTestProject(); + = + = + //set up project #3: file system structure with project as source fold= er + //add an internal jar + File ejb3lib=3D HibernateJDTuiTestPlugin.getDefault().getFileInPlugin(= new Path("testresources/ejb3-persistence.jar")); //$NON-NLS-1$ + assertTrue("ejb3 lib not found", ejb3lib !=3D null && ejb3lib.exists()= ); //$NON-NLS-1$ + = + JavaProjectHelper.addToClasspath(getIJavaProject(), JavaRuntime.getDef= aultJREContainerEntry()); + = + IPackageFragmentRoot addLibraryWithImport =3D JavaProjectHelper.addLib= raryWithImport(getIJavaProject(), Path.fromOSString(ejb3lib.getPath()), nul= l, null); + = + assertEquals(3,getIJavaProject().getRawClasspath().length); + = + getIProject().getFolder("src/META-INF").create(true, true, new NullPro= gressMonitor()); + getIProject().getFile("src/META-INF/persistence.xml").create( + new ByteArrayInputStream(("\n" + = + " \n" + = + " test.TestClass\n" + = + " \n" + = + " \n" + = + " \n" + = + " \n" + = + " \n" + = + " \n" + + " \n" + = + " \n" + = + " \n" + = + "").getBytes()), + false /* force */, new NullProgressMonitor()); + = + getIProject().findMember("src/META-INF/persistence.xml"); + getIProject().build(IncrementalProjectBuilder.FULL_BUILD, new NullPro= gressMonitor()); + } + = + @Override + protected IType buildType(IPackageFragment pack, String cuName) + throws JavaModelException { + ICompilationUnit cu =3D pack.createCompilationUnit(cuName, + "", false, null); + = + cu.createPackageDeclaration(pack.getElementName(),null); + IType type =3D cu.createType( + "@javax.persistence.NamedQuery(name=3D\"fromUnknown\", query=3D\"fro= m Unknown\")\n" + + "@javax.persistence.Entity\n" + + "public class " + TYPE_NAME + " {}",null,false,null); + type.createField("@javax.persistence.Id private int id;",null,false,nu= ll); + type.createField("private String testField;",null,false,null); + type.createMethod("public String getTestField() {return this.testField= ;}",null,false,null); + type.createMethod("public void setTestField(String testField) {this.te= stField =3D testField;}",null,false,null); + return type; + } + }; + } + + @Override + protected void setUp() throws Exception { + = + super.setUp(); + = + String prjName =3D getProject().getIProject().getName(); + = + EclipseConsoleConfigurationPreferences preferences =3D new EclipseConsol= eConfigurationPreferences(prjName, + ConfigurationMode.JPA, prjName, true, null, null, null, new IPath[0], = new IPath[0], null, null); + = + ccfg =3D KnownConfigurations.getInstance().addConfiguration(new EclipseC= onsoleConfiguration(preferences), false); + = + assertTrue(ProjectUtils.toggleHibernateOnProject(getProject().getIProjec= t(), true, prjName)); + = + ccfg.build(); + ccfg.buildSessionFactory(); + = + } + = + @Override + protected void tearDown() throws Exception { + ccfg.reset(); + super.tearDown(); + } + public void testHQLDetector() throws JavaModelException { + + ASTParser parser =3D ASTParser.newParser( AST.JLS3 ); + parser.setKind( ASTParser.K_COMPILATION_UNIT ); + parser.setSource( getProject().getTestClassType().getSource().toCharArra= y() ); + parser.setResolveBindings( false ); + ASTNode node =3D parser.createAST( null ); + CompilationUnit cu =3D null; + if(node instanceof CompilationUnit) { + cu =3D (CompilationUnit) node; + } = + HQLDetector hqlDetector =3D new HQLDetector(cu, ccfg, getProject().getTe= stClassType().getResource()); + node.accept(hqlDetector); + = + assertEquals(1, hqlDetector.getProblems().size()); + = + HQLProblem hqlProblem =3D (HQLProblem) hqlDetector.getProblems().get(0); + assertTrue(hqlProblem.getMessage().contains("from Unknown")); + = + } + = + public void testCheckQueryEL() { + = + HQLDetector.checkQuery(ccfg, "from java.lang.Object", false); + HQLDetector.checkQuery(ccfg, "from TestClass", false); + = + try { + HQLDetector.checkQuery(ccfg, "from TestClass where id =3D #{some.id.fiel= d}", false); + fail("should have failed with EL expressions!"); + } catch (HibernateException he) { + // ok + } + = + HQLDetector.checkQuery(ccfg, "from TestClass where id =3D #{some.id.fiel= d}", true); + HQLDetector.checkQuery(ccfg, "from TestClass where id =3D #{some.id.fiel= d=3D}", true); + HQLDetector.checkQuery(ccfg, "from TestClass where id =3D #{some.id and = field=3D}", true); + } + = + = +} Added: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org= /hibernate/eclipse/jdt/ui/test/HibernateJDTuiTestPlugin.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.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/HibernateJDTuiTestPlugin.java = (rev 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/HibernateJDTuiTestPlugin.java 2008-01-17 20:14:= 50 UTC (rev 5781) @@ -0,0 +1,68 @@ +package org.hibernate.eclipse.jdt.ui.test; + +import java.io.File; +import java.io.IOException; +import java.net.URL; + +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.FileLocator; +import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class HibernateJDTuiTestPlugin extends AbstractUIPlugin { + + // The plug-in ID + public static final String PLUGIN_ID =3D "org.hibernate.eclipse.jdt.ui.te= st"; + + // The shared instance + private static HibernateJDTuiTestPlugin plugin; + = + /** + * The constructor + */ + public HibernateJDTuiTestPlugin() { + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.B= undleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin =3D this; + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.Bu= ndleContext) + */ + public void stop(BundleContext context) throws Exception { + plugin =3D null; + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static HibernateJDTuiTestPlugin getDefault() { + return plugin; + } + = + public File getFileInPlugin(IPath path) throws CoreException { + try { + URL installURL=3D new URL(getBundle().getEntry("/"), path.toString()); + URL localURL=3D FileLocator.toFileURL(installURL); + return new File(localURL.getFile()); + } catch (IOException e) { + throw new CoreException(new Status(IStatus.ERROR, getBundle().getSymbol= icName(), IStatus.ERROR, e.getMessage(), e)); + } + } +} Added: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org= /hibernate/eclipse/jdt/ui/test/JDTuiAllTests.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.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/JDTuiAllTests.java (rev= 0) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/JDTuiAllTests.java 2008-01-17 20:14:50 UTC (rev= 5781) @@ -0,0 +1,18 @@ +package org.hibernate.eclipse.jdt.ui.test; + +import junit.framework.Test; +import junit.framework.TestSuite; + +public class JDTuiAllTests { + + public static Test suite() { + TestSuite suite =3D new TestSuite( + "Test for org.hibernate.eclipse.jdt.ui.test"); + //$JUnit-BEGIN$ + suite.addTestSuite(HQLQueryValidatorTest.class); + suite.addTestSuite(ELTransformerTest.class); + //$JUnit-END$ + return suite; + } + +} Added: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/testres= ources/ejb3-persistence.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) Property changes on: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.u= i.test/testresources/ejb3-persistence.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream --===============2093755845242137217==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 15:25:30 2008 Content-Type: multipart/mixed; boundary="===============3546195663248065095==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5782 - in trunk: jsf/tests/org.jboss.tools.jsf.vpe.html.test and 5 other directories. Date: Thu, 17 Jan 2008 15:25:30 -0500 Message-ID: --===============3546195663248065095== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-17 15:25:30 -0500 (Thu, 17 Jan 2008) New Revision: 5782 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/ trunk/seam/docs/ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/ Log: bin/build ignore Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.facelets.test ___________________________________________________________________ Name: svn:ignore + bin Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.html.test ___________________________________________________________________ Name: svn:ignore + bin Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test ___________________________________________________________________ Name: svn:ignore + bin Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test ___________________________________________________________________ Name: svn:ignore + bin Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test ___________________________________________________________________ Name: svn:ignore + bin Property changes on: trunk/seam/docs ___________________________________________________________________ Name: svn:ignore + build Property changes on: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.t= est ___________________________________________________________________ Name: svn:ignore + bin --===============3546195663248065095==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 15:25:36 2008 Content-Type: multipart/mixed; boundary="===============1915367931325887761==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5783 - trunk/tests/features/org.jboss.tools.test.feature. Date: Thu, 17 Jan 2008 15:25:36 -0500 Message-ID: --===============1915367931325887761== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-17 15:25:36 -0500 (Thu, 17 Jan 2008) New Revision: 5783 Modified: trunk/tests/features/org.jboss.tools.test.feature/feature.xml Log: Plug-in org.jboss.tools.test.product added to build testBuild.xml scriptnow use "-product org.jboss.tools.test.product.product"= to start tests with SWT based welcome screen Modified: trunk/tests/features/org.jboss.tools.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/tests/features/org.jboss.tools.test.feature/feature.xml 2008-01-1= 7 20:25:30 UTC (rev 5782) +++ trunk/tests/features/org.jboss.tools.test.feature/feature.xml 2008-01-1= 7 20:25:36 UTC (rev 5783) @@ -1,24 +1,24 @@ - - - - - JBossTools unit tests feature - - - + + + + + JBossTools unit tests feature + + + 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 - - - +Exadel, Inc. and Red Hat, Inc. - initial API and implementation + + + Eclipse Public License - v 1.0 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR @@ -214,134 +214,141 @@ No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting -litigation. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +litigation. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --===============1915367931325887761==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 15:46:43 2008 Content-Type: multipart/mixed; boundary="===============7948763379871600058==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5784 - in trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test: META-INF and 1 other directories. Date: Thu, 17 Jan 2008 15:46:43 -0500 Message-ID: --===============7948763379871600058== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-17 15:46:43 -0500 (Thu, 17 Jan 2008) New Revision: 5784 Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/META-INF/MA= NIFEST.MF trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/build.prope= rties trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hib= ernate/eclipse/jdt/ui/test/ELTransformerTest.java trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hib= ernate/eclipse/jdt/ui/test/HQLQueryValidatorTest.java trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hib= ernate/eclipse/jdt/ui/test/HibernateJDTuiTestPlugin.java Log: clean up bad commit Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.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/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/META-INF/M= ANIFEST.MF 2008-01-17 20:25:36 UTC (rev 5783) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/META-INF/M= ANIFEST.MF 2008-01-17 20:46:43 UTC (rev 5784) @@ -7,11 +7,11 @@ org.eclipse.core.runtime, org.hibernate.eclipse.console.test, org.hibernate.eclipse.console, - org.hibernate.eclipse.jdt.ui, org.hibernate.eclipse, org.junit, org.eclipse.core.resources, org.eclipse.jdt.core, + org.hibernate.eclipse.jdt.ui, org.eclipse.jdt.launching Eclipse-LazyStart: true Export-Package: org.hibernate.eclipse.jdt.ui.test Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/buil= d.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/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/build.prop= erties 2008-01-17 20:25:36 UTC (rev 5783) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/build.prop= erties 2008-01-17 20:46:43 UTC (rev 5784) @@ -1,5 +1,4 @@ source.. =3D src/ output.. =3D bin/ bin.includes =3D META-INF/,\ - .,\ - testresources/ + . Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/= org/hibernate/eclipse/jdt/ui/test/ELTransformerTest.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.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/ELTransformerTest.java 2008-01-17 20:25:36 UTC = (rev 5783) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/ELTransformerTest.java 2008-01-17 20:46:43 UTC = (rev 5784) @@ -13,6 +13,6 @@ assertEquals("from Test where t.x =3D #{customer.id", ELTransformer.remo= veEL("from Test where t.x =3D #{customer.id")); assertEquals("from Test where t.x =3D :_customer_id_ and x =3D :_id_ ", = ELTransformer.removeEL("from Test where t.x =3D #{customer.id} and x =3D #{= id} ")); assertEquals("from Test where t.x =3D :_customer_id_and_x_____id_ ", ELT= ransformer.removeEL("from Test where t.x =3D #{customer.id and x =3D #{id} = ")); - assertEquals("from Test where t.x =3D :_id_______", ELTransformer.remove= EL("from Test where t.x =3D #{id+-&*()}")); + assertEquals("from Test where t.x =3D :_id_____", ELTransformer.removeEL= ("from Test where t.x =3D #{id+-&*()}")); } } \ No newline at end of file Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/= org/hibernate/eclipse/jdt/ui/test/HQLQueryValidatorTest.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.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/HQLQueryValidatorTest.java 2008-01-17 20:25:36 = UTC (rev 5783) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/HQLQueryValidatorTest.java 2008-01-17 20:46:43 = UTC (rev 5784) @@ -10,28 +10,23 @@ import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.NullProgressMonitor; import org.eclipse.core.runtime.Path; -import org.eclipse.jdt.core.IClasspathEntry; import org.eclipse.jdt.core.ICompilationUnit; import org.eclipse.jdt.core.IPackageFragment; import org.eclipse.jdt.core.IPackageFragmentRoot; import org.eclipse.jdt.core.IType; -import org.eclipse.jdt.core.JavaCore; import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.core.dom.AST; import org.eclipse.jdt.core.dom.ASTNode; import org.eclipse.jdt.core.dom.ASTParser; import org.eclipse.jdt.core.dom.CompilationUnit; -import org.eclipse.jdt.internal.core.JavaProject; import org.eclipse.jdt.launching.JavaRuntime; import org.hibernate.HibernateException; import org.hibernate.console.ConsoleConfiguration; -import org.hibernate.console.HibernateConsoleRuntimeException; import org.hibernate.console.KnownConfigurations; import org.hibernate.console.preferences.ConsoleConfigurationPreferences.C= onfigurationMode; import org.hibernate.eclipse.console.EclipseConsoleConfiguration; import org.hibernate.eclipse.console.EclipseConsoleConfigurationPreference= s; import org.hibernate.eclipse.console.test.HibernateConsoleTest; -import org.hibernate.eclipse.console.test.HibernateConsoleTestPlugin; import org.hibernate.eclipse.console.test.SimpleTestProject; import org.hibernate.eclipse.console.test.xpl.JavaProjectHelper; import org.hibernate.eclipse.console.utils.ProjectUtils; @@ -131,7 +126,7 @@ @Override protected void tearDown() throws Exception { ccfg.reset(); - super.tearDown(); + //super.tearDown(); } public void testHQLDetector() throws JavaModelException { = Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/= org/hibernate/eclipse/jdt/ui/test/HibernateJDTuiTestPlugin.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.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/HibernateJDTuiTestPlugin.java 2008-01-17 20:25:= 36 UTC (rev 5783) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/HibernateJDTuiTestPlugin.java 2008-01-17 20:46:= 43 UTC (rev 5784) @@ -65,4 +65,5 @@ throw new CoreException(new Status(IStatus.ERROR, getBundle().getSymbol= icName(), IStatus.ERROR, e.getMessage(), e)); } } + } --===============7948763379871600058==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 15:58:00 2008 Content-Type: multipart/mixed; boundary="===============0679714989289213409==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5785 - trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hibernate/eclipse/jdt/ui/test. Date: Thu, 17 Jan 2008 15:58:00 -0500 Message-ID: --===============0679714989289213409== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-17 15:58:00 -0500 (Thu, 17 Jan 2008) New Revision: 5785 Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hib= ernate/eclipse/jdt/ui/test/ELTransformerTest.java trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hib= ernate/eclipse/jdt/ui/test/HQLQueryValidatorTest.java Log: more fix to svn mixup Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/= org/hibernate/eclipse/jdt/ui/test/ELTransformerTest.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.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/ELTransformerTest.java 2008-01-17 20:46:43 UTC = (rev 5784) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/ELTransformerTest.java 2008-01-17 20:58:00 UTC = (rev 5785) @@ -13,6 +13,6 @@ assertEquals("from Test where t.x =3D #{customer.id", ELTransformer.remo= veEL("from Test where t.x =3D #{customer.id")); assertEquals("from Test where t.x =3D :_customer_id_ and x =3D :_id_ ", = ELTransformer.removeEL("from Test where t.x =3D #{customer.id} and x =3D #{= id} ")); assertEquals("from Test where t.x =3D :_customer_id_and_x_____id_ ", ELT= ransformer.removeEL("from Test where t.x =3D #{customer.id and x =3D #{id} = ")); - assertEquals("from Test where t.x =3D :_id_____", ELTransformer.removeEL= ("from Test where t.x =3D #{id+-&*()}")); + assertEquals("from Test where t.x =3D :_id_______", ELTransformer.remove= EL("from Test where t.x =3D #{id+-&*()}")); } } \ No newline at end of file Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/= org/hibernate/eclipse/jdt/ui/test/HQLQueryValidatorTest.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.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/HQLQueryValidatorTest.java 2008-01-17 20:46:43 = UTC (rev 5784) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/src/org/hi= bernate/eclipse/jdt/ui/test/HQLQueryValidatorTest.java 2008-01-17 20:58:00 = UTC (rev 5785) @@ -126,7 +126,7 @@ @Override protected void tearDown() throws Exception { ccfg.reset(); - //super.tearDown(); + super.tearDown(); } public void testHQLDetector() throws JavaModelException { = --===============0679714989289213409==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 16:38:01 2008 Content-Type: multipart/mixed; boundary="===============8661560075857032183==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5786 - trunk/tests/plugins/org.jboss.tools.test.product. Date: Thu, 17 Jan 2008 16:38:01 -0500 Message-ID: --===============8661560075857032183== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-17 16:38:00 -0500 (Thu, 17 Jan 2008) New Revision: 5786 Modified: trunk/tests/plugins/org.jboss.tools.test.product/.eclipseproduct trunk/tests/plugins/org.jboss.tools.test.product/config.ini trunk/tests/plugins/org.jboss.tools.test.product/plugin.properties Log: All mentions of JBDS are removed tests.map path error for org.jboss.tools.test.product fixed Modified: trunk/tests/plugins/org.jboss.tools.test.product/.eclipseproduct =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/plugins/org.jboss.tools.test.product/.eclipseproduct 2008-0= 1-17 20:58:00 UTC (rev 5785) +++ trunk/tests/plugins/org.jboss.tools.test.product/.eclipseproduct 2008-0= 1-17 21:38:00 UTC (rev 5786) @@ -2,4 +2,4 @@ = version=3D1.0.0 name=3DJBoss Tools Test -id=3Dorg.jboss.tools.product +id=3Dorg.jboss.tools.test.product.product Modified: trunk/tests/plugins/org.jboss.tools.test.product/config.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/tests/plugins/org.jboss.tools.test.product/config.ini 2008-01-17 = 20:58:00 UTC (rev 5785) +++ trunk/tests/plugins/org.jboss.tools.test.product/config.ini 2008-01-17 = 21:38:00 UTC (rev 5786) @@ -44,7 +44,7 @@ # The product to run. A given Eclipse configuration may contain many prod= ucts. # The product identified will supply the branding (window icons, title bar= text) etc = # as well as define the default application to run. = -eclipse.product=3Dcom.jboss.jbds.product.product +eclipse.product=3Dcom.jboss.tools.test.product.product = # The application to run. The value specified here is the id of the appli= cation extension # the runtime will find, instantiate and execute once the system is up. N= ote that typically = Modified: trunk/tests/plugins/org.jboss.tools.test.product/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/tests/plugins/org.jboss.tools.test.product/plugin.properties 2008= -01-17 20:58:00 UTC (rev 5785) +++ trunk/tests/plugins/org.jboss.tools.test.product/plugin.properties 2008= -01-17 21:38:00 UTC (rev 5786) @@ -1,18 +1,2 @@ -aboutText=3DJBoss Developer Studio\n\ -\n\ -Version: CR1\n\ -Build id: 1.0.0\n\ -\n\ -(c) Red Hat Middleware LLC, Eclipse contributors, and others 2006.\n\ -Homepage: http://labs.jboss.com/portal/rhdevstudio\n\ -User Forums: http://jboss.com/index.html?module=3Dbb&op=3Dviewforum&f=3D20= 1\n +aboutText=3DJBoss Tools Test Product = -actionSets.online_help.label=3DJBoss Developer Studio Help - -introTitle=3DWelcome to\nJBoss Developer Studio -#introBrandingImage=3Dproduct:ico_16_jbds.png -introBrandingImage=3Dproduct:ico_32_jbds.png -introBrandingImage=3Dico_16_jbds.png -introBrandingImage=3Dico_32_jbds.png -introBrandingImageText=3DRed Hat - --===============8661560075857032183==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 18:44:27 2008 Content-Type: multipart/mixed; boundary="===============2735268310665825273==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5787 - trunk/tests/plugins/org.jboss.tools.test.product. Date: Thu, 17 Jan 2008 18:44:20 -0500 Message-ID: --===============2735268310665825273== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-17 18:44:20 -0500 (Thu, 17 Jan 2008) New Revision: 5787 Modified: trunk/tests/plugins/org.jboss.tools.test.product/plugin_customization.ini Log: rollback fake test product from build Modified: trunk/tests/plugins/org.jboss.tools.test.product/plugin_customiza= tion.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/tests/plugins/org.jboss.tools.test.product/plugin_customization.i= ni 2008-01-17 21:38:00 UTC (rev 5786) +++ trunk/tests/plugins/org.jboss.tools.test.product/plugin_customization.i= ni 2008-01-17 23:44:20 UTC (rev 5787) @@ -38,3 +38,7 @@ = # Enables the build id to show up via the default EclipseSplashHandler # org.eclipse.ui.workbench/SHOW_BUILDID_ON_STARTUP=3Dtrue + +org.eclipse.ui.workbench/WELCOME_DIALOG=3Dfalse + +org.eclipse.ui/WELCOME_DIALOG=3Dfalse --===============2735268310665825273==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 20:04:06 2008 Content-Type: multipart/mixed; boundary="===============2776018425464955490==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5788 - in trunk/as/plugins: org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling and 3 other directories. Date: Thu, 17 Jan 2008 20:04:05 -0500 Message-ID: --===============2776018425464955490== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: rob.stryker(a)jboss.com Date: 2008-01-17 20:04:05 -0500 (Thu, 17 Jan 2008) New Revision: 5788 Added: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclip= se/as/ui/dialogs/ShowStackTraceDialog.java Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/e= clipse/as/core/extensions/events/EventLogModel.java trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/e= clipse/as/core/extensions/polling/JMXPoller.java trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclip= se/as/ui/views/server/providers/EventLogViewProvider.java trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclip= se/as/ui/views/server/providers/events/PollingLabelProvider.java Log: JBIDE-1638 Examining Event Log Exceptions. = Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jbos= s/ide/eclipse/as/core/extensions/events/EventLogModel.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.core/jbosscore/org/jboss/ide/= eclipse/as/core/extensions/events/EventLogModel.java 2008-01-17 23:44:20 UT= C (rev 5787) +++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/= eclipse/as/core/extensions/events/EventLogModel.java 2008-01-18 01:04:05 UT= C (rev 5788) @@ -41,7 +41,9 @@ */ public class EventLogModel { public static final String ENABLE_LOGGING_PREFERENCE =3D "org.jboss.ide.e= clipse.as.core.extensions.events.enableLogging"; - = + public static final String EVENT_TYPE_EXCEPTION =3D "org.jboss.ide.eclips= e.as.core.extensions.events.EXCEPTION"; + public static final String EXCEPTION_PROPERTY =3D "org.jboss.ide.eclipse.= as.core.extensions.events.EXCEPTION_PROPERTY"; + public static void enableLogging(boolean enabled) { if( enabled ) enableLogging(); Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jbos= s/ide/eclipse/as/core/extensions/polling/JMXPoller.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.core/jbosscore/org/jboss/ide/= eclipse/as/core/extensions/polling/JMXPoller.java 2008-01-17 23:44:20 UTC (= rev 5787) +++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/= eclipse/as/core/extensions/polling/JMXPoller.java 2008-01-18 01:04:05 UTC (= rev 5788) @@ -22,7 +22,6 @@ package org.jboss.ide.eclipse.as.core.extensions.polling; = import java.io.IOException; -import java.util.Date; import java.util.Properties; = import javax.management.MBeanException; @@ -35,6 +34,7 @@ import javax.naming.NamingException; = import org.eclipse.wst.server.core.IServer; +import org.jboss.ide.eclipse.as.core.extensions.events.EventLogModel; import org.jboss.ide.eclipse.as.core.extensions.events.EventLogModel.Event= LogTreeItem; import org.jboss.ide.eclipse.as.core.extensions.jmx.JMXClassLoaderReposito= ry; import org.jboss.ide.eclipse.as.core.extensions.jmx.JMXUtil; @@ -51,9 +51,7 @@ public class JMXPoller implements IServerStatePoller { = public static final String STARTED_PROPERTY =3D "org.jboss.ide.eclipse.as= .core.extensions.polling.jmx.STARTED_PROPERTY"; - public static final String EXCEPTION_PROPERTY =3D "org.jboss.ide.eclipse.= as.core.extensions.polling.jmx.EXCEPTION_PROPERTY"; public static final String EVENT_TYPE_STARTING =3D "org.jboss.ide.eclipse= .as.core.extensions.polling.jmx.eventTypes.STARTING"; - public static final String EVENT_TYPE_EXCEPTION =3D "org.jboss.ide.eclips= e.as.core.extensions.polling.jmx.eventTypes.EXCEPTION"; = = public static final int STATE_STARTED =3D 1; @@ -201,8 +199,8 @@ } = public JMXEvent(SimpleTreeItem parent, Exception e) { - super(parent, PollThread.SERVER_STATE_MAJOR_TYPE, EVENT_TYPE_EXCEPTION = ); - setProperty(EXCEPTION_PROPERTY, e.getMessage()); + super(parent, PollThread.SERVER_STATE_MAJOR_TYPE, EventLogModel.EVENT_T= YPE_EXCEPTION ); + setProperty(EventLogModel.EXCEPTION_PROPERTY, e); } } } Added: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/e= clipse/as/ui/dialogs/ShowStackTraceDialog.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/dialogs/ShowStackTraceDialog.java (rev 0) +++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/ecli= pse/as/ui/dialogs/ShowStackTraceDialog.java 2008-01-18 01:04:05 UTC (rev 57= 88) @@ -0,0 +1,71 @@ +package org.jboss.ide.eclipse.as.ui.dialogs; + +import java.util.ArrayList; + +import org.eclipse.jface.dialogs.Dialog; +import org.eclipse.jface.window.IShellProvider; +import org.eclipse.swt.SWT; +import org.eclipse.swt.layout.FillLayout; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Control; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.swt.widgets.Text; +import org.jboss.ide.eclipse.as.core.extensions.events.EventLogModel; +import org.jboss.ide.eclipse.as.core.extensions.events.EventLogModel.Event= LogTreeItem; + +public class ShowStackTraceDialog extends Dialog { + + private EventLogTreeItem selected; + public ShowStackTraceDialog(IShellProvider parentShell, EventLogTreeItem = selected) { + super(parentShell); + this.selected =3D selected; + } + + public ShowStackTraceDialog(Shell shell, EventLogTreeItem selected) { + super(shell); + this.selected =3D selected; + } + + protected void configureShell(Shell newShell) { + super.configureShell(newShell); + setShellStyle(SWT.SHELL_TRIM); + newShell.setText("Exception Stack Trace"); + //newShell.setImage(JBossServerUISharedImages.getImage(JBossServerUIShar= edImages.TWIDDLE_IMAGE)); + newShell.setBounds(300, 300, 500, 300); + } + + protected Control createDialogArea(Composite parent) { + Composite c =3D (Composite)super.createDialogArea(parent); + c.setLayout(new FillLayout()); + Text t =3D new Text(c, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BOR= DER); + Object exception =3D selected.getProperty(EventLogModel.EXCEPTION_PROPER= TY); + if( exception instanceof Throwable) { + Throwable aThrowable =3D (Throwable)exception; + ArrayList seen =3D new ArrayList(); + final StringBuilder result =3D new StringBuilder(); + boolean first =3D true; + while( aThrowable !=3D null && !seen.contains(aThrowable)) { + seen.add(aThrowable); + if( !first ) result.append("nested:" + Text.DELIMITER); + appendDetails(aThrowable, result); + aThrowable =3D aThrowable.getCause(); + first =3D false; + } + t.setText(result.toString()); + } + return c; + } + = + protected void appendDetails(Throwable t, StringBuilder result) { + result.append(t.toString()); + result.append(Text.DELIMITER); + + //add each element of the stack trace + for (StackTraceElement element : t.getStackTrace() ){ + result.append(" at "); + result.append( element ); + result.append( Text.DELIMITER ); + } + result.append(Text.DELIMITER ); + } +} Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/id= e/eclipse/as/ui/views/server/providers/EventLogViewProvider.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/views/server/providers/EventLogViewProvider.java 2008-01-17 23:44= :20 UTC (rev 5787) +++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/ecli= pse/as/ui/views/server/providers/EventLogViewProvider.java 2008-01-18 01:04= :05 UTC (rev 5788) @@ -58,6 +58,7 @@ import org.jboss.ide.eclipse.as.core.extensions.events.EventLogModel.IEven= tLogListener; import org.jboss.ide.eclipse.as.core.util.SimpleTreeItem; import org.jboss.ide.eclipse.as.ui.JBossServerUIPlugin; +import org.jboss.ide.eclipse.as.ui.dialogs.ShowStackTraceDialog; import org.jboss.ide.eclipse.as.ui.preferencepages.ViewProviderPreferenceC= omposite; import org.jboss.ide.eclipse.as.ui.views.server.extensions.IEventLogLabelP= rovider; import org.jboss.ide.eclipse.as.ui.views.server.extensions.JBossServerView= Extension; @@ -82,13 +83,13 @@ = private ITreeContentProvider contentProvider; private LabelProvider labelProvider; - = private IEventLogLabelProvider[] labelProviderDelegates =3D null; - = private IPropertySheetPage propertyPage =3D null; + private Object[] selection; = private IServer input; private Action clearLogAction; + private Action showStackTraceAction; = private static HashMap majorTypeToName =3D new HashMap(); static { @@ -119,7 +120,15 @@ } }; clearLogAction.setText("Clear Event Log"); - //clearLogAction.setImageDescriptor(newImage) + = + showStackTraceAction =3D new Action() { + public void run() { + EventLogTreeItem item =3D (EventLogTreeItem)selection[0]; + ShowStackTraceDialog dialog =3D new ShowStackTraceDialog(new Shell(), = item); + dialog.open(); + } + }; + showStackTraceAction.setText("See Exception Details"); } = public class EventLogContentProvider implements ITreeContentProvider { @@ -265,8 +274,14 @@ } = public void fillContextMenu(Shell shell, IMenuManager menu, Object select= ion[]) { + this.selection =3D selection; if( selection.length =3D=3D 1 && selection[0] =3D=3D this.provider) menu.add(clearLogAction); + if( selection.length =3D=3D 1 && selection[0] instanceof EventLogTreeIte= m && = + (((EventLogTreeItem)selection[0]).getEventClass().equals(EventLogModel= .EVENT_TYPE_EXCEPTION)) || + ((EventLogTreeItem)selection[0]).getSpecificType().equals(EventLogMode= l.EVENT_TYPE_EXCEPTION)) { + menu.add(showStackTraceAction); + } } = public ITreeContentProvider getContentProvider() { Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/id= e/eclipse/as/ui/views/server/providers/events/PollingLabelProvider.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/views/server/providers/events/PollingLabelProvider.java 2008-01-1= 7 23:44:20 UTC (rev 5787) +++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/ecli= pse/as/ui/views/server/providers/events/PollingLabelProvider.java 2008-01-1= 8 01:04:05 UTC (rev 5788) @@ -27,6 +27,7 @@ import org.eclipse.ui.PlatformUI; import org.eclipse.wst.server.core.IServer; import org.eclipse.wst.server.ui.internal.provisional.UIDecoratorManager; +import org.jboss.ide.eclipse.as.core.extensions.events.EventLogModel; import org.jboss.ide.eclipse.as.core.extensions.events.EventLogModel.Event= LogTreeItem; import org.jboss.ide.eclipse.as.core.extensions.polling.JMXPoller; import org.jboss.ide.eclipse.as.core.server.IServerStatePoller; @@ -52,7 +53,7 @@ supported.add(PollThread.POLL_THREAD_EXCEPTION); supported.add(PollThread.POLLER_NOT_FOUND); = - supported.add(JMXPoller.EVENT_TYPE_EXCEPTION); + supported.add(EventLogModel.EVENT_TYPE_EXCEPTION); supported.add(JMXPoller.EVENT_TYPE_STARTING); = supported.add(JBossServerBehavior.FORCE_SHUTDOWN_EVENT_KEY); @@ -78,7 +79,7 @@ return getErrorImage(); } = - if( element.getSpecificType().equals(JMXPoller.EVENT_TYPE_EXCEPTION)) = + if( element.getSpecificType().equals(EventLogModel.EVENT_TYPE_EXCEPTION)= ) = return PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImag= es.IMG_OBJS_WARN_TSK); if( element.getSpecificType().equals(JMXPoller.EVENT_TYPE_STARTING)) { boolean started =3D ((Boolean)element.getProperty(JMXPoller.STARTED_PRO= PERTY)).booleanValue(); @@ -111,8 +112,11 @@ if( element.getSpecificType().equals(PollThread.POLLER_NOT_FOUND)) retu= rn expectedString + " failed. Poller not found"; } = - if( element.getSpecificType().equals(JMXPoller.EVENT_TYPE_EXCEPTION)) - return "JMXException: " + (String)element.getProperty(JMXPoller.EXCEPTI= ON_PROPERTY); + if( element.getSpecificType().equals(EventLogModel.EVENT_TYPE_EXCEPTION)= ) { + Object o =3D element.getProperty(EventLogModel.EXCEPTION_PROPERTY); + return "JMXException: " + ( o =3D=3D null ? "null" : ((Exception)o).get= Message()); + } + = if( element.getSpecificType().equals(JMXPoller.EVENT_TYPE_STARTING)) { boolean started =3D ((Boolean)element.getProperty(JMXPoller.STARTED_PRO= PERTY)).booleanValue(); if( !started ) = @@ -154,7 +158,7 @@ // property names and their readable forms propertyToMessageMap.put(EventLogTreeItem.DATE, "Time"); propertyToMessageMap.put(PollThread.EXPECTED_STATE, "Expected State"); - propertyToMessageMap.put(JMXPoller.EXCEPTION_PROPERTY, "Exception"); + propertyToMessageMap.put(EventLogModel.EXCEPTION_PROPERTY, "Exception"); propertyToMessageMap.put(JMXPoller.STARTED_PROPERTY, "Server Started"); propertyToMessageMap.put(PollThread.POLL_THREAD_ABORTED_CAUSE, "Abort Ca= use"); // now values and their readable forms --===============2776018425464955490==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 20:46:11 2008 Content-Type: multipart/mixed; boundary="===============6700084485055384378==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5789 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test. Date: Thu, 17 Jan 2008 20:46:11 -0500 Message-ID: --===============6700084485055384378== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-17 20:46:10 -0500 (Thu, 17 Jan 2008) New Revision: 5789 Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/build.prop= erties Log: fix test error testEachPackWithTestSet Error java.lang.RuntimeException: Folder res/projec= t/ not found! Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/bui= ld.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/hibernatetools/tests/org.hibernate.eclipse.console.test/build.pro= perties 2008-01-18 01:04:05 UTC (rev 5788) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/build.pro= perties 2008-01-18 01:46:10 UTC (rev 5789) @@ -5,4 +5,19 @@ META-INF/,\ lib/hibernate-tools-tests.jar,\ lib/hsqldb.jar,\ - lib/jaxen-1.1-beta-7.jar + lib/jaxen-1.1-beta-7.jar,\ + res/,\ + about.html +src.includes =3D about.html,\ + src/,\ + res/,\ + plugin.xml,\ + lib/,\ + hibernate-build.xml,\ + build.properties,\ + build/,\ + META-INF/,\ + .settings/,\ + .project,\ + .cvsignore,\ + .classpath --===============6700084485055384378==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 21:03:11 2008 Content-Type: multipart/mixed; boundary="===============5835151975928410290==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5790 - in trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test: META-INF and 1 other directory. Date: Thu, 17 Jan 2008 21:03:10 -0500 Message-ID: --===============5835151975928410290== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-17 21:03:10 -0500 (Thu, 17 Jan 2008) New Revision: 5790 Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/META-INF/MA= NIFEST.MF trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/build.prope= rties Log: testHQLDetector Error org.eclipse.core.runtime.CoreException: /testresource= s/ejb3-persistence.jar java.lang.RuntimeException: org.eclipse.core.runtime.CoreException: /testre= sources/ejb3-persistence.jar at org.hibernate.eclipse.console.test.SimpleTestProject.initialize(SimpleTe= stProject.java:48) at org.hibernate.eclipse.console.test.SimpleTestProject.(SimpleTestPr= oject.java:36) at org.hibernate.eclipse.jdt.ui.test.HQLQueryValidatorTest$1.(HQLQuer= yValidatorTest.java:47) at org.hibernate.eclipse.jdt.ui.test.HQLQueryValidatorTest.createTestProjec= t(HQLQueryValidatorTest.java:47) at org.hibernate.eclipse.console.test.HibernateConsoleTest.setUp(HibernateC= onsoleTest.java:27) testCheckQueryEL Error java.lang.RuntimeException: org.eclipse.core.interna= l.resources.ResourceException: Resource '/hqlquerytest' already exists. java.lang.RuntimeException: java.lang.RuntimeException: org.eclipse.core.in= ternal.resources.ResourceException: Resource '/hqlquerytest' already exists. at org.hibernate.eclipse.console.test.SimpleTestProject.initialize(SimpleTe= stProject.java:48) at org.hibernate.eclipse.console.test.SimpleTestProject.(SimpleTestPr= oject.java:36) at org.hibernate.eclipse.jdt.ui.test.HQLQueryValidatorTest$1.(HQLQuer= yValidatorTest.java:47) at org.hibernate.eclipse.jdt.ui.test.HQLQueryValidatorTest.createTestProjec= t(HQLQueryValidatorTest.ja Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.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/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/META-INF/M= ANIFEST.MF 2008-01-18 01:46:10 UTC (rev 5789) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/META-INF/M= ANIFEST.MF 2008-01-18 02:03:10 UTC (rev 5790) @@ -16,3 +16,4 @@ Eclipse-LazyStart: true Export-Package: org.hibernate.eclipse.jdt.ui.test Bundle-Activator: org.hibernate.eclipse.jdt.ui.test.HibernateJDTuiTestPlug= in +Bundle-ClassPath: org.hibernate.eclipse.jdt.ui.test.jar Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/buil= d.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/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/build.prop= erties 2008-01-18 01:46:10 UTC (rev 5789) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.jdt.ui.test/build.prop= erties 2008-01-18 02:03:10 UTC (rev 5790) @@ -1,4 +1,13 @@ -source.. =3D src/ -output.. =3D bin/ bin.includes =3D META-INF/,\ - . + testresources/,\ + org.hibernate.eclipse.jdt.ui.test.jar +jars.compile.order =3D org.hibernate.eclipse.jdt.ui.test.jar +source.org.hibernate.eclipse.jdt.ui.test.jar =3D src/ +output.org.hibernate.eclipse.jdt.ui.test.jar =3D bin/ +src.includes =3D testresources/,\ + src/,\ + build.properties,\ + META-INF/,\ + .project,\ + .classpath +source.org.hibernate.eclipse.jdt.ui.test.jar =3D src/ --===============5835151975928410290==-- From jbosstools-commits at lists.jboss.org Thu Jan 17 21:14:53 2008 Content-Type: multipart/mixed; boundary="===============0378137274371513622==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5791 - trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/view. Date: Thu, 17 Jan 2008 21:13:13 -0500 Message-ID: --===============0378137274371513622== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-17 21:13:13 -0500 (Thu, 17 Jan 2008) New Revision: 5791 Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/u= i/test/view/SeamComponentsViewTest.java Log: fix seam ui test errors Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools= /seam/ui/test/view/SeamComponentsViewTest.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/view/SeamComponentsViewTest.java 2008-01-18 02:03:10 UTC (rev 5790) +++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/= ui/test/view/SeamComponentsViewTest.java 2008-01-18 02:13:13 UTC (rev 5791) @@ -49,6 +49,7 @@ import org.jboss.tools.test.util.JUnitUtils; import org.jboss.tools.test.util.ResourcesUtils; import org.jboss.tools.test.util.WorkbenchUtils; +import org.jboss.tools.test.util.xpl.EditorTestHelper; = /** * = @@ -552,12 +553,8 @@ System.out.println("Refresh project "+count); try { project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor= ()); - try { - waitForJob(); - } catch (InterruptedException e) { - JUnitUtils.fail(e.getMessage(),e); - } - } catch (Exception e) { + EditorTestHelper.joinBackgroundActivities(); + } catch (CoreException e) { JUnitUtils.fail("Cannot build test Project", e); break; } @@ -567,84 +564,6 @@ } } = - public void waitForJobs() { - while (Job.getJobManager().currentJob() !=3D null) - delay(5000); - } - = - /** * Process UI input but do not return for the = - * specified time interval. * - * @param waitTimeMillis the number of milliseconds */ = - protected void delay(long waitTimeMillis) { - Display display =3D Display.getCurrent(); - // If this is the UI thread, - // then process input. - if (display !=3D null) { - long endTimeMillis =3D System.currentTimeMillis() + waitTimeMillis; - while (System.currentTimeMillis() < endTimeMillis){ - if (!display.readAndDispatch()) display.sleep(); - } display.update(); - } - // Otherwise, perform a simple sleep. - else { - try { - Thread.sleep(waitTimeMillis); - } catch (InterruptedException e) { - // Ignored. - } - } - } - public static void waitForJob() throws InterruptedException { - Object[] o =3D { - XJob.FAMILY_XJOB, ResourcesPlugin.FAMILY_AUTO_REFRESH, ResourcesPlugin.= FAMILY_AUTO_BUILD - }; - while(true) { - boolean stop =3D true; - for (int i =3D 0; i < o.length; i++) { - Job[] js =3D Job.getJobManager().find(o[i]); - if(js !=3D null && js.length > 0) { - Job.getJobManager().join(o[i], new NullProgressMonitor()); - stop =3D false; - } - } - if(stop) { - Job running =3D getJobRunning(10); - if(running !=3D null) { - running.join(); - stop =3D false; - } - } - if(stop) break; - } - } - = - public static Job getJobRunning(int iterationLimit) { - Job[] js =3D Job.getJobManager().find(null); - Job dm =3D null; - if(js !=3D null) for (int i =3D 0; i < js.length; i++) { - if(js[i].getState() =3D=3D Job.RUNNING && js[i].getThread() !=3D Thread= .currentThread()) { - if(js[i] instanceof UIJob) continue; - if(js[i].belongsTo(DecoratorManager.FAMILY_DECORATE) || js[i].getName(= ).equals("Task List Saver")) { - dm =3D js[i]; - continue; - } - //TODO keep watching = - System.out.println(js[i].getName()); - return js[i]; - } - } - if(dm !=3D null) { - try { - Thread.sleep(1000); - } catch (InterruptedException e) { - //ignore - } - if(iterationLimit > 0) - return getJobRunning(iterationLimit - 1); - } - return null; - = - } = public void updateTree(Tree tree) { for(int i=3D0;i --===============3457104886649752590== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-17 21:15:10 -0500 (Thu, 17 Jan 2008) New Revision: 5792 Modified: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/Res= ourcesUtils.java Log: System.out.println() removed Modified: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/u= til/ResourcesUtils.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/test/util/Re= sourcesUtils.java 2008-01-18 02:13:13 UTC (rev 5791) +++ trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/Re= sourcesUtils.java 2008-01-18 02:15:10 UTC (rev 5792) @@ -69,17 +69,6 @@ op.setCreateContainerStructure(false); op.setContext(Display.getCurrent().getActiveShell()); op.run(monitor); - Job j =3D new Job("+++++++++++test"){/* (non-Javadoc) - * @see org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.I= ProgressMonitor) - */ - @Override - protected IStatus run(IProgressMonitor monitor) { - System.out.println("++++++++++Running a decorator.job"); - return Status.OK_STATUS; - }}; - j.setUser(true); - j.setPriority(Job.DECORATE); - j.schedule(); return importedPrj; } = --===============3457104886649752590==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 05:55:24 2008 Content-Type: multipart/mixed; boundary="===============5420840055094774961==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5793 - trunk/as/docs/reference/en/images/runtimes_servers. Date: Fri, 18 Jan 2008 05:55:24 -0500 Message-ID: --===============5420840055094774961== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-18 05:55:23 -0500 (Fri, 18 Jan 2008) New Revision: 5793 Added: trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_6.png Log: http://jira.jboss.com/jira/browse/JBDS-199 - adding a screenshot Added: trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_= 6.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/as/docs/reference/en/images/runtimes_servers/run= times_servers_6.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream --===============5420840055094774961==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 05:56:07 2008 Content-Type: multipart/mixed; boundary="===============6713808676148174171==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5794 - trunk/as/docs/reference/en/modules. Date: Fri, 18 Jan 2008 05:56:07 -0500 Message-ID: --===============6713808676148174171== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-18 05:56:03 -0500 (Fri, 18 Jan 2008) New Revision: 5794 Modified: trunk/as/docs/reference/en/modules/perspective.xml trunk/as/docs/reference/en/modules/runtimes_servers.xml Log: http://jira.jboss.com/jira/browse/JBDS-199 - making some changes according = to the task Modified: trunk/as/docs/reference/en/modules/perspective.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/as/docs/reference/en/modules/perspective.xml 2008-01-18 10:55:23 = UTC (rev 5793) +++ trunk/as/docs/reference/en/modules/perspective.xml 2008-01-18 10:56:03 = UTC (rev 5794) @@ -19,12 +19,13 @@ contains a few additional views. Two of the additional views are s= tandard views, specifically the Console view and the Properties view. The other two views that are added are the Project= archives view - and the JBoss Servers View. + and the JBoss Servers View. =

The JBoss Servers View - This chapter will focus on the the JBoss Server's View. The = JBoss Servers View is + This chapter will focus on the the JBoss Server's View. + The JBoss Servers View is based on the WTP view, Servers View. The top half of the JBoss= Servers View essentially embeds the original Servers View directly into it, making slig= ht changes to the context menu. A second half was added to provide additional informatio= n about the server @@ -265,7 +266,7 @@ Delete - Standard option that allows to delete any ex= isting server. + Standard option that allows to delete the ch= osen server. = Modified: trunk/as/docs/reference/en/modules/runtimes_servers.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/as/docs/reference/en/modules/runtimes_servers.xml 2008-01-18 10:5= 5:23 UTC (rev 5793) +++ trunk/as/docs/reference/en/modules/runtimes_servers.xml 2008-01-18 10:5= 6:03 UTC (rev 5794) @@ -56,8 +56,8 @@ From this preference page you can see all declared runtimes an= d their types as well. - Figure above shows two declared runtimes that include a JBoss 4.2 = instance. Here, it's possible to edit or remove existing runtimes as w= ell as add a new - one. + Figure above shows two declared runtimes that include a JBoss 4.2 = instance. Here, + it's possible to edit or remove existing runtimes as well as = add a new one. = To create a JBoss runtime click Add @@ -83,7 +83,7 @@ directory for users who don't wish to make use of starting, stoppi= ng, or debugging their projects inside eclipse. = -
+
Adding a JBoss 4.2 Runtime @@ -92,7 +92,7 @@
= - The following table describe all the available options of the = wizard. + The following table describes all the available options of the= wizard. Server Runtime Wizard Parameters @@ -139,7 +139,7 @@ The proper Java Runtime Environment. Because of the = open-source nature of JBoss, a user is likely to want to modify and repackage = some of the - configuration-specific jboss jars and create their own c= onfiguration. Thus, ruthe + configuration-specific jboss jars and create their own c= onfiguration. Thus, rather than forcing the user to copy his entire JBoss installat= ion, the structure of the wizard allows to create only a new configuration instead= . @@ -196,7 +196,7 @@ =
- WTP Servers + Servers WTP servers are eclipse-representations of a backing server inst= allation. They are used to start or stop servers, deploy to servers, or debug code that will ru= n on the server. They keep track of the modules (jars, wars, etc) you deploy to the server and = also allow you to undeploy @@ -222,18 +222,19 @@ or stopping, and runtimes keep track of the location of the instal= lation. Thus, each server instance must be backed by an appropriate runtime. = - The combo box below the view lets you select which runtime to = use from the list of - already declared. If there is no runtime that match your needs jus= t press + From the list of already declared runtimes in the combo box be= low the view it's + possible to select which runtime you want your server to be backed= by. If there is no + runtime that matches your needs just press Installed Runtimes... - to bring up the familiar preference page. - Here, it becomes possible to edit already existing runtime or add = a new one with necessary - configuration. + to bring up the familiar preference page like in + the previous section. Here, it becomes possible to edit a= lready existing runtime or + add a new one with necessary configuration. = - = +
Installed Server Runtime Environments @@ -242,12 +243,26 @@
+ If the server you want to create doesn't have any installed ru= ntime yet, the combo box - and button will disappear, and the next page in the wizard will fo= rce you to create the - associated runtime first. + and button will disappear. The next page in the wizard which has t= he same form as in the previous section will = ask you to create the + associated runtime. Either way, after targeting your server to a runtime, the fina= l screen in this wizard is largely confirmational, giving the user a chance to verify that he= 's selected the appropriate runtime. It also allows the user to name the server ap= propriately. + +
+ Installed Server Runtime Environments + + + + + +
+ + Now, having JBoss server and runtime installed, we can dwell o= n all services and tools that + JBoss Application Server provides.
= --===============6713808676148174171==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 06:19:11 2008 Content-Type: multipart/mixed; boundary="===============3696299318175079819==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5795 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist. Date: Fri, 18 Jan 2008 06:19:11 -0500 Message-ID: --===============3696299318175079819== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vrubezhny Date: 2008-01-18 06:19:11 -0500 (Fri, 18 Jan 2008) New Revision: 5795 Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/co= ntentassist/RedHatHtmlContentAssistProcessor.java trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/co= ntentassist/RedHatJSPContentAssistProcessor.java Log: JBIDE-1648 Content Assist falls with NullPointerException Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst= /jsp/contentassist/RedHatHtmlContentAssistProcessor.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/RedHatHtmlContentAssistProcessor.java 2008-01-18 10:56:03 UTC = (rev 5794) +++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/c= ontentassist/RedHatHtmlContentAssistProcessor.java 2008-01-18 11:19:11 UTC = (rev 5795) @@ -550,7 +550,7 @@ */ public IStructuredDocumentRegion getStructuredDocumentRegion(int pos) { IStructuredDocumentRegion sdRegion =3D ContentAssistUtils.getStructuredD= ocumentRegion(fTextViewer, pos); - ITextRegion region =3D sdRegion.getRegionAtCharacterOffset(pos); + ITextRegion region =3D (sdRegion =3D=3D null ? null : sdRegion.getRegion= AtCharacterOffset(pos)); if (region =3D=3D null) { return null; } Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst= /jsp/contentassist/RedHatJSPContentAssistProcessor.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/RedHatJSPContentAssistProcessor.java 2008-01-18 10:56:03 UTC (= rev 5794) +++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/c= ontentassist/RedHatJSPContentAssistProcessor.java 2008-01-18 11:19:11 UTC (= rev 5795) @@ -629,7 +629,7 @@ */ public IStructuredDocumentRegion getStructuredDocumentRegion(int pos) { IStructuredDocumentRegion sdRegion =3D ContentAssistUtils.getStructuredD= ocumentRegion(fTextViewer, pos); - ITextRegion region =3D sdRegion.getRegionAtCharacterOffset(pos); + ITextRegion region =3D (sdRegion =3D=3D null ? null : sdRegion.getRegion= AtCharacterOffset(pos)); if (region =3D=3D null) { return null; } --===============3696299318175079819==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 06:40:31 2008 Content-Type: multipart/mixed; boundary="===============4911425187898237234==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5796 - in trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console: views and 1 other directory. Date: Fri, 18 Jan 2008 06:36:30 -0500 Message-ID: --===============4911425187898237234== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-18 06:36:30 -0500 (Fri, 18 Jan 2008) New Revision: 5796 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/actions/OpenMappingAction.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/actions/OpenSourceAction.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/views/ConfigurationsViewActionGroup.java Log: http://jira.jboss.com/jira/browse/JBIDE-1649 "instance of" changed to getClass =3D Property.class Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/actions/OpenMappingAction.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.console/src/org/hibe= rnate/eclipse/console/actions/OpenMappingAction.java 2008-01-18 11:19:11 UT= C (rev 5795) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/actions/OpenMappingAction.java 2008-01-18 11:36:30 UT= C (rev 5796) @@ -77,7 +77,7 @@ } = public static void run(TreePath path, ConsoleConfiguration consoleConfigu= ration) throws PartInitException, JavaModelException, FileNotFoundException= { - boolean isPropertySel =3D (path.getLastSegment() instanceof Property); + boolean isPropertySel =3D (path.getLastSegment().getClass() =3D=3D Prope= rty.class); if (isPropertySel){ Property propertySel =3D (Property)path.getLastSegment(); PersistentClass persClass =3D propertySel.getPersistentClass(); @@ -153,8 +153,8 @@ * @throws FileNotFoundException = * @throws BadLocationException = */ - public static boolean run(Property compositeProperty, Property parentProp= erty, ConsoleConfiguration consoleConfiguration) throws PartInitException, = JavaModelException, FileNotFoundException{ - if (parentProperty.getPersistentClass() =3D=3D null) return false; + public static IEditorPart run(Property compositeProperty, Property parent= Property, ConsoleConfiguration consoleConfiguration) throws PartInitExcepti= on, JavaModelException, FileNotFoundException{ + if (parentProperty.getPersistentClass() =3D=3D null) return null; IJavaProject proj =3D ProjectUtils.findJavaProject(consoleConfiguration); java.io.File configXMLFile =3D consoleConfiguration.getPreferences().get= ConfigXMLFile(); IResource resource =3D OpenFileActionUtils.getResource(consoleConfigurat= ion, proj, configXMLFile, parentProperty.getPersistentClass()); @@ -164,7 +164,7 @@ editorPart =3D openMapping(resource); if (editorPart !=3D null){ ITextEditor[] textEditors =3D getTextEditors(editorPart); - if (textEditors.length =3D=3D 0) return false; + if (textEditors.length =3D=3D 0) return editorPart; textEditors[0].selectAndReveal(0, 0); FindReplaceDocumentAdapter findAdapter =3D null; ITextEditor textEditor =3D null; @@ -172,22 +172,36 @@ textEditor =3D textEditors[i]; findAdapter =3D getFindDocAdapter(textEditor); = } - if (findAdapter =3D=3D null) return false; + if (findAdapter =3D=3D null) return null; = IRegion parentRegion =3D findSelection(parentProperty, findAdapter); - if (parentRegion =3D=3D null) return false; + if (parentRegion =3D=3D null) return editorPart; IRegion propRegion =3D null; try { propRegion =3D findAdapter.find(parentRegion.getOffset()+parentRegion= .getLength(), generatePattern(compositeProperty), true, true, false, true); + if (propRegion =3D=3D null){ + // try to use key-property + String pattern =3D generatePattern(compositeProperty).replaceFirst("= property", "key-property"); = + propRegion =3D findAdapter.find(parentRegion.getOffset()+parentRegio= n.getLength(), pattern, true, true, false, true); + } + /*if (propRegion =3D=3D null){ + // try to find name =3D "" + String pattern =3D HIBERNATE_TAG_NAME + "[\\s]*=3D[\\s]*\"" + proper= ty.getNodeName() + '\"'; = + propRegion =3D findAdapter.find(parentRegion.getOffset()+parentRegio= n.getLength(), pattern, true, true, false, true); + }*/ } catch (BadLocationException e) { HibernateConsolePlugin.getDefault().logErrorMessage("Selection not fo= und.", e); - } + } = + = if (propRegion !=3D null){ + int length =3D compositeProperty.getNodeName().length(); + int offset =3D propRegion.getOffset() + propRegion.getLength() - leng= th - 1; = + propRegion =3D new Region(offset, length); textEditor.selectAndReveal(propRegion.getOffset(), propRegion.getLeng= th()); - return true; + return editorPart; } } - return false; + return editorPart; } = = if (parentProperty.getPersistentClass() !=3D null && parentProperty.i= sComposite()){ = @@ -195,10 +209,13 @@ if (OpenFileActionUtils.rootClassHasAnnotations(consoleConfiguration, c= onfigXMLFile, rootClass)) { String fullyQualifiedName =3D((Component)((Property) parentProperty).g= etValue()).getComponentClassName(); IEditorPart editor =3D new OpenSourceAction().run(compositeProperty, p= roj, fullyQualifiedName); - if (editor !=3D null) return true; + return editor; } } - return false; + if (editorPart =3D=3D null) { + throw new FileNotFoundException("Mapping file for property '" + composi= teProperty.getNodeName() + "' not found."); + } + return null; } = /** @@ -369,7 +386,11 @@ StringBuffer pattern =3D new StringBuffer("<"); if(property.getPersistentClass() !=3D null && property.getPersistentClass().getIdentifierProperty()=3D=3Dproperty) { - pattern.append("id"); + if (property.isComposite()){ + pattern.append("composite-id"); + } else { + pattern.append("id"); + } } else{ pattern.append(tool.getTag(property)); } @@ -387,7 +408,7 @@ * @param editorPart * @return */ = - private static ITextEditor[] getTextEditors(IEditorPart editorPart) { + public static ITextEditor[] getTextEditors(IEditorPart editorPart) { /* * if EditorPart is MultiPageEditorPart then get ITextEditor from it. */ Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/actions/OpenSourceAction.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.console/src/org/hibe= rnate/eclipse/console/actions/OpenSourceAction.java 2008-01-18 11:19:11 UTC= (rev 5795) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/actions/OpenSourceAction.java 2008-01-18 11:36:30 UTC= (rev 5796) @@ -53,15 +53,18 @@ ConsoleConfiguration consoleConfiguration =3D (ConsoleConfiguration)(pa= th.getSegment(0)); IJavaProject proj =3D ProjectUtils.findJavaProject(consoleConfiguration= ); = - String fullyQualifiedName =3D persClass.getClassName(); - if (fullyQualifiedName.length() =3D=3D 0 - && lastSegment instanceof Property){ + String fullyQualifiedName =3D null; + if (lastSegment instanceof Property){ Object prevSegment =3D path.getParentPath().getLastSegment(); if (prevSegment instanceof Property && ((Property)prevSegment).isComposite()){ fullyQualifiedName =3D((Component)((Property) prevSegment).getValue()= ).getComponentClassName(); } } + if (fullyQualifiedName =3D=3D null && persClass !=3D null){ + fullyQualifiedName =3D persClass.getClassName(); + } + try { run(lastSegment, proj, fullyQualifiedName); } catch (JavaModelException e) { @@ -84,8 +87,23 @@ */ public IEditorPart run(Object selection, IJavaProject proj, String fullyQualifiedName) throws JavaModelException, PartInitException= , FileNotFoundException { + if (fullyQualifiedName =3D=3D null) return null; + String remainder =3D null; + IType type =3D null; + if (fullyQualifiedName.indexOf("$") > 0) { + remainder =3D fullyQualifiedName.substring(fullyQualifiedName.indexOf("= $") + 1); + fullyQualifiedName =3D fullyQualifiedName.substring(0, fullyQualifiedNa= me.indexOf("$")); + type =3D proj.findType(fullyQualifiedName); + while ( remainder.indexOf("$") > 0 ){ + String subtype =3D remainder.substring(0, fullyQualifiedName.indexOf("= $")); + type =3D type.getType(subtype); + remainder =3D remainder.substring(fullyQualifiedName.indexOf("$") + 1); + } + type =3D type.getType(remainder); + } else { + type =3D proj.findType(fullyQualifiedName); + } IResource resource =3D null; = - IType type =3D proj.findType(fullyQualifiedName); if (type !=3D null) resource =3D type.getResource(); = = IEditorPart editorPart =3D null; @@ -126,4 +144,5 @@ } } = + } Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/views/ConfigurationsViewActionGroup.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.console/src/org/hibe= rnate/eclipse/console/views/ConfigurationsViewActionGroup.java 2008-01-18 1= 1:19:11 UTC (rev 5795) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/views/ConfigurationsViewActionGroup.java 2008-01-18 1= 1:36:30 UTC (rev 5796) @@ -139,7 +139,7 @@ } menu.add(new Separator() ); if (first instanceof PersistentClass - || first instanceof Property){ = + || first.getClass() =3D=3D Property.class){ = menu.add(openSourceAction); menu.add(openMappingAction); } --===============4911425187898237234==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 06:40:35 2008 Content-Type: multipart/mixed; boundary="===============8712234817961720729==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5797 - trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/popup. Date: Fri, 18 Jan 2008 06:36:35 -0500 Message-ID: --===============8712234817961720729== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-18 06:36:35 -0500 (Fri, 18 Jan 2008) New Revision: 5797 Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/or= g/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.java Log: http://jira.jboss.com/jira/browse/JBIDE-1649 "instance of" changed to getClass =3D Property.class Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor= /src/org/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.j= ava =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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.veditor/src/o= rg/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.java 20= 08-01-18 11:36:30 UTC (rev 5796) +++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/o= rg/jboss/tools/hibernate/ui/veditor/editors/popup/PopupMenuProvider.java 20= 08-01-18 11:36:35 UTC (rev 5797) @@ -60,7 +60,7 @@ Shape shape =3D (Shape)obj; Object first =3D shape.getOrmElement(); if (first instanceof PersistentClass - || first instanceof Property + || first.getClass() =3D=3D Property.class || first instanceof Table || first instanceof Column){ = action =3D getActionRegistry().getAction(OpenSourceAction.ACTION_ID); --===============8712234817961720729==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 07:04:25 2008 Content-Type: multipart/mixed; boundary="===============7701672932804040951==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5798 - in trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test: mappingproject and 1 other directory. Date: Fri, 18 Jan 2008 07:04:25 -0500 Message-ID: --===============7701672932804040951== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-18 07:04:24 -0500 (Fri, 18 Jan 2008) New Revision: 5798 Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/OpenMappingTests.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 Log: http://jira.jboss.com/jira/browse/JBIDE-1649 Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/OpenMappingTests.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/OpenMappingTests.java 2008-01-18 11:36:35 UTC= (rev 5797) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/OpenMappingTests.java 2008-01-18 12:04:24 UTC= (rev 5798) @@ -61,6 +61,7 @@ Iterator properties =3D type.getPropertyIterator(); while (properties.hasNext()) { Property prop =3D (Property) properties.next(); + if (prop.getClass() !=3D Property.class) continue; assertNotNull(OpenMappingAction.findSelection(prop, findAdapter)); } } Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/OpenMappingFileTest.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/OpenMappingFileTest.java 2008-= 01-18 11:36:35 UTC (rev 5797) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/OpenMappingFileTest.java 2008-= 01-18 12:04:24 UTC (rev 5798) @@ -24,7 +24,10 @@ import org.hibernate.eclipse.console.actions.OpenMappingAction; import org.hibernate.eclipse.console.workbench.ConfigurationWorkbenchAdapt= er; import org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkben= chAdapter; +import org.hibernate.eclipse.console.workbench.PersistentClassWorkbenchAda= pter; +import org.hibernate.eclipse.console.workbench.PropertyWorkbenchAdapter; import org.hibernate.mapping.PersistentClass; +import org.hibernate.mapping.Property; = /** * @author Dmitry Geraskov @@ -39,6 +42,7 @@ consCFG.reset(); Object[] configs =3D null; Object[] persClasses =3D null; + Object[] props =3D null; try { configs =3D new ConsoleConfigurationWorkbenchAdapter().getChildren(cons= CFG); assertTrue(configs[0] instanceof Configuration); @@ -51,22 +55,64 @@ for (int i =3D 0; i < persClasses.length; i++) { assertTrue(persClasses[0] instanceof PersistentClass); PersistentClass persClass =3D (PersistentClass) persClasses[i]; - IEditorPart editor =3D null; - Throwable ex =3D null; - try { - editor =3D OpenMappingAction.run(persClass, consCFG); - } catch (PartInitException e) { - ex =3D e; - } catch (JavaModelException e) { - ex =3D e; - } catch (FileNotFoundException e) { - ex =3D e; - } = - if (ex =3D=3D null ) ex =3D ProjectUtil.getExceptionIfItOccured(editor= ); - if (ex !=3D null) fail("Mapping file for " + persClass.getClassName() - + " not opened:\n" + ex.getMessage()); + openTest(persClass, consCFG); + props =3D new PersistentClassWorkbenchAdapter().getChildren(persClass= ); + for (int j =3D 0; j < props.length; j++) { + if (props.getClass() !=3D Property.class) continue; + openTest(props[j], consCFG); + Object[] compProperties =3D new PropertyWorkbenchAdapter().getChildre= n(props[j]); + for (int k =3D 0; k < compProperties.length; k++) { + //test Composite properties + if (compProperties[k].getClass() !=3D Property.class) continue; + openPropertyTest((Property) props[j], (Property)compProperties[k], c= onsCFG); + } + } } } //close all editors } + = + private void openPropertyTest(Property compositeProperty, Property parent= Property, ConsoleConfiguration consCFG){ + IEditorPart editor =3D null; + Throwable ex =3D null; + try { + editor =3D OpenMappingAction.run(compositeProperty, parentProperty, con= sCFG); + Object[] compProperties =3D new PropertyWorkbenchAdapter().getChildren(= compositeProperty); + for (int k =3D 0; k < compProperties.length; k++) { + //test Composite properties + assertTrue(compProperties[k] instanceof Property); + // use only first level to time safe + //openPropertyTest((Property)compProperties[k], compositeProperty, con= sCFG); + } + } catch (PartInitException e) { + ex =3D e; + } catch (JavaModelException e) { + ex =3D e; + } catch (FileNotFoundException e) { + ex =3D e; + } = + if (ex =3D=3D null ) ex =3D ProjectUtil.getExceptionIfItOccured(editor); + if (ex !=3D null) fail("Mapping file for " + compositeProperty.getNodeNa= me() + + " not opened:\n" + ex.getMessage()); + } + = + private void openTest(Object selection, ConsoleConfiguration consCFG){ + IEditorPart editor =3D null; + Throwable ex =3D null; + try { + editor =3D OpenMappingAction.run(selection, consCFG); + //checkSelectionMade(editor); + } catch (PartInitException e) { + ex =3D e; + } catch (JavaModelException e) { + ex =3D e; + } catch (FileNotFoundException e) { + ex =3D e; + } = + if (ex =3D=3D null ) ex =3D ProjectUtil.getExceptionIfItOccured(editor); + if (ex !=3D null) fail("Mapping file for " + selection/*.getClassName()*/ + + " not opened:\n" + ex.getMessage()); + } + + } Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/OpenSourceFileTest.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/OpenSourceFileTest.java 2008-0= 1-18 11:36:35 UTC (rev 5797) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/OpenSourceFileTest.java 2008-0= 1-18 12:04:24 UTC (rev 5798) @@ -21,10 +21,15 @@ import org.hibernate.cfg.Configuration; import org.hibernate.console.ConsoleConfiguration; import org.hibernate.console.KnownConfigurations; +import org.hibernate.eclipse.console.actions.OpenMappingAction; import org.hibernate.eclipse.console.actions.OpenSourceAction; import org.hibernate.eclipse.console.workbench.ConfigurationWorkbenchAdapt= er; import org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkben= chAdapter; +import org.hibernate.eclipse.console.workbench.PersistentClassWorkbenchAda= pter; +import org.hibernate.eclipse.console.workbench.PropertyWorkbenchAdapter; +import org.hibernate.mapping.Component; import org.hibernate.mapping.PersistentClass; +import org.hibernate.mapping.Property; = /** * @author Dmitry Geraskov @@ -40,6 +45,7 @@ consCFG.reset(); Object[] configs =3D null; Object[] persClasses =3D null; + Object[] fields =3D null; try { configs =3D new ConsoleConfigurationWorkbenchAdapter().getChildren(cons= CFG); assertTrue(configs[0] instanceof Configuration); @@ -52,26 +58,51 @@ for (int i =3D 0; i < persClasses.length; i++) { assertTrue(persClasses[0] instanceof PersistentClass); PersistentClass persClass =3D (PersistentClass) persClasses[i]; - IEditorPart editor =3D null; - Throwable ex =3D null; - try { - editor =3D new OpenSourceAction().run(persClass, MappingTestProject.g= etTestProject().getIJavaProject(), = - persClass.getClassName()); - } catch (PartInitException e) { - ex =3D e; - } catch (JavaModelException e) { - ex =3D e; - } catch (FileNotFoundException e) { - ex =3D e; - } = - if (ex =3D=3D null ) ex =3D ProjectUtil.getExceptionIfItOccured(editor= ); - if (ex !=3D null) fail("Source file for " + persClass.getClassName() - + " not opened:\n" + ex.getMessage()); - } = + String fullyQualifiedName =3D persClass.getClassName(); + // test PersistentClasses + openTest(persClass, consCFG, fullyQualifiedName); + fields =3D new PersistentClassWorkbenchAdapter().getChildren(persClas= s); + for (int j =3D 0; j < fields.length; j++) { + if (fields[j].getClass() !=3D Property.class) continue; + fullyQualifiedName =3D persClass.getClassName(); + // test Properties + openTest(fields[j], consCFG, fullyQualifiedName); + if (fields[j] instanceof Property + && ((Property)fields[j]).isComposite()) { + fullyQualifiedName =3D((Component)((Property) fields[j]).getValue())= .getComponentClassName(); + = + Object[] compProperties =3D new PropertyWorkbenchAdapter().getChildr= en(fields[j]); + for (int k =3D 0; k < compProperties.length; k++) { + if (compProperties[k].getClass() !=3D Property.class) continue; + //test Composite properties + openTest(compProperties[k], consCFG, fullyQualifiedName); + } + } + } + } } //close all editors } + = + private void openTest(Object selection, ConsoleConfiguration consCFG, Str= ing fullyQualifiedName){ + IEditorPart editor =3D null; + Throwable ex =3D null; + try { + editor =3D new OpenSourceAction().run(selection, MappingTestProject.get= TestProject().getIJavaProject(), = + fullyQualifiedName); + } catch (PartInitException e) { + ex =3D e; + } catch (JavaModelException e) { + ex =3D e; + } catch (FileNotFoundException e) { + ex =3D e; + } = + if (ex =3D=3D null ) ex =3D ProjectUtil.getExceptionIfItOccured(editor); + if (ex !=3D null) fail("Mapping file for " + fullyQualifiedName/*.getCla= ssName()*/ + + " not opened:\n" + ex.getMessage()); + } = + = = } --===============7701672932804040951==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 07:35:46 2008 Content-Type: multipart/mixed; boundary="===============5953346855004380878==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5799 - trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/model/handlers. Date: Fri, 18 Jan 2008 07:35:43 -0500 Message-ID: --===============5953346855004380878== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-18 07:35:43 -0500 (Fri, 18 Jan 2008) New Revision: 5799 Modified: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/mo= del/handlers/CreateJSPFileSupport.java Log: JBIDE-1650 Modified: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst= /web/model/handlers/CreateJSPFileSupport.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/m= odel/handlers/CreateJSPFileSupport.java 2008-01-18 12:04:24 UTC (rev 5798) +++ trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/m= odel/handlers/CreateJSPFileSupport.java 2008-01-18 12:35:43 UTC (rev 5799) @@ -13,12 +13,21 @@ import java.io.File; import java.util.*; import org.jboss.tools.common.meta.action.impl.WizardDataValidator; +import org.jboss.tools.common.model.XModel; import org.jboss.tools.common.model.XModelObject; import org.jboss.tools.common.model.files.handlers.*; import org.jboss.tools.common.model.options.PreferenceModelUtilities; +import org.jboss.tools.common.model.util.ClassLoaderUtil; import org.jboss.tools.jst.web.WebModelPlugin; +import org.jboss.tools.jst.web.model.helpers.WebAppHelper; +import org.jboss.tools.jst.web.project.WebProject; +import org.jboss.tools.jst.web.tld.TaglibMapping; = public class CreateJSPFileSupport extends CreateFileSupport { + static { + ClassLoaderUtil.init(); + } + = protected Map templates =3D new TreeMap(); TaglibSet taglibs; = @@ -147,7 +156,14 @@ } else { return; } - taglibs.initTaglibDescriptions(getTarget().getModel()); + XModel model =3D getTarget().getModel(); + XModelObject web =3D WebAppHelper.getWebApp(model); + if(web !=3D null) { + TaglibMapping m =3D WebProject.getInstance(model).getTaglibMapping(); + if(m !=3D null) m.revalidate(web); + } = + = + taglibs.initTaglibDescriptions(model); String[] s =3D taglibs.getDescriptions(); setValueList(1, "taglibs", s); } --===============5953346855004380878==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 08:05:21 2008 Content-Type: multipart/mixed; boundary="===============2761214723645812687==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5800 - trunk/vpe/plugins/org.jboss.tools.vpe/templates. Date: Fri, 18 Jan 2008 08:05:20 -0500 Message-ID: --===============2761214723645812687== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dmaliarevich Date: 2008-01-18 08:05:20 -0500 (Fri, 18 Jan 2008) New Revision: 5800 Modified: trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-myfaces.xml Log: http://jira.jboss.com/jira/browse/JBIDE-1640 Modified: trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-myf= aces.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/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-myfaces.x= ml 2008-01-18 12:35:43 UTC (rev 5799) +++ trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-myfaces.x= ml 2008-01-18 13:05:20 UTC (rev 5800) @@ -442,10 +442,71 @@ + + +
+ + + + +
+ + > + + + + + + 9 + + + + + + +
<December 2005
SunMonTueWedThuFriSat
1<= a href=3D"#">23
4567810
11121314151617
18192021222324
25262728293031
+ + + + + + + + + + + + + + + + + + + + + + + + + +
- + + + +
--===============2761214723645812687==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 08:09:48 2008 Content-Type: multipart/mixed; boundary="===============5335634906781809020==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5801 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor. Date: Fri, 18 Jan 2008 08:09:48 -0500 Message-ID: --===============5335634906781809020== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-18 08:09:48 -0500 (Fri, 18 Jan 2008) New Revision: 5801 Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/Vpe= Controller.java Log: http://jira.jboss.org/jira/browse/JBIDE-1479, VpeController.notifyChanged w= as changed to start in UIJob and patch which prevent flooding JOB was also = applied. The root problem was that when we trying notify DOM throw mozilla = interfaces in no UI thread we have EXCEPTION_ACCESS_VIOLATION. Another way = to fix EXCEPTION_ACCESS_VIOLATION except run (DOM changes) it in ui thread = i haven't founded. Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/edi= tor/VpeController.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/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/Vp= eController.java 2008-01-18 13:05:20 UTC (rev 5800) +++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/Vp= eController.java 2008-01-18 13:09:48 UTC (rev 5801) @@ -16,6 +16,9 @@ import org.eclipse.core.resources.IFile; import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.eclipse.core.runtime.jobs.Job; import org.eclipse.jface.action.Action; import org.eclipse.jface.action.IContributionItem; import org.eclipse.jface.action.IMenuListener; @@ -52,6 +55,7 @@ import org.eclipse.ui.IEditorInput; import org.eclipse.ui.IFileEditorInput; import org.eclipse.ui.actions.ActionFactory; +import org.eclipse.ui.progress.UIJob; import org.eclipse.ui.views.contentoutline.IContentOutlinePage; import org.eclipse.wst.sse.core.internal.model.ModelLifecycleEvent; import org.eclipse.wst.sse.core.internal.provisional.IModelLifecycleListen= er; @@ -184,6 +188,8 @@ private VpeVisualInnerDragInfo innerDragInfo =3D null; private FormatControllerManager toolbarFormatControllerManager =3D null; private SelectionBar selectionBar =3D null; = + //Added by Max Areshkau Fix for JBIDE-1479 + private UIJob job =3D null; Shell tip; = public final static String MODEL_FLAVOR =3D ModelTransfer.MODEL; //$NON-N= LS-1$ @@ -322,8 +328,29 @@ public boolean isAdapterForType(Object type) { return type =3D=3D this; } + //FIX Fox JBIDE-1479 added by Max Areshkau + public void notifyChanged(final INodeNotifier notifier, final int eventT= ype,final Object feature,final Object oldValue,final Object newValue, final= int pos) { = - public void notifyChanged(INodeNotifier notifier, int eventType, Object f= eature, Object oldValue, Object newValue, int pos) { + if(job!=3Dnull) { + job.cancel(); + } + + job =3D new UIJob("NotifyChangedJob"){ + @Override + public IStatus runInUIThread(IProgressMonitor monitor) { + //we checks is job was canceled and if is it true we cancel job + if(monitor.isCanceled()) { + return Status.CANCEL_STATUS; + } else { + notifyChangedInUiThread(notifier, eventType, feature, oldValue, newVa= lue, pos); + } + return Status.OK_STATUS; + }}; + job.setPriority(Job.LONG); + job.schedule(1000L); = + } = + = + public void notifyChangedInUiThread(INodeNotifier notifier, int eventType= , Object feature, Object oldValue, Object newValue, int pos) { if (!switcher.startActiveEditor(ActiveEditorSwitcher.ACTIVE_EDITOR_SOURC= E)) { return; } @@ -381,7 +408,6 @@ visualBuilder.setSelectionRectangle(null); visualBuilder.updateNode((Node)notifier); break; - case INodeNotifier.CONTENT_CHANGED: if (!sourceChangeFlag) { if (feature !=3D null && ((Node)feature).getNodeType() =3D=3D Node.TEX= T_NODE) { @@ -2262,7 +2288,7 @@ */ public void onRefresh() { //when we using separate thread to display selection rectangle = - //it's working more better than without + //it's working better than without /* * HACK = * We need wait some time while standart event will be handled @@ -2270,13 +2296,14 @@ * and flasher are not repainted, so we should paint flasher */ = - Display.getDefault().asyncExec(new Thread(){ - public void run(){ - = - getXulRunnerEditor().showSelectionRectangle(); - } - }); = + Display.getDefault().asyncExec(new Thread(){ + public void run(){ + = + getXulRunnerEditor().showSelectionRectangle(); + } + }); + = } = /** --===============5335634906781809020==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 09:05:32 2008 Content-Type: multipart/mixed; boundary="===============1369962593608047695==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5802 - trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console. Date: Fri, 18 Jan 2008 09:05:32 -0500 Message-ID: --===============1369962593608047695== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-18 09:05:32 -0500 (Fri, 18 Jan 2008) New Revision: 5802 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/con= sole/ConsoleConfiguration.java Log: Fix http://jira.jboss.com/jira/browse/JBIDE-1653 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibern= ate/console/ConsoleConfiguration.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/ConsoleConfiguration.java 2008-01-18 13:09:48 UTC (rev 5801) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/co= nsole/ConsoleConfiguration.java 2008-01-18 14:05:32 UTC (rev 5802) @@ -106,7 +106,7 @@ configuration =3D buildWith(null, true); = } = - private Configuration buildJPAConfiguration(String persistenceUnit, Prope= rties properties, String entityResolver) { + private Configuration buildJPAConfiguration(String persistenceUnit, Prope= rties properties, String entityResolver, boolean includeMappings) { if(StringHelper.isEmpty( persistenceUnit )) { persistenceUnit =3D null; } @@ -118,6 +118,10 @@ if(StringHelper.isNotEmpty( prefs.getNamingStrategy())) { overrides.put( "hibernate.ejb.naming_strategy", prefs.getNamingStrateg= y() ); } + + if(!includeMappings) { + overrides.put( "hibernate.archive.autodetection", "none" ); + } = Class clazz =3D ReflectHelper.classForName("org.hibernate.ejb.Ejb3Confi= guration", ConsoleConfiguration.class); Object ejb3cfg =3D clazz.newInstance(); @@ -493,7 +497,7 @@ } } else if(prefs.getConfigurationMode().equals( ConfigurationMode.JPA )) { try { - localCfg =3D buildJPAConfiguration( getPreferences().getPersistenceUni= tName(), properties, prefs.getEntityResolverName() ); + localCfg =3D buildJPAConfiguration( getPreferences().getPersistenceUni= tName(), properties, prefs.getEntityResolverName(), includeMappings ); } catch (Exception e) { throw new HibernateConsoleRuntimeException("Could not load JPA Configu= ration",e); --===============1369962593608047695==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 09:10:36 2008 Content-Type: multipart/mixed; boundary="===============6248752988772499583==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5803 - trunk/common/plugins/org.jboss.tools.common.model/resources/help. Date: Fri, 18 Jan 2008 09:10:35 -0500 Message-ID: --===============6248752988772499583== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-18 09:10:35 -0500 (Fri, 18 Jan 2008) New Revision: 5803 Modified: trunk/common/plugins/org.jboss.tools.common.model/resources/help/keys-mo= del.properties Log: JBIDE-1651 Modified: trunk/common/plugins/org.jboss.tools.common.model/resources/help/= keys-model.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/common/plugins/org.jboss.tools.common.model/resources/help/keys-m= odel.properties 2008-01-18 14:05:32 UTC (rev 5802) +++ trunk/common/plugins/org.jboss.tools.common.model/resources/help/keys-m= odel.properties 2008-01-18 14:10:35 UTC (rev 5803) @@ -146,10 +146,12 @@ FileFolder_CreateFileJSP=3D/model/CreateFile.html FileFolder_CreateFileJSP.WindowTitle=3DNew File JSP FileFolder_CreateFileJSP.Title=3DFile JSP +FileFolder_CreateFileJSP_1.Title=3DSelect Tag Libraries = FileSystemFolder_CreateFileJSP=3D/model/CreateFile.html FileSystemFolder_CreateFileJSP.WindowTitle=3DNew File JSP FileSystemFolder_CreateFileJSP.Title=3DFile JSP +FileSystemFolder_CreateFileJSP_1.Title=3DSelect Tag Libraries = ##### File XHTML ##### = @@ -163,10 +165,12 @@ FileFolder_CreateFileXHTML=3D/model/CreateFile.html FileFolder_CreateFileXHTML.WindowTitle=3DNew File XHTML FileFolder_CreateFileXHTML.Title=3DFile XHTML +FileFolder_CreateFileXHTML_1.Title=3DSelect Tag Libraries = FileSystemFolder_CreateFileXHTML=3D/model/CreateFile.html FileSystemFolder_CreateFileXHTML.WindowTitle=3DNew File XHTML FileSystemFolder_CreateFileXHTML.Title=3DFile XHTML +FileSystemFolder_CreateFileXHTML_1.Title=3DSelect Tag Libraries = ##### File HTML ##### FileHTML=3D/model/FileHTML.html --===============6248752988772499583==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 09:16:08 2008 Content-Type: multipart/mixed; boundary="===============2465649601169284942==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5804 - in trunk/hibernatetools/plugins/org.hibernate.eclipse: src/org/hibernate/console and 1 other directories. Date: Fri, 18 Jan 2008 09:16:08 -0500 Message-ID: --===============2465649601169284942== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vyemialyanchyk Date: 2008-01-18 09:16:08 -0500 (Fri, 18 Jan 2008) New Revision: 5804 Added: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/con= sole/model/ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/con= sole/model/IParentEl.java trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/con= sole/model/IParentElImpl.java Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/META-INF/MANIFEST.MF trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/con= sole/ConsoleConfiguration.java trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/con= sole/KnownConfigurations.java Log: http://jira.jboss.org/jira/browse/JBIDE-1422 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/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/hibernatetools/plugins/org.hibernate.eclipse/META-INF/MANIFEST.MF= 2008-01-18 14:10:35 UTC (rev 5803) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse/META-INF/MANIFEST.MF= 2008-01-18 14:16:08 UTC (rev 5804) @@ -278,6 +278,7 @@ org.hibernate.connection, org.hibernate.console, org.hibernate.console.execution, + org.hibernate.console.model, org.hibernate.console.node, org.hibernate.console.preferences, org.hibernate.context, Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibern= ate/console/ConsoleConfiguration.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/ConsoleConfiguration.java 2008-01-18 14:10:35 UTC (rev 5803) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/co= nsole/ConsoleConfiguration.java 2008-01-18 14:16:08 UTC (rev 5804) @@ -55,6 +55,7 @@ import org.hibernate.console.execution.ExecutionContext; import org.hibernate.console.execution.ExecutionContextHolder; import org.hibernate.console.execution.ExecutionContext.Command; +import org.hibernate.console.model.IParentElImpl; import org.hibernate.console.preferences.ConsoleConfigurationPreferences; import org.hibernate.console.preferences.ConsoleConfigurationPreferences.C= onfigurationMode; import org.hibernate.util.ConfigHelper; @@ -65,7 +66,7 @@ import org.xml.sax.EntityResolver; import org.xml.sax.InputSource; = -public class ConsoleConfiguration implements ExecutionContextHolder { +public class ConsoleConfiguration extends IParentElImpl implements Executi= onContextHolder { = private ExecutionContext executionContext; = Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibern= ate/console/KnownConfigurations.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/KnownConfigurations.java 2008-01-18 14:10:35 UTC (rev 5803) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/co= nsole/KnownConfigurations.java 2008-01-18 14:16:08 UTC (rev 5804) @@ -51,6 +51,7 @@ import org.eclipse.ui.console.MessageConsole; import org.eclipse.ui.console.MessageConsoleStream; import org.hibernate.SessionFactory; +import org.hibernate.console.model.IParentEl; import org.hibernate.console.node.BaseNode; import org.hibernate.console.node.ConfigurationListNode; import org.hibernate.eclipse.HibernatePlugin; @@ -62,7 +63,7 @@ * This class keeps track of the Hibernate Configurations that are known to * the Hibernate Console plugin. */ -public class KnownConfigurations { +public class KnownConfigurations implements IParentEl { = // TODO: is the best way for the querypage model ? = private QueryPageModel queryPages =3D new QueryPageModel(); = @@ -345,7 +346,43 @@ = public List getQueryParameterList() { return queryParameters; + } + + public Object[] getChildren() { + return getConfigurationsSortedByName(); + } + + public boolean hasChildren() { + if (null =3D=3D configurations) { + return true; + } + return( configurations.size() > 0 ); } = + + public void setChildren(Object[] children) { + for (int i =3D 0; i < children.length; i++) { + if (!(children[i] instanceof ConsoleConfiguration)) { + continue; + } + ConsoleConfiguration configuration =3D (ConsoleConfiguration)children[i= ]; + addConfiguration(configuration, true); + } + } + + public void addChild(Object child) { + if (!(child instanceof ConsoleConfiguration)) { + return; + } + ConsoleConfiguration configuration =3D (ConsoleConfiguration)child; + addConfiguration(configuration, true); + } + + public void removeChild(Object child) { + if (!(child instanceof ConsoleConfiguration)) { + return; + } + ConsoleConfiguration configuration =3D (ConsoleConfiguration)child; + removeConfiguration(configuration, true); + } = - = } Added: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate= /console/model/IParentEl.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/model/IParentEl.java (rev 0) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/co= nsole/model/IParentEl.java 2008-01-18 14:16:08 UTC (rev 5804) @@ -0,0 +1,29 @@ +package org.hibernate.console.model; + +/** + * Common protocol for elements that contain other elements. + */ +public interface IParentEl { + /** + * Returns the immediate children of this element. + * Unless otherwise specified by the implementing element, + * the children are in no particular order. + * + * @return the immediate children of this element + */ + Object[] getChildren(); + /** + * Returns whether this element has one or more immediate children. + * This is a convenience method, and may be more efficient than + * testing whether getChildren is an empty array. + * + * @return true if the immediate children of this element, false otherwise + */ + boolean hasChildren(); + // + void setChildren(Object[] children); + // + void addChild(Object child); + // + void removeChild(Object child); +} Added: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate= /console/model/IParentElImpl.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/model/IParentElImpl.java (rev 0) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/co= nsole/model/IParentElImpl.java 2008-01-18 14:16:08 UTC (rev 5804) @@ -0,0 +1,42 @@ +package org.hibernate.console.model; + +import java.util.ArrayList; +import java.util.List; + +public class IParentElImpl implements IParentEl { + + private List children =3D null; + + public Object[] getChildren() { + if (null =3D=3D children) { + return null; + } + return children.toArray(); + } + + public boolean hasChildren() { + if (null =3D=3D children) { + return true; + } + return( children.size() > 0 ); + } = + + public void setChildren(Object[] children) { + if (null =3D=3D children || 0 =3D=3D children.length) { + return; + } + this.children =3D new ArrayList(children.length); + for (int i =3D 0; i < children.length; i++) { + this.children.add(children[i]); + } + } + + public void addChild(Object child) { + this.children.add(child); + } + + public void removeChild(Object child) { + this.children.remove(child); + } + +} --===============2465649601169284942==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 09:17:04 2008 Content-Type: multipart/mixed; boundary="===============2516735189902746540==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5805 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation. Date: Fri, 18 Jan 2008 09:17:03 -0500 Message-ID: --===============2516735189902746540== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: akazakov Date: 2008-01-18 09:17:03 -0500 (Fri, 18 Jan 2008) New Revision: 5805 Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/in= ternal/core/validation/SeamELValidator.java trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/in= ternal/core/validation/SeamValidationContext.java Log: http://jira.jboss.com/jira/browse/JBIDE-1652 Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/= seam/internal/core/validation/SeamELValidator.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/validation/SeamELValidator.java 2008-01-18 14:16:08 UTC (rev 5= 804) +++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/i= nternal/core/validation/SeamELValidator.java 2008-01-18 14:17:03 UTC (rev 5= 805) @@ -111,7 +111,11 @@ Set files =3D validationContext.getRegisteredFiles(); for (IFile file : files) { if(!reporter.isCancelled()) { - validateFile(file); + if(file.exists()) { + validateFile(file); + } else { + validationContext.removeUnnamedElResource(file.getFullPath()); + } } } return OK_STATUS; Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/= seam/internal/core/validation/SeamValidationContext.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/validation/SeamValidationContext.java 2008-01-18 14:16:08 UTC = (rev 5804) +++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/i= nternal/core/validation/SeamValidationContext.java 2008-01-18 14:17:03 UTC = (rev 5805) @@ -64,6 +64,14 @@ coreLinks.removeLinkedResources(resources); } = + /** + * Removes link between core resource and variable names. + * @param linkedResource + */ + public void removeLinkedCoreResource(IPath resource) { + coreLinks.removeLinkedResource(resource); + } + public Set getCoreResourcesByVariableName(String variableName) { return coreLinks.getResourcesByVariableName(variableName); } @@ -145,6 +153,14 @@ } = /** + * Removes link between resource and variable names. + * @param linkedResource + */ + public void removeLinkedElResource(IPath resource) { + elLinks.removeLinkedResource(resource); + } + + /** * @param changedFiles - files which were changed. * @return Set of resources which we should validate during incremental E= L validation. */ @@ -307,20 +323,28 @@ */ public void removeLinkedResources(Set resources) { for (IPath resource : resources) { - Set resourceNames =3D variableNamesByResource.get(resource); - if(resourceNames!=3Dnull) { - for (String name : resourceNames) { - Set linkedResources =3D resourcesByVariableName.get(name); - if(linkedResources!=3Dnull) { - linkedResources.remove(resource); - if(linkedResources.isEmpty()) { - resourcesByVariableName.remove(name); - } + removeLinkedResource(resource); + } + } + + /** + * Removes link between resource and variable names. + * @param linkedResources + */ + public void removeLinkedResource(IPath resource) { + Set resourceNames =3D variableNamesByResource.get(resource); + if(resourceNames!=3Dnull) { + for (String name : resourceNames) { + Set linkedResources =3D resourcesByVariableName.get(name); + if(linkedResources!=3Dnull) { + linkedResources.remove(resource); + if(linkedResources.isEmpty()) { + resourcesByVariableName.remove(name); } } } - variableNamesByResource.remove(resource); } + variableNamesByResource.remove(resource); } = public Set getResourcesByVariableName(String variableName) { --===============2516735189902746540==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 09:19:10 2008 Content-Type: multipart/mixed; boundary="===============3772843363535646447==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5806 - in trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console: workbench and 1 other directory. Date: Fri, 18 Jan 2008 09:19:10 -0500 Message-ID: --===============3772843363535646447== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vyemialyanchyk Date: 2008-01-18 09:19:10 -0500 (Fri, 18 Jan 2008) New Revision: 5806 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/views/KnownConfigurationsProvider.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/workbench/ConsoleConfigurationWorkbenchAdapter.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/workbench/DeferredContentProvider.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/workbench/LazyDatabaseSchema.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/workbench/LazyDatabaseSchemaWorkbenchAdapter.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/workbench/LazySessionFactory.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/workbench/LazySessionFactoryAdapter.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/workbench/TableContainer.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/workbench/TableContainerWorkbenchAdapter.java Log: http://jira.jboss.org/jira/browse/JBIDE-1422 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/views/KnownConfigurationsProvider.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.console/src/org/hibe= rnate/eclipse/console/views/KnownConfigurationsProvider.java 2008-01-18 14:= 17:03 UTC (rev 5805) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/views/KnownConfigurationsProvider.java 2008-01-18 14:= 19:10 UTC (rev 5806) @@ -21,13 +21,10 @@ */ package org.hibernate.eclipse.console.views; = -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.core.runtime.Platform; import org.eclipse.jface.viewers.AbstractTreeViewer; import org.eclipse.jface.viewers.TreeViewer; import org.eclipse.jface.viewers.Viewer; import org.eclipse.swt.widgets.Display; -import org.eclipse.ui.model.IWorkbenchAdapter; import org.hibernate.SessionFactory; import org.hibernate.console.ConsoleConfiguration; import org.hibernate.console.KnownConfigurations; @@ -66,25 +63,19 @@ } = private void refreshTree() { + tv.getTree().setRedraw(false); Runnable runnable =3D new Runnable() { public void run() { tv.refresh(); } }; - tv.getControl().getDisplay().syncExec(runnable); + tv.getControl().getDisplay().asyncExec(runnable); + tv.getTree().setRedraw(true); } = public void configurationRemoved(ConsoleConfiguration root, boolean forUp= date) { refreshTree(); = } - = - protected IWorkbenchAdapter getAdapter(Object o) { - if (o instanceof IAdaptable) { - return (IWorkbenchAdapter) ((IAdaptable) o).getAdapter(IWorkbench= Adapter.class); - } else { - return (IWorkbenchAdapter) Platform.getAdapterManager().getAdapte= r(o, IWorkbenchAdapter.class); - } - } = public void sessionFactoryBuilt(final ConsoleConfiguration ccfg, SessionF= actory builtFactory) { /*(Display.getDefault().syncExec(new Runnable() { Disabled as it will ge= nerate double entries in the child list Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/workbench/ConsoleConfigurationWorkbenchAdapter.= 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.console/src/org/hibe= rnate/eclipse/console/workbench/ConsoleConfigurationWorkbenchAdapter.java 2= 008-01-18 14:17:03 UTC (rev 5805) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/workbench/ConsoleConfigurationWorkbenchAdapter.java 2= 008-01-18 14:19:10 UTC (rev 5806) @@ -75,7 +75,9 @@ o2 =3D sfError; = }*/ = - return new Object[] { o1, new LazySessionFactory(ccfg), new LazyDatabase= Schema(ccfg) }; + Object[] res =3D new Object[] { o1, new LazySessionFactory(ccfg), new La= zyDatabaseSchema(ccfg) }; + ccfg.setChildren(res); + return res; } = private ConsoleConfiguration getConsoleConfiguration(Object o) { Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/workbench/DeferredContentProvider.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.console/src/org/hibe= rnate/eclipse/console/workbench/DeferredContentProvider.java 2008-01-18 14:= 17:03 UTC (rev 5805) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/workbench/DeferredContentProvider.java 2008-01-18 14:= 19:10 UTC (rev 5806) @@ -29,6 +29,7 @@ import org.eclipse.ui.model.IWorkbenchAdapter; import org.eclipse.ui.progress.DeferredTreeContentManager; import org.eclipse.ui.progress.IDeferredWorkbenchAdapter; +import org.hibernate.console.model.IParentEl; = public class DeferredContentProvider extends BaseWorkbenchContentProvider { = @@ -55,6 +56,10 @@ * @see org.eclipse.jface.viewers.ITreeContentProvider#hasChildren(java.l= ang.Object) */ public boolean hasChildren(Object element) { + // if we could check simple check it without DeferredTreeContentManager + if (element instanceof IParentEl) { + return ((IParentEl)element).hasChildren(); + } // the + box will always appear, but then disappear // if not needed after you first click on it. if (manager !=3D null) { @@ -69,6 +74,13 @@ * @see org.eclipse.ui.model.WorkbenchContentProvider#getChildren(java.la= ng.Object) */ public Object[] getChildren(Object element) { + // if we could get children simple get it without DeferredTreeContentMan= ager + if (element instanceof IParentEl) { + Object[] children =3D ((IParentEl)element).getChildren(); + if (null !=3D children) { + return children; + } + } if (manager !=3D null) { Object[] children =3D manager.getChildren(element); if(children !=3D null) { Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/workbench/LazyDatabaseSchema.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.console/src/org/hibe= rnate/eclipse/console/workbench/LazyDatabaseSchema.java 2008-01-18 14:17:03= UTC (rev 5805) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/workbench/LazyDatabaseSchema.java 2008-01-18 14:19:10= UTC (rev 5806) @@ -24,8 +24,9 @@ import org.hibernate.cfg.reveng.DefaultReverseEngineeringStrategy; import org.hibernate.cfg.reveng.ReverseEngineeringStrategy; import org.hibernate.console.ConsoleConfiguration; +import org.hibernate.console.model.IParentElImpl; = -public class LazyDatabaseSchema { +public class LazyDatabaseSchema extends IParentElImpl { = private final ConsoleConfiguration ccfg; private final ReverseEngineeringStrategy res; @@ -45,5 +46,4 @@ public ReverseEngineeringStrategy getReverseEngineeringStrategy() { return res; } - = } Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/workbench/LazyDatabaseSchemaWorkbenchAdapter.ja= va =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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.console/src/org/hibe= rnate/eclipse/console/workbench/LazyDatabaseSchemaWorkbenchAdapter.java 200= 8-01-18 14:17:03 UTC (rev 5805) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/workbench/LazyDatabaseSchemaWorkbenchAdapter.java 200= 8-01-18 14:19:10 UTC (rev 5806) @@ -64,7 +64,7 @@ Map.Entry entry =3D (Map.Entry) qualifierEntries.next(); result.add(new TableContainer((String) entry.getKey(),(List)entry.getVa= lue())); } - return toArray(result.iterator(), TableContainer.class, new Comparator()= { + Object[] res =3D toArray(result.iterator(), TableContainer.class, new Co= mparator() { = public int compare(Object arg0, Object arg1) { = @@ -72,6 +72,8 @@ } = }); + dbs.setChildren(res); + return res; } = private LazyDatabaseSchema getLazyDatabaseSchema(Object o) { Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/workbench/LazySessionFactory.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.console/src/org/hibe= rnate/eclipse/console/workbench/LazySessionFactory.java 2008-01-18 14:17:03= UTC (rev 5805) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/workbench/LazySessionFactory.java 2008-01-18 14:19:10= UTC (rev 5806) @@ -22,9 +22,10 @@ package org.hibernate.eclipse.console.workbench; = import org.hibernate.console.ConsoleConfiguration; +import org.hibernate.console.model.IParentElImpl; import org.hibernate.console.node.ConfigurationEntitiesNode; = -public class LazySessionFactory { +public class LazySessionFactory extends IParentElImpl { = private final ConsoleConfiguration ccfg; private ConfigurationEntitiesNode cfgNode; Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/workbench/LazySessionFactoryAdapter.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.console/src/org/hibe= rnate/eclipse/console/workbench/LazySessionFactoryAdapter.java 2008-01-18 1= 4:17:03 UTC (rev 5805) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/workbench/LazySessionFactoryAdapter.java 2008-01-18 1= 4:19:10 UTC (rev 5806) @@ -50,7 +50,9 @@ } = } if(lazySessionFactory.getCfgNode()!=3Dnull) { - return toArray(lazySessionFactory.getCfgNode().children(),BaseNode.clas= s); = + Object[] res =3D toArray(lazySessionFactory.getCfgNode().children(),Bas= eNode.class); + lazySessionFactory.setChildren(res); + return res; } else { return new Object[] { label }; } Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/workbench/TableContainer.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.console/src/org/hibe= rnate/eclipse/console/workbench/TableContainer.java 2008-01-18 14:17:03 UTC= (rev 5805) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/workbench/TableContainer.java 2008-01-18 14:19:10 UTC= (rev 5806) @@ -23,8 +23,10 @@ = import java.util.List; = -public class TableContainer { +import org.hibernate.console.model.IParentElImpl; = +public class TableContainer extends IParentElImpl { + private final List tables; private final String name; = Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/workbench/TableContainerWorkbenchAdapter.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.console/src/org/hibe= rnate/eclipse/console/workbench/TableContainerWorkbenchAdapter.java 2008-01= -18 14:17:03 UTC (rev 5805) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/workbench/TableContainerWorkbenchAdapter.java 2008-01= -18 14:19:10 UTC (rev 5806) @@ -32,7 +32,7 @@ = public Object[] getChildren(Object o) { TableContainer tc =3D getTableContainer( o ); - return toArray(tc.getTables().iterator(), Table.class, new Comparator() { + Object[] res =3D toArray(tc.getTables().iterator(), Table.class, new Com= parator() { = public int compare(Object arg0, Object arg1) { = @@ -40,6 +40,8 @@ } = }); + tc.setChildren(res); + return res; } = private TableContainer getTableContainer(Object o) { --===============3772843363535646447==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 10:46:40 2008 Content-Type: multipart/mixed; boundary="===============0676783862936092548==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5807 - in trunk/as/docs/resources/styles/en: Images and 1 other directory. Date: Fri, 18 Jan 2008 10:46:37 -0500 Message-ID: --===============0676783862936092548== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: smukhina Date: 2008-01-18 10:46:37 -0500 (Fri, 18 Jan 2008) New Revision: 5807 Added: trunk/as/docs/resources/styles/en/Images/ico_tip.gif Modified: trunk/as/docs/resources/styles/en/Images/ico_important.gif trunk/as/docs/resources/styles/en/html.css Log: http://jira.jboss.com/jira/browse/JBDS-224 - special boxes for tip, note, i= mportant + css styles Modified: trunk/as/docs/resources/styles/en/Images/ico_important.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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) Added: trunk/as/docs/resources/styles/en/Images/ico_tip.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/as/docs/resources/styles/en/Images/ico_tip.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/as/docs/resources/styles/en/html.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/docs/resources/styles/en/html.css 2008-01-18 14:19:10 UTC (rev= 5806) +++ trunk/as/docs/resources/styles/en/html.css 2008-01-18 15:46:37 UTC (rev= 5807) @@ -71,6 +71,10 @@ text-align: center; } = +div.book .subtitle { + text-align: center; +} + .mediaobject{ padding : 5px 10px 5px 35px; } @@ -99,7 +103,7 @@ = = div.book div.mediaobject{ -text-align:left; +text-align:center; } = div.mediaobject, div.mediaobject img *{ @@ -108,8 +112,8 @@ } = DIV.note{ - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #FFFDD3; - background-image : url('Images/ico_note.gif'); background-repeat : no-rep= eat; background-position :top left; + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #cfe3ff; + background-image : url('../images/ico_note.gif'); background-repeat : no-= repeat; background-position :top left; } = DIV.note *{ @@ -123,8 +127,8 @@ MARGIN-TOP: 0px; MARGIN-BOTTOM: 1em; PADDING-BOTTOM: 0px; PADDING-TOP: 0px } DIV.important { - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; - background-image : url('Images/ico_important.gif'); background-repeat : n= o-repeat; background-position :top left; = + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #fee3d9; + background-image : url('../images/ico_important.gif'); background-repeat = : no-repeat; background-position :top left; = } = DIV.important *{ @@ -136,7 +140,19 @@ = } = +DIV.tip { + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('../images/ico_tip.gif'); +} = +DIV.tip *{ + line-height : 14px; +} + +.tip pre.XML { +PADDING: 1px 1px 1px 10px; + +} + TABLE { BORDER: #cccccc 1px solid; FONT-SIZE: 11px; BORDER-COLLAPSE: collapse; b= order-spacing: 0; empty-cells: hide; margin-bottom : 10px; } @@ -148,7 +164,7 @@ = .table TH { WHITE-SPACE: nowrap; BACKGROUND-COLOR: #EEF5FF; TEXT-ALIGN: center; BOR= DER-BOTTOM: #CAE1FF 2px solid; PADDING: 2px 8px 2px 8px; - background-image : url('Images/bg_table.gif'); background-repeat : repeat= -x; background-position :top left; + background-image : url('../images/bg_table.gif'); background-repeat : rep= eat-x; background-position :top left; } TD { PADDING: 4px 8px 4px 8px; BORDER-BOTTOM: #cccccc 1px dotted; BORDER-righ= t: #cccccc 1px dotted; @@ -343,4 +359,51 @@ cursor: pointer; } = - +pre.CSS, pre.css { + line-height:0px; + margin-bottom:0em; +} +.css_normal { + line-height:0px; + color:#000000; +} +.css_colon { +color:#000000; +} +.css_semi_colon { +color:#000000; +} +.css_curly_brace { +color:#000000; +} +.css_comment { +color:#939393; +} +.css_error { +color:#BF3F3F; +} +.css_selector { +color:#008cca; +} +.css_null { +color:#008cca; +} +.css_property_name { +color:#000000; +font-weight:bold; +} +.css_property_value { +color:#ff6600; +} +.css_uri { +color:#2A00FF; +} +.css_atmark_rule { +color:#3F7F7F; +} +.css_media { +color:#336699; +} +.css_string { +color:#336699; +} \ No newline at end of file --===============0676783862936092548==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 10:58:21 2008 Content-Type: multipart/mixed; boundary="===============8205046760953192965==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5808 - in trunk: documentation/guides/resources/styles/en/Images and 8 other directories. Date: Fri, 18 Jan 2008 10:58:21 -0500 Message-ID: --===============8205046760953192965== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: smukhina Date: 2008-01-18 10:58:21 -0500 (Fri, 18 Jan 2008) New Revision: 5808 Added: trunk/documentation/guides/resources/styles/en/Images/ico_tip.gif trunk/hibernatetools/docs/resources/styles/en/Images/ico_tip.gif trunk/jbpm/docs/resources/styles/en/Images/ico_tip.gif trunk/jsf/docs/resources/styles/en/Images/ico_tip.gif trunk/seam/docs/resources/styles/en/Images/ico_tip.gif Modified: trunk/documentation/guides/resources/styles/en/Images/ico_important.gif trunk/documentation/guides/resources/styles/en/html.css trunk/hibernatetools/docs/resources/styles/en/Images/ico_important.gif trunk/hibernatetools/docs/resources/styles/en/html.css trunk/jbpm/docs/resources/styles/en/Images/ico_important.gif trunk/jbpm/docs/resources/styles/en/html.css trunk/jsf/docs/resources/styles/en/Images/ico_important.gif trunk/jsf/docs/resources/styles/en/html.css trunk/seam/docs/resources/styles/en/Images/ico_important.gif trunk/seam/docs/resources/styles/en/html.css Log: http://jira.jboss.com/jira/browse/JBDS-224 - special boxes for tip, note, i= mportant + css styles Modified: trunk/documentation/guides/resources/styles/en/Images/ico_importa= nt.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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) Added: trunk/documentation/guides/resources/styles/en/Images/ico_tip.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/documentation/guides/resources/styles/en/Images/= ico_tip.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/documentation/guides/resources/styles/en/html.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/resources/styles/en/html.css 2008-01-18 15:4= 6:37 UTC (rev 5807) +++ trunk/documentation/guides/resources/styles/en/html.css 2008-01-18 15:5= 8:21 UTC (rev 5808) @@ -71,6 +71,10 @@ text-align: center; } = +div.book .subtitle { + text-align: center; +} + .mediaobject{ padding : 5px 10px 5px 35px; } @@ -97,8 +101,9 @@ text-align:left; } = + div.book div.mediaobject{ -text-align:left; +text-align:center; } = div.mediaobject, div.mediaobject img *{ @@ -107,8 +112,8 @@ } = DIV.note{ - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #FFFDD3; - background-image : url('Images/ico_note.gif'); background-repeat : no-rep= eat; background-position :top left; + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #cfe3ff; + background-image : url('../images/ico_note.gif'); background-repeat : no-= repeat; background-position :top left; } = DIV.note *{ @@ -122,8 +127,8 @@ MARGIN-TOP: 0px; MARGIN-BOTTOM: 1em; PADDING-BOTTOM: 0px; PADDING-TOP: 0px } DIV.important { - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; - background-image : url('Images/ico_important.gif'); background-repeat : n= o-repeat; background-position :top left; = + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #fee3d9; + background-image : url('../images/ico_important.gif'); background-repeat = : no-repeat; background-position :top left; = } = DIV.important *{ @@ -135,7 +140,19 @@ = } = +DIV.tip { + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('../images/ico_tip.gif'); +} = +DIV.tip *{ + line-height : 14px; +} + +.tip pre.XML { +PADDING: 1px 1px 1px 10px; + +} + TABLE { BORDER: #cccccc 1px solid; FONT-SIZE: 11px; BORDER-COLLAPSE: collapse; b= order-spacing: 0; empty-cells: hide; margin-bottom : 10px; } @@ -147,7 +164,7 @@ = .table TH { WHITE-SPACE: nowrap; BACKGROUND-COLOR: #EEF5FF; TEXT-ALIGN: center; BOR= DER-BOTTOM: #CAE1FF 2px solid; PADDING: 2px 8px 2px 8px; - background-image : url('Images/bg_table.gif'); background-repeat : repeat= -x; background-position :top left; + background-image : url('../images/bg_table.gif'); background-repeat : rep= eat-x; background-position :top left; } TD { PADDING: 4px 8px 4px 8px; BORDER-BOTTOM: #cccccc 1px dotted; BORDER-righ= t: #cccccc 1px dotted; @@ -342,4 +359,51 @@ cursor: pointer; } = - +pre.CSS, pre.css { + line-height:0px; + margin-bottom:0em; +} +.css_normal { + line-height:0px; + color:#000000; +} +.css_colon { +color:#000000; +} +.css_semi_colon { +color:#000000; +} +.css_curly_brace { +color:#000000; +} +.css_comment { +color:#939393; +} +.css_error { +color:#BF3F3F; +} +.css_selector { +color:#008cca; +} +.css_null { +color:#008cca; +} +.css_property_name { +color:#000000; +font-weight:bold; +} +.css_property_value { +color:#ff6600; +} +.css_uri { +color:#2A00FF; +} +.css_atmark_rule { +color:#3F7F7F; +} +.css_media { +color:#336699; +} +.css_string { +color:#336699; +} \ No newline at end of file Modified: trunk/hibernatetools/docs/resources/styles/en/Images/ico_importan= t.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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) Added: trunk/hibernatetools/docs/resources/styles/en/Images/ico_tip.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/hibernatetools/docs/resources/styles/en/Images/i= co_tip.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/hibernatetools/docs/resources/styles/en/html.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/docs/resources/styles/en/html.css 2008-01-18 15:46= :37 UTC (rev 5807) +++ trunk/hibernatetools/docs/resources/styles/en/html.css 2008-01-18 15:58= :21 UTC (rev 5808) @@ -71,6 +71,10 @@ text-align: center; } = +div.book .subtitle { + text-align: center; +} + .mediaobject{ padding : 5px 10px 5px 35px; } @@ -108,8 +112,8 @@ } = DIV.note{ - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #FFFDD3; - background-image : url('Images/ico_note.gif'); background-repeat : no-rep= eat; background-position :top left; + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #cfe3ff; + background-image : url('../images/ico_note.gif'); background-repeat : no-= repeat; background-position :top left; } = DIV.note *{ @@ -123,8 +127,8 @@ MARGIN-TOP: 0px; MARGIN-BOTTOM: 1em; PADDING-BOTTOM: 0px; PADDING-TOP: 0px } DIV.important { - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; - background-image : url('Images/ico_important.gif'); background-repeat : n= o-repeat; background-position :top left; = + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #fee3d9; + background-image : url('../images/ico_important.gif'); background-repeat = : no-repeat; background-position :top left; = } = DIV.important *{ @@ -136,7 +140,19 @@ = } = +DIV.tip { + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('../images/ico_tip.gif'); +} = +DIV.tip *{ + line-height : 14px; +} + +.tip pre.XML { +PADDING: 1px 1px 1px 10px; + +} + TABLE { BORDER: #cccccc 1px solid; FONT-SIZE: 11px; BORDER-COLLAPSE: collapse; b= order-spacing: 0; empty-cells: hide; margin-bottom : 10px; } @@ -148,7 +164,7 @@ = .table TH { WHITE-SPACE: nowrap; BACKGROUND-COLOR: #EEF5FF; TEXT-ALIGN: center; BOR= DER-BOTTOM: #CAE1FF 2px solid; PADDING: 2px 8px 2px 8px; - background-image : url('Images/bg_table.gif'); background-repeat : repeat= -x; background-position :top left; + background-image : url('../images/bg_table.gif'); background-repeat : rep= eat-x; background-position :top left; } TD { PADDING: 4px 8px 4px 8px; BORDER-BOTTOM: #cccccc 1px dotted; BORDER-righ= t: #cccccc 1px dotted; @@ -343,4 +359,51 @@ cursor: pointer; } = - +pre.CSS, pre.css { + line-height:0px; + margin-bottom:0em; +} +.css_normal { + line-height:0px; + color:#000000; +} +.css_colon { +color:#000000; +} +.css_semi_colon { +color:#000000; +} +.css_curly_brace { +color:#000000; +} +.css_comment { +color:#939393; +} +.css_error { +color:#BF3F3F; +} +.css_selector { +color:#008cca; +} +.css_null { +color:#008cca; +} +.css_property_name { +color:#000000; +font-weight:bold; +} +.css_property_value { +color:#ff6600; +} +.css_uri { +color:#2A00FF; +} +.css_atmark_rule { +color:#3F7F7F; +} +.css_media { +color:#336699; +} +.css_string { +color:#336699; +} \ No newline at end of file Modified: trunk/jbpm/docs/resources/styles/en/Images/ico_important.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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) Added: trunk/jbpm/docs/resources/styles/en/Images/ico_tip.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/jbpm/docs/resources/styles/en/Images/ico_tip.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/jbpm/docs/resources/styles/en/html.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/docs/resources/styles/en/html.css 2008-01-18 15:46:37 UTC (r= ev 5807) +++ trunk/jbpm/docs/resources/styles/en/html.css 2008-01-18 15:58:21 UTC (r= ev 5808) @@ -71,6 +71,10 @@ text-align: center; } = +div.book .subtitle { + text-align: center; +} + .mediaobject{ padding : 5px 10px 5px 35px; } @@ -99,7 +103,7 @@ = = div.book div.mediaobject{ -text-align:left; +text-align:center; } = div.mediaobject, div.mediaobject img *{ @@ -108,8 +112,8 @@ } = DIV.note{ - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #FFFDD3; - background-image : url('Images/ico_note.gif'); background-repeat : no-rep= eat; background-position :top left; + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #cfe3ff; + background-image : url('../images/ico_note.gif'); background-repeat : no-= repeat; background-position :top left; } = DIV.note *{ @@ -123,8 +127,8 @@ MARGIN-TOP: 0px; MARGIN-BOTTOM: 1em; PADDING-BOTTOM: 0px; PADDING-TOP: 0px } DIV.important { - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; - background-image : url('Images/ico_important.gif'); background-repeat : n= o-repeat; background-position :top left; = + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #fee3d9; + background-image : url('../images/ico_important.gif'); background-repeat = : no-repeat; background-position :top left; = } = DIV.important *{ @@ -136,7 +140,19 @@ = } = +DIV.tip { + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('../images/ico_tip.gif'); +} = +DIV.tip *{ + line-height : 14px; +} + +.tip pre.XML { +PADDING: 1px 1px 1px 10px; + +} + TABLE { BORDER: #cccccc 1px solid; FONT-SIZE: 11px; BORDER-COLLAPSE: collapse; b= order-spacing: 0; empty-cells: hide; margin-bottom : 10px; } @@ -148,7 +164,7 @@ = .table TH { WHITE-SPACE: nowrap; BACKGROUND-COLOR: #EEF5FF; TEXT-ALIGN: center; BOR= DER-BOTTOM: #CAE1FF 2px solid; PADDING: 2px 8px 2px 8px; - background-image : url('Images/bg_table.gif'); background-repeat : repeat= -x; background-position :top left; + background-image : url('../images/bg_table.gif'); background-repeat : rep= eat-x; background-position :top left; } TD { PADDING: 4px 8px 4px 8px; BORDER-BOTTOM: #cccccc 1px dotted; BORDER-righ= t: #cccccc 1px dotted; @@ -343,4 +359,51 @@ cursor: pointer; } = - +pre.CSS, pre.css { + line-height:0px; + margin-bottom:0em; +} +.css_normal { + line-height:0px; + color:#000000; +} +.css_colon { +color:#000000; +} +.css_semi_colon { +color:#000000; +} +.css_curly_brace { +color:#000000; +} +.css_comment { +color:#939393; +} +.css_error { +color:#BF3F3F; +} +.css_selector { +color:#008cca; +} +.css_null { +color:#008cca; +} +.css_property_name { +color:#000000; +font-weight:bold; +} +.css_property_value { +color:#ff6600; +} +.css_uri { +color:#2A00FF; +} +.css_atmark_rule { +color:#3F7F7F; +} +.css_media { +color:#336699; +} +.css_string { +color:#336699; +} \ No newline at end of file Modified: trunk/jsf/docs/resources/styles/en/Images/ico_important.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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) Added: trunk/jsf/docs/resources/styles/en/Images/ico_tip.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/resources/styles/en/Images/ico_tip.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/jsf/docs/resources/styles/en/html.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/resources/styles/en/html.css 2008-01-18 15:46:37 UTC (re= v 5807) +++ trunk/jsf/docs/resources/styles/en/html.css 2008-01-18 15:58:21 UTC (re= v 5808) @@ -71,6 +71,10 @@ text-align: center; } = +div.book .subtitle { + text-align: center; +} + .mediaobject{ padding : 5px 10px 5px 35px; } @@ -99,7 +103,7 @@ = = div.book div.mediaobject{ -text-align:left; +text-align:center; } = div.mediaobject, div.mediaobject img *{ @@ -108,8 +112,8 @@ } = DIV.note{ - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #FFFDD3; - background-image : url('Images/ico_note.gif'); background-repeat : no-rep= eat; background-position :top left; + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #cfe3ff; + background-image : url('../images/ico_note.gif'); background-repeat : no-= repeat; background-position :top left; } = DIV.note *{ @@ -123,8 +127,8 @@ MARGIN-TOP: 0px; MARGIN-BOTTOM: 1em; PADDING-BOTTOM: 0px; PADDING-TOP: 0px } DIV.important { - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; - background-image : url('Images/ico_important.gif'); background-repeat : n= o-repeat; background-position :top left; = + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #fee3d9; + background-image : url('../images/ico_important.gif'); background-repeat = : no-repeat; background-position :top left; = } = DIV.important *{ @@ -136,7 +140,19 @@ = } = +DIV.tip { + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('../images/ico_tip.gif'); +} = +DIV.tip *{ + line-height : 14px; +} + +.tip pre.XML { +PADDING: 1px 1px 1px 10px; + +} + TABLE { BORDER: #cccccc 1px solid; FONT-SIZE: 11px; BORDER-COLLAPSE: collapse; b= order-spacing: 0; empty-cells: hide; margin-bottom : 10px; } @@ -148,7 +164,7 @@ = .table TH { WHITE-SPACE: nowrap; BACKGROUND-COLOR: #EEF5FF; TEXT-ALIGN: center; BOR= DER-BOTTOM: #CAE1FF 2px solid; PADDING: 2px 8px 2px 8px; - background-image : url('Images/bg_table.gif'); background-repeat : repeat= -x; background-position :top left; + background-image : url('../images/bg_table.gif'); background-repeat : rep= eat-x; background-position :top left; } TD { PADDING: 4px 8px 4px 8px; BORDER-BOTTOM: #cccccc 1px dotted; BORDER-righ= t: #cccccc 1px dotted; @@ -343,4 +359,51 @@ cursor: pointer; } = - +pre.CSS, pre.css { + line-height:0px; + margin-bottom:0em; +} +.css_normal { + line-height:0px; + color:#000000; +} +.css_colon { +color:#000000; +} +.css_semi_colon { +color:#000000; +} +.css_curly_brace { +color:#000000; +} +.css_comment { +color:#939393; +} +.css_error { +color:#BF3F3F; +} +.css_selector { +color:#008cca; +} +.css_null { +color:#008cca; +} +.css_property_name { +color:#000000; +font-weight:bold; +} +.css_property_value { +color:#ff6600; +} +.css_uri { +color:#2A00FF; +} +.css_atmark_rule { +color:#3F7F7F; +} +.css_media { +color:#336699; +} +.css_string { +color:#336699; +} \ No newline at end of file Modified: trunk/seam/docs/resources/styles/en/Images/ico_important.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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) Added: trunk/seam/docs/resources/styles/en/Images/ico_tip.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/seam/docs/resources/styles/en/Images/ico_tip.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/seam/docs/resources/styles/en/html.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/docs/resources/styles/en/html.css 2008-01-18 15:46:37 UTC (r= ev 5807) +++ trunk/seam/docs/resources/styles/en/html.css 2008-01-18 15:58:21 UTC (r= ev 5808) @@ -71,6 +71,10 @@ text-align: center; } = +div.book .subtitle { + text-align: center; +} + .mediaobject{ padding : 5px 10px 5px 35px; } @@ -99,7 +103,7 @@ = = div.book div.mediaobject{ -text-align:left; +text-align:center; } = div.mediaobject, div.mediaobject img *{ @@ -108,8 +112,8 @@ } = DIV.note{ - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #FFFDD3; - background-image : url('Images/ico_note.gif'); background-repeat : no-rep= eat; background-position :top left; + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #cfe3ff; + background-image : url('../images/ico_note.gif'); background-repeat : no-= repeat; background-position :top left; } = DIV.note *{ @@ -123,8 +127,8 @@ MARGIN-TOP: 0px; MARGIN-BOTTOM: 1em; PADDING-BOTTOM: 0px; PADDING-TOP: 0px } DIV.important { - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; - background-image : url('Images/ico_important.gif'); background-repeat : n= o-repeat; background-position :top left; = + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #fee3d9; + background-image : url('../images/ico_important.gif'); background-repeat = : no-repeat; background-position :top left; = } = DIV.important *{ @@ -136,7 +140,19 @@ = } = +DIV.tip { + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('../images/ico_tip.gif'); +} = +DIV.tip *{ + line-height : 14px; +} + +.tip pre.XML { +PADDING: 1px 1px 1px 10px; + +} + TABLE { BORDER: #cccccc 1px solid; FONT-SIZE: 11px; BORDER-COLLAPSE: collapse; b= order-spacing: 0; empty-cells: hide; margin-bottom : 10px; } @@ -148,7 +164,7 @@ = .table TH { WHITE-SPACE: nowrap; BACKGROUND-COLOR: #EEF5FF; TEXT-ALIGN: center; BOR= DER-BOTTOM: #CAE1FF 2px solid; PADDING: 2px 8px 2px 8px; - background-image : url('Images/bg_table.gif'); background-repeat : repeat= -x; background-position :top left; + background-image : url('../images/bg_table.gif'); background-repeat : rep= eat-x; background-position :top left; } TD { PADDING: 4px 8px 4px 8px; BORDER-BOTTOM: #cccccc 1px dotted; BORDER-righ= t: #cccccc 1px dotted; @@ -343,4 +359,51 @@ cursor: pointer; } = - +pre.CSS, pre.css { + line-height:0px; + margin-bottom:0em; +} +.css_normal { + line-height:0px; + color:#000000; +} +.css_colon { +color:#000000; +} +.css_semi_colon { +color:#000000; +} +.css_curly_brace { +color:#000000; +} +.css_comment { +color:#939393; +} +.css_error { +color:#BF3F3F; +} +.css_selector { +color:#008cca; +} +.css_null { +color:#008cca; +} +.css_property_name { +color:#000000; +font-weight:bold; +} +.css_property_value { +color:#ff6600; +} +.css_uri { +color:#2A00FF; +} +.css_atmark_rule { +color:#3F7F7F; +} +.css_media { +color:#336699; +} +.css_string { +color:#336699; +} \ No newline at end of file --===============8205046760953192965==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 11:20:16 2008 Content-Type: multipart/mixed; boundary="===============2702554111911312243==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5809 - in trunk/hibernatetools/plugins/org.hibernate.eclipse: src/org/hibernate/console and 1 other directory. Date: Fri, 18 Jan 2008 11:20:16 -0500 Message-ID: --===============2702554111911312243== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vyemialyanchyk Date: 2008-01-18 11:20:15 -0500 (Fri, 18 Jan 2008) New Revision: 5809 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/META-INF/MANIFEST.MF trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/con= sole/ConsoleConfiguration.java trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/con= sole/KnownConfigurations.java Log: http://jira.jboss.org/jira/browse/JBIDE-1422 rool back Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/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/hibernatetools/plugins/org.hibernate.eclipse/META-INF/MANIFEST.MF= 2008-01-18 15:58:21 UTC (rev 5808) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse/META-INF/MANIFEST.MF= 2008-01-18 16:20:15 UTC (rev 5809) @@ -278,7 +278,6 @@ org.hibernate.connection, org.hibernate.console, org.hibernate.console.execution, - org.hibernate.console.model, org.hibernate.console.node, org.hibernate.console.preferences, org.hibernate.context, Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibern= ate/console/ConsoleConfiguration.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/ConsoleConfiguration.java 2008-01-18 15:58:21 UTC (rev 5808) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/co= nsole/ConsoleConfiguration.java 2008-01-18 16:20:15 UTC (rev 5809) @@ -55,7 +55,6 @@ import org.hibernate.console.execution.ExecutionContext; import org.hibernate.console.execution.ExecutionContextHolder; import org.hibernate.console.execution.ExecutionContext.Command; -import org.hibernate.console.model.IParentElImpl; import org.hibernate.console.preferences.ConsoleConfigurationPreferences; import org.hibernate.console.preferences.ConsoleConfigurationPreferences.C= onfigurationMode; import org.hibernate.util.ConfigHelper; @@ -66,7 +65,7 @@ import org.xml.sax.EntityResolver; import org.xml.sax.InputSource; = -public class ConsoleConfiguration extends IParentElImpl implements Executi= onContextHolder { +public class ConsoleConfiguration implements ExecutionContextHolder { = private ExecutionContext executionContext; = Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibern= ate/console/KnownConfigurations.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/KnownConfigurations.java 2008-01-18 15:58:21 UTC (rev 5808) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/co= nsole/KnownConfigurations.java 2008-01-18 16:20:15 UTC (rev 5809) @@ -51,7 +51,6 @@ import org.eclipse.ui.console.MessageConsole; import org.eclipse.ui.console.MessageConsoleStream; import org.hibernate.SessionFactory; -import org.hibernate.console.model.IParentEl; import org.hibernate.console.node.BaseNode; import org.hibernate.console.node.ConfigurationListNode; import org.hibernate.eclipse.HibernatePlugin; @@ -63,7 +62,7 @@ * This class keeps track of the Hibernate Configurations that are known to * the Hibernate Console plugin. */ -public class KnownConfigurations implements IParentEl { +public class KnownConfigurations { = // TODO: is the best way for the querypage model ? = private QueryPageModel queryPages =3D new QueryPageModel(); = @@ -346,43 +345,7 @@ = public List getQueryParameterList() { return queryParameters; - } - - public Object[] getChildren() { - return getConfigurationsSortedByName(); - } - - public boolean hasChildren() { - if (null =3D=3D configurations) { - return true; - } - return( configurations.size() > 0 ); } = - - public void setChildren(Object[] children) { - for (int i =3D 0; i < children.length; i++) { - if (!(children[i] instanceof ConsoleConfiguration)) { - continue; - } - ConsoleConfiguration configuration =3D (ConsoleConfiguration)children[i= ]; - addConfiguration(configuration, true); - } - } - - public void addChild(Object child) { - if (!(child instanceof ConsoleConfiguration)) { - return; - } - ConsoleConfiguration configuration =3D (ConsoleConfiguration)child; - addConfiguration(configuration, true); - } - - public void removeChild(Object child) { - if (!(child instanceof ConsoleConfiguration)) { - return; - } - ConsoleConfiguration configuration =3D (ConsoleConfiguration)child; - removeConfiguration(configuration, true); - } = + = } --===============2702554111911312243==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 11:20:52 2008 Content-Type: multipart/mixed; boundary="===============5001893167901057900==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5810 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/workbench. Date: Fri, 18 Jan 2008 11:20:52 -0500 Message-ID: --===============5001893167901057900== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vyemialyanchyk Date: 2008-01-18 11:20:52 -0500 (Fri, 18 Jan 2008) New Revision: 5810 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/workbench/ConsoleConfigurationWorkbenchAdapter.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/workbench/DeferredContentProvider.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/workbench/LazyDatabaseSchema.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/workbench/LazyDatabaseSchemaWorkbenchAdapter.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/workbench/LazySessionFactory.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/workbench/LazySessionFactoryAdapter.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/workbench/TableContainer.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/workbench/TableContainerWorkbenchAdapter.java Log: http://jira.jboss.org/jira/browse/JBIDE-1422 rool back Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/workbench/ConsoleConfigurationWorkbenchAdapter.= 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.console/src/org/hibe= rnate/eclipse/console/workbench/ConsoleConfigurationWorkbenchAdapter.java 2= 008-01-18 16:20:15 UTC (rev 5809) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/workbench/ConsoleConfigurationWorkbenchAdapter.java 2= 008-01-18 16:20:52 UTC (rev 5810) @@ -75,9 +75,7 @@ o2 =3D sfError; = }*/ = - Object[] res =3D new Object[] { o1, new LazySessionFactory(ccfg), new La= zyDatabaseSchema(ccfg) }; - ccfg.setChildren(res); - return res; + return new Object[] { o1, new LazySessionFactory(ccfg), new LazyDatabase= Schema(ccfg) }; } = private ConsoleConfiguration getConsoleConfiguration(Object o) { Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/workbench/DeferredContentProvider.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.console/src/org/hibe= rnate/eclipse/console/workbench/DeferredContentProvider.java 2008-01-18 16:= 20:15 UTC (rev 5809) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/workbench/DeferredContentProvider.java 2008-01-18 16:= 20:52 UTC (rev 5810) @@ -29,7 +29,6 @@ import org.eclipse.ui.model.IWorkbenchAdapter; import org.eclipse.ui.progress.DeferredTreeContentManager; import org.eclipse.ui.progress.IDeferredWorkbenchAdapter; -import org.hibernate.console.model.IParentEl; = public class DeferredContentProvider extends BaseWorkbenchContentProvider { = @@ -56,10 +55,6 @@ * @see org.eclipse.jface.viewers.ITreeContentProvider#hasChildren(java.l= ang.Object) */ public boolean hasChildren(Object element) { - // if we could check simple check it without DeferredTreeContentManager - if (element instanceof IParentEl) { - return ((IParentEl)element).hasChildren(); - } // the + box will always appear, but then disappear // if not needed after you first click on it. if (manager !=3D null) { @@ -74,13 +69,6 @@ * @see org.eclipse.ui.model.WorkbenchContentProvider#getChildren(java.la= ng.Object) */ public Object[] getChildren(Object element) { - // if we could get children simple get it without DeferredTreeContentMan= ager - if (element instanceof IParentEl) { - Object[] children =3D ((IParentEl)element).getChildren(); - if (null !=3D children) { - return children; - } - } if (manager !=3D null) { Object[] children =3D manager.getChildren(element); if(children !=3D null) { Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/workbench/LazyDatabaseSchema.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.console/src/org/hibe= rnate/eclipse/console/workbench/LazyDatabaseSchema.java 2008-01-18 16:20:15= UTC (rev 5809) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/workbench/LazyDatabaseSchema.java 2008-01-18 16:20:52= UTC (rev 5810) @@ -24,9 +24,8 @@ import org.hibernate.cfg.reveng.DefaultReverseEngineeringStrategy; import org.hibernate.cfg.reveng.ReverseEngineeringStrategy; import org.hibernate.console.ConsoleConfiguration; -import org.hibernate.console.model.IParentElImpl; = -public class LazyDatabaseSchema extends IParentElImpl { +public class LazyDatabaseSchema { = private final ConsoleConfiguration ccfg; private final ReverseEngineeringStrategy res; @@ -46,4 +45,5 @@ public ReverseEngineeringStrategy getReverseEngineeringStrategy() { return res; } + = } Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/workbench/LazyDatabaseSchemaWorkbenchAdapter.ja= va =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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.console/src/org/hibe= rnate/eclipse/console/workbench/LazyDatabaseSchemaWorkbenchAdapter.java 200= 8-01-18 16:20:15 UTC (rev 5809) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/workbench/LazyDatabaseSchemaWorkbenchAdapter.java 200= 8-01-18 16:20:52 UTC (rev 5810) @@ -64,7 +64,7 @@ Map.Entry entry =3D (Map.Entry) qualifierEntries.next(); result.add(new TableContainer((String) entry.getKey(),(List)entry.getVa= lue())); } - Object[] res =3D toArray(result.iterator(), TableContainer.class, new Co= mparator() { + return toArray(result.iterator(), TableContainer.class, new Comparator()= { = public int compare(Object arg0, Object arg1) { = @@ -72,8 +72,6 @@ } = }); - dbs.setChildren(res); - return res; } = private LazyDatabaseSchema getLazyDatabaseSchema(Object o) { Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/workbench/LazySessionFactory.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.console/src/org/hibe= rnate/eclipse/console/workbench/LazySessionFactory.java 2008-01-18 16:20:15= UTC (rev 5809) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/workbench/LazySessionFactory.java 2008-01-18 16:20:52= UTC (rev 5810) @@ -22,10 +22,9 @@ package org.hibernate.eclipse.console.workbench; = import org.hibernate.console.ConsoleConfiguration; -import org.hibernate.console.model.IParentElImpl; import org.hibernate.console.node.ConfigurationEntitiesNode; = -public class LazySessionFactory extends IParentElImpl { +public class LazySessionFactory { = private final ConsoleConfiguration ccfg; private ConfigurationEntitiesNode cfgNode; Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/workbench/LazySessionFactoryAdapter.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.console/src/org/hibe= rnate/eclipse/console/workbench/LazySessionFactoryAdapter.java 2008-01-18 1= 6:20:15 UTC (rev 5809) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/workbench/LazySessionFactoryAdapter.java 2008-01-18 1= 6:20:52 UTC (rev 5810) @@ -50,9 +50,7 @@ } = } if(lazySessionFactory.getCfgNode()!=3Dnull) { - Object[] res =3D toArray(lazySessionFactory.getCfgNode().children(),Bas= eNode.class); - lazySessionFactory.setChildren(res); - return res; + return toArray(lazySessionFactory.getCfgNode().children(),BaseNode.clas= s); = } else { return new Object[] { label }; } Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/workbench/TableContainer.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.console/src/org/hibe= rnate/eclipse/console/workbench/TableContainer.java 2008-01-18 16:20:15 UTC= (rev 5809) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/workbench/TableContainer.java 2008-01-18 16:20:52 UTC= (rev 5810) @@ -23,10 +23,8 @@ = import java.util.List; = -import org.hibernate.console.model.IParentElImpl; +public class TableContainer { = -public class TableContainer extends IParentElImpl { - private final List tables; private final String name; = Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/workbench/TableContainerWorkbenchAdapter.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.console/src/org/hibe= rnate/eclipse/console/workbench/TableContainerWorkbenchAdapter.java 2008-01= -18 16:20:15 UTC (rev 5809) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/workbench/TableContainerWorkbenchAdapter.java 2008-01= -18 16:20:52 UTC (rev 5810) @@ -32,7 +32,7 @@ = public Object[] getChildren(Object o) { TableContainer tc =3D getTableContainer( o ); - Object[] res =3D toArray(tc.getTables().iterator(), Table.class, new Com= parator() { + return toArray(tc.getTables().iterator(), Table.class, new Comparator() { = public int compare(Object arg0, Object arg1) { = @@ -40,8 +40,6 @@ } = }); - tc.setChildren(res); - return res; } = private TableContainer getTableContainer(Object o) { --===============5001893167901057900==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 11:21:17 2008 Content-Type: multipart/mixed; boundary="===============2593492502290736911==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5811 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views. Date: Fri, 18 Jan 2008 11:21:17 -0500 Message-ID: --===============2593492502290736911== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vyemialyanchyk Date: 2008-01-18 11:21:16 -0500 (Fri, 18 Jan 2008) New Revision: 5811 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/views/KnownConfigurationsProvider.java Log: http://jira.jboss.org/jira/browse/JBIDE-1422 rool back Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/views/KnownConfigurationsProvider.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.console/src/org/hibe= rnate/eclipse/console/views/KnownConfigurationsProvider.java 2008-01-18 16:= 20:52 UTC (rev 5810) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/views/KnownConfigurationsProvider.java 2008-01-18 16:= 21:16 UTC (rev 5811) @@ -21,10 +21,13 @@ */ package org.hibernate.eclipse.console.views; = +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.core.runtime.Platform; import org.eclipse.jface.viewers.AbstractTreeViewer; import org.eclipse.jface.viewers.TreeViewer; import org.eclipse.jface.viewers.Viewer; import org.eclipse.swt.widgets.Display; +import org.eclipse.ui.model.IWorkbenchAdapter; import org.hibernate.SessionFactory; import org.hibernate.console.ConsoleConfiguration; import org.hibernate.console.KnownConfigurations; @@ -63,19 +66,25 @@ } = private void refreshTree() { - tv.getTree().setRedraw(false); Runnable runnable =3D new Runnable() { public void run() { tv.refresh(); } }; - tv.getControl().getDisplay().asyncExec(runnable); - tv.getTree().setRedraw(true); + tv.getControl().getDisplay().syncExec(runnable); } = public void configurationRemoved(ConsoleConfiguration root, boolean forUp= date) { refreshTree(); = } + = + protected IWorkbenchAdapter getAdapter(Object o) { + if (o instanceof IAdaptable) { + return (IWorkbenchAdapter) ((IAdaptable) o).getAdapter(IWorkbench= Adapter.class); + } else { + return (IWorkbenchAdapter) Platform.getAdapterManager().getAdapte= r(o, IWorkbenchAdapter.class); + } + } = public void sessionFactoryBuilt(final ConsoleConfiguration ccfg, SessionF= actory builtFactory) { /*(Display.getDefault().syncExec(new Runnable() { Disabled as it will ge= nerate double entries in the child list --===============2593492502290736911==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 11:35:14 2008 Content-Type: multipart/mixed; boundary="===============3354496965310472343==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5812 - trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console. Date: Fri, 18 Jan 2008 11:34:11 -0500 Message-ID: --===============3354496965310472343== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-18 11:34:10 -0500 (Fri, 18 Jan 2008) New Revision: 5812 Removed: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/con= sole/model/ Log: more rollback for JBIDE-1422 --===============3354496965310472343==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 14:06:59 2008 Content-Type: multipart/mixed; boundary="===============2309058940836016340==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5813 - trunk/hibernatetools/features/org.hibernate.eclipse.test.feature. Date: Fri, 18 Jan 2008 14:02:58 -0500 Message-ID: --===============2309058940836016340== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-18 14:02:58 -0500 (Fri, 18 Jan 2008) New Revision: 5813 Modified: trunk/hibernatetools/features/org.hibernate.eclipse.test.feature/feature= .xml Log: fix res/project not found problem Modified: trunk/hibernatetools/features/org.hibernate.eclipse.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/hibernatetools/features/org.hibernate.eclipse.test.feature/featur= e.xml 2008-01-18 16:34:10 UTC (rev 5812) +++ trunk/hibernatetools/features/org.hibernate.eclipse.test.feature/featur= e.xml 2008-01-18 19:02:58 UTC (rev 5813) @@ -27,7 +27,6 @@ id=3D"org.hibernate.eclipse.jdt.ui.test" download-size=3D"0" install-size=3D"0" - version=3D"0.0.0" - unpack=3D"false"/> + version=3D"0.0.0"/> = --===============2309058940836016340==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 15:01:04 2008 Content-Type: multipart/mixed; boundary="===============8999408165516870103==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5814 - trunk/hibernatetools/plugins/org.hibernate.eclipse/lib/tools. Date: Fri, 18 Jan 2008 15:01:04 -0500 Message-ID: --===============8999408165516870103== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-18 15:01:04 -0500 (Fri, 18 Jan 2008) New Revision: 5814 Removed: trunk/hibernatetools/plugins/org.hibernate.eclipse/lib/tools/hibernate-t= ools.jar Log: Deleted: trunk/hibernatetools/plugins/org.hibernate.eclipse/lib/tools/hiber= nate-tools.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) --===============8999408165516870103==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 15:02:11 2008 Content-Type: multipart/mixed; boundary="===============2156992933985335457==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5815 - trunk/hibernatetools/plugins/org.hibernate.eclipse/lib/tools. Date: Fri, 18 Jan 2008 15:02:11 -0500 Message-ID: --===============2156992933985335457== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-18 15:02:11 -0500 (Fri, 18 Jan 2008) New Revision: 5815 Added: trunk/hibernatetools/plugins/org.hibernate.eclipse/lib/tools/hibernate-t= ools.jar Log: undo bad delete Added: trunk/hibernatetools/plugins/org.hibernate.eclipse/lib/tools/hiberna= te-tools.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) Property changes on: trunk/hibernatetools/plugins/org.hibernate.eclipse/lib= /tools/hibernate-tools.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream --===============2156992933985335457==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 15:58:47 2008 Content-Type: multipart/mixed; boundary="===============7967214735088631703==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5816 - in trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test: view and 1 other directories. Date: Fri, 18 Jan 2008 15:58:47 -0500 Message-ID: --===============7967214735088631703== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-18 15:58:47 -0500 (Fri, 18 Jan 2008) New Revision: 5816 Added: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/u= i/test/view/SeamComponentsViewAllTests.java trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/u= i/test/view/SeamComponentsViewTestSetup.java Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/u= i/test/SeamUiAllTests.java trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/u= i/test/view/SeamComponentsViewTest.java trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/u= i/test/wizard/SeamFormNewWizardTest.java trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/u= i/test/wizard/SeamProjectNewWizardTest.java Log: fix test errors Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools= /seam/ui/test/SeamUiAllTests.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/SeamUiAllTests.java 2008-01-18 20:02:11 UTC (rev 5815) +++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/= ui/test/SeamUiAllTests.java 2008-01-18 20:58:47 UTC (rev 5816) @@ -16,7 +16,9 @@ = import org.jboss.tools.seam.ui.test.preferences.SeamPreferencesPageTest; import org.jboss.tools.seam.ui.test.hyperlink.SeamViewHyperlinkPartitioner= Test; +import org.jboss.tools.seam.ui.test.view.SeamComponentsViewAllTests; import org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest; +import org.jboss.tools.seam.ui.test.view.SeamComponentsViewTestSetup; import org.jboss.tools.seam.ui.test.wizard.SeamFormNewWizardTest; import org.jboss.tools.seam.ui.test.wizard.SeamProjectNewWizardTest; = @@ -27,8 +29,8 @@ public class SeamUiAllTests { = public static Test suite() { - TestSuite suite =3D new TestSuite(SeamUiAllTests.class.getName()); - suite.addTestSuite(SeamComponentsViewTest.class); + TestSuite suite =3D new TestSuite("Seam UI tests"); + suite.addTest(SeamComponentsViewAllTests.suite()); suite.addTestSuite(SeamProjectNewWizardTest.class); suite.addTestSuite(SeamFormNewWizardTest.class); suite.addTestSuite(SeamPreferencesPageTest.class); = Added: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/se= am/ui/test/view/SeamComponentsViewAllTests.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/view/SeamComponentsViewAllTests.java (rev 0) +++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/= ui/test/view/SeamComponentsViewAllTests.java 2008-01-18 20:58:47 UTC (rev 5= 816) @@ -0,0 +1,26 @@ +/*************************************************************************= ****** + * 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.seam.ui.test.view; + +import junit.framework.Test; +import junit.framework.TestSuite; + +/** + * @author eskimo + * + */ +public class SeamComponentsViewAllTests { + public static Test suite() { + TestSuite suite =3D new TestSuite("Seam Components View tests"); + suite.addTest(new SeamComponentsViewTestSetup(new TestSuite(SeamComponen= tsViewTest.class))); + return suite; + } +} Property changes on: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/= jboss/tools/seam/ui/test/view/SeamComponentsViewAllTests.java ___________________________________________________________________ Name: svn:mime-type + text/plain Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools= /seam/ui/test/view/SeamComponentsViewTest.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/view/SeamComponentsViewTest.java 2008-01-18 20:02:11 UTC (rev 5815) +++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/= ui/test/view/SeamComponentsViewTest.java 2008-01-18 20:58:47 UTC (rev 5816) @@ -64,32 +64,23 @@ @Override protected void setUp() throws Exception { super.setUp(); - //ScopePresentationActionProvider.setPackageStructureFlat(false); - WorkbenchUtils.getWorkbench().showPerspective( - WebDevelopmentPerspectiveFactory.PERSPECTIVE_ID, - WorkbenchUtils.getWorkbench().getActiveWorkbenchWindow()); - TestProjectProvider provider=3Dnull; + = project =3D (IProject)ResourcesPlugin.getWorkspace().getRoot().findMembe= r("TestComponentView"); + assertNotNull("",project); = - if(project=3D=3Dnull) { - project =3D ResourcesUtils.importProject(Platform.getBundle("org.jboss.= tools.seam.ui.test"), "/projects/TestComponentView", new NullProgressMonito= r()); - } componentsFile =3D project.getFile("WebContent/WEB-INF/components.xml"); assertTrue("Cannot find components.xml in test project", componentsFile = !=3D null && componentsFile.exists()); + + EditorTestHelper.joinBackgroundActivities(); } = - public void testAddComponentInXmlFile(){ - SeamCorePlugin.getSeamProject(project, true); - = + public void testAddComponentInXmlFile() throws CoreException{ CommonNavigator navigator =3D getSeamComponentsView(); = navigator.getCommonViewer().expandAll(); = - = Tree tree =3D navigator.getCommonViewer().getTree(); = - updateTree(tree); - = ISeamPackage seamPackage =3D findSeamPackage(tree, "myPackage"); = assertTrue("Error in initial loading components from components.xml. " + @@ -104,7 +95,6 @@ try { componentsFile.setContents(file1.getContents(), = true, false, new NullProgressMonitor()); - componentsFile.touch(new NullProgressMonitor()); } catch (CoreException e) { JUnitUtils.fail("Error in changing 'components.xml' content to " + "'WebContent/WEB-INF/components.1'", e); @@ -112,8 +102,8 @@ = refreshProject(project); = - updateTree(tree); - + navigator.getCommonViewer().expandAll(); + = seamPackage =3D findSeamPackage(tree, "myPackage"); assertTrue("Seam model is not updated, expected package 'myPackage'" + " is not found in tree",seamPackage!=3Dnull); @@ -126,13 +116,12 @@ = } = - public void testRenameComponentInXmlFile(){ + public void testRenameComponentInXmlFile() throws CoreException{ = CommonNavigator navigator =3D getSeamComponentsView(); navigator.getCommonViewer().expandAll(); = Tree tree =3D navigator.getCommonViewer().getTree(); - updateTree(tree); = ISeamPackage seamPackage =3D findSeamPackage(tree, "myPackage"); = @@ -152,16 +141,15 @@ = try{ componentsFile.setContents(file1.getContents(), true, false, new NullPr= ogressMonitor()); - componentsFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'components.xml' content to " + "'WebContent/WEB-INF/components.2'", ex); } = refreshProject(project); + + navigator.getCommonViewer().expandAll(); = - updateTree(tree); - = seamPackage =3D findSeamPackage(tree, "myPackage"); assertTrue("Expected package 'myPackage' was not found it tree", seamPackage!=3Dnull); @@ -176,7 +164,6 @@ } = try{ componentsFile.setContents(file1.getContents(), true, false, new NullPr= ogressMonitor()); - componentsFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Error in changing 'components.xml' content to " + "'WebContent/WEB-INF/components.3'", ex); @@ -184,8 +171,10 @@ = refreshProject(project); = - updateTree(tree); + navigator.getCommonViewer().expandAll(); = + EditorTestHelper.joinBackgroundActivities(); + = seamPackage =3D findSeamPackage(tree, "myNewPackage"); assertTrue("Expected package 'myNewPackage' was not found it tree after = " + "renaming", @@ -196,15 +185,13 @@ "after renaming",component!=3Dnull); } = - public void testDeleteComponentInXmlFile(){ + public void testDeleteComponentInXmlFile() throws CoreException{ = CommonNavigator navigator =3D getSeamComponentsView(); navigator.getCommonViewer().expandAll(); - + EditorTestHelper.joinBackgroundActivities(); Tree tree =3D navigator.getCommonViewer().getTree(); = - updateTree(tree); - ISeamPackage seamPackage =3D findSeamPackage(tree, "myNewPackage"); assertTrue("Package \"myNewPackage\" not found!",seamPackage!=3Dnull); = @@ -216,14 +203,13 @@ = try{ componentsFile.setContents(file1.getContents(), true, false, new NullPr= ogressMonitor()); - componentsFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Cannot read file WebContent/WEB-INF/components.4", ex); } = refreshProject(project); = - updateTree(tree); + navigator.getCommonViewer().expandAll(); = seamPackage =3D findSeamPackage(tree, "myNewPackage"); assertTrue("Package \"myNewPackage\" found!",seamPackage=3D=3Dnull); @@ -248,14 +234,13 @@ = try{ classFile.create(file1.getContents(), false, new NullProgressMonitor()); - classFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Cannot read file JavaSource/demo/Person.1", ex); } = refreshProject(project); = - updateTree(tree); + navigator.getCommonViewer().expandAll(); = seamPackage =3D findSeamPackage(tree, "demo"); assertTrue("Package \"demo\" not found!",seamPackage!=3Dnull); @@ -286,14 +271,13 @@ = try{ classFile.setContents(file1.getContents(), true, false, new NullProgres= sMonitor()); - classFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Cannot read file JavaSource/demo/Person.2", ex); } = refreshProject(project); = - updateTree(tree); + navigator.getCommonViewer().expandAll(); = seamPackage =3D findSeamPackage(tree, "demo"); assertTrue("Package \"demo\" not found!",seamPackage!=3Dnull); @@ -309,14 +293,13 @@ = try{ classFile.setContents(file2.getContents(), true, false, new NullProgres= sMonitor()); - classFile.touch(new NullProgressMonitor()); }catch(Exception ex){ JUnitUtils.fail("Cannot read file JavaSource/demo/Person.3", ex); } = refreshProject(project); = - updateTree(tree); + navigator.getCommonViewer().expandAll(); = seamPackage =3D findSeamPackage(tree, "demo"); assertTrue("Package \"demo\" found!",seamPackage=3D=3Dnull); @@ -352,7 +335,7 @@ = refreshProject(project); = - updateTree(tree); + navigator.getCommonViewer().expandAll(); = seamPackage =3D findSeamPackage(tree, "beatles"); assertTrue("Package \"beatles\" found!",seamPackage=3D=3Dnull); @@ -390,7 +373,7 @@ } Tree tree =3D navigator.getCommonViewer().getTree(); = - updateTree(tree); + navigator.getCommonViewer().expandAll(); = ISeamPackage seamPackage =3D findSeamPackage(tree, "package1"); = @@ -423,7 +406,7 @@ = Tree tree =3D navigator.getCommonViewer().getTree(); = - updateTree(tree); + navigator.getCommonViewer().expandAll(); = ISeamPackage seamPackage =3D findSeamPackage(tree, "package1"); = @@ -564,11 +547,4 @@ } } = - - public void updateTree(Tree tree) { - for(int i=3D0;i editors =3D (Map) page.ge= tAdapter(Map.class); + for (IFieldEditor editor : editors.values()) { + Object[] controls =3D editor.getEditorControls(); + for (Object object : controls) { + assertNotNull(object); + } + } + } finally { + dialog.close(); + } } + = + /** + * = + */ + public void testSeamActionNewWizardIsCreated() { + checkNewWizardStartPage( + ISeamUiConstants.NEW_SEAM_ACTION_WIZARD_ID); + } + /** + * = + */ + public void testSeamActionNewFormWizardIsCreated() { + checkNewWizardStartPage( + ISeamUiConstants.NEW_SEAM_FORM_WIZARD_ID); + } + = + /** + * = + */ + public void testSeamActionNewConversationIsCreated() { + checkNewWizardStartPage( + ISeamUiConstants.NEW_SEAM_CONVERSATION_WIZARD_ID); + } + = + /** + * = + */ + public void testSeamActionNewEntityIsCreated() { + checkNewWizardStartPage( + ISeamUiConstants.NEW_SEAM_ENTITY_WIZARD_ID); + } } Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools= /seam/ui/test/wizard/SeamProjectNewWizardTest.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/wizard/SeamProjectNewWizardTest.java 2008-01-18 20:02:11 UTC (rev 5= 815) +++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/= ui/test/wizard/SeamProjectNewWizardTest.java 2008-01-18 20:58:47 UTC (rev 5= 816) @@ -57,6 +57,10 @@ SeamRuntimeManager manager =3D SeamRuntimeManager.getInstance(); = = + public SeamProjectNewWizardTest() { + super("New Seam Web Project tests"); + } + = @Override protected void setUp() throws Exception { super.setUp(); --===============7967214735088631703==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 16:04:11 2008 Content-Type: multipart/mixed; boundary="===============0671629135490260346==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5817 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui. Date: Fri, 18 Jan 2008 16:04:08 -0500 Message-ID: --===============0671629135490260346== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-18 16:04:08 -0500 (Fri, 18 Jan 2008) New Revision: 5817 Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/I= SeamUiConstants.java Log: constants for Seam new wizards IDs added Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/se= am/ui/ISeamUiConstants.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/= ISeamUiConstants.java 2008-01-18 20:58:47 UTC (rev 5816) +++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/= ISeamUiConstants.java 2008-01-18 21:04:08 UTC (rev 5817) @@ -20,5 +20,7 @@ NEW_SEAM_PROJECT_WIZARD_ID =3D "org.jboss.tools.seam.ui.wizards.SeamProj= ectWizard", //$NON-NLS-1$ NEW_SEAM_FORM_WIZARD_ID =3D "org.jboss.tools.seam.ui.wizard.SeamFormWiza= rd", //$NON-NLS-1$ NEW_SEAM_ACTION_WIZARD_ID =3D "org.jboss.tools.seam.ui.wizard.SeamAction= Wizard", //$NON-NLS-1$ + NEW_SEAM_CONVERSATION_WIZARD_ID =3D "org.jboss.tools.seam.ui.wizard.Seam= ConversationWizard", + NEW_SEAM_ENTITY_WIZARD_ID =3D "org.jboss.tools.seam.ui.wizard.SeamEntity= Wizard", SEAM_COMPONENTS_VIEW_ID =3D "org.jboss.tools.seam.ui.views.SeamComponent= sNavigator"; //$NON-NLS-1$ } --===============0671629135490260346==-- From jbosstools-commits at lists.jboss.org Fri Jan 18 16:08:00 2008 Content-Type: multipart/mixed; boundary="===============2021267844417628425==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5818 - trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard. Date: Fri, 18 Jan 2008 16:08:00 -0500 Message-ID: --===============2021267844417628425== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgolovin Date: 2008-01-18 16:08:00 -0500 (Fri, 18 Jan 2008) New Revision: 5818 Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/u= i/test/wizard/SeamFormNewWizardTest.java Log: fix compilation problems :( Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools= /seam/ui/test/wizard/SeamFormNewWizardTest.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/wizard/SeamFormNewWizardTest.java 2008-01-18 21:04:08 UTC (rev 5817) +++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/= ui/test/wizard/SeamFormNewWizardTest.java 2008-01-18 21:08:00 UTC (rev 5818) @@ -14,11 +14,8 @@ = import junit.framework.TestCase; = -import org.apache.velocity.runtime.directive.Foreach; import org.eclipse.jface.wizard.IWizard; -import org.eclipse.jface.wizard.IWizardPage; import org.eclipse.jface.wizard.WizardDialog; -import org.eclipse.swt.widgets.Control; import org.eclipse.ui.PlatformUI; import org.jboss.tools.common.util.WorkbenchUtils; import org.jboss.tools.seam.ui.ISeamUiConstants; --===============2021267844417628425==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 03:45:44 2008 Content-Type: multipart/mixed; boundary="===============6496279879741586000==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5819 - trunk/seam/docs/reference/en/modules. Date: Mon, 21 Jan 2008 03:45:42 -0500 Message-ID: --===============6496279879741586000== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-21 03:45:42 -0500 (Mon, 21 Jan 2008) New Revision: 5819 Modified: trunk/seam/docs/reference/en/modules/creating_new_seam.xml Log: http://jira.jboss.com/jira/browse/JBDS-234 - adding info about server runti= me Modified: trunk/seam/docs/reference/en/modules/creating_new_seam.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/docs/reference/en/modules/creating_new_seam.xml 2008-01-18 2= 1:08:00 UTC (rev 5818) +++ trunk/seam/docs/reference/en/modules/creating_new_seam.xml 2008-01-21 0= 8:45:42 UTC (rev 5819) @@ -38,8 +38,8 @@ runtime) that will be used for the project. This allows the wi= zard to identify correctly where the required datasource and driver libraries need to go.= Let's get through the wizard step-by-step. First, you s= hould enter a name and - a location directory for your new project/ -
+ a location directory for your new project. +
New Seam Project Wizard @@ -84,16 +84,21 @@ = Clicking on Finish - returns you to the previous dialog. The next step = is to define an installed - server that you can do by clicking on + returns you to the previous + dialog. The next step is to define an installed server = that you can do by + clicking on New... button in the Target Server section. In appeared S= erver Dialog it's possible - to select a server version. For jBoss AS 4.2 it's also possibl= e to indicate a server - runtime. Use + to select a server version. + + If the chosen server has already got an installed runtime, = there appears a combo box + with all declared runtimes under the servers view. Here, you c= an indicate a server + runtime that you need. Use Installed Runtimes... - button to see or edit what runtimes are installed.= Click on + button to see or edit which runtimes are installed= . If there is no any + declared runtime for chosen server, click on Next - . + to specify it on the next preferences page. =
Specifying Target Server @@ -104,8 +109,9 @@
= - Next dialog allows you to verify chosen Runtime information,= set login - credentials to authorize an access to the server and specify a= directory for deploying. Leave everything as it is and click on + Next dialog allows you to verify the information for chosen = server, set login + credentials to authorize an access to the server and specify a= directory for deploying. + Leave everything as it is and click on Next . = @@ -144,14 +150,16 @@
= The last section on this wizard step is Configurat= ions. Here, you - can select one of the pre-defined project configurations eithe= r associated with Seam 1.2 or with Seam 2.0 that is the latest release but = just only a technology - preview. In addition, you can create your own configuration. C= hoosing - Default - Configuration for jBoss 4.2 Runtime allo= ws you later to specify your own set of facets - for adding extra functionality to your project. For more detai= ls about facets, see next - section. + can select one of the pre-defined project configurations eithe= r associated with Seam 1.2 + or with Seam 2.0 that is the latest release but just only a te= chnology preview. In + addition, you can create your own configuration. Choosing + Default Configuration for jBoss 4.2 Runtime + allows you later to specify your own set of facets= for adding extra + functionality to your project. For more details about facets, = see next section. Besides, + we suggest that you look through our AS manager guide to find out more about runtimes + and servers. = - Having all necessary options arranged click on + Having all necessary options arranged, click on Next to pass on to the other wizard. = @@ -378,8 +386,8 @@
= You can edit chosen profile by using - Edit - button or organise a new one by clicking on + Edit + button or organise a new one by clicking on New button and selecting necessary for you type of con= nection profile.
@@ -391,10 +399,11 @@
= - On the other dialog you'll be asked to enter its name a= nd description. And then you should select a proper - driver and adjust connection details. Press + On the other dialog you'll be asked to enter its name a= nd description. And + then you should select a proper driver and adjust connection d= etails. Press Next - to preview all the adjusted settings and complete = the creation of the new profile. + to preview all the adjusted settings and complete = the creation of the new + profile. =
Connection Details @@ -405,7 +414,8 @@
= - The next block of settings in the Seam Facet wizard are desc= ribing a Database and a connection to it. + The next block of settings in the Seam Facet wizard are desc= ribing a Database and a + connection to it. In the Code Generation section the wiza= rd have already put the names for your Session Bean, En= tity Bean and Test packages. Of course, you can cha= nge them into the others --===============6496279879741586000==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 04:38:51 2008 Content-Type: multipart/mixed; boundary="===============3294633583581530735==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5820 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions. Date: Mon, 21 Jan 2008 04:38:49 -0500 Message-ID: --===============3294633583581530735== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-21 04:38:48 -0500 (Mon, 21 Jan 2008) New Revision: 5820 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/actions/OpenMappingAction.java Log: http://jira.jboss.com/jira/browse/JBIDE-1412 Didn't work when "node" attribute was specified. Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/actions/OpenMappingAction.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.console/src/org/hibe= rnate/eclipse/console/actions/OpenMappingAction.java 2008-01-21 08:45:42 UT= C (rev 5819) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/actions/OpenMappingAction.java 2008-01-21 09:38:48 UT= C (rev 5820) @@ -335,11 +335,13 @@ = private static String[] generatePatterns(PersistentClass persClass){ String fullClassName =3D null; + String shortClassName =3D null; if (persClass.getEntityName() !=3D null){ fullClassName =3D persClass.getEntityName(); } else { fullClassName =3D persClass.getClassName(); } + shortClassName =3D fullClassName.substring(fullClassName.lastIndexOf('.'= ) + 1); = Cfg2HbmTool tool =3D new Cfg2HbmTool(); String[] patterns =3D new String[4]; @@ -348,7 +350,7 @@ pattern.append("[\\s]+[.[^>]]*"); pattern.append(HIBERNATE_TAG_NAME); pattern.append("[\\s]*=3D[\\s]*\""); - pattern.append(persClass.getNodeName()); + pattern.append(shortClassName); pattern.append('\"'); patterns[0] =3D pattern.toString(); = @@ -366,7 +368,7 @@ pattern.append("[\\s]+[.[^>]]*"); pattern.append(HIBERNATE_TAG_ENTITY_NAME); pattern.append("[\\s]*=3D[\\s]*\""); - pattern.append(persClass.getNodeName()); + pattern.append(shortClassName); pattern.append('\"'); patterns[2] =3D pattern.toString(); = --===============3294633583581530735==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 05:29:48 2008 Content-Type: multipart/mixed; boundary="===============8588979048706194024==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5821 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject. Date: Mon, 21 Jan 2008 05:29:48 -0500 Message-ID: --===============8588979048706194024== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-21 05:29:48 -0500 (Mon, 21 Jan 2008) New Revision: 5821 Modified: 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/mappingproject/ProjectUtil.java Log: http://jira.jboss.com/jira/browse/JBIDE-1571 Test that highlight region length more then zero. Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/OpenMappingFileTest.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/OpenMappingFileTest.java 2008-= 01-21 09:38:48 UTC (rev 5820) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/OpenMappingFileTest.java 2008-= 01-21 10:29:48 UTC (rev 5821) @@ -11,12 +11,18 @@ package org.hibernate.eclipse.console.test.mappingproject; = import java.io.FileNotFoundException; +import java.util.ArrayList; +import java.util.List; = import junit.framework.TestCase; = import org.eclipse.jdt.core.JavaModelException; +import org.eclipse.jface.text.TextSelection; +import org.eclipse.jface.viewers.ISelection; import org.eclipse.ui.IEditorPart; import org.eclipse.ui.PartInitException; +import org.eclipse.ui.part.MultiPageEditorPart; +import org.eclipse.ui.texteditor.ITextEditor; import org.hibernate.InvalidMappingException; import org.hibernate.cfg.Configuration; import org.hibernate.console.ConsoleConfiguration; @@ -77,6 +83,8 @@ Throwable ex =3D null; try { editor =3D OpenMappingAction.run(compositeProperty, parentProperty, con= sCFG); + boolean highlighted =3D ProjectUtil.checkHighlighting(editor); + if (!highlighted) fail("Highlighted region for " + compositeProperty.ge= tNodeName() + " is empty."); Object[] compProperties =3D new PropertyWorkbenchAdapter().getChildren(= compositeProperty); for (int k =3D 0; k < compProperties.length; k++) { //test Composite properties @@ -101,7 +109,8 @@ Throwable ex =3D null; try { editor =3D OpenMappingAction.run(selection, consCFG); - //checkSelectionMade(editor); + boolean highlighted =3D ProjectUtil.checkHighlighting(editor); + if (!highlighted) fail("Highlighted region for " + selection + " is emp= ty."); } catch (PartInitException e) { ex =3D e; } catch (JavaModelException e) { @@ -113,6 +122,8 @@ if (ex !=3D null) fail("Mapping file for " + selection/*.getClassName()*/ + " not opened:\n" + ex.getMessage()); } + = + = = = } Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/OpenSourceFileTest.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/OpenSourceFileTest.java 2008-0= 1-21 09:38:48 UTC (rev 5820) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/OpenSourceFileTest.java 2008-0= 1-21 10:29:48 UTC (rev 5821) @@ -21,7 +21,6 @@ import org.hibernate.cfg.Configuration; import org.hibernate.console.ConsoleConfiguration; import org.hibernate.console.KnownConfigurations; -import org.hibernate.eclipse.console.actions.OpenMappingAction; import org.hibernate.eclipse.console.actions.OpenSourceAction; import org.hibernate.eclipse.console.workbench.ConfigurationWorkbenchAdapt= er; import org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkben= chAdapter; @@ -91,6 +90,8 @@ try { editor =3D new OpenSourceAction().run(selection, MappingTestProject.get= TestProject().getIJavaProject(), = fullyQualifiedName); + boolean highlighted =3D ProjectUtil.checkHighlighting(editor); + if (!highlighted) fail("Highlighted region for " + selection + " is emp= ty."); } catch (PartInitException e) { ex =3D e; } catch (JavaModelException e) { Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/mappingproject/ProjectUtil.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/ProjectUtil.java 2008-01-21 09= :38:48 UTC (rev 5820) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/mappingproject/ProjectUtil.java 2008-01-21 10= :29:48 UTC (rev 5821) @@ -11,6 +11,8 @@ package org.hibernate.eclipse.console.test.mappingproject; = import java.lang.reflect.Field; +import java.util.ArrayList; +import java.util.List; = import org.apache.tools.ant.filters.StringInputStream; import org.eclipse.core.resources.IFile; @@ -22,8 +24,12 @@ import org.eclipse.core.runtime.Path; import org.eclipse.core.runtime.Status; import org.eclipse.jdt.core.IPackageFragment; +import org.eclipse.jface.text.TextSelection; +import org.eclipse.jface.viewers.ISelection; import org.eclipse.ui.IEditorPart; import org.eclipse.ui.internal.ErrorEditorPart; +import org.eclipse.ui.part.MultiPageEditorPart; +import org.eclipse.ui.texteditor.ITextEditor; import org.hibernate.console.preferences.ConsoleConfigurationPreferences; import org.hibernate.eclipse.console.wizards.ConsoleConfigurationCreationW= izard; import org.hibernate.mapping.PersistentClass; @@ -152,5 +158,41 @@ } return null; } + = + public static boolean checkHighlighting(IEditorPart editor){ + ITextEditor[] tEditors =3D getTextEditors(editor); + boolean highlighted =3D false; + for (int i =3D 0; i < tEditors.length && !highlighted; i++) { + ITextEditor textEditor =3D tEditors[i]; + ISelection selection =3D textEditor.getSelectionProvider().getSelection= (); + if (selection instanceof TextSelection){ + TextSelection tSelection =3D (TextSelection)selection; + highlighted =3D tSelection.getLength() > 0; + } + } + return highlighted; + } + = + = + /** + * Should be identical with OpenMappingAction.getTextEditors() + * @param editorPart + * @return + */ + public static ITextEditor[] getTextEditors(IEditorPart editorPart) { + if (editorPart instanceof MultiPageEditorPart) { + List testEditors =3D new ArrayList(); = + IEditorPart[] editors =3D ((MultiPageEditorPart) editorPart).findEdi= tors(editorPart.getEditorInput()); + for (int i =3D 0; i < editors.length; i++) { + if (editors[i] instanceof ITextEditor){ + testEditors.add(editors[i]); + } + } + return (ITextEditor[])testEditors.toArray(new ITextEditor[0]); + } else if (editorPart instanceof ITextEditor){ + return new ITextEditor[]{(ITextEditor) editorPart}; + } + return new ITextEditor[0]; + } = } --===============8588979048706194024==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 06:21:12 2008 Content-Type: multipart/mixed; boundary="===============1151298131325918093==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5822 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src. Date: Mon, 21 Jan 2008 06:21:11 -0500 Message-ID: --===============1151298131325918093== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-21 06:21:08 -0500 (Mon, 21 Jan 2008) New Revision: 5822 Removed: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/hibern= ate.cfg.xml Log: Deleted: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/= hibernate.cfg.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/hibernatetools/tests/org.hibernate.eclipse.console.test/src/hiber= nate.cfg.xml 2008-01-21 10:29:48 UTC (rev 5821) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/hiber= nate.cfg.xml 2008-01-21 11:21:08 UTC (rev 5822) @@ -1,9 +0,0 @@ - - - - - - - \ No newline at end of file --===============1151298131325918093==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 06:24:57 2008 Content-Type: multipart/mixed; boundary="===============7531632891966727577==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5823 - in trunk/hibernatetools/tests/org.hibernate.eclipse.console.test: src/org/hibernate/eclipse/console/test and 1 other directory. Date: Mon, 21 Jan 2008 06:24:57 -0500 Message-ID: --===============7531632891966727577== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-21 06:24:57 -0500 (Mon, 21 Jan 2008) New Revision: 5823 Removed: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/OpenMappingTests.java Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/META-INF/M= ANIFEST.MF trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/ConsolePluginAllTests.java Log: Removed OpenMappingTest class and package org.hibernate.eclipse.console.tes= t.mapping as unnessesary. 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 2008-01-21 11:21:08 UTC (rev 5822) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/META-INF/= MANIFEST.MF 2008-01-21 11:24:57 UTC (rev 5823) @@ -10,7 +10,6 @@ Bundle-Vendor: Hibernate Team Bundle-Localization: plugin Export-Package: org.hibernate.eclipse.console.test, - org.hibernate.eclipse.console.test.mapping, org.hibernate.eclipse.console.test.mappingproject, org.hibernate.eclipse.console.test.xpl Require-Bundle: org.junit, @@ -30,7 +29,8 @@ org.eclipse.wst.xml.ui, org.apache.ant, org.eclipse.ui.views, - org.jboss.tools.hibernate.ui.view + org.jboss.tools.hibernate.ui.view, + org.eclipse.ui.editors Eclipse-LazyStart: true Bundle-Activator: org.hibernate.eclipse.console.test.HibernateConsoleTestP= lugin Eclipse-RegisterBuddy: org.hibernate.eclipse Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/ConsolePluginAllTests.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/ConsolePluginAllTests.java 2008-01-21 11:21:0= 8 UTC (rev 5822) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/ConsolePluginAllTests.java 2008-01-21 11:24:5= 7 UTC (rev 5823) @@ -18,7 +18,6 @@ suite.addTestSuite( PerspectiveTest.class ); suite.addTestSuite( ConsoleConfigurationTest.class ); suite.addTestSuite( JavaFormattingTest.class ); - suite.addTestSuite( OpenMappingTests.class ); = suite.addTestSuite( HibernateAllMappingTests.class ); = Deleted: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/= org/hibernate/eclipse/console/test/OpenMappingTests.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/OpenMappingTests.java 2008-01-21 11:21:08 UTC= (rev 5822) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/OpenMappingTests.java 2008-01-21 11:24:57 UTC= (rev 5823) @@ -1,75 +0,0 @@ -package org.hibernate.eclipse.console.test; - -import java.io.BufferedReader; -import java.io.File; -import java.io.FileNotFoundException; -import java.io.FileReader; -import java.io.IOException; -import java.util.Iterator; - -import junit.framework.TestCase; - -import org.eclipse.core.runtime.IPath; -import org.eclipse.core.runtime.Path; -import org.eclipse.jface.text.Document; -import org.eclipse.jface.text.FindReplaceDocumentAdapter; -import org.hibernate.cfg.Configuration; -import org.hibernate.eclipse.console.actions.OpenMappingAction; -import org.hibernate.mapping.PersistentClass; -import org.hibernate.mapping.Property; - -/** - * @author Dmitry Geraskov - */ - -public class OpenMappingTests extends TestCase{ - - public static final String MAPPING_PACKAGE =3D "src/org/hibernate/eclipse= /console/test/mapping/"; - public static final String HIBERATE_CFG_FILE =3D "hibernate.cfg.xml"; - public static final String PERSON_CFG_FILE =3D "Person.hbm.xml"; - = - public void testParceComplexProcess() { - IPath path_hib =3D new Path(MAPPING_PACKAGE+HIBERATE_CFG_FILE); - IPath path_pers =3D new Path(MAPPING_PACKAGE+PERSON_CFG_FILE); - File file_hib =3D path_hib.toFile(); - File file_pers =3D path_pers.toFile(); = - if (!file_hib.exists()) { - fail("File "+HIBERATE_CFG_FILE+" not found!"); - } - if (!file_pers.exists()) { - fail("File "+PERSON_CFG_FILE+" not found!"); - } - try { = - Configuration config =3D new Configuration(); - config.configure(file_hib); - = - FileReader reader =3D new FileReader(file_pers); - BufferedReader in =3D new BufferedReader(reader); - String s, text =3D ""; - while ((s =3D in.readLine()) !=3D null) { - text +=3D s + '\n'; - } = - Document document =3D new Document(text); - FindReplaceDocumentAdapter findAdapter =3D new FindReplaceDocumentAdapte= r(document); - = - Iterator classMappings =3D config.getClassMappings(); - while (classMappings.hasNext()) { - Object element =3D classMappings.next(); - if (element instanceof PersistentClass) { - PersistentClass type =3D (PersistentClass)element; = - assertNotNull(OpenMappingAction.findSelection(type, findAdapter)); = - Iterator properties =3D type.getPropertyIterator(); - while (properties.hasNext()) { - Property prop =3D (Property) properties.next(); - if (prop.getClass() !=3D Property.class) continue; - assertNotNull(OpenMappingAction.findSelection(prop, findAdapter)); - } - } - } - } catch (FileNotFoundException e) { - fail("FileNotFoundException: "+ e.getMessage()); - } catch (IOException e) { - fail("IOException: "+ e.getMessage()); - } = - } = -} --===============7531632891966727577==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 06:26:18 2008 Content-Type: multipart/mixed; boundary="===============3187102456836947712==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5824 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test. Date: Mon, 21 Jan 2008 06:26:18 -0500 Message-ID: --===============3187102456836947712== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-21 06:26:17 -0500 (Mon, 21 Jan 2008) New Revision: 5824 Removed: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/mapping/ Log: Removed OpenMappingTest class and package org.hibernate.eclipse.console.tes= t.mapping as unnessesary. --===============3187102456836947712==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 06:55:06 2008 Content-Type: multipart/mixed; boundary="===============8825122077610311960==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5825 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor. Date: Mon, 21 Jan 2008 06:55:05 -0500 Message-ID: --===============8825122077610311960== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-21 06:55:05 -0500 (Mon, 21 Jan 2008) New Revision: 5825 Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/Vpe= Controller.java Log: http://jira.jboss.com/jira/browse/JBIDE-1479, comments from Snjezana Peco = was adjusted for VpeController. Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/edi= tor/VpeController.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/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/Vp= eController.java 2008-01-21 11:26:17 UTC (rev 5824) +++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/Vp= eController.java 2008-01-21 11:55:05 UTC (rev 5825) @@ -54,6 +54,7 @@ import org.eclipse.swt.widgets.Shell; import org.eclipse.ui.IEditorInput; import org.eclipse.ui.IFileEditorInput; +import org.eclipse.ui.PlatformUI; import org.eclipse.ui.actions.ActionFactory; import org.eclipse.ui.progress.UIJob; import org.eclipse.ui.views.contentoutline.IContentOutlinePage; @@ -331,6 +332,17 @@ //FIX Fox JBIDE-1479 added by Max Areshkau public void notifyChanged(final INodeNotifier notifier, final int eventT= ype,final Object feature,final Object oldValue,final Object newValue, final= int pos) { = + //start job when we modify file in ui thread, without this code + //changes will be applied with 1 second delay + Display display =3D null; + if (PlatformUI.isWorkbenchRunning()) + display=3D PlatformUI.getWorkbench().getDisplay(); + + if (display !=3D null && (Thread.currentThread() =3D=3D display.ge= tThread())) { + notifyChangedInUiThread(notifier, eventType, feature, oldValue, ne= wValue, pos); + return; + } = + //start job when we modify file in non ui thread if(job!=3Dnull) { job.cancel(); } --===============8825122077610311960==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 06:57:13 2008 Content-Type: multipart/mixed; boundary="===============4228833699001516249==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5826 - trunk/common/plugins/org.jboss.tools.common.text.xml/src/org/jboss/tools/common/text/xml/ui. Date: Mon, 21 Jan 2008 06:57:13 -0500 Message-ID: --===============4228833699001516249== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-21 06:57:13 -0500 (Mon, 21 Jan 2008) New Revision: 5826 Modified: trunk/common/plugins/org.jboss.tools.common.text.xml/src/org/jboss/tools= /common/text/xml/ui/FreeCaretStyledText.java Log: http://jira.jboss.com/jira/browse/JBIDE-1479, org.jboss.tools.common.text.x= ml.patch was applied Modified: trunk/common/plugins/org.jboss.tools.common.text.xml/src/org/jbos= s/tools/common/text/xml/ui/FreeCaretStyledText.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.text.xml/src/org/jboss/tool= s/common/text/xml/ui/FreeCaretStyledText.java 2008-01-21 11:55:05 UTC (rev = 5825) +++ trunk/common/plugins/org.jboss.tools.common.text.xml/src/org/jboss/tool= s/common/text/xml/ui/FreeCaretStyledText.java 2008-01-21 11:57:13 UTC (rev = 5826) @@ -67,11 +67,28 @@ } = public void redrawRange(int start, int length, boolean clearBackground= ) { - try { - super.redrawRange(start, length, clearBackground); - } catch (Exception x) { - //ignore - } - } - + try { + super.redrawRange(start, length, clearBackground); + } catch (Exception x) { + // ignore + //FIX for JBIDE-1479 added by Max Areshkau + if (start > getCharCount()) + start =3D getCharCount(); + if (start + length > getCharCount()) + length =3D getCharCount() - start; + super.redrawRange(start, length, clearBackground); + } + } + = + public int getLineAtOffset(int offset) { + try { + return super.getLineAtOffset(offset); + } catch (Exception e) { + if (offset > getCharCount()) + offset =3D getCharCount(); + if (offset < 0) + offset =3D 0; + return super.getLineAtOffset(offset); + } + } } --===============4228833699001516249==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 08:11:40 2008 Content-Type: multipart/mixed; boundary="===============8931593530705805398==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5827 - in trunk/seam/tests/org.jboss.tools.seam.core.test/projects: Test1/build and 1 other directories. Date: Mon, 21 Jan 2008 08:11:40 -0500 Message-ID: --===============8931593530705805398== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: akazakov Date: 2008-01-21 08:11:39 -0500 (Mon, 21 Jan 2008) New Revision: 5827 Removed: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestP= roject/build/classes/ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1-ejb/build= /classes/ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1/build/cla= sses/ Log: Removed classes from test projects. --===============8931593530705805398==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 08:47:24 2008 Content-Type: multipart/mixed; boundary="===============5075489489696486765==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5828 - trunk/common/plugins/org.jboss.tools.common.model/resources/help. Date: Mon, 21 Jan 2008 08:47:23 -0500 Message-ID: --===============5075489489696486765== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-21 08:47:23 -0500 (Mon, 21 Jan 2008) New Revision: 5828 Modified: trunk/common/plugins/org.jboss.tools.common.model/resources/help/keys-mo= del.properties Log: JBIDE-1660 Modified: trunk/common/plugins/org.jboss.tools.common.model/resources/help/= keys-model.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/common/plugins/org.jboss.tools.common.model/resources/help/keys-m= odel.properties 2008-01-21 13:11:39 UTC (rev 5827) +++ trunk/common/plugins/org.jboss.tools.common.model/resources/help/keys-m= odel.properties 2008-01-21 13:47:23 UTC (rev 5828) @@ -709,3 +709,10 @@ = = ####open_project + + +AnyElement_CreateTag.WindowTitle=3DAdd Tag +AnyElement_CreateTag.Title=3DTag + +AnyElement_CreateAttribute.WindowTitle=3DAdd Attribute +AnyElement_CreateAttribute.Title=3DAttribute --===============5075489489696486765==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 09:11:46 2008 Content-Type: multipart/mixed; boundary="===============5517261014323599543==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5829 - in trunk/jst/plugins/org.jboss.tools.jst.web/resources: meta and 1 other directory. Date: Mon, 21 Jan 2008 09:11:46 -0500 Message-ID: --===============5517261014323599543== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-21 09:11:46 -0500 (Mon, 21 Jan 2008) New Revision: 5829 Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.proper= ties trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutstld12.meta trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/tld20.meta Log: JBIDE-1661 Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web= .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/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.prope= rties 2008-01-21 13:47:23 UTC (rev 5828) +++ trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.prope= rties 2008-01-21 14:11:46 UTC (rev 5829) @@ -108,6 +108,11 @@ FileTLD_1_2_CreateValidator.WindowTitle=3DAdd Validator FileTLD_1_2_CreateValidator.Title=3DTLD Validator = +FileTLD_1_2_Rename.WindowTitle=3DRename +FileTLD_1_2_Rename.Title=3DTag Library Definition File + +TLDValidator_Edit.Title=3DValidator + FileTLD_2_0=3D/struts/FileTLD_1_2.html = FileTLD_2_0_Properties=3D/struts/FileTLD_1_2_Properties.html @@ -130,6 +135,9 @@ FileTLD_2_0_CreateTagFile.WindowTitle=3DAdd Tag File FileTLD_2_0_CreateTagFile.Title=3DTLD Tag File = +FileTLD_2_0_Rename.WindowTitle=3DRename +FileTLD_2_0_Rename.Title=3DTag Library Definition File + FileTLD_2_1=3D/struts/FileTLD_1_2.html = FileTLD_2_1_Properties=3D/struts/FileTLD_1_2_Properties.html @@ -152,7 +160,10 @@ FileTLD_2_1_CreateTagFile.WindowTitle=3DAdd Tag File FileTLD_2_1_CreateTagFile.Title=3DTLD Tag File = +FileTLD_2_1_Rename.WindowTitle=3DRename +FileTLD_2_1_Rename.Title=3DTag Library Definition File = + FileTLD_PRO=3D/struts/FileTLD.html = FileTLD_PRO_Properties=3D/struts/FileTLD_Properties.html Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutstl= d12.meta =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/resources/meta/strutstld12.me= ta 2008-01-21 13:47:23 UTC (rev 5828) +++ trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/strutstld12.me= ta 2008-01-21 14:11:46 UTC (rev 5829) @@ -195,13 +195,16 @@ - + + - + @@ -34,19 +35,13 @@ - - - - - + - - @@ -56,10 +51,7 @@ - - - - + @@ -68,61 +60,26 @@ - - - + default=3D"http://java.sun.com/xml/ns/j2ee" name=3D"xmlns" xmlname=3D"= xmlns"/> - - - + default=3D"http://www.w3.org/2001/XMLSchema-instance" name=3D"xmlns:xs= i" xmlname=3D"xmlns:xsi"/> - - - + name=3D"xsi:schemaLocation" xmlname=3D"xsi:schemaLocation"/> - - - + name=3D"version" visibility=3D"false" xmlname=3D"version"/> - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - + name=3D"tlibversion" xmlname=3D"tlib-version.#text"/> + + + - @@ -132,10 +89,7 @@ - - - - + - + + - - - - - + - - @@ -333,10 +284,7 @@ - - - - + @@ -345,61 +293,26 @@ - - - + default=3D"http://java.sun.com/xml/ns/javaee" name=3D"xmlns" xmlname= =3D"xmlns"/> - - - + default=3D"http://www.w3.org/2001/XMLSchema-instance" name=3D"xmlns:xs= i" xmlname=3D"xmlns:xsi"/> - - - + name=3D"xsi:schemaLocation" xmlname=3D"xsi:schemaLocation"/> - - - + name=3D"version" visibility=3D"false" xmlname=3D"version"/> - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - + name=3D"tlibversion" xmlname=3D"tlib-version.#text"/> + + + - @@ -409,10 +322,7 @@ - - - - + - + + - - - - - - + @@ -607,15 +515,10 @@ - - - - - + - @@ -650,17 +553,12 @@ - - - - - - + @@ -681,23 +579,15 @@ - - - - - - - - - + + - @@ -730,17 +620,12 @@ - - - - - - + @@ -758,12 +643,8 @@ - - - - + - @@ -796,47 +677,24 @@ - - - - - - - - - - - - - - - - - - + + + + - - - - - + - - - - - + - @@ -874,11 +732,9 @@ - - @@ -921,13 +777,9 @@ - - - - - + @@ -945,32 +797,17 @@ - - - - - - - - - - - - + + + - - - - - - + - @@ -1046,13 +883,9 @@ - - - - - + @@ -1070,32 +903,17 @@ - - - - - - - - - - - - + + + - - - - - - + - @@ -1165,43 +983,21 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - + - --===============5517261014323599543==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 09:20:25 2008 Content-Type: multipart/mixed; boundary="===============8624198437328673406==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5830 - trunk/jst/plugins/org.jboss.tools.jst.web/resources/help. Date: Mon, 21 Jan 2008 09:20:25 -0500 Message-ID: --===============8624198437328673406== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-21 09:20:25 -0500 (Mon, 21 Jan 2008) New Revision: 5830 Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.proper= ties Log: JBIDE-1661 One more case: 'Add Listener' dialog Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web= .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/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.prope= rties 2008-01-21 14:11:46 UTC (rev 5829) +++ trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.prope= rties 2008-01-21 14:20:25 UTC (rev 5830) @@ -265,6 +265,9 @@ TLDListeners_Properties.WindowTitle=3DEdit Properties TLDListeners_Properties.Title=3DTLD Listeners = +TLDListeners_CreateListener.WindowTitle=3DAdd Listener +TLDListeners_CreateListener.Title=3DListener + ##### TLD Taglib element ##### = TLDTaglib=3D/model/noHelpYet.html --===============8624198437328673406==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 09:25:06 2008 Content-Type: multipart/mixed; boundary="===============6423846513693306171==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5831 - trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl. Date: Mon, 21 Jan 2008 09:25:06 -0500 Message-ID: --===============6423846513693306171== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-21 09:25:06 -0500 (Mon, 21 Jan 2008) New Revision: 5831 Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/co= mmon/meta/action/impl/SpecialWizardSupport.java Log: JBIDE-1659 Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/t= ools/common/meta/action/impl/SpecialWizardSupport.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/meta/action/impl/SpecialWizardSupport.java 2008-01-21 14:20:25 UTC (r= ev 5830) +++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/c= ommon/meta/action/impl/SpecialWizardSupport.java 2008-01-21 14:25:06 UTC (r= ev 5831) @@ -11,6 +11,7 @@ package org.jboss.tools.common.meta.action.impl; = import java.util.*; + import org.jboss.tools.common.model.*; import org.eclipse.swt.widgets.Display; import org.jboss.tools.common.meta.action.*; @@ -26,6 +27,18 @@ public static final String FINISH =3D "Finish"; public static final String HELP =3D "Help"; public static final String CLOSE =3D "Close"; + = + static final Set standardButtons =3D new HashSet(); + = + static { + standardButtons.add(OK); + standardButtons.add(CANCEL); + standardButtons.add(BACK); + standardButtons.add(NEXT); + standardButtons.add(FINISH); + standardButtons.add(HELP); + standardButtons.add(CLOSE); + } = private int stepId =3D 0; private boolean finished =3D false; @@ -147,6 +160,19 @@ public String[] getActionNames(int stepId) { return new String[]{OK, CANCEL, HELP}; } + = + public boolean canBeProcessedByStandardWizard() { + // By default only one-step wizards are accepted; + if(data =3D=3D null || data.length > 1) return false; + if(!DEFAULT_IMLEMENTING_CLASS.equals(getStepImplementingClass(0))) { + return false; + } + String[] buttons =3D getActionNames(0); + for (int i =3D 0; i < buttons.length; i++) { + if(!standardButtons.contains(buttons[i])) return false; + } + return true; + } = public String getDefaultActionName(int stepId) { String[] actions =3D getActionNames(stepId); @@ -207,9 +233,11 @@ defaultValidator.setSupport(this, step); return defaultValidator; = } + = + static String DEFAULT_IMLEMENTING_CLASS =3D "org.jboss.tools.common.mo= del.ui.wizards.special.SpecialWizardStep"; = public String getStepImplementingClass(int stepId) { - return "org.jboss.tools.common.model.ui.wizards.special.SpecialWiz= ardStep"; + return DEFAULT_IMLEMENTING_CLASS; } = // helpers --===============6423846513693306171==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 09:40:42 2008 Content-Type: multipart/mixed; boundary="===============7401950126892806891==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5832 - trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/special. Date: Mon, 21 Jan 2008 09:40:42 -0500 Message-ID: --===============7401950126892806891== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-21 09:40:42 -0500 (Mon, 21 Jan 2008) New Revision: 5832 Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools= /common/model/ui/wizards/special/DefaultSpecialWizard.java Log: JBIDE-1659 Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jbos= s/tools/common/model/ui/wizards/special/DefaultSpecialWizard.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.ui/src/org/jboss/tool= s/common/model/ui/wizards/special/DefaultSpecialWizard.java 2008-01-21 14:2= 5:06 UTC (rev 5831) +++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tool= s/common/model/ui/wizards/special/DefaultSpecialWizard.java 2008-01-21 14:4= 0:42 UTC (rev 5832) @@ -12,12 +12,16 @@ = import java.util.Properties; import org.jboss.tools.common.model.ui.action.CommandBar; +import org.jboss.tools.common.model.ui.wizards.standard.DefaultStandardWiz= ard; import org.eclipse.jface.dialogs.IMessageProvider; +import org.eclipse.jface.wizard.WizardDialog; import org.eclipse.swt.widgets.*; +import org.eclipse.ui.PlatformUI; import org.jboss.tools.common.meta.action.SpecialWizard; import org.jboss.tools.common.meta.action.impl.*; import org.jboss.tools.common.meta.help.HelpUtil; import org.jboss.tools.common.model.util.ModelFeatureFactory; +import org.jboss.tools.common.model.ui.ModelUIImages; import org.jboss.tools.common.model.ui.ModelUIPlugin; = public class DefaultSpecialWizard implements SpecialWizard, SpecialWizardC= ontrolListener { @@ -36,6 +40,19 @@ public int execute() { Shell shell =3D (Shell)support.getProperties().get("shell"); if(shell =3D=3D null) shell =3D ModelUIPlugin.getDefault().getWorkbench(= ).getActiveWorkbenchWindow().getShell(); + + if(support.canBeProcessedByStandardWizard()) { + DefaultStandardWizard dsw =3D new DefaultStandardWizard(); + dsw.setWindowTitle(support.getTitle()); + dsw.setSupport(support); + dsw.setDefaultPageImageDescriptor(ModelUIImages.getImageDescriptor(Mode= lUIImages.WIZARD_DEFAULT)); + WizardDialog wd =3D new WizardDialog(shell, dsw); + wd.create(); + PlatformUI.getWorkbench().getHelpSystem().setHelp(wd.getShell(), "org.e= clipse.ui.new_wizard_shortcut_context"); + int ii =3D wd.open(); + return ii; + } = + = dialog =3D new DefaultSpecialWizardDialog(shell); dialog.setWizard(this); dialog.create(); --===============7401950126892806891==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 10:05:56 2008 Content-Type: multipart/mixed; boundary="===============9087849276582926021==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5833 - in trunk: documentation/guides/resources/styles/en and 3 other directories. Date: Mon, 21 Jan 2008 10:05:56 -0500 Message-ID: --===============9087849276582926021== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: smukhina Date: 2008-01-21 10:05:55 -0500 (Mon, 21 Jan 2008) New Revision: 5833 Modified: trunk/as/docs/resources/styles/en/html.css trunk/documentation/guides/resources/styles/en/html.css trunk/hibernatetools/docs/resources/styles/en/html.css trunk/jbpm/docs/resources/styles/en/html.css trunk/seam/docs/resources/styles/en/html.css Log: http://jira.jboss.com/jira/browse/JBDS-224 - box for note is changed on yel= low Modified: trunk/as/docs/resources/styles/en/html.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/docs/resources/styles/en/html.css 2008-01-21 14:40:42 UTC (rev= 5832) +++ trunk/as/docs/resources/styles/en/html.css 2008-01-21 15:05:55 UTC (rev= 5833) @@ -112,8 +112,8 @@ } = DIV.note{ - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #cfe3ff; - background-image : url('../images/ico_note.gif'); background-repeat : no-= repeat; background-position :top left; + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #FFFDD3; + background-image : url('images/ico_note.gif'); background-repeat : no-rep= eat; background-position :top left; } = DIV.note *{ @@ -128,7 +128,7 @@ } DIV.important { BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #fee3d9; - background-image : url('../images/ico_important.gif'); background-repeat = : no-repeat; background-position :top left; = + background-image : url('images/ico_important.gif'); background-repeat : n= o-repeat; background-position :top left; = } = DIV.important *{ @@ -141,7 +141,7 @@ } = DIV.tip { - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('../images/ico_tip.gif'); + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('images/ico_tip.gif'); } = DIV.tip *{ @@ -164,7 +164,7 @@ = .table TH { WHITE-SPACE: nowrap; BACKGROUND-COLOR: #EEF5FF; TEXT-ALIGN: center; BOR= DER-BOTTOM: #CAE1FF 2px solid; PADDING: 2px 8px 2px 8px; - background-image : url('../images/bg_table.gif'); background-repeat : rep= eat-x; background-position :top left; + background-image : url('images/bg_table.gif'); background-repeat : repeat= -x; background-position :top left; } TD { PADDING: 4px 8px 4px 8px; BORDER-BOTTOM: #cccccc 1px dotted; BORDER-righ= t: #cccccc 1px dotted; Modified: trunk/documentation/guides/resources/styles/en/html.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/resources/styles/en/html.css 2008-01-21 14:4= 0:42 UTC (rev 5832) +++ trunk/documentation/guides/resources/styles/en/html.css 2008-01-21 15:0= 5:55 UTC (rev 5833) @@ -112,8 +112,8 @@ } = DIV.note{ - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #cfe3ff; - background-image : url('../images/ico_note.gif'); background-repeat : no-= repeat; background-position :top left; + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #FFFDD3; + background-image : url('images/ico_note.gif'); background-repeat : no-rep= eat; background-position :top left; } = DIV.note *{ @@ -128,7 +128,7 @@ } DIV.important { BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #fee3d9; - background-image : url('../images/ico_important.gif'); background-repeat = : no-repeat; background-position :top left; = + background-image : url('images/ico_important.gif'); background-repeat : n= o-repeat; background-position :top left; = } = DIV.important *{ @@ -141,7 +141,7 @@ } = DIV.tip { - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('../images/ico_tip.gif'); + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('images/ico_tip.gif'); } = DIV.tip *{ @@ -164,7 +164,7 @@ = .table TH { WHITE-SPACE: nowrap; BACKGROUND-COLOR: #EEF5FF; TEXT-ALIGN: center; BOR= DER-BOTTOM: #CAE1FF 2px solid; PADDING: 2px 8px 2px 8px; - background-image : url('../images/bg_table.gif'); background-repeat : rep= eat-x; background-position :top left; + background-image : url('images/bg_table.gif'); background-repeat : repeat= -x; background-position :top left; } TD { PADDING: 4px 8px 4px 8px; BORDER-BOTTOM: #cccccc 1px dotted; BORDER-righ= t: #cccccc 1px dotted; Modified: trunk/hibernatetools/docs/resources/styles/en/html.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/docs/resources/styles/en/html.css 2008-01-21 14:40= :42 UTC (rev 5832) +++ trunk/hibernatetools/docs/resources/styles/en/html.css 2008-01-21 15:05= :55 UTC (rev 5833) @@ -112,8 +112,8 @@ } = DIV.note{ - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #cfe3ff; - background-image : url('../images/ico_note.gif'); background-repeat : no-= repeat; background-position :top left; + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #FFFDD3; + background-image : url('images/ico_note.gif'); background-repeat : no-rep= eat; background-position :top left; } = DIV.note *{ @@ -128,7 +128,7 @@ } DIV.important { BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #fee3d9; - background-image : url('../images/ico_important.gif'); background-repeat = : no-repeat; background-position :top left; = + background-image : url('images/ico_important.gif'); background-repeat : n= o-repeat; background-position :top left; = } = DIV.important *{ @@ -141,7 +141,7 @@ } = DIV.tip { - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('../images/ico_tip.gif'); + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('images/ico_tip.gif'); } = DIV.tip *{ @@ -164,7 +164,7 @@ = .table TH { WHITE-SPACE: nowrap; BACKGROUND-COLOR: #EEF5FF; TEXT-ALIGN: center; BOR= DER-BOTTOM: #CAE1FF 2px solid; PADDING: 2px 8px 2px 8px; - background-image : url('../images/bg_table.gif'); background-repeat : rep= eat-x; background-position :top left; + background-image : url('images/bg_table.gif'); background-repeat : repeat= -x; background-position :top left; } TD { PADDING: 4px 8px 4px 8px; BORDER-BOTTOM: #cccccc 1px dotted; BORDER-righ= t: #cccccc 1px dotted; Modified: trunk/jbpm/docs/resources/styles/en/html.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/docs/resources/styles/en/html.css 2008-01-21 14:40:42 UTC (r= ev 5832) +++ trunk/jbpm/docs/resources/styles/en/html.css 2008-01-21 15:05:55 UTC (r= ev 5833) @@ -112,8 +112,8 @@ } = DIV.note{ - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #cfe3ff; - background-image : url('../images/ico_note.gif'); background-repeat : no-= repeat; background-position :top left; + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #FFFDD3; + background-image : url('images/ico_note.gif'); background-repeat : no-rep= eat; background-position :top left; } = DIV.note *{ @@ -128,7 +128,7 @@ } DIV.important { BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #fee3d9; - background-image : url('../images/ico_important.gif'); background-repeat = : no-repeat; background-position :top left; = + background-image : url('images/ico_important.gif'); background-repeat : n= o-repeat; background-position :top left; = } = DIV.important *{ @@ -141,7 +141,7 @@ } = DIV.tip { - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('../images/ico_tip.gif'); + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('images/ico_tip.gif'); } = DIV.tip *{ @@ -164,7 +164,7 @@ = .table TH { WHITE-SPACE: nowrap; BACKGROUND-COLOR: #EEF5FF; TEXT-ALIGN: center; BOR= DER-BOTTOM: #CAE1FF 2px solid; PADDING: 2px 8px 2px 8px; - background-image : url('../images/bg_table.gif'); background-repeat : rep= eat-x; background-position :top left; + background-image : url('images/bg_table.gif'); background-repeat : repeat= -x; background-position :top left; } TD { PADDING: 4px 8px 4px 8px; BORDER-BOTTOM: #cccccc 1px dotted; BORDER-righ= t: #cccccc 1px dotted; Modified: trunk/seam/docs/resources/styles/en/html.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/docs/resources/styles/en/html.css 2008-01-21 14:40:42 UTC (r= ev 5832) +++ trunk/seam/docs/resources/styles/en/html.css 2008-01-21 15:05:55 UTC (r= ev 5833) @@ -112,8 +112,8 @@ } = DIV.note{ - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #cfe3ff; - background-image : url('../images/ico_note.gif'); background-repeat : no-= repeat; background-position :top left; + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #FFFDD3; + background-image : url('images/ico_note.gif'); background-repeat : no-rep= eat; background-position :top left; } = DIV.note *{ @@ -128,7 +128,7 @@ } DIV.important { BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #fee3d9; - background-image : url('../images/ico_important.gif'); background-repeat = : no-repeat; background-position :top left; = + background-image : url('images/ico_important.gif'); background-repeat : n= o-repeat; background-position :top left; = } = DIV.important *{ @@ -141,7 +141,7 @@ } = DIV.tip { - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('../images/ico_tip.gif'); + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('images/ico_tip.gif'); } = DIV.tip *{ @@ -164,7 +164,7 @@ = .table TH { WHITE-SPACE: nowrap; BACKGROUND-COLOR: #EEF5FF; TEXT-ALIGN: center; BOR= DER-BOTTOM: #CAE1FF 2px solid; PADDING: 2px 8px 2px 8px; - background-image : url('../images/bg_table.gif'); background-repeat : rep= eat-x; background-position :top left; + background-image : url('images/bg_table.gif'); background-repeat : repeat= -x; background-position :top left; } TD { PADDING: 4px 8px 4px 8px; BORDER-BOTTOM: #cccccc 1px dotted; BORDER-righ= t: #cccccc 1px dotted; --===============9087849276582926021==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 10:14:09 2008 Content-Type: multipart/mixed; boundary="===============6335120757412475576==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5834 - trunk/jsf/plugins/org.jboss.tools.jsf/resources/help. Date: Mon, 21 Jan 2008 10:14:09 -0500 Message-ID: --===============6335120757412475576== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-21 10:14:09 -0500 (Mon, 21 Jan 2008) New Revision: 5834 Modified: trunk/jsf/plugins/org.jboss.tools.jsf/resources/help/keys-jsf.properties Log: http://jira.jboss.com/jira/browse/JBIDE-1660 Modified: trunk/jsf/plugins/org.jboss.tools.jsf/resources/help/keys-jsf.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/jsf/plugins/org.jboss.tools.jsf/resources/help/keys-jsf.propertie= s 2008-01-21 15:05:55 UTC (rev 5833) +++ trunk/jsf/plugins/org.jboss.tools.jsf/resources/help/keys-jsf.propertie= s 2008-01-21 15:14:09 UTC (rev 5834) @@ -866,3 +866,31 @@ AddCustomJSFCapabilities_1.WindowTitle=3DAdd Custom Capabilities AddCustomJSFCapabilities_1.Title=3DAdded Custom Capabilities AddCustomJSFCapabilities_1.Message=3DThe following updates have been made = to the project. The names in quotes are labels from the Custom Capabilities= configuration. + +JSFApplicationExtension_CreateTag.WindowTitle=3DAdd Tag +JSFApplicationExtension_CreateTag.Title=3DTag + +JSFAttributeExtension_CreateTag.WindowTitle=3DAdd Tag +JSFAttributeExtension_CreateTag.Title=3DTag + +JSFComponentExtension_CreateTag.WindowTitle=3DAdd Tag +JSFComponentExtension_CreateTag.Title=3DTag + +JSFConfigExtension_CreateTag.WindowTitle=3DAdd Tag +JSFConfigExtension_CreateTag.Title=3DTag + +JSFFacetExtension_CreateTag.WindowTitle=3DAdd Tag +JSFFacetExtension_CreateTag.Title=3DTag + +JSFPropertyExtension_CreateTag.WindowTitle=3DAdd Tag +JSFPropertyExtension_CreateTag.Title=3DTag + +JSFRenderKitExtension_CreateTag.WindowTitle=3DAdd Tag +JSFRenderKitExtension_CreateTag.Title=3DTag + +JSFRendererExtension_CreateTag.WindowTitle=3DAdd Tag +JSFRendererExtension_CreateTag.Title=3DTag + +JSFValidatorExtension_CreateTag.WindowTitle=3DAdd Tag +JSFValidatorExtension_CreateTag.Title=3DTag + --===============6335120757412475576==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 11:26:40 2008 Content-Type: multipart/mixed; boundary="===============7679860005697876221==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5835 - trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl. Date: Mon, 21 Jan 2008 11:26:39 -0500 Message-ID: --===============7679860005697876221== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-21 11:26:39 -0500 (Mon, 21 Jan 2008) New Revision: 5835 Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/co= mmon/model/filesystems/impl/FileSystemsLoader.java Log: JBIDE-1664 Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/t= ools/common/model/filesystems/impl/FileSystemsLoader.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/filesystems/impl/FileSystemsLoader.java 2008-01-21 15:14:09 UTC= (rev 5834) +++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/c= ommon/model/filesystems/impl/FileSystemsLoader.java 2008-01-21 16:26:39 UTC= (rev 5835) @@ -322,15 +322,19 @@ oldAttributes.put("location", "LOCATION"); oldAttributes.put("model-path", "MODEL_PATH"); oldAttributes.put("root", "ROOT"); + oldAttributes.put("web-root", "root"); oldAttributes.put("src", "SRC"); } = public String getAttribute(Element element, String xmlname) { if(element =3D=3D null || xmlname =3D=3D null) return null; if(!element.hasAttribute(xmlname)) { - String oldAttribute =3D oldAttributes.get(xmlname); - if(oldAttribute !=3D null && element.hasAttribute(oldAttribute)) { - xmlname =3D oldAttribute; + String oldAttribute =3D xmlname; + while(oldAttribute !=3D null) { + oldAttribute =3D oldAttributes.get(oldAttribute); + if(oldAttribute !=3D null && element.hasAttribute(oldAttribute))= { + xmlname =3D oldAttribute; + } } } return super.getAttribute(element, xmlname); --===============7679860005697876221==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 11:27:59 2008 Content-Type: multipart/mixed; boundary="===============3494803612353640500==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5836 - trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta. Date: Mon, 21 Jan 2008 11:27:59 -0500 Message-ID: --===============3494803612353640500== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-21 11:27:59 -0500 (Mon, 21 Jan 2008) New Revision: 5836 Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/web.meta Log: JBIDE-1664 Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/web.meta =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/resources/meta/web.meta 2008-= 01-21 16:26:39 UTC (rev 5835) +++ trunk/jst/plugins/org.jboss.tools.jst.web/resources/meta/web.meta 2008-= 01-21 16:27:59 UTC (rev 5836) @@ -502,7 +502,7 @@ - + --===============3494803612353640500==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 11:29:33 2008 Content-Type: multipart/mixed; boundary="===============0817558673578126639==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5837 - trunk/jsf/docs/resources/styles/en. Date: Mon, 21 Jan 2008 11:29:33 -0500 Message-ID: --===============0817558673578126639== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: smukhina Date: 2008-01-21 11:29:32 -0500 (Mon, 21 Jan 2008) New Revision: 5837 Modified: trunk/jsf/docs/resources/styles/en/html.css Log: http://jira.jboss.com/jira/browse/JBDS-224 - box for note is changed on yel= low Modified: trunk/jsf/docs/resources/styles/en/html.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/resources/styles/en/html.css 2008-01-21 16:27:59 UTC (re= v 5836) +++ trunk/jsf/docs/resources/styles/en/html.css 2008-01-21 16:29:32 UTC (re= v 5837) @@ -112,7 +112,7 @@ } = DIV.note{ - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #cfe3ff; + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #FFFDD3; background-image : url('../images/ico_note.gif'); background-repeat : no-= repeat; background-position :top left; } = --===============0817558673578126639==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 11:41:10 2008 Content-Type: multipart/mixed; boundary="===============4570374828327459046==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5838 - in trunk/seam/tests/org.jboss.tools.seam.ui.test: projects/TestSeamELContentAssist/WebContent and 2 other directories. Date: Mon, 21 Jan 2008 11:41:10 -0500 Message-ID: --===============4570374828327459046== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vrubezhny Date: 2008-01-21 11:41:09 -0500 (Mon, 21 Jan 2008) New Revision: 5838 Added: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/u= i/test/ca/ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/u= i/test/ca/SeamELContentAssistTest.java Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/META-INF/MANIFEST.MF trunk/seam/tests/org.jboss.tools.seam.ui.test/projects/TestSeamELContent= Assist/WebContent/login.xhtml Log: JBIDE-1553 JUnit Test for Seam EL Content Assist = Modified: trunk/seam/tests/org.jboss.tools.seam.ui.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/seam/tests/org.jboss.tools.seam.ui.test/META-INF/MANIFEST.MF 2008= -01-21 16:29:32 UTC (rev 5837) +++ trunk/seam/tests/org.jboss.tools.seam.ui.test/META-INF/MANIFEST.MF 2008= -01-21 16:41:09 UTC (rev 5838) @@ -33,7 +33,8 @@ org.eclipse.wst.common.frameworks, org.jboss.tools.jst.firstrun, org.eclipse.wst.server.core, - org.eclipse.datatools.connectivity + org.eclipse.datatools.connectivity, + org.jboss.tools.jst.jsp Export-Package: org.jboss.tools.seam.ui.test, org.jboss.tools.seam.ui.test.view, org.jboss.tools.seam.ui.test.wizard Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/projects/TestSeamEL= ContentAssist/WebContent/login.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/projects/TestSeamELConten= tAssist/WebContent/login.xhtml 2008-01-21 16:29:32 UTC (rev 5837) +++ trunk/seam/tests/org.jboss.tools.seam.ui.test/projects/TestSeamELConten= tAssist/WebContent/login.xhtml 2008-01-21 16:41:09 UTC (rev 5838) @@ -17,8 +17,8 @@ Login = -

Please login using any username and password

- = +

Please login using any username and password

+ =
Username @@ -31,8 +31,10 @@ -
- = + + = +

Previously the values was: #{identity.username}, #{identity= .password} and #{identity.rememberMe}.

+ =
=
Added: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/se= am/ui/test/ca/SeamELContentAssistTest.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/ca/SeamELContentAssistTest.java (rev 0) +++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/= ui/test/ca/SeamELContentAssistTest.java 2008-01-21 16:41:09 UTC (rev 5838) @@ -0,0 +1,713 @@ +package org.jboss.tools.seam.ui.test.ca; + +import java.util.ArrayList; +import java.util.List; +import java.util.Set; +import java.util.TreeSet; + +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IProject; +import org.eclipse.core.resources.IResource; +import org.eclipse.jface.text.BadLocationException; +import org.eclipse.jface.text.IDocument; +import org.eclipse.jface.text.IRegion; +import org.eclipse.jface.text.ITextViewer; +import org.eclipse.jface.text.TextUtilities; +import org.eclipse.jface.text.contentassist.ICompletionProposal; +import org.eclipse.jface.text.contentassist.IContentAssistProcessor; +import org.eclipse.jface.text.contentassist.IContentAssistant; +import org.eclipse.jface.text.contentassist.IContentAssistantExtension; +import org.eclipse.jface.text.source.SourceViewerConfiguration; +import org.eclipse.swt.widgets.Display; +import org.eclipse.ui.IEditorPart; +import org.eclipse.ui.PartInitException; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.part.FileEditorInput; +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.sse.ui.internal.StructuredTextViewer; +import org.eclipse.wst.sse.ui.internal.contentassist.ContentAssistUtils; +import org.eclipse.wst.sse.ui.internal.editor.EditorModelUtil; +import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext; +import org.jboss.tools.common.model.XJob; +import org.jboss.tools.common.test.util.TestProjectProvider; +import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; +import org.jboss.tools.jst.jsp.jspeditor.JSPTextEditor; +import org.jboss.tools.seam.ui.text.java.SeamELProposalProcessor; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +public class SeamELContentAssistTest extends TestCase { + TestProjectProvider provider =3D null; + IProject project =3D null; + boolean makeCopy =3D false; + private static final String PROJECT_NAME =3D "TestSeamELContentAssist"; + private static final String PAGE_NAME =3D "/WebContent/login.xhtml"; + + public static Test suite() { + return new TestSuite(SeamELContentAssistTest.class); + } + + public void setUp() throws Exception { + provider =3D new TestProjectProvider("org.jboss.tools.seam.ui.test", nul= l, PROJECT_NAME, makeCopy); = + project =3D provider.getProject(); + Throwable exception =3D null; + try { + project.refreshLocal(IResource.DEPTH_INFINITE, null); + } catch (Exception x) { + exception =3D x; + x.printStackTrace(); + } + assertNull("An exception caught: " + (exception !=3D null? exception.get= Message() : ""), exception); + } + + protected void tearDown() throws Exception { + if(provider !=3D null) { + provider.dispose(); + } + } + + private static final String[] VALID_SEAM_EL_PROPOSALS =3D new String[] { + "TestSeamELContentAssistEntityManagerFactory", + "actor", + "applicationContext", + "authenticator", + "businessProcessContext", + "businessProcess", + "captcha", + "conversationContext", + "conversationList", + "conversationStack", + "conversation", + "currentDatetime", + "currentDate", + "currentTime", + "entityManager", + "eventContext", + "events", + "expressions", + "facesContext", + "facesMessages", + "httpError", + "identity", + "identity:addRole", = + "identity:addRole(arg0)", = + "identity:authenticate", = + "identity:authenticate()", = + "identity:authenticate(loginContext)", = + "identity:authenticateMethod", = + "identity:checkEntityPermission", = + "identity:checkEntityPermission(arg0, arg1)", = + "identity:checkPermission", = + "identity:checkPermission(name, action, arg)", = + "identity:checkRestriction", = + "identity:checkRestriction(expr)", = + "identity:checkRole", = + "identity:checkRole(role)", = + "identity:clearDirty", = + "identity:clearDirty()", = + "identity:cookieEnabled", = + "identity:cookieMaxAge", = + "identity:create", = + "identity:create()", = + "identity:hasPermission", = + "identity:hasPermission(name, action, arg)", = + "identity:hasRole", = + "identity:hasRole(arg0)", = + "identity:jaasConfigName", = + "identity:loggedIn", = + "identity:login", = + "identity:login()", = + "identity:logout", = + "identity:logout()", = + "identity:password", = + "identity:principal", = + "identity:rememberMe", = + "identity:removeRole", = + "identity:removeRole(arg0)", = + "identity:subject", = + "identity:username", + "image", + "interpolator", + "isUserInRole", + "jbpmContext", + "localeSelector", + "locale", + "mailSession", + "messages", + "methodContext", + "mockSecureEntity", + "org.jboss.seam.captcha.captchaImage", + "org.jboss.seam.captcha.captcha", + "org.jboss.seam.core.actor", + "org.jboss.seam.core.applicationContext", + "org.jboss.seam.core.businessProcessContext", + "org.jboss.seam.core.businessProcess", + "org.jboss.seam.core.conversationContext", + "org.jboss.seam.core.conversationEntries", + "org.jboss.seam.core.conversationList", + "org.jboss.seam.core.conversationStack", + "org.jboss.seam.core.conversation", + "org.jboss.seam.core.dispatcher", + "org.jboss.seam.core.ejb", + "org.jboss.seam.core.eventContext", + "org.jboss.seam.core.events", + "org.jboss.seam.core.exceptions", + "org.jboss.seam.core.expressions", + "org.jboss.seam.core.facesContext", + "org.jboss.seam.core.facesMessages", + "org.jboss.seam.core.facesPage", + "org.jboss.seam.core.httpError", + "org.jboss.seam.core.image", + "org.jboss.seam.core.init", + "org.jboss.seam.core.interpolator", + "org.jboss.seam.core.isUserInRole", + "org.jboss.seam.core.jbpmContext", + "org.jboss.seam.core.jbpm", + "org.jboss.seam.core.localeSelector", + "org.jboss.seam.core.locale", + "org.jboss.seam.core.manager", + "org.jboss.seam.core.messages", + "org.jboss.seam.core.methodContext", + "org.jboss.seam.core.microcontainer", + "org.jboss.seam.core.pageContext", + "org.jboss.seam.core.pageflow", + "org.jboss.seam.core.pages", + "org.jboss.seam.core.persistenceContexts", + "org.jboss.seam.core.pojoCache", + "org.jboss.seam.core.pooledTaskInstanceList", + "org.jboss.seam.core.pooledTask", + "org.jboss.seam.core.processInstanceFinder", + "org.jboss.seam.core.processInstanceList", + "org.jboss.seam.core.processInstance", + "org.jboss.seam.core.redirect", + "org.jboss.seam.core.renderer", + "org.jboss.seam.core.resourceBundle", + "org.jboss.seam.core.safeActions", + "org.jboss.seam.core.sessionContext", + "org.jboss.seam.core.switcher", + "org.jboss.seam.core.taskInstanceListForType", + "org.jboss.seam.core.taskInstanceList", + "org.jboss.seam.core.taskInstance", + "org.jboss.seam.core.timeZoneSelector", + "org.jboss.seam.core.timeZone", + "org.jboss.seam.core.transactionListener", + "org.jboss.seam.core.transition", + "org.jboss.seam.core.uiComponent", + "org.jboss.seam.core.userPrincipal", + "org.jboss.seam.core.validation", + "org.jboss.seam.core.validators", + "org.jboss.seam.debug.contexts", + "org.jboss.seam.debug.hotDeployFilter", + "org.jboss.seam.debug.introspector", + "org.jboss.seam.framework.currentDatetime", + "org.jboss.seam.framework.currentDate", + "org.jboss.seam.framework.currentTime", + "org.jboss.seam.ioc.spring.contextLoader", + "org.jboss.seam.ioc.spring.springELResolver", + "org.jboss.seam.jms.queueConnection", + "org.jboss.seam.jms.queueSession", + "org.jboss.seam.jms.topicConnection", + "org.jboss.seam.jms.topicSession", + "org.jboss.seam.mail.mailSession", + "org.jboss.seam.pdf.documentStore", + "org.jboss.seam.persistence.persistenceProvider", + "org.jboss.seam.remoting.messaging.subscriptionRegistry", + "org.jboss.seam.remoting.remoting", + "org.jboss.seam.security.configuration", + "org.jboss.seam.security.identity", + "org.jboss.seam.servlet.characterEncodingFilter", + "org.jboss.seam.servlet.contextFilter", + "org.jboss.seam.servlet.exceptionFilter", + "org.jboss.seam.servlet.multipartFilter", + "org.jboss.seam.servlet.redirectFilter", + "org.jboss.seam.theme.themeSelector", + "org.jboss.seam.theme.theme", + "org.jboss.seam.ui.entityConverterStore", + "org.jboss.seam.ui.entityConverter", + "org.jboss.seam.ui.graphicImage.dynamicImageResource", + "org.jboss.seam.ui.graphicImage.dynamicImageStore", + "org.jboss.seam.ui.resource.webResource", + "pageContext", + "pageflow", + "pdfKeyStore", + "pojoCache", + "pooledTaskInstanceList", + "pooledTask", + "processInstanceFinder", + "processInstanceList", + "processInstance", + "queueSession", + "redirect", + "renderer", + "resourceBundle", + "securityRules", + "sessionContext", + "switcher", + "taskInstanceListForType", + "taskInstanceList", + "taskInstance", + "themeSelector", + "theme", + "timeZoneSelector", + "timeZone", + "topicSession", + "transition", + "uiComponent", + "userPrincipal", + "validation" + }; + + = + = + = + /** + * Do not use this set as is because of colon used instead of dot to sepa= rate items of level 2 and more + * @return + */ + protected Set getPageValidProposals() { + TreeSet pSet =3D new TreeSet(String.CASE_INSENSITIVE_ORD= ER); + for (int i =3D 0; i < VALID_SEAM_EL_PROPOSALS.length; i++) { + pSet.add(VALID_SEAM_EL_PROPOSALS[i]); + } + + return pSet; + } + + private int getDotIndex (String expr) { + if (expr =3D=3D null) + return 0; + = + int count =3D 0; + int index =3D 0; + while ((index =3D expr.indexOf('.', index+1)) !=3D -1) { + count++; + } + = + return count; + } + = + private int getValidDotIndex (String expr) { + if (expr =3D=3D null) + return 0; + + int count =3D 0; + int index =3D 0; + while ((index =3D expr.indexOf(':', index+1)) !=3D -1) { + count++; + } + = + return count; + } + = + protected Set getFilteredProposals(Set proposals, String = filter) { + TreeSet fSet =3D new TreeSet(String.CASE_INSENSITIVE_ORD= ER); + = + int dotIndex =3D getDotIndex(filter); + for (String proposal : proposals) { + if (getValidDotIndex(proposal) <=3D dotIndex) { + proposal =3D proposal.replace(':', '.'); + if (proposal.startsWith(filter) ) { = + fSet.add(proposal); + } + } + } + + return fSet; + } + = + protected Set renewWithPrefixAndPostfix(Set proposals, St= ring prefix, String suffix) { + TreeSet rSet =3D new TreeSet(String.CASE_INSENSITIVE_ORD= ER); + = + for (String proposal : proposals) { + rSet.add(prefix + proposal + suffix); + } + + return rSet; + = + } + = + private int indexOfElBOB (String content, int startFrom) { + int index1 =3D content.indexOf("${", startFrom); + int index2 =3D content.indexOf("#{", startFrom); + = + if (index1 =3D=3D -1) + return index2; + = + if (index2 =3D=3D -1) + return index1; + = + return (index1 < index2 ? index1 : index2); + } + = + protected List getAttributeValueRegions(ITextViewer viewer) { + List regions =3D new ArrayList(); + IDocument document =3D viewer.getDocument(); + int startOffset =3D 0; + int endOffset =3D document.getLength(); + + IStructuredDocumentRegion sdRegion =3D null; + = + while (startOffset < endOffset && (sdRegion =3D ContentAssistUtils.getSt= ructuredDocumentRegion(viewer, startOffset)) !=3D null) { + ITextRegionList list =3D sdRegion.getRegions(); + = + for (int i =3D 0; list !=3D null && i < list.size(); i++) { + ITextRegion region =3D list.get(i); + if (region.getType() =3D=3D DOMRegionContext.XML_TAG_ATTRIBUTE_VALUE) { + + final int regionOffset =3D sdRegion.getStartOffset() + region.getStar= t(); + final int regionLength =3D region.getTextLength(); + + regions.add(new IRegion () { + public int getLength() { + return regionLength; + } + + public int getOffset() { + return regionOffset; + } + }); + = + } + } + startOffset +=3D sdRegion.getLength(); = + } + = + return regions; + } + = + protected List getELRegionsToTest(IDocument document) { + List regions =3D new ArrayList(); + String documentContent =3D document.get(); + if (documentContent =3D=3D null) + return regions; + = + int fromIndex =3D indexOfElBOB(documentContent, 0); + = + while (fromIndex !=3D -1) { + int endIndex =3D documentContent.indexOf("}", fromIndex); + final int regionOffset =3D fromIndex; + final int regionLength =3D (endIndex !=3D -1 ? endIndex - fromIndex : = + documentContent.length() - fromIndex) + 1; + = + regions.add(new IRegion () { + public int getLength() { + return regionLength; + } + + public int getOffset() { + return regionOffset; + } + }); + = + fromIndex =3D (endIndex !=3D -1 ? indexOfElBOB(documentContent, endInde= x) : -1); + } + = + return regions; + } + = + public void testSeamELContentAssist() { + try { + XJob.waitForJob(); + } catch (InterruptedException e) { + e.printStackTrace(); + } = + assertTrue("Test project \"" + PROJECT_NAME + "\" is not loaded", (proje= ct !=3D null)); + + IFile jspFile =3D project.getFile(PAGE_NAME); + + assertTrue("The file \"" + PAGE_NAME + "\" is not found", (jspFile !=3D = null)); + assertTrue("The file \"" + PAGE_NAME + "\" is not found", (jspFile.exist= s())); + + FileEditorInput editorInput =3D new FileEditorInput(jspFile); + = +// IDocumentProvider documentProvider =3D null; +// Throwable exception =3D null; +// try { +// documentProvider =3D DocumentProviderRegistry.getDefault().getDocumen= tProvider(editorInput); +// } catch (Exception x) { +// exception =3D x; +// x.printStackTrace(); +// = +// } +// assertNull("An exception caught: " + (exception !=3D null? exception.g= etMessage() : ""), exception); +// +// assertTrue("The document provider for the file \"" + PAGE_NAME + "\" i= s not loaded", (documentProvider !=3D null)); + +// try { +// documentProvider.connect(editorInput); +// } catch (Exception x) { +// exception =3D x; +// x.printStackTrace(); +// assertTrue("The document provider is not able to be initialized with = the editor input", false); +// } +// assertNull("An exception caught: " + (exception !=3D null? exception.g= etMessage() : ""), exception); + = +// IDocument document =3D documentProvider.getDocument(editorInput); +// IDocumentExtension3 de3 =3D (document instanceof IDocumentExtension3) = ? = +// (IDocumentExtension3)document : null; + = +// assertTrue("The document for the file \"" + PAGE_NAME + "\" is not loa= ded", (document !=3D null)); + = +// IStructuredModel model =3D null; +// IStructuredDocument sd =3D null; +// if (document instanceof IStructuredDocument) { +// sd =3D (IStructuredDocument)document; + // corresponding releaseFromEdit occurs in + // dispose() +// model =3D StructuredModelManager.getModelManager().getModelForEdit((I= StructuredDocument) document); +// EditorModelUtil.addFactoriesTo(model); +// } + +// assertTrue("The document model for the file \"" + PAGE_NAME + "\" is n= ot loaded", (model !=3D null)); +// IDocumentPartitioner partitioner =3D null; +// IDocumentPartitionerExtension2 pe2 =3D null; + = +// String[] contentTypes =3D document.getLegalContentTypes(); +// String[] partitionings =3D de3.getPartitionings(); + + Throwable exception =3D null; + IEditorPart editorPart =3D null; + try { + editorPart =3D PlatformUI.getWorkbench().getActiveWorkbenchWindow().get= ActivePage().openEditor(editorInput, "org.jboss.tools.jst.jsp.jspeditor.JSP= TextEditor"); + } catch (PartInitException ex) { + exception =3D ex; + ex.printStackTrace(); + assertTrue("The JSP Visual Editor couln'd be initialized.", false); + } + + JSPMultiPageEditor jspEditor =3D null; + = + if (editorPart instanceof JSPMultiPageEditor) + jspEditor =3D (JSPMultiPageEditor)editorPart; + = + // Delay for 3 seconds so that + // the Favorites view can be seen. + try { + XJob.waitForJob(); + } catch (InterruptedException e) { + e.printStackTrace(); + assertTrue("Waiting for the jobs to complete has failed.", false); + } = + delay(3000); + + JSPTextEditor jspTextEditor =3D jspEditor.getJspEditor(); + StructuredTextViewer viewer =3D jspTextEditor.getTextViewer(); + IDocument document =3D viewer.getDocument(); + IContentAssistant contentAssistant =3D jspTextEditor.getSVConfiguration(= ).getContentAssistant(viewer); + = + List regionsToTest =3D getELRegionsToTest(document); + if (regionsToTest !=3D null) { + for (IRegion region : regionsToTest) { + try { +// System.out.println("Seam EL Region To Test: [" + region.getOffset()= + "/" + region.getLength() + "] =3D=3D> [" + = +// document.get(region.getOffset(), region.getLength()) + "]"); + = + int startOffset =3D region.getOffset() + 2; + for (int i =3D 2; i < region.getLength(); i++) { + int offset =3D region.getOffset() + i; + = + String filter =3D document.get(startOffset, offset - startOffset); + Set filteredValidProposals =3D getFilteredProposals(getPageV= alidProposals(), filter); + = + ICompletionProposal[] result=3D null; + String errorMessage =3D null; + + IContentAssistProcessor p=3D getProcessor(viewer, offset, contentAss= istant); + if (p !=3D null) { + try { + result=3D p.computeCompletionProposals(viewer, offset); + } catch (Throwable x) { + x.printStackTrace(); + } + errorMessage=3D p.getErrorMessage(); + } + = +// if (errorMessage !=3D null && errorMessage.trim().length() > 0) { +// System.out.println("#" + offset + ": ERROR MESSAGE: " + errorMess= age); +// } + = + // compare SeamELCompletionProposals in the result to the filtered v= alid proposals + Set existingProposals =3D new TreeSet(String.CASE_IN= SENSITIVE_ORDER); + Set nonExistingProposals =3D new TreeSet(String.CASE= _INSENSITIVE_ORDER); + = + if (result !=3D null && result.length > 0) { + for (int j =3D 0; j < result.length; j++) { +// System.out.println("Result#" + i + "-" + j + " =3D=3D> " + resul= t[j].getClass().getName()); + // Look only for SeamELProposalProcessor proposals + if (result[j] instanceof SeamELProposalProcessor.Proposal) { + SeamELProposalProcessor.Proposal proposal =3D (SeamELProposalProc= essor.Proposal)result[j]; + String proposalString =3D proposal.getPrefixCompletionText(docume= nt, offset).toString(); + if (filteredValidProposals.contains(proposalString)) { + existingProposals.add(proposalString); + filteredValidProposals.remove(proposalString); + } else { + nonExistingProposals.add(proposalString); + } + } + } + } + assertTrue("Some Seam EL proposals werent\'t shown in the Content As= sistant", filteredValidProposals.isEmpty()); + assertTrue("Some Seam EL proposals were shown in the Content Assista= nt but they shouldn\'t", nonExistingProposals.isEmpty()); + } + = + = + } catch (BadLocationException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + assertNull("An exception caught: " + (e !=3D null? e.getMessage() : "= "), e); + } + } + } + regionsToTest =3D getAttributeValueRegions(viewer); + if (regionsToTest !=3D null) { + for (IRegion region : regionsToTest) { + try { +// System.out.println("Attribute Region To Test: [" + region.getOffset= () + "/" + region.getLength() + "] =3D=3D> [" + = +// document.get(region.getOffset(), region.getLength()) + "]"); + + String attributeText =3D document.get(region.getOffset(), region.getL= ength()); + int openQuoteIndex =3D attributeText.indexOf('"'); + if (openQuoteIndex =3D=3D -1) + openQuoteIndex =3D attributeText.indexOf('\''); + else { + int openQuoteIndex2 =3D attributeText.indexOf('\''); + if (openQuoteIndex2 !=3D -1) { + openQuoteIndex =3D (openQuoteIndex < openQuoteIndex2 ? openQuoteInd= ex : openQuoteIndex2); + } + } + = + int closeQuoteIndex =3D (openQuoteIndex =3D=3D -1 ? -1 : attributeTex= t.lastIndexOf(attributeText.charAt(openQuoteIndex))); + = + int startOffset =3D region.getOffset(); + for (int i =3D 0; i < region.getLength(); i++) { + int offset =3D startOffset + i; + if ((openQuoteIndex !=3D -1 && i <=3D openQuoteIndex) || + (closeQuoteIndex !=3D -1 && i >=3D closeQuoteIndex)) { + // - Before and at opening quotation mark (single or double quote) + // - or at and after closing quotation mark (single or double quote) + // There is no prompting acceptable + } else { + String filter =3D document.get(startOffset + openQuoteIndex + 1, of= fset - startOffset - openQuoteIndex - 1); + = + String clearedFilter =3D filter; + if (filter.startsWith("#{")) { + clearedFilter =3D filter.substring(2); + } else if (filter.startsWith("#")) { + clearedFilter =3D filter.substring(1); + } else { + clearedFilter =3D ""; + } + = + Set filteredValidProposals =3D getFilteredProposals(getPage= ValidProposals(), clearedFilter); + = + if (filter.indexOf("#") =3D=3D -1) { + filteredValidProposals =3D renewWithPrefixAndPostfix(filteredValid= Proposals, "#{", "}"); + } else if (filter.indexOf("#{") =3D=3D -1) { + filteredValidProposals =3D renewWithPrefixAndPostfix(filteredValid= Proposals, "{", "}"); + } + + = + ICompletionProposal[] result=3D null; + String errorMessage =3D null; + = + IContentAssistProcessor p=3D getProcessor(viewer, offset, contentAs= sistant); + if (p !=3D null) { + try { + result=3D p.computeCompletionProposals(viewer, offset); + } catch (Throwable x) { + x.printStackTrace(); + } + errorMessage=3D p.getErrorMessage(); + } + = +// if (errorMessage !=3D null && errorMessage.trim().length() > 0) { +// System.out.println("#" + offset + ": ERROR MESSAGE: " + errorMes= sage); +// } + = + // compare SeamELCompletionProposals in the result to the filtered = valid proposals + Set existingProposals =3D new TreeSet(String.CASE_I= NSENSITIVE_ORDER); + Set nonExistingProposals =3D new TreeSet(String.CAS= E_INSENSITIVE_ORDER); + = + if (result !=3D null && result.length > 0) { + for (int j =3D 0; j < result.length; j++) { +// System.out.println("Result#" + i + "/" + j + " =3D=3D> " + resu= lt[j].getClass().getName()); + // Look only for SeamELProposalProcessor proposals + if (result[j] instanceof SeamELProposalProcessor.Proposal) { + SeamELProposalProcessor.Proposal proposal =3D (SeamELProposalPro= cessor.Proposal)result[j]; + String proposalString =3D proposal.getPrefixCompletionText(docum= ent, offset).toString(); + = + if (filteredValidProposals.contains(proposalString)) { + existingProposals.add(proposalString); + filteredValidProposals.remove(proposalString); + } else { + nonExistingProposals.add(proposalString); + } + } + } + } + assertTrue("Some in-attribute Seam EL proposals werent\'t shown in = the Content Assistant", filteredValidProposals.isEmpty()); + assertTrue("Some in-attribute Seam EL proposals were shown in the C= ontent Assistant but they shouldn\'t", nonExistingProposals.isEmpty()); + } + } + } catch (BadLocationException e) { + e.printStackTrace(); + assertNull("An exception caught: " + (e !=3D null? e.getMessage() : "= "), e); + } + } + } + = + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() + .closeEditor(editorPart, false); + + } + = + private IContentAssistProcessor getProcessor(ITextViewer viewer, int offs= et, IContentAssistant ca) { + try { + + IDocument document=3D viewer.getDocument(); + String type=3D TextUtilities.getContentType(document, ((IContentAssista= ntExtension)ca).getDocumentPartitioning(), offset, true); + + return ca.getContentAssistProcessor(type); + + } catch (BadLocationException x) { + } + + return null; + } + + public SourceViewerConfiguration svConfiguration =3D null; = + = + /** + * Process UI input but do not return for the specified time interval. + * = + * @param waitTimeMillis + * the number of milliseconds + */ + protected void delay(long waitTimeMillis) { + Display display =3D Display.getCurrent(); + + // If this is the UI thread, + // then process input. + if (display !=3D null) { + long endTimeMillis =3D System.currentTimeMillis() + waitTimeMillis; + while (System.currentTimeMillis() < endTimeMillis) { + if (!display.readAndDispatch()) + display.sleep(); + } + display.update(); + } + // Otherwise, perform a simple sleep. + else { + try { + Thread.sleep(waitTimeMillis); + } catch (InterruptedException e) { + // Ignored. + } + } + } + +} Property changes on: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/= jboss/tools/seam/ui/test/ca/SeamELContentAssistTest.java ___________________________________________________________________ Name: svn:mime-type + text/plain --===============4570374828327459046==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 11:45:04 2008 Content-Type: multipart/mixed; boundary="===============1963248326185082255==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5839 - trunk/jst/plugins/org.jboss.tools.jst.web/resources/help. Date: Mon, 21 Jan 2008 11:45:02 -0500 Message-ID: --===============1963248326185082255== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dazarov Date: 2008-01-21 11:45:01 -0500 (Mon, 21 Jan 2008) New Revision: 5839 Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.proper= ties Log: http://jira.jboss.com/jira/browse/JBIDE-1663 Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web= .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/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.prope= rties 2008-01-21 16:41:09 UTC (rev 5838) +++ trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.prope= rties 2008-01-21 16:45:01 UTC (rev 5839) @@ -691,3 +691,5 @@ = SharableGroupHTML.add_taglib=3DAutomatic insertion of taglib to the page = +FileSystems_Add_0.WindowTitle=3DAdd Module +FileSystems_Add_0.Title=3DModule \ No newline at end of file --===============1963248326185082255==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 11:48:37 2008 Content-Type: multipart/mixed; boundary="===============4804140377729911099==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5840 - trunk/seam/tests/org.jboss.tools.seam.ui.test/projects/TestSeamELContentAssist/WebContent/WEB-INF/dev. Date: Mon, 21 Jan 2008 11:48:36 -0500 Message-ID: --===============4804140377729911099== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vrubezhny Date: 2008-01-21 11:48:36 -0500 (Mon, 21 Jan 2008) New Revision: 5840 Removed: trunk/seam/tests/org.jboss.tools.seam.ui.test/projects/TestSeamELContent= Assist/WebContent/WEB-INF/dev/org/ Log: JBIDE-1553 JUnit Test for Seam EL Content Assist = --===============4804140377729911099==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 11:57:30 2008 Content-Type: multipart/mixed; boundary="===============0100731347307737676==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5841 - in trunk/jsf/docs: userguide/en/images/jsf_support and 1 other directories. Date: Mon, 21 Jan 2008 11:57:29 -0500 Message-ID: --===============0100731347307737676== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: afedosik Date: 2008-01-21 11:57:29 -0500 (Mon, 21 Jan 2008) New Revision: 5841 Added: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_20_1.png trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_20_2.png Removed: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_13.png Modified: trunk/jsf/docs/resources/styles/en/html.css trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_11.png trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_12.png trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_17.png trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_33.png trunk/jsf/docs/userguide/en/modules/Visual_Web_Tools.xml trunk/jsf/docs/userguide/en/modules/jsf_support.xml Log: http://jira.jboss.com/jira/browse/JBDS-162 guide update according Sveta rem= arks Modified: trunk/jsf/docs/resources/styles/en/html.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/resources/styles/en/html.css 2008-01-21 16:48:36 UTC (re= v 5840) +++ trunk/jsf/docs/resources/styles/en/html.css 2008-01-21 16:57:29 UTC (re= v 5841) @@ -112,8 +112,8 @@ } = DIV.note{ - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #FFFDD3; - background-image : url('../images/ico_note.gif'); background-repeat : no-= repeat; background-position :top left; + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #cfe3ff; + background-image : url('images/ico_note.gif'); background-repeat : no-rep= eat; background-position :top left; } = DIV.note *{ @@ -128,7 +128,7 @@ } DIV.important { BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #fee3d9; - background-image : url('../images/ico_important.gif'); background-repeat = : no-repeat; background-position :top left; = + background-image : url('images/ico_important.gif'); background-repeat : n= o-repeat; background-position :top left; = } = DIV.important *{ @@ -141,7 +141,7 @@ } = DIV.tip { - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('../images/ico_tip.gif'); + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14= px; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-= COLOR: #CFE3FF; background-repeat : no-repeat; background-position :top lef= t; background-image : url('images/ico_tip.gif'); } = DIV.tip *{ @@ -164,7 +164,7 @@ = .table TH { WHITE-SPACE: nowrap; BACKGROUND-COLOR: #EEF5FF; TEXT-ALIGN: center; BOR= DER-BOTTOM: #CAE1FF 2px solid; PADDING: 2px 8px 2px 8px; - background-image : url('../images/bg_table.gif'); background-repeat : rep= eat-x; background-position :top left; + background-image : url('images/bg_table.gif'); background-repeat : repeat= -x; background-position :top left; } TD { PADDING: 4px 8px 4px 8px; BORDER-BOTTOM: #cccccc 1px dotted; BORDER-righ= t: #cccccc 1px dotted; Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_11.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/jsf_support/jsf_support_12.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) Deleted: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_13.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/jsf_support/jsf_support_17.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) Added: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_20_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) Property changes on: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_sup= port_20_1.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_20_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) Property changes on: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_sup= port_20_2.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_33.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/modules/Visual_Web_Tools.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/Visual_Web_Tools.xml 2008-01-21 16:= 48:36 UTC (rev 5840) +++ trunk/jsf/docs/userguide/en/modules/Visual_Web_Tools.xml 2008-01-21 16:= 57:29 UTC (rev 5841) @@ -106,7 +106,7 @@ = - Support for JSF and JSF Configuration Files + Support for JSF and Struts Configuration Files Working on files using three modes: diagram, tree and source.= Synchronization between the modes and full control over the code. Easy mov= ing around the diagram using the Diagram Navigator. Working with struts pro= jects that have multiple modules. Possibility to use Struts configuration f= ile debugger allowing to set break points on struts diagram and then launch= the server in debug mode. graphical editor for jsf graphical editor for struts Modified: trunk/jsf/docs/userguide/en/modules/jsf_support.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/jsf_support.xml 2008-01-21 16:48:36= UTC (rev 5840) +++ trunk/jsf/docs/userguide/en/modules/jsf_support.xml 2008-01-21 16:57:29= UTC (rev 5841) @@ -89,8 +89,8 @@ of presentation pages for JSF. JBoss Developer Studio prov= ides support for Facelets in a variety of ways: = - The New JSF Project wizard contain= s templates for creating Facelets projects based on version 1.2 of the JSF = Reference Implementation. Just select the - JSF 1.2 with Facelets= in JSF Environment section. + The New JSF Project wizard contain= s templates for creating Facelets projects based on version 1.2 of the JSF = Reference Implementation. Select the + JSF 1.2 with Facelets<= /property> in JSF Environment section. = = @@ -102,8 +102,9 @@
- - Once you select the environment, you can select the = one of three available templates. + = + Once you select the environment, you can select the = one of three available templates: + =
Choosing Facelets Template @@ -113,8 +114,54 @@
= + + Facelets Templates + + + + = + = + + + + Template + + = + + Description<= /para> + + + + = + + = + + FaceletsBlankWithoutLibs + = + Some servers = already provide jsf libs and you take risk of getting conflicting libraries= while deploying your project. To avoid + such conflicts, us= e a template without libs if you have a server with its own jsf libraries + + = + + FaceletsKickStartWithRILibs + = + a sample appl= ication with Facelets that is ready to run + + = + + FaceletsKickStartWithoutLibs + = + a sample appl= ication without libraries + + = = + + +
+ = + = + = - The JBoss Tools Palette comes with= the Facelets components ready to use. A + The JBos= s Tools Palette comes with the Facelets components ready to use. A useful tip appears when you hover the mous= e cursor over the tag, the tip includes a detailed description of the tag c= omponent, the syntax and available attributes. = @@ -221,7 +268,7 @@ Creating a New JSF Project = - JBoss Developer Studio provides the followin= g when working with JSF: + JBoss Developer Studio provides the followin= g functionality when working with JSF: = @@ -239,10 +286,8 @@ created outside Eclipse - JBoss Developer Studio allows you to create = brand new - JSF projects - . A new JSF project will have a= ll JSF libraries, tag - libraries and a JSF configuration file. + JBoss Developer Studio allows you to create = a brand new JSF projects. A new JSF project will have all JSF libraries, tag + libraries and JSF configuration file. = JBoss Developer Studio comes with a number o= f predefined project templates. These templates are flexible an= d easily customizable. @@ -252,8 +297,8 @@ Tools Web > JSF > JSF Project and click - Next - : + Next. +
Choosing a JSF Project @@ -263,9 +308,9 @@
= - On this form enter Project Name. You can als= o select where to create + On the next form enter Project Nam= e. You can also select where to create the project. - JSF Version allows you to select which JSF i= mplementation to use: + JSF Version allows you to select which JSF i= mplementation to use.
Creating a New JSF Project @@ -277,14 +322,11 @@
= - You can also pick a different template on wh= ich to base the project. + You can also pick a different template on wh= ich the project should be based to. Almost all templates come in two variation= s: with jsf libraries and - without ones. Some servers already provide= jsf libs and you take - risk of getting conflicting libraries whil= e deploying your project. - So the idea here is to avoid such conflict= s. Select a template - without libs if you use a server with its = own jsf libraries. + without ones.
- JSF Templates + Choosing JSF Templates
- The JSFBlank template will create a standard= Web project structure - with all JSF capabilities. - - The JSFKickStart template will create the sa= me standard structure but - will also include a sample application tha= t is ready to run. - + = + + JSF Project Templates + + + + = + = + + + + Temp= late + + = + + Desc= ription + + + + = + + = + + JSFBlankWithLibs + = + This = template will create a standard Web project structure with all JSF capabili= ties + + = + + JSFKickStartWithLibs + = + This = template will create a standard Web project structure but will also include= a sample application that is ready to run + + = + + JSFKickStartWithoutLibs + = + Some = servers already provide jsf libs and you take risk of getting conflicting l= ibraries while deploying your project. + To avoid s= uch conflicts, use a template without libs if you have a server with its ow= n jsf libraries + + = + + +
+ = + = = -
- Choosing JSF Template - - - - - -
- + = On the next screen select what Servlet version to use and whether to register= this application with JBoss AS (or other server) for running and= testing of your application. = - - Context Path - is the name under which the ap= plication will be + The Context Path is the name under which the application will be deployed. = The @@ -334,20 +404,17 @@ New... to add new Runtime. = - + The Target Server - allows you specify whether to = deploy the application. - The Target Server corresponds to the Runti= me value selected above. - - If you don't want to deploy the applica= tion, uncheck this - value: + allows you specifying whether = to deploy the application. + The Target Server corresponds to the Runti= me value selected above. If you don't want to deploy the application, = uncheck this + value.
Registering the Project on Server</= title> <mediaobject> <imageobject> <imagedata - fileref=3D"images/= jsf_support/jsf_support_14.png" - /> + fileref=3D"images/= jsf_support/jsf_support_14.png"/> </imageobject> </mediaobject> </figure> @@ -392,9 +459,9 @@ using JBoss Developer Studio editors, such= as JSF configuration editor, JBoss Tools JSP editor and any oth= ers.</para> <para>Right click the project and select <emphasis> - <property>JBoss Tools > Add JSF Ca= pabilities</property> - </emphasis>. This will start the process o= f adding all necessary - libraries, files to make this a Web JSF pr= oject:</para> + <property>JBoss Tools > Add JSF Ca= pabilities</property>. + </emphasis> This will start the process of= adding all necessary + libraries, files to make this a Web JSF pr= oject.</para> <figure> <title>Adding JSF Capabilities @@ -406,7 +473,7 @@
The wizard will first ask you to show the we= b.xml file location and the - project name: + project name.
Project Location @@ -425,7 +492,7 @@ for JBoss Developer Studio to = add all required JSF related libraries to this project. = - + The Context Path is the name under which the ap= plication will be deployed. @@ -439,20 +506,17 @@ New... to add new Runtime. = - + The Target Server - allows you specify whether to = deploy the application. - The Target Server corresponds to the Runti= me value selected above. - - If you don't want to deploy the applica= tion, uncheck this - value: + allows you to specify whether = to deploy the application. + The Target Server corresponds to the Runti= me value selected above. If you don't want to deploy the application, = uncheck this + value.
Project Folders + fileref=3D"images/= jsf_support/jsf_support_18.png"/>
@@ -505,8 +569,7 @@ + fileref=3D"images/= jsf_support/jsf_support_20.png"/>
@@ -517,6 +580,20 @@ what run-time implementati= on of the project's technology = will be used
+ = + +
+ Define Template Properties<= /title> + <mediaobject> + <imageobject> + <imagedata + fileref=3D= "images/jsf_support/jsf_support_20_1.png"/> + </imageobject> + </mediaobject> + </figure> + = + = + <itemizedlist> <listitem> <para>Select <emphasis> <property>Next</property> @@ -526,22 +603,32 @@ in your project directory = that should be part of the template</para> </listitem> + </itemizedlist> + <figure> + <title>Define Template Pro= perties + + + + + +
+ At this point, unless you wa= nt to designate some extra files as having Velocity t= emplate coding inside - them, you should select Fi= nish + them, you should click Finish.
That's it. Now, you can use this templa= te with any new or imported project that uses the same run-ti= me implementation as the - project you turned into a templa= te. + project you turned into a template.
Graphical Editor and Viewing for JSF Configuration = Files - The JSF configuration file editor has three main viewers - (modes): + JBDS provides a graphical editor for working with JS= F configuration file (faces-config.xml). The editor has three main viewers = (modes): = @@ -615,8 +702,8 @@ = It is also possible to create a new page wit= h context menu by right-clicking anywhere on the diagram and selecting - New View - . + New View. +
Creating a New View @@ -649,7 +736,7 @@ = The Tree mode for the editor displays all JS= F application artifacts referenced in the configuration file in a = tree format. By selecting any - node you can see and edit its properties w= ill appear in the right-hand area. For example, a Managed Bean: + node you can see and edit its properties w= hich will appear in the right-hand area. For example, a Managed Bean:
Tree View @@ -708,7 +795,7 @@
Code Assist - Code Assist provides pop-up help to help you= complete your code statements. Using Code Assist allows you to complete yo= ur code statements faster and with more accuracy. + Code Assist provides pop-up tip to help you = complete your code statements. It allows you to write your code faster and = with more accuracy. Code assist is always available in the Sourc= e mode:
Code Assist in Source View @@ -741,7 +828,7 @@ = Other errors are also reported.
- Others Errors Reporting + Other Errors Reporting
= - You can also edit the properties of the sele= cted element in the - Tree - mode with the help of the Prop= erties view as shown + You can also edit the properties of the sele= cted element in the Tree mode with the help of the Pro= perties view as shown below:
Properties View + fileref=3D"images/= jsf_support/jsf_support_33.png" scale=3D"75" />
@@ -803,28 +887,30 @@
Managed Beans + = + JBoss Developer Studio gives you lots of power to wo= rk with + managed beans. + + + Add and generate code for new manage= d beans + + + Generate code for at= tributes and + getter/setter meth= ods + + + + + Add existing managed beans to JSF co= nfiguration + file + + + =
Code Generation for Managed Beans = - JBoss Developer Studio gives you lots of pow= er to work with - managed beans= . - - - Add and generate code for ne= w managed beans - - - Generate code for = attributes and - getter/setter methods - - - - - Add existing managed beans t= o JSF configuration - file - - - To start, create a new managed bean in JSF c= onfiguration file editor, + To start, create a new managed bean in JSF con= figuration file editor, in the Tree view.
Creation of New Managed Bean @@ -838,15 +924,15 @@
Note: - When you define a new managed = bean, make sure that Generate Source Code is checked as shown in the figure= below: + When you define a new managed bean, = make sure that Generate Source Code + is checked as shown in the figure = below.
New Managed Bean + fileref=3D"images/= jsf_support/jsf_support_35.png" scale=3D"75"/>
@@ -861,10 +947,13 @@ Click on Managed-Bean-C= lass - link in the ed= itor -or- + link in the ed= itor
+ + or + - Right click the + right click the managed bean and select Open Source @@ -895,12 +984,12 @@
- You can also generate source code for proper= ties - this also includes + You can also generate source code for proper= ties, also includes "getter" and "setter" - methods. Right click on the be= an and select New > Property. = You will see "Add Property" dialog: + methods. Right click on the be= an and select New > Property. = You will see >Add Property dialog.
Generation of Source Code for Prope= rties @@ -911,7 +1000,7 @@
- Make sure that all the check boxes are selec= ted: + When the form is open make sure that all the= check boxes are selected: Add Java property Generate Getter @@ -951,8 +1040,8 @@ Add Existing Java Beans to a JSF Configurat= ion File If you already have a Java bean you can easi= ly add it to a JSF configuration file. - You should start the same way you create a n= ew managed bean. Use - Browse... to = add your existing Java + You should start the same way you create a n= ew managed bean. Use the + Browse... button to add your existing Java class.
New Managed Bean Form @@ -996,7 +1085,7 @@ Create and Register a Custom Converter = - + In the Project Explorer view open faces-config.xml= @@ -1004,7 +1093,7 @@ Tree tab. - +
Converters @@ -1013,7 +1102,7 @@
- + Select Converters @@ -1028,7 +1117,7 @@ button your custom con= verter is registered under entered name. - +
Add Converter Form @@ -1037,7 +1126,7 @@
- + Now you can create "converter&= quot; @@ -1046,7 +1135,7 @@ Converter-class<= /property> to generate the source= code. - +
Generation of Source Code for Converter Cla= ss @@ -1056,14 +1145,14 @@
= - + Java class will be created automatic= ally. Leave everything without changes and click Finish . - +
New Java Class Form @@ -1072,13 +1161,13 @@
- + To open converter class click again = on Converter-class link in the Converter section. Now you are= able to add business logic of converter. - +
Converter Class @@ -1094,7 +1183,7 @@ Create and Register a Custom Validator = With the help of JBDS you can easy develop your own = custom validators. - + In the Project Explorer view open faces-config.xm= l @@ -1102,7 +1191,7 @@ Tree tab. - +
Validator in Faces Config Editor @@ -1111,7 +1200,7 @@
- + Select Validators @@ -1126,7 +1215,7 @@ button your custom val= idator is registered under entered name. - +
Adding Validator @@ -1138,7 +1227,7 @@ = Now you can create the "validatir" class. - + Let's create "validator&= quot; @@ -1147,7 +1236,7 @@ Validator-class<= /property> . - +
Creating Validator Class @@ -1156,14 +1245,14 @@
- + Java class will be created automatic= ally. Leave everything without changes and click Finish . - +
New Java Class Form @@ -1172,13 +1261,13 @@
- + To open validator class click again = on Validator-class in the Validator section. Now you are abl= e to write business logic of validator. - +
Converter Class Editing @@ -1195,7 +1284,7 @@ = Creation of Referenced Beans is similar to creation = of Custom Validator. = - + In the Project Explorer view open faces-config.xm= l @@ -1203,7 +1292,7 @@ Tree tab. - +
Referenced Beans in Faces Config Editor</ti= tle> <mediaobject> @@ -1212,7 +1301,7 @@ </imageobject> </mediaobject> </figure> - <orderedlist continuation=3D"continues"> + <itemizedlist> <listitem> <para>Select <emphasis> <property>Referenced Beans= </property> @@ -1224,7 +1313,7 @@ <para>Type in the name of your Referenced = Bean and type in or select Referenced-Bean-Class by using Bro= wse button.</para> </listitem> - </orderedlist> + </itemizedlist> <figure> <title>Add Referenced Bean @@ -1233,13 +1322,13 @@
- + In the Referenced Bean section you s= hould see your Referenced-Bean-Name and Reference= d-Bean-Class. Click on the link to open the Java creation wiz= ard. - +
Create Referenced Bean Class @@ -1248,14 +1337,14 @@
- + Java class will be created automatic= ally. Leave everything without changes and click Finish . - +
New Java Class Form @@ -1264,14 +1353,14 @@
- + To open Referenced Bean class click = again on Referenced-Bean-= Class in the Referenced Bean= section. Now you are able to write business logic of Referen= ced Bean. - +
Referenced Bean Class Editing --===============0100731347307737676==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 12:00:59 2008 Content-Type: multipart/mixed; boundary="===============5858562905407307043==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5842 - trunk/as/docs/reference/en/modules. Date: Mon, 21 Jan 2008 12:00:58 -0500 Message-ID: --===============5858562905407307043== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-21 12:00:58 -0500 (Mon, 21 Jan 2008) New Revision: 5842 Modified: trunk/as/docs/reference/en/modules/perspective.xml Log: http://jira.jboss.com/jira/browse/JBDS-199 - rearrangment a bit data accord= ing to the task Modified: trunk/as/docs/reference/en/modules/perspective.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/as/docs/reference/en/modules/perspective.xml 2008-01-21 16:57:29 = UTC (rev 5841) +++ trunk/as/docs/reference/en/modules/perspective.xml 2008-01-21 17:00:58 = UTC (rev 5842) @@ -25,12 +25,11 @@ The JBoss Servers View This chapter will focus on the the JBoss Server's View. - The JBoss Servers View is - based on the WTP view, Servers View. The top half of the JBoss= Servers View essentially - embeds the original Servers View directly into it, making slig= ht changes to the context - menu. A second half was added to provide additional informatio= n about the server - selected in the top half. In the image provided, categories in= the second half include - which modules are currently deployed. + The JBoss Servers View is based on the WTP view, Servers Vie= w. The top half of the + JBoss Servers View essentially embeds the original Servers Vie= w directly into it, making + slight changes to the context menu. A second half was added to= provide additional + information about the server selected in the top half. In the = image provided, categories + in the second half include which modules are currently deploye= d. =
The JBoss Servers View @@ -175,9 +174,10 @@
= - Also you can see the server's publish status in the JBoss Server= s view that allows you to - see if changes are awaiting (Republish), are being updated (Publis= hing...) or are in-sync - (Synchronized). + Now, let's return to the first part of the JBoss Servers vi= ew where all declared + servers are represented as well as their current states, that is, = whether they are started + or stopped. It also shows the server's publish status that allows = you to see if changes are + awaiting (Republish), are being updated (Publishing...) or are in-= sync (Synchronized).
Server's Publish Status @@ -186,22 +186,26 @@
- The Server section of the view lists all declared servers and th= eir current states, that - is, whether they are started or stopped. By Double-clicking on eac= h server, an editor window - will appear allowing you to edit parts of that server. The editor = will also link you to - modify that server's launch configuration, set command line argume= nts, and other things that - are relevant to launching the server. - A username/password is available in the UI when configuring the = server. If you get an - SecurityException when trying to launch the server it is most like= ly because your server is - protected and hence you need to fill the username/password fields = with appropriate values. + + By double-clicking on any server in the Server section of the vi= ew, an editor window will + appear allowing you to edit parts of that server. The editor will = also link you to modify + that server's launch configuration, set command line arguments, an= d other things that are + relevant to launching the server. +
- + <title>Preferences Page for the Chosen Server
+ + At the figure above you can see that a username/password is avai= lable in the UI when + configuring the server. If you get an SecurityException when tryin= g to launch the server it + is most likely because your server is protected and hence you need= to fill the + username/password fields with appropriate values. + The view's toolbar shown below provides quick access to starting= a server (in debug mode, run mode, or profile mode), restarting the server, stopping the se= rver, or publishing to the server. @@ -213,15 +217,15 @@
+ = In order to debug your applications or EJB's that are deployed t= o the server, you must start the server in debug mode. By starting the server in debug mo= de, eclipse will allow you to set breakpoints on code in your workspace and step through the = code. - The publish icon, on the extreme right, will republish any modul= es where it has determined + The publish icon on the extreme right will republish any modules= where it has determined the workspace is out of sync with the server. It will attempt to d= o an incremental publish if it turns out that the module in question is capable of doing on= e. - Because the JBoss servers have few properties to edit in the edi= tor, a shortcut to the - launch configuration has been provided in the context menu when ri= ght-clicking on a - server. + As the JBoss servers have few properties to edit in the editor, = a shortcut to the + launch configuration has been provided in the context menu when ri= ght-clicking on a server.
Launch Configuration @@ -231,8 +235,7 @@
= - The following table describes all those additional - properties. + The following table describes all those additional properties. Server Properties through the Context Menu @@ -302,8 +305,8 @@ Publish - The action for synching the publish informat= ion - between the server and workspace. + The action for synching the publish informat= ion between the server and + workspace. = @@ -321,7 +324,8 @@ Twiddle Server - The option provides a dialog for running Twi= ddle commands against the Twiddle Server. + The option provides a dialog for running Twi= ddle commands against the + Twiddle Server. = @@ -330,7 +334,8 @@ Edit Launch Configuration - The option that provides an editor for editi= ng launch configuration properties of the proper server. + The option that provides an editor for editi= ng launch configuration + properties of the proper server. = @@ -339,17 +344,18 @@ Add and Remove Projects - The option allows to publish a new project t= o the server (if its type is supported). + The option allows to publish a new project t= o the server (if its type + is supported).
= - Mentioned above Twiddle is a JMX library that comes with JBoss, = and you can use it to access any - variables that exposed via the JBoss JMX interfaces. - = + Mentioned above Twiddle is a JMX library that comes with JBoss, = and you can use it to + access any variables that exposed via the JBoss JMX interfaces. = +
Project archives View Every application, whether plain old Java, J2EE, or some oth= er language altogether, @@ -371,7 +377,7 @@ Creating an Archive When creating a new archive, you have some different opt= ions at your disposal. If the project has no .packages file, yo= ur options will be - presented to you all at once for you to choose from (as ab= ove). Otherwise you will + presented to you all at once to choose from (as above). Ot= herwise you will right-click inside the view and select New Archive to see your archive type options. @@ -403,7 +409,7 @@
= - The page is pretty simple. All it asks is for the name o= f your new archive, a + The page is pretty simple. All it asks for is the name o= f your new archive, a destination, which we'll get to in a moment, and whether t= he archive is exploded or packaged up. The destination of an archive can be anywhere on the fil= esystem, anywhere in the --===============5858562905407307043==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 12:01:38 2008 Content-Type: multipart/mixed; boundary="===============8936289464697959968==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5843 - trunk/as/docs/reference/en/modules. Date: Mon, 21 Jan 2008 12:01:38 -0500 Message-ID: --===============8936289464697959968== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-21 12:01:38 -0500 (Mon, 21 Jan 2008) New Revision: 5843 Modified: trunk/as/docs/reference/en/modules/webtools.xml Log: http://jira.jboss.com/jira/browse/JBDS-199 - renaming sections and rearrang= ing some data Modified: trunk/as/docs/reference/en/modules/webtools.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/as/docs/reference/en/modules/webtools.xml 2008-01-21 17:00:58 UTC= (rev 5842) +++ trunk/as/docs/reference/en/modules/webtools.xml 2008-01-21 17:01:38 UTC= (rev 5843) @@ -1,81 +1,90 @@ - WTP Projects - This chapter covers how to select installed runtime/server in your= web project + Projects + The most popular of the projects we deal with are the J2EE projects= , such as + Dynamic Web Project, EJB Project, or EAR project. = Web projects of + JBoss Tools are Stuts, JSF and Seam projects. In this chapter we are goi= ng to tell you about + facets the main benefit of which to provide proper structuring and packa= ging for any type of + project. = -
Description - - WTP provides what are called "faceted" projects. = - Their most popular of these projects are their J2EE projects, - such as their Dynamic Web Project, their EJB Proje= ct, = - or their EAR project. Web projects of JBoss Tools are Stuts, JSF and Se= am projects. - - The idea behind faceted projects is that each project = - can accept units of functionality, or facets, which can be = - added or removed by the user. Some examples of these facets - are adding a webdoclet facet to a web project, or an = - ejbdoclet to an EJB Project. - - Most often, these "facets" either add to the project's classpath, = - enable a builder, or watch the project in some other fashion. - - WTP projects have undergone some criticism as being = - over-engineered or too restrictive in their - design. WTP projects are set up in a tree-relationship to each other, - where one project can be a child of another. For example, an EAR - project may have a Web Project child, an EJB project child, = - or other types. - - The benefit of this is that the structure of your projects is - then known, and packaging it up *should* be trivial. However, - if your project is non-standard, or you feel too confined by - such rigid structural requirements, you can still choose to = - package your project using the Archives plugin +
+ Description + The idea behind faceted projects is that each project can accept u= nits of + functionality, or facets, which can be added or removed by the user. So= me examples of + these facets are adding a webdoclet facet to a web project, or an ejbdo= clet to an EJB + Project. + Most often, these "facets" either add to the project's classpath,= enable a builder, + or watch the project in some other fashion. + WTP projects have undergone some criticism as being + over-engineered or too restrictive in their design= . WTP projects + are set up in a tree-relationship to each other, where one project can = be a child of + another. For example, an EAR project may have a Web Project child, an E= JB project child, + or other types. + The benefit of this is that the structure of your projects is the= n known, and + packaging it up *should* be trivial. However, if your project is non-st= andard, or you + feel too confined by such rigid structural requirements, you can still = choose to package + your project using the Archives plugin. = -
- = - = -
Faceted Project Wizards - To create a new Dynamic Web Project select <= emphasis>File > New > Other... then <= emphasis>Web > Dynamic Web Project -
- New Dynamic Web Project - = - - - - -
- Click Next and you will= see Dynamic Web Project page -
- Faceted Project Wizard: First Page - = - - - - -
- - The first page of most WTP projects allows you to target a specific ru= ntime, - representing a server's library location. It will also provide you the= ability to = - add this project to an EAR project, and select a pre-selected default = set of facets, - called a configuration, rather than manually select each facet you mig= ht want. - - Selecting the runtime, again, allows the project to install the proper - classpaths to the project so it knows what code to compile against. -
- Faceted Project Wizard: Second Page - = - - - - -
- - The second page of the wizard allows you to enable or disable specific= facets, as - described above. Some facets may require others, and some may conflict= with others, = - but on the whole this page allows you to add any number of facets that= don't conflict - with each other. - - Further pages are specific to either the project type, or the facets s= elected. -
- = +
+ + +
+ Adding Facets to a Project + + There are two ways to add facets to a project. The first way is to= include facets into + already existing project. For that you should bring up the context menu= for selected + project and click + Properties + . At this point, choose + Project Facets + from the left. It will represent a list of the facets for y= our project and + give opportunity to modify it by clicking on + Modify Project... + button. + + The other way is adding necessary facets while organizing a new pr= oject. To demonstrate + it let's create a new Dynamic Web Project sel= ecting as usual + File > New > Other... + and then + Web > Dynamic Web Project. + +
+ New Dynamic Web Project + + + + + +
+ Click + Next + and you will see Dynamic Web Project page. +
+ Faceted Project Wizard: First Page + + + + + +
+ The first page of most WTP projects allows you to target a specif= ic runtime, + representing a server's library location. It will also provide you the = ability to add + this project to an EAR project, and select a pre-selected default set o= f facets, called + a configuration, rather than manually select each facet you might want.= + Selecting the runtime, again, allows the project to install the p= roper classpaths to + the project so it knows what code to compile against. +
+ Faceted Project Wizard: Second Page + + + + + +
+ The second page of the wizard allows you to enable or disable spe= cific facets, as + described above. Some facets may require others, and some may conflict = with others, but + on the whole this page allows you to add any number of facets that don'= t conflict with + each other. + Further pages are specific to either the project type, or the fac= ets selected. +
+
--===============8936289464697959968==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 12:03:15 2008 Content-Type: multipart/mixed; boundary="===============5729493281185153036==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5844 - trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/ca. Date: Mon, 21 Jan 2008 12:03:14 -0500 Message-ID: --===============5729493281185153036== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vrubezhny Date: 2008-01-21 12:03:14 -0500 (Mon, 21 Jan 2008) New Revision: 5844 Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/u= i/test/ca/SeamELContentAssistTest.java Log: JBIDE-1553 JUnit Test for Seam EL Content Assist = Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools= /seam/ui/test/ca/SeamELContentAssistTest.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/ca/SeamELContentAssistTest.java 2008-01-21 17:01:38 UTC (rev 5843) +++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/= ui/test/ca/SeamELContentAssistTest.java 2008-01-21 17:03:14 UTC (rev 5844) @@ -423,52 +423,6 @@ assertTrue("The file \"" + PAGE_NAME + "\" is not found", (jspFile.exist= s())); = FileEditorInput editorInput =3D new FileEditorInput(jspFile); - = -// IDocumentProvider documentProvider =3D null; -// Throwable exception =3D null; -// try { -// documentProvider =3D DocumentProviderRegistry.getDefault().getDocumen= tProvider(editorInput); -// } catch (Exception x) { -// exception =3D x; -// x.printStackTrace(); -// = -// } -// assertNull("An exception caught: " + (exception !=3D null? exception.g= etMessage() : ""), exception); -// -// assertTrue("The document provider for the file \"" + PAGE_NAME + "\" i= s not loaded", (documentProvider !=3D null)); - -// try { -// documentProvider.connect(editorInput); -// } catch (Exception x) { -// exception =3D x; -// x.printStackTrace(); -// assertTrue("The document provider is not able to be initialized with = the editor input", false); -// } -// assertNull("An exception caught: " + (exception !=3D null? exception.g= etMessage() : ""), exception); - = -// IDocument document =3D documentProvider.getDocument(editorInput); -// IDocumentExtension3 de3 =3D (document instanceof IDocumentExtension3) = ? = -// (IDocumentExtension3)document : null; - = -// assertTrue("The document for the file \"" + PAGE_NAME + "\" is not loa= ded", (document !=3D null)); - = -// IStructuredModel model =3D null; -// IStructuredDocument sd =3D null; -// if (document instanceof IStructuredDocument) { -// sd =3D (IStructuredDocument)document; - // corresponding releaseFromEdit occurs in - // dispose() -// model =3D StructuredModelManager.getModelManager().getModelForEdit((I= StructuredDocument) document); -// EditorModelUtil.addFactoriesTo(model); -// } - -// assertTrue("The document model for the file \"" + PAGE_NAME + "\" is n= ot loaded", (model !=3D null)); -// IDocumentPartitioner partitioner =3D null; -// IDocumentPartitionerExtension2 pe2 =3D null; - = -// String[] contentTypes =3D document.getLegalContentTypes(); -// String[] partitionings =3D de3.getPartitionings(); - Throwable exception =3D null; IEditorPart editorPart =3D null; try { --===============5729493281185153036==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 12:05:59 2008 Content-Type: multipart/mixed; boundary="===============4326016142982254695==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5845 - trunk/jsf/docs/resources/styles/en. Date: Mon, 21 Jan 2008 12:05:59 -0500 Message-ID: --===============4326016142982254695== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: afedosik Date: 2008-01-21 12:05:58 -0500 (Mon, 21 Jan 2008) New Revision: 5845 Modified: trunk/jsf/docs/resources/styles/en/html.css Log: http://jira.jboss.com/jira/browse/JBDS-162 Note box update Modified: trunk/jsf/docs/resources/styles/en/html.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/resources/styles/en/html.css 2008-01-21 17:03:14 UTC (re= v 5844) +++ trunk/jsf/docs/resources/styles/en/html.css 2008-01-21 17:05:58 UTC (re= v 5845) @@ -112,7 +112,7 @@ } = DIV.note{ - BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #cfe3ff; + BORDER: #CECECE 1px solid; PADDING: 3px 10px 10px 50px; line-height : 14p= x; MARGIN: 10px 0px 10px 0px; FONT-SIZE: 11px; WIDTH: 500px; BACKGROUND-C= OLOR: #FFFDD3; background-image : url('images/ico_note.gif'); background-repeat : no-rep= eat; background-position :top left; } = --===============4326016142982254695==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 12:06:32 2008 Content-Type: multipart/mixed; boundary="===============4954577125140829438==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5846 - trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test. Date: Mon, 21 Jan 2008 12:06:32 -0500 Message-ID: --===============4954577125140829438== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vrubezhny Date: 2008-01-21 12:06:32 -0500 (Mon, 21 Jan 2008) New Revision: 5846 Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/u= i/test/SeamUiAllTests.java Log: JBIDE-1553 JUnit Test for Seam EL Content Assist = SeamELContentAssistTest is added to the suite. Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools= /seam/ui/test/SeamUiAllTests.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/SeamUiAllTests.java 2008-01-21 17:05:58 UTC (rev 5845) +++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/= ui/test/SeamUiAllTests.java 2008-01-21 17:06:32 UTC (rev 5846) @@ -15,6 +15,7 @@ import junit.framework.TestSuite; = import org.jboss.tools.seam.ui.test.preferences.SeamPreferencesPageTest; +import org.jboss.tools.seam.ui.test.ca.SeamELContentAssistTest; import org.jboss.tools.seam.ui.test.hyperlink.SeamViewHyperlinkPartitioner= Test; import org.jboss.tools.seam.ui.test.view.SeamComponentsViewAllTests; import org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest; @@ -35,6 +36,7 @@ suite.addTestSuite(SeamFormNewWizardTest.class); suite.addTestSuite(SeamPreferencesPageTest.class); = suite.addTestSuite(SeamViewHyperlinkPartitionerTest.class); + suite.addTestSuite(SeamELContentAssistTest.class); return suite; } } --===============4954577125140829438==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 12:07:48 2008 Content-Type: multipart/mixed; boundary="===============6882776087995099574==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5847 - in trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console: node and 1 other directory. Date: Mon, 21 Jan 2008 12:07:48 -0500 Message-ID: --===============6882776087995099574== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vyemialyanchyk Date: 2008-01-21 12:07:48 -0500 (Mon, 21 Jan 2008) New Revision: 5847 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/con= sole/KnownConfigurations.java trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/con= sole/KnownConfigurationsListener.java trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/con= sole/node/ConfigurationListNode.java Log: http://jira.jboss.com/jira/browse/JBIDE-1422 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibern= ate/console/KnownConfigurations.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/KnownConfigurations.java 2008-01-21 17:06:32 UTC (rev 5846) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/co= nsole/KnownConfigurations.java 2008-01-21 17:07:48 UTC (rev 5847) @@ -64,6 +64,9 @@ */ public class KnownConfigurations { = + // flag broadcast updates to all listeners - true by default + // for prevent broadcasting set this flag into false + private boolean broadcastFlag =3D true; = // TODO: is the best way for the querypage model ? = private QueryPageModel queryPages =3D new QueryPageModel(); = private List configurationListeners =3D new ArrayList(); @@ -138,7 +141,7 @@ * Add the repository to the receiver's list of known configurations. Doi= ng this will enable * = */ - public ConsoleConfiguration addConfiguration(final ConsoleConfiguration c= onfiguration, boolean broadcast) { + public ConsoleConfiguration addConfiguration(final ConsoleConfiguration c= onfiguration) { // Check the cache for an equivalent instance and if there is one, just = update the cache ConsoleConfiguration existingConfiguration =3D internalGetRepository(con= figuration.getName() ); if (existingConfiguration =3D=3D null) { @@ -150,7 +153,7 @@ existingConfiguration =3D configuration; } = - if (broadcast) { + if (broadcastFlag) { fireNotification(new Notification() { public void notify(KnownConfigurationsListener listener) { listener.configurationAdded(configuration); @@ -164,22 +167,24 @@ ConsoleConfiguration[] cfgs =3D getConfigurations(); for (int i =3D 0; i < cfgs.length; i++) { ConsoleConfiguration configuration =3D cfgs[i]; - removeConfiguration(configuration, false); + removeConfiguration(configuration); } = } = // added forUpdate as a workaround for letting listeners know it is done = to update the configuration so they don't cause removal issues. - public void removeConfiguration(final ConsoleConfiguration configuration,= final boolean forUpdate) { + public void removeConfiguration(final ConsoleConfiguration configuration)= { = ConsoleConfiguration oldConfig =3D (ConsoleConfiguration) getRepositorie= sMap().remove(configuration.getName() ); if (oldConfig !=3D null) { oldConfig.removeConsoleConfigurationListener(sfListener); - fireNotification(new Notification() { - public void notify(KnownConfigurationsListener listener) { - listener.configurationRemoved(configuration, forUpdate); - } - }); + if (broadcastFlag) { + fireNotification(new Notification() { + public void notify(KnownConfigurationsListener listener) { + listener.configurationRemoved(configuration); + } + }); + } oldConfig.reset(); removeLoggingStream( oldConfig ); = @@ -347,5 +352,19 @@ return queryParameters; } = = + public boolean getBroadcast() { + return this.broadcastFlag; + } = + public void setBroadcast(boolean broadcastFlag) { + this.broadcastFlag =3D broadcastFlag; + if (broadcastFlag) { + fireNotification(new Notification() { + public void notify(KnownConfigurationsListener listener) { + listener.configurationRefreshAll(); + } + }); + } + } = + = } Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibern= ate/console/KnownConfigurationsListener.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/KnownConfigurationsListener.java 2008-01-21 17:06:32 UTC (rev 5846) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/co= nsole/KnownConfigurationsListener.java 2008-01-21 17:07:48 UTC (rev 5847) @@ -31,5 +31,7 @@ = public void sessionFactoryClosing(ConsoleConfiguration configuration, Ses= sionFactory closingFactory); = - public void configurationRemoved(ConsoleConfiguration root, boolean forUp= date); + public void configurationRemoved(ConsoleConfiguration root); + = + public void configurationRefreshAll(); } \ No newline at end of file Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibern= ate/console/node/ConfigurationListNode.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/node/ConfigurationListNode.java 2008-01-21 17:06:32 UTC (rev 5846) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/co= nsole/node/ConfigurationListNode.java 2008-01-21 17:07:48 UTC (rev 5847) @@ -52,10 +52,14 @@ childrenCreated=3Dfalse; } = - public void configurationRemoved(ConsoleConfiguration root, boolean for= Update) { + public void configurationRemoved(ConsoleConfiguration root) { markChildrenForReload(); } = + public void configurationRefreshAll() { + markChildrenForReload(); + } + public void sessionFactoryClosing(ConsoleConfiguration configuration, S= essionFactory closingFactory) { } = --===============6882776087995099574==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 12:10:31 2008 Content-Type: multipart/mixed; boundary="===============5023826580996629763==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5848 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test. Date: Mon, 21 Jan 2008 12:10:31 -0500 Message-ID: --===============5023826580996629763== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vyemialyanchyk Date: 2008-01-21 12:10:31 -0500 (Mon, 21 Jan 2008) New Revision: 5848 Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/ConsoleConfigurationTest.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/KnownConfigurationsTest.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/QueryParametersTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1422 Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/ConsoleConfigurationTest.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/ConsoleConfigurationTest.java 2008-01-21 17:0= 7:48 UTC (rev 5847) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/ConsoleConfigurationTest.java 2008-01-21 17:1= 0:31 UTC (rev 5848) @@ -28,7 +28,8 @@ = TestConsoleConfigurationPreferences cfgprefs =3D new TestConsoleConfigur= ationPreferences(); consoleCfg =3D new ConsoleConfiguration(cfgprefs); - KnownConfigurations.getInstance().addConfiguration(consoleCfg, true); + KnownConfigurations.getInstance().setBroadcast(true); + KnownConfigurations.getInstance().addConfiguration(consoleCfg); } = protected void tearDown() throws Exception { Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/KnownConfigurationsTest.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/KnownConfigurationsTest.java 2008-01-21 17:07= :48 UTC (rev 5847) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/KnownConfigurationsTest.java 2008-01-21 17:10= :31 UTC (rev 5848) @@ -37,11 +37,14 @@ fail("no sf should be closed!"); } = - public void configurationRemoved(ConsoleConfiguration root, boolean forU= pdate) { + public void configurationRemoved(ConsoleConfiguration root) { if(!added.remove(root)) { fail("trying to remove a non existing console"); } } + + public void configurationRefreshAll() { + } } = public void testKnownConfigurations() { @@ -130,21 +133,102 @@ } = }; + = + ConsoleConfigurationPreferences preferences2 =3D new ConsoleConfiguratio= nPreferences() { + = + String name =3D "new test"; + = + public void setName(String name) { + this.name =3D name; + } + = + public void readStateFrom(Element element) { + // TODO Auto-generated method stub + = + } + = + public void writeStateTo(Element node) { + // TODO Auto-generated method stub + = + } + = + public File getPropertyFile() { + // TODO Auto-generated method stub + return null; + } + = + public File getConfigXMLFile() { + // TODO Auto-generated method stub + return null; + } + = + public Properties getProperties() { + // TODO Auto-generated method stub + return null; + } + = + public File[] getMappingFiles() { + // TODO Auto-generated method stub + return null; + } + = + public URL[] getCustomClassPathURLS() { + // TODO Auto-generated method stub + return null; + } + = + public String getName() { + return name; + } + = + public boolean useAnnotations() { + // TODO Auto-generated method stub + return false; + } + + public String getEntityResolverName() { + // TODO Auto-generated method stub + return null; + } + + public ConfigurationMode getConfigurationMode() { + // TODO Auto-generated method stub + return null; + } + + public String getNamingStrategy() { + // TODO Auto-generated method stub + return null; + } + + public String getPersistenceUnitName() { + // TODO Auto-generated method stub + return null; + } + = + }; + ConsoleConfiguration configuration =3D new ConsoleConfiguration(preferen= ces); + ConsoleConfiguration configuration2 =3D new ConsoleConfiguration(prefere= nces2); = - knownConfigurations.addConfiguration(configuration, false); + KnownConfigurations.getInstance().setBroadcast(false); + knownConfigurations.addConfiguration(configuration); + knownConfigurations.addConfiguration(configuration2); = configurations =3D knownConfigurations.getConfigurations(); - assertEquals(1,configurations.length); + assertEquals(2,configurations.length); assertEquals(listener.added.size(), 0); = - knownConfigurations.addConfiguration(configuration, true); + KnownConfigurations.getInstance().setBroadcast(true); + knownConfigurations.addConfiguration(configuration); + knownConfigurations.addConfiguration(configuration2); = configurations =3D knownConfigurations.getConfigurations(); - assertEquals(1,configurations.length); = - assertEquals(listener.added.size(), 1); + assertEquals(2,configurations.length); = + assertEquals(listener.added.size(), 2); = - knownConfigurations.removeConfiguration(configuration,false); + knownConfigurations.removeConfiguration(configuration); + knownConfigurations.removeConfiguration(configuration2); = configurations =3D knownConfigurations.getConfigurations(); assertEquals(0,configurations.length); Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/QueryParametersTest.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/QueryParametersTest.java 2008-01-21 17:07:48 = UTC (rev 5847) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/QueryParametersTest.java 2008-01-21 17:10:31 = UTC (rev 5848) @@ -20,7 +20,8 @@ = TestConsoleConfigurationPreferences cfgprefs =3D new TestConsoleConfigur= ationPreferences(); consoleCfg =3D new ConsoleConfiguration(cfgprefs); - KnownConfigurations.getInstance().addConfiguration(consoleCfg, true); + KnownConfigurations.getInstance().setBroadcast(true); + KnownConfigurations.getInstance().addConfiguration(consoleCfg); } = protected void tearDown() throws Exception { --===============5023826580996629763==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 12:34:34 2008 Content-Type: multipart/mixed; boundary="===============9097932702506846693==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5849 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor. Date: Mon, 21 Jan 2008 12:34:34 -0500 Message-ID: --===============9097932702506846693== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vrubezhny Date: 2008-01-21 12:34:34 -0500 (Mon, 21 Jan 2008) New Revision: 5849 Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/js= peditor/JSPTextEditor.java Log: JBIDE-1553 JUnit Test for Seam EL Content Assist = Method SourceViewerConfiguration getSVConfiguration() is added to allow cre= ation of Content Assistant related JUnit tests Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst= /jsp/jspeditor/JSPTextEditor.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/j= speditor/JSPTextEditor.java 2008-01-21 17:10:31 UTC (rev 5848) +++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/j= speditor/JSPTextEditor.java 2008-01-21 17:34:34 UTC (rev 5849) @@ -151,7 +151,7 @@ super .setSourceViewerConfiguration(new ExtendedStructuredTextViewerConfigur= ationJSP()); } - + = protected void setSourceViewerConfiguration(SourceViewerConfiguration con= fig) { if (config instanceof StructuredTextViewerConfigurationJSP) { if (!(config instanceof ExtendedStructuredTextViewerConfigurationJSP)) { @@ -167,6 +167,10 @@ super.setSourceViewerConfiguration(config); } = + public SourceViewerConfiguration getSVConfiguration () { + return getSourceViewerConfiguration(); + } + = protected void initializeDrop(ITextViewer textViewer) { = Composite c =3D textViewer.getTextWidget(); --===============9097932702506846693==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 12:47:54 2008 Content-Type: multipart/mixed; boundary="===============0418300767436690166==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5850 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/text/java. Date: Mon, 21 Jan 2008 12:47:54 -0500 Message-ID: --===============0418300767436690166== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vrubezhny Date: 2008-01-21 12:47:54 -0500 (Mon, 21 Jan 2008) New Revision: 5850 Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/t= ext/java/SeamELProposalProcessor.java Log: JBIDE-1553 JUnit Test for Seam EL Content Assist = The class SeamELProposalProcessor.Proposal is moved public to allow creatio= n of Content Assistant related JUnit tests Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/se= am/ui/text/java/SeamELProposalProcessor.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/= text/java/SeamELProposalProcessor.java 2008-01-21 17:34:34 UTC (rev 5849) +++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/= text/java/SeamELProposalProcessor.java 2008-01-21 17:47:54 UTC (rev 5850) @@ -69,7 +69,7 @@ private static final ICompletionProposal[] NO_PROPOSALS=3D new ICompletio= nProposal[0]; private static final IContextInformation[] NO_CONTEXTS=3D new IContextInf= ormation[0]; = - private static final class Proposal implements ICompletionProposal, IComp= letionProposalExtension, ICompletionProposalExtension2, ICompletionProposal= Extension3, ICompletionProposalExtension4 { + public static final class Proposal implements ICompletionProposal, ICompl= etionProposalExtension, ICompletionProposalExtension2, ICompletionProposalE= xtension3, ICompletionProposalExtension4 { = private final String fString; private final String fPrefix; --===============0418300767436690166==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 12:49:30 2008 Content-Type: multipart/mixed; boundary="===============3337378940074440798==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5851 - trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/ca. Date: Mon, 21 Jan 2008 12:49:30 -0500 Message-ID: --===============3337378940074440798== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vrubezhny Date: 2008-01-21 12:49:30 -0500 (Mon, 21 Jan 2008) New Revision: 5851 Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/u= i/test/ca/SeamELContentAssistTest.java Log: JBIDE-1553 JUnit Test for Seam EL Content Assist = Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools= /seam/ui/test/ca/SeamELContentAssistTest.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/ca/SeamELContentAssistTest.java 2008-01-21 17:47:54 UTC (rev 5850) +++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/= ui/test/ca/SeamELContentAssistTest.java 2008-01-21 17:49:30 UTC (rev 5851) @@ -35,6 +35,7 @@ import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; import org.jboss.tools.jst.jsp.jspeditor.JSPTextEditor; import org.jboss.tools.seam.ui.text.java.SeamELProposalProcessor; +import org.jboss.tools.test.util.xpl.EditorTestHelper; = import junit.framework.Test; import junit.framework.TestCase; @@ -411,8 +412,9 @@ = public void testSeamELContentAssist() { try { - XJob.waitForJob(); - } catch (InterruptedException e) { +// XJob.waitForJob(); + EditorTestHelper.joinBackgroundActivities(); + } catch (Exception e) { e.printStackTrace(); } = assertTrue("Test project \"" + PROJECT_NAME + "\" is not loaded", (proje= ct !=3D null)); @@ -441,8 +443,9 @@ // Delay for 3 seconds so that // the Favorites view can be seen. try { - XJob.waitForJob(); - } catch (InterruptedException e) { +// XJob.waitForJob(); + EditorTestHelper.joinBackgroundActivities(); + } catch (Exception e) { e.printStackTrace(); assertTrue("Waiting for the jobs to complete has failed.", false); } = --===============3337378940074440798==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 13:19:28 2008 Content-Type: multipart/mixed; boundary="===============4531004241048739927==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5852 - in trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console: node and 1 other directory. Date: Mon, 21 Jan 2008 13:19:27 -0500 Message-ID: --===============4531004241048739927== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vyemialyanchyk Date: 2008-01-21 13:19:26 -0500 (Mon, 21 Jan 2008) New Revision: 5852 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/con= sole/KnownConfigurations.java trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/con= sole/KnownConfigurationsListener.java trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/con= sole/node/ConfigurationListNode.java Log: http://jira.jboss.com/jira/browse/JBIDE-1422 roll back Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibern= ate/console/KnownConfigurations.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/KnownConfigurations.java 2008-01-21 17:49:30 UTC (rev 5851) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/co= nsole/KnownConfigurations.java 2008-01-21 18:19:26 UTC (rev 5852) @@ -64,9 +64,6 @@ */ public class KnownConfigurations { = - // flag broadcast updates to all listeners - true by default - // for prevent broadcasting set this flag into false - private boolean broadcastFlag =3D true; = // TODO: is the best way for the querypage model ? = private QueryPageModel queryPages =3D new QueryPageModel(); = private List configurationListeners =3D new ArrayList(); @@ -141,7 +138,7 @@ * Add the repository to the receiver's list of known configurations. Doi= ng this will enable * = */ - public ConsoleConfiguration addConfiguration(final ConsoleConfiguration c= onfiguration) { + public ConsoleConfiguration addConfiguration(final ConsoleConfiguration c= onfiguration, boolean broadcast) { // Check the cache for an equivalent instance and if there is one, just = update the cache ConsoleConfiguration existingConfiguration =3D internalGetRepository(con= figuration.getName() ); if (existingConfiguration =3D=3D null) { @@ -153,7 +150,7 @@ existingConfiguration =3D configuration; } = - if (broadcastFlag) { + if (broadcast) { fireNotification(new Notification() { public void notify(KnownConfigurationsListener listener) { listener.configurationAdded(configuration); @@ -167,24 +164,22 @@ ConsoleConfiguration[] cfgs =3D getConfigurations(); for (int i =3D 0; i < cfgs.length; i++) { ConsoleConfiguration configuration =3D cfgs[i]; - removeConfiguration(configuration); + removeConfiguration(configuration, false); } = } = // added forUpdate as a workaround for letting listeners know it is done = to update the configuration so they don't cause removal issues. - public void removeConfiguration(final ConsoleConfiguration configuration)= { + public void removeConfiguration(final ConsoleConfiguration configuration,= final boolean forUpdate) { = ConsoleConfiguration oldConfig =3D (ConsoleConfiguration) getRepositorie= sMap().remove(configuration.getName() ); if (oldConfig !=3D null) { oldConfig.removeConsoleConfigurationListener(sfListener); - if (broadcastFlag) { - fireNotification(new Notification() { - public void notify(KnownConfigurationsListener listener) { - listener.configurationRemoved(configuration); - } - }); - } + fireNotification(new Notification() { + public void notify(KnownConfigurationsListener listener) { + listener.configurationRemoved(configuration, forUpdate); + } + }); oldConfig.reset(); removeLoggingStream( oldConfig ); = @@ -352,19 +347,5 @@ return queryParameters; } = = - public boolean getBroadcast() { - return this.broadcastFlag; - } = - public void setBroadcast(boolean broadcastFlag) { - this.broadcastFlag =3D broadcastFlag; - if (broadcastFlag) { - fireNotification(new Notification() { - public void notify(KnownConfigurationsListener listener) { - listener.configurationRefreshAll(); - } - }); - } - } = - = } Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibern= ate/console/KnownConfigurationsListener.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/KnownConfigurationsListener.java 2008-01-21 17:49:30 UTC (rev 5851) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/co= nsole/KnownConfigurationsListener.java 2008-01-21 18:19:26 UTC (rev 5852) @@ -31,7 +31,5 @@ = public void sessionFactoryClosing(ConsoleConfiguration configuration, Ses= sionFactory closingFactory); = - public void configurationRemoved(ConsoleConfiguration root); - = - public void configurationRefreshAll(); + public void configurationRemoved(ConsoleConfiguration root, boolean forUp= date); } \ No newline at end of file Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibern= ate/console/node/ConfigurationListNode.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/node/ConfigurationListNode.java 2008-01-21 17:49:30 UTC (rev 5851) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/co= nsole/node/ConfigurationListNode.java 2008-01-21 18:19:26 UTC (rev 5852) @@ -52,14 +52,10 @@ childrenCreated=3Dfalse; } = - public void configurationRemoved(ConsoleConfiguration root) { + public void configurationRemoved(ConsoleConfiguration root, boolean for= Update) { markChildrenForReload(); } = - public void configurationRefreshAll() { - markChildrenForReload(); - } - public void sessionFactoryClosing(ConsoleConfiguration configuration, S= essionFactory closingFactory) { } = --===============4531004241048739927==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 13:20:56 2008 Content-Type: multipart/mixed; boundary="===============6950791317396038771==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5853 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test. Date: Mon, 21 Jan 2008 13:20:55 -0500 Message-ID: --===============6950791317396038771== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vyemialyanchyk Date: 2008-01-21 13:20:54 -0500 (Mon, 21 Jan 2008) New Revision: 5853 Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/ConsoleConfigurationTest.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/KnownConfigurationsTest.java trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hi= bernate/eclipse/console/test/QueryParametersTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1422 roll back KnownConfigurationsTest update to more complex case Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/ConsoleConfigurationTest.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/ConsoleConfigurationTest.java 2008-01-21 18:1= 9:26 UTC (rev 5852) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/ConsoleConfigurationTest.java 2008-01-21 18:2= 0:54 UTC (rev 5853) @@ -28,8 +28,7 @@ = TestConsoleConfigurationPreferences cfgprefs =3D new TestConsoleConfigur= ationPreferences(); consoleCfg =3D new ConsoleConfiguration(cfgprefs); - KnownConfigurations.getInstance().setBroadcast(true); - KnownConfigurations.getInstance().addConfiguration(consoleCfg); + KnownConfigurations.getInstance().addConfiguration(consoleCfg, true); } = protected void tearDown() throws Exception { Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/KnownConfigurationsTest.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/KnownConfigurationsTest.java 2008-01-21 18:19= :26 UTC (rev 5852) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/KnownConfigurationsTest.java 2008-01-21 18:20= :54 UTC (rev 5853) @@ -37,14 +37,11 @@ fail("no sf should be closed!"); } = - public void configurationRemoved(ConsoleConfiguration root) { + public void configurationRemoved(ConsoleConfiguration root, boolean forU= pdate) { if(!added.remove(root)) { fail("trying to remove a non existing console"); } } - - public void configurationRefreshAll() { - } } = public void testKnownConfigurations() { @@ -211,24 +208,22 @@ ConsoleConfiguration configuration =3D new ConsoleConfiguration(preferen= ces); ConsoleConfiguration configuration2 =3D new ConsoleConfiguration(prefere= nces2); = - KnownConfigurations.getInstance().setBroadcast(false); - knownConfigurations.addConfiguration(configuration); - knownConfigurations.addConfiguration(configuration2); + knownConfigurations.addConfiguration(configuration, false); + knownConfigurations.addConfiguration(configuration2, false); = configurations =3D knownConfigurations.getConfigurations(); assertEquals(2,configurations.length); assertEquals(listener.added.size(), 0); = - KnownConfigurations.getInstance().setBroadcast(true); - knownConfigurations.addConfiguration(configuration); - knownConfigurations.addConfiguration(configuration2); + knownConfigurations.addConfiguration(configuration, true); + knownConfigurations.addConfiguration(configuration2, true); = configurations =3D knownConfigurations.getConfigurations(); assertEquals(2,configurations.length); = assertEquals(listener.added.size(), 2); = - knownConfigurations.removeConfiguration(configuration); - knownConfigurations.removeConfiguration(configuration2); + knownConfigurations.removeConfiguration(configuration, false); + knownConfigurations.removeConfiguration(configuration2, false); = configurations =3D knownConfigurations.getConfigurations(); assertEquals(0,configurations.length); Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src= /org/hibernate/eclipse/console/test/QueryParametersTest.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/QueryParametersTest.java 2008-01-21 18:19:26 = UTC (rev 5852) +++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/h= ibernate/eclipse/console/test/QueryParametersTest.java 2008-01-21 18:20:54 = UTC (rev 5853) @@ -20,8 +20,7 @@ = TestConsoleConfigurationPreferences cfgprefs =3D new TestConsoleConfigur= ationPreferences(); consoleCfg =3D new ConsoleConfiguration(cfgprefs); - KnownConfigurations.getInstance().setBroadcast(true); - KnownConfigurations.getInstance().addConfiguration(consoleCfg); + KnownConfigurations.getInstance().addConfiguration(consoleCfg, true); } = protected void tearDown() throws Exception { --===============6950791317396038771==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 13:41:37 2008 Content-Type: multipart/mixed; boundary="===============8092087346915585460==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5854 - in trunk/seam/plugins: org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/internal/project/facet and 2 other directories. Date: Mon, 21 Jan 2008 13:41:37 -0500 Message-ID: --===============8092087346915585460== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: akazakov Date: 2008-01-21 13:41:36 -0500 (Mon, 21 Jan 2008) New Revision: 5854 Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/co= re/project/facet/SeamRuntimeManager.java trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/i= nternal/project/facet/SeamInstallWizardPage.java trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/p= references/SeamPreferencePage.java trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/p= references/SeamSettingsPreferencePage.java trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/w= idget/editor/SeamRuntimeListFieldEditor.java Log: http://jira.jboss.com/jira/browse/JBIDE-1490 Since that Preference Page can= work with a few default runtimes (one for each seam version). Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/= seam/core/project/facet/SeamRuntimeManager.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/c= ore/project/facet/SeamRuntimeManager.java 2008-01-21 18:20:54 UTC (rev 5853) +++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/c= ore/project/facet/SeamRuntimeManager.java 2008-01-21 18:41:36 UTC (rev 5854) @@ -115,8 +115,9 @@ runtime.setDefault(true); } = - if (getDefaultRuntime() !=3D null && runtime.isDefault()) { - getDefaultRuntime().setDefault(false); + SeamRuntime oldDefaultRuntime =3D getDefaultRuntime(runtime.getVersion()= ); + if (oldDefaultRuntime !=3D null && runtime.isDefault()) { + oldDefaultRuntime.setDefault(false); } runtimes.put(runtime.getName(), runtime); save(); @@ -230,13 +231,13 @@ */ = public SeamRuntime getDefaultRuntime(SeamVersion version) { for (SeamRuntime rt : runtimes.values()) { - if (rt.isDefault()) { + if (rt.isDefault() && rt.getVersion() =3D=3D version) { return rt; } } return null; } - = + /** * Return version of configuration * = @@ -318,4 +319,4 @@ } } } -} +} \ No newline at end of file Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/se= am/ui/internal/project/facet/SeamInstallWizardPage.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/= internal/project/facet/SeamInstallWizardPage.java 2008-01-21 18:20:54 UTC (= rev 5853) +++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/= internal/project/facet/SeamInstallWizardPage.java 2008-01-21 18:41:36 UTC (= rev 5854) @@ -206,12 +206,20 @@ * @return */ private Object getSeamRuntimeDefaultValue() { - return ("".equals(SeamProjectPreferences //$NON-NLS-1$ - .getStringPreference(SeamProjectPreferences.SEAM_DEFAULT_RUNTIME_NAME)= ) ? - (SeamRuntimeManager.getInstance().getDefaultRuntime()=3D=3Dnull? - "":SeamRuntimeManager.getInstance().getDefaultRuntime().getName())= : //$NON-NLS-1$ - SeamProjectPreferences - .getStringPreference(SeamProjectPreferences.SEAM_DEFAULT_RUNTIME_= NAME)); + String seamFacetVersion =3D model.getProperty(IFacetDataModelProperties.= FACET_VERSION_STR).toString(); + SeamVersion seamVersion =3D SeamVersion.parseFromString(seamFacetVersion= ); = + + String seamDefaultRuntimeName =3D SeamProjectPreferences.getStringPrefer= ence(SeamProjectPreferences.SEAM_DEFAULT_RUNTIME_NAME); + if("".equals(seamDefaultRuntimeName)) { + SeamRuntime defaultRuntime =3D SeamRuntimeManager.getInstance().getDefa= ultRuntime(seamVersion); + if(defaultRuntime=3D=3Dnull) { + return ""; + } else { + return defaultRuntime.getName(); + } + } else { + return seamDefaultRuntimeName; + } } = private DataModelSynchronizer sync; Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/se= am/ui/preferences/SeamPreferencePage.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/= preferences/SeamPreferencePage.java 2008-01-21 18:20:54 UTC (rev 5853) +++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/= preferences/SeamPreferencePage.java 2008-01-21 18:41:36 UTC (rev 5854) @@ -13,6 +13,7 @@ = import java.util.ArrayList; import java.util.Arrays; +import java.util.List; import java.util.Map; = import org.eclipse.jface.preference.PreferencePage; @@ -32,24 +33,22 @@ *
  • define new
  • *
  • change exists
  • *
  • remove
  • + *
  • set default ones
  • * * = * @author eskimo */ -public class SeamPreferencePage extends PreferencePage implements - IWorkbenchPreferencePage { +public class SeamPreferencePage extends PreferencePage implements IWorkben= chPreferencePage { = /** * Seam Preferences page ID */ public static final String SEAM_PREFERENCES_ID =3D "org.jboss.tools.commo= n.model.ui.seam"; - = + private static final int COLUMNS =3D 3; = SeamRuntimeListFieldEditor seamRuntimes =3D new SeamRuntimeListFieldEdito= r( "rtlist", SeamPreferencesMessages.SEAM_PREFERENCE_PAGE_SEAM_RUNTIMES, n= ew ArrayList(Arrays.asList(SeamRuntimeManager.getInstance().ge= tRuntimes()))); //$NON-NLS-1$ - = - SeamRuntime initialDefault; = /** * Create contents of Seam preferences page. SeamRuntime list editor is @@ -64,8 +63,6 @@ root.setLayout(gl); seamRuntimes.doFillIntoGrid(root); = - initialDefault =3D SeamRuntimeManager.getInstance().getDefaultRuntime(); - return root; } = @@ -92,12 +89,17 @@ SeamRuntimeManager.getInstance().removeRuntime(rt); } seamRuntimes.getRemoved().clear(); - if (initialDefault !=3D null - && seamRuntimes.getDefaultSeamRuntime() !=3D initialDefault) { - initialDefault.setDefault(false); + List defaultRuntimes =3D seamRuntimes.getDefaultSeamRuntime= s(); + // reset all default runtimes = + for (SeamRuntime seamRuntime : SeamRuntimeManager.getInstance().getRunti= mes()) { + seamRuntime.setDefault(false); } - Map changed =3D seamRuntimes - .getChangedSeamRuntimes(); + // set deafult runtimes + for (SeamRuntime seamRuntime : defaultRuntimes) { + seamRuntime.setDefault(true); + } + seamRuntimes.getDefaultSeamRuntimes().clear(); + Map changed =3D seamRuntimes.getChangedSeamRun= times(); for (SeamRuntime c : changed.keySet()) { SeamRuntime o =3D changed.get(c); o.setHomeDir(c.getHomeDir()); @@ -105,15 +107,11 @@ String oldName =3D o.getName(); String newName =3D c.getName(); if (!oldName.equals(newName)) { - SeamRuntimeManager.getInstance().changeRuntimeName(oldName, - newName); + SeamRuntimeManager.getInstance().changeRuntimeName(oldName, newName); } } seamRuntimes.getChangedSeamRuntimes().clear(); = - if (seamRuntimes.getDefaultSeamRuntime() !=3D null) { - seamRuntimes.getDefaultSeamRuntime().setDefault(true); - } SeamRuntimeManager.getInstance().save(); } = @@ -137,4 +135,4 @@ performApply(); return super.performOk(); } -} +} \ No newline at end of file Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/se= am/ui/preferences/SeamSettingsPreferencePage.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/= preferences/SeamSettingsPreferencePage.java 2008-01-21 18:20:54 UTC (rev 58= 53) +++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/= preferences/SeamSettingsPreferencePage.java 2008-01-21 18:41:36 UTC (rev 58= 54) @@ -84,7 +84,7 @@ super.setElement(element); project =3D (IProject) getElement().getAdapter(IProject.class); } - = + boolean hasSeamSupport() { return seamProject !=3D null; } @@ -92,7 +92,7 @@ @Override protected Control createContents(Composite parent) { seamProject =3D SeamCorePlugin.getSeamProject(project, false); - = + boolean cannotBeModified =3D false; = if(seamProject !=3D null) { @@ -101,13 +101,13 @@ if(!cannotBeModified) { cannotBeModified =3D isEarPartInEarSeamProject(project); } - = + seamEnablement =3D IFieldEditorFactory.INSTANCE.createCheckboxEditor( SeamPreferencesMessages.SEAM_SETTINGS_PREFERENCE_PAGE_SEAM_SUPPORT, Se= amPreferencesMessages.SEAM_SETTINGS_PREFERENCE_PAGE_SEAM_SUPPORT, false); seamEnablement.setValue(hasSeamSupport()); = SeamRuntime rs =3D SeamRuntimeManager.getInstance().getDefaultRuntime(); - = + List namesAsList =3D getNameList(); = runtime =3D IFieldEditorFactory.INSTANCE.createComboWithButton(SeamPrefe= rencesMessages.SEAM_SETTINGS_PREFERENCE_PAGE_RUNTIME, @@ -121,7 +121,7 @@ SeamPreferencePage.SEAM_PREFERENCES_ID, = new String[] {SeamPreferencePage.SEAM_PREFERENCES_ID}, null ); - = + prefsdlg.open(); = String v =3D runtime.getValueAsString(); Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/se= am/ui/widget/editor/SeamRuntimeListFieldEditor.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/= widget/editor/SeamRuntimeListFieldEditor.java 2008-01-21 18:20:54 UTC (rev = 5853) +++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/= widget/editor/SeamRuntimeListFieldEditor.java 2008-01-21 18:41:36 UTC (rev = 5854) @@ -99,7 +99,7 @@ = private Map changed =3D new HashMap(); = - private SeamRuntime checkedElement =3D null; + private List checkedElements =3D new ArrayList(= ); = private List added =3D new ArrayList(); = @@ -129,8 +129,8 @@ * = * @return List<SeamRuntime> */ - public SeamRuntime getDefaultSeamRuntime() { - return checkedElement; + public List getDefaultSeamRuntimes() { + return checkedElements; } = /** @@ -271,9 +271,9 @@ tableView.getTable().setHeaderVisible(true); tableView.addCheckStateListener(new ICheckStateListener() { public void checkStateChanged(CheckStateChangedEvent event) { + SeamRuntime selRt =3D (SeamRuntime) event.getElement(); if (event.getChecked()) { SeamRuntime deselRt =3D null; - SeamRuntime selRt =3D (SeamRuntime) event.getElement(); Object[] selRts =3D tableView.getCheckedElements(); = for (int i =3D 0; i < selRts.length; i++) { @@ -287,21 +287,23 @@ = if (deselRt !=3D null) { Object[] newChecked =3D new Object[selRts.length - 1]; + checkedElements.clear(); int i =3D 0; for (Object object : selRts) { SeamRuntime rt =3D (SeamRuntime) object; if (rt.getVersion() !=3D selRt.getVersion() || rt =3D=3D selRt) { newChecked[i] =3D rt; + checkedElements.add(rt); i++; } } tableView.setCheckedElements(newChecked); + } else { + checkedElements.add((SeamRuntime)event.getElement()); } - - // checkedElement.setDefault(false); - checkedElement =3D (SeamRuntime) event.getElement(); - // checkedElement.setDefault(true); + } else { + checkedElements.remove(selRt); } pcs.firePropertyChange(getName(), null, getValue()); } @@ -309,9 +311,8 @@ = for (SeamRuntime rt : (List) getValue()) { if (rt.isDefault()) { - tableView.setCheckedElements(new Object[] {rt}); - checkedElement =3D rt; - break; + tableView.setChecked(rt, true); + checkedElements.add(rt); } } ActionPanel actionPanel =3D new ActionPanel(root, new BaseAction[] { @@ -321,6 +322,26 @@ } = /** + * Checks all runtimes and set default one (for each version) if user did= not do it. = + */ + private void setDefaultRuntimes() { + List runtimes =3D (List)getValue(); + for (SeamRuntime seamRuntime : runtimes) { + boolean checked =3D false; + for(SeamRuntime checkedElement: checkedElements) { + if(checkedElement.getVersion() =3D=3D seamRuntime.getVersion()) { + checked =3D true; + break; + } + } + if(!checked) { + tableView.setChecked(seamRuntime, true); + checkedElements.add(seamRuntime); + } + } + } + + /** * Return array of Controls that forms and editor * = * @return Control[] @@ -919,7 +940,6 @@ this.button.setEnabled(action.isEnabled()); this.button.addSelectionListener(new SelectionListener() { public void widgetSelected(SelectionEvent e) { - // TODO Auto-generated method stub ActionButton.this.action.run(); } = @@ -1034,6 +1054,7 @@ .getActiveShell(), wiz); dialog.open(); tableView.refresh(); + setDefaultRuntimes(); } } = @@ -1130,6 +1151,7 @@ removeRuntime(rt); } tableView.refresh(); + setDefaultRuntimes(); } = private void removeRuntime(SeamRuntime r) { @@ -1151,6 +1173,7 @@ } ((List) getValue()).remove(r); } + checkedElements.remove(r); } = private boolean isRuntimeUsed(String runtimeName) { @@ -1165,5 +1188,4 @@ return false; } } - } \ No newline at end of file --===============8092087346915585460==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 14:25:45 2008 Content-Type: multipart/mixed; boundary="===============4839192973902646371==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5855 - in trunk/jsf/docs/userguide/en: modules and 1 other directory. Date: Mon, 21 Jan 2008 14:25:44 -0500 Message-ID: --===============4839192973902646371== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-21 14:25:44 -0500 (Mon, 21 Jan 2008) New Revision: 5855 Added: trunk/jsf/docs/userguide/en/images/palette/palette_25.png Modified: trunk/jsf/docs/userguide/en/modules/palette.xml Log: http://jira.jboss.com/jira/browse/JBDS-232 changes in structure of Using th= e Palette section + new screen + new info + new links + some notes and re= marks + content review + mistakes correction Added: trunk/jsf/docs/userguide/en/images/palette/palette_25.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/palette/palette_25.= png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/jsf/docs/userguide/en/modules/palette.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/palette.xml 2008-01-21 18:41:36 UTC= (rev 5854) +++ trunk/jsf/docs/userguide/en/modules/palette.xml 2008-01-21 19:25:44 UTC= (rev 5855) @@ -13,14 +13,14 @@ = - Insert tags into a JSP page with one click + Insert tags into a JSP or JSF page with one click Add custom and 3rd party tags. = - The JBoss Tools Palette provides possibilit= y to add any tag + The JBoss Tools Palette contains a develope= r's project tag libraries and provides possibility to add any tag libraries to it. Or you can choose a necessary one from the list o= f already existent tag libraries: @@ -43,10 +43,11 @@
    = -
    +
    Using the Palette -
    + = +
    JBoss Tools Palette = @@ -88,14 +89,24 @@ Inserting Tags into a JSP File = - A new tag can be added into any text file including jsp,= xhtml =D0=B8 htm(l). - It's very simple to do this. Place the cursor in th= e JSP page where you - want to add a tag and then click the tag in the palette. I= n the example below, the - commandButton tag has been inserted. Notice also that if y= ou place the cursor over - any tag, a balloon tip is shown with all the - "tag" - attributes. - + A new tag can be added into any text file including jsp,= htm, html and xhtml. + It's very simple to do this. Open your JSP file and= place the cursor in a place where you'd + like to add a tag and then click that tag in the palette. = + = + In Insert Tag window, that will appea= red after that action, you can set the = + value of general= and advanced attributes of the t= ag that you chose. + = +
    + Inserting Tag + + + + + +
    + = + In the example below, the commandButton tag has been= inserted. + =
    Inserting Tag @@ -103,7 +114,11 @@ -
    +
    + if you place the cursor over + any tag, a balloon tip is shown with all the + "tag" + attributes. The cursor position after adding a tag into a file is sp= ecified by "|" symbol in the tag template on the right in t= he Palette Editor window.
    @@ -152,86 +167,94 @@ ".jar" that includes your tag library under the lib f= older in your project. -
    - -
    - - Drag-and-Drop - Switch to the Web Projects view and expand the Tag Libra= ries folder. If the view - not active, select - Window > Show View > Web Projects - from the menu bar. - -
    - Web Projects View - - - - - -
    - Also make sure that the JBoss Tools Palette is open. Sel= ect the tag library that - you want to add and simply drag-and-drop it on to the JBos= s Tools Palette. - You will see the following dialog window. As you can see= JBoss Developer Studio - takes care of all the details. You just need to set the Gr= oup name to which to add - this tag library. You can either add this tag library to a= n existing Group or just - create a new one. -
    - Import Tags From TLD File Form - - - - - -
    - Once you are finished, you will see the new tag library = added to the JBoss Tools - Palette. - -
    - JBoss Tools Palette with New Tag Library - - - - - -
    -
    -
    - - Import Button - The same you can do with - Import - button. -
    + = +
    + + Drag-and-Drop + Switch to the Web Projects view and expand the Tag L= ibraries folder. If the view + not active, select + Window > Show View > Web Projects + from the menu bar. + = +
    + Web Projects View + + + + + +
    + = + Also make sure that the JBoss Tools Palette is open.= Select the tag library that + you want to add and simply drag-and-drop it on to the = JBoss Tools Palette. + = + You will see the following dialog window. As you can= see JBoss Developer Studio + takes care of all the details. You just need to set th= e Group name to which you wish to place + this tag library. You can either add this tag library = to an existing Group or just + create a new one. + = +
    + Import Tags From TLD File Form + + + + + +
    + Once you are finished, you will see the new tag libr= ary added to the JBoss Tools + Palette. + = +
    + JBoss Tools Palette with New Tag Library + + + + + +
    +
    + = +
    + Import Button - - - - - -
    - On this screen you can select - Browse - to locate the tag library that you want to add= . -
    - Import Tags From TLD File Form - - - - - -
    - Now select the TLD file you want to be added: -
    - Select TLD File - - - - - -
    + The same you can do with Import<= /property> button. + You can see this button at the top right side of the JBoss= Tools Palette + = +
    + Import Button + + + + + +
    + = + By clicking on the Import button you will see the Im= port Tag window a similar like in the Drag-and-Drop method. = + On this Import Tag form you can select Browse... to locate the tag library that you wan= t to add. + Also you need to set the Group name to which you'd li= ke to add your tag library. And like in the previous method you can add it = to an existing Group or create a new one. + = +
    + Import Tags From TLD File Form + + + + + +
    + Now select the TLD file you want to be added: +
    + Select TLD File + + + + + +
    +
    + =
    -
    + = +
    =
    @@ -415,8 +438,8 @@ Import = The Import button lets you add a custom or 3rd party tag= library to - JBoss Tools Palette. See here how to add. + JBoss Tools Palette. Find out more information on how = to add the tags see the Adding Custom JSF Tagssection. =
    @@ -425,11 +448,14 @@
    Rich Faces Support - JBoss Developer Studio comes with a tight integration with <= emphasis> - Rich Faces - component framework. Rich Faces ans Ajax4jsf in JB= oss Tools Palette always exist, this palette is not dynamic and is not chan= ged from file to file. After installing JBDS Rich Faces components as well = as - Ajax4jsf - ones are already on the JBoss Tools Pale= tte: + = + JBoss Developer Studio comes with a tight integration with <= emphasis>Rich Faces component framework. = + Rich Faces and Ajax4jsf in JBoss Tools Palette always exist, t= his palette is not dynamic and is not changed from file to file. + JBoss Tools Palette supports only the last version of the Ric= h Faces components. = + If you'd like to know the last version of Rich Face= s component framework see JBoss RichFaces site. + After installing JBDS Rich Faces components as well as = + Ajax4jsf ones are al= ready on the JBoss Tools Palette: + =
    Rich Faces Components @@ -438,6 +464,9 @@
    + = + + =
    = --===============4839192973902646371==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 14:32:54 2008 Content-Type: multipart/mixed; boundary="===============5665276429806720490==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5856 - in trunk: seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/ca and 1 other directory. Date: Mon, 21 Jan 2008 14:32:54 -0500 Message-ID: --===============5665276429806720490== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-21 14:32:54 -0500 (Mon, 21 Jan 2008) New Revision: 5856 Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/js= peditor/JSPTextEditor.java trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/u= i/test/ca/SeamELContentAssistTest.java Log: if we must have stupid test only methods then let us clearly mark them as s= uch. Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst= /jsp/jspeditor/JSPTextEditor.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/j= speditor/JSPTextEditor.java 2008-01-21 19:25:44 UTC (rev 5855) +++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/j= speditor/JSPTextEditor.java 2008-01-21 19:32:54 UTC (rev 5856) @@ -167,7 +167,8 @@ super.setSourceViewerConfiguration(config); } = - public SourceViewerConfiguration getSVConfiguration () { + /** This is *only* for allowing unit tests to access the source configura= tion. */ + public SourceViewerConfiguration getSourceViewerConfigurationForTest () { return getSourceViewerConfiguration(); } = Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools= /seam/ui/test/ca/SeamELContentAssistTest.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/ca/SeamELContentAssistTest.java 2008-01-21 19:25:44 UTC (rev 5855) +++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/= ui/test/ca/SeamELContentAssistTest.java 2008-01-21 19:32:54 UTC (rev 5856) @@ -454,7 +454,7 @@ JSPTextEditor jspTextEditor =3D jspEditor.getJspEditor(); StructuredTextViewer viewer =3D jspTextEditor.getTextViewer(); IDocument document =3D viewer.getDocument(); - IContentAssistant contentAssistant =3D jspTextEditor.getSVConfiguration(= ).getContentAssistant(viewer); + IContentAssistant contentAssistant =3D jspTextEditor.getSourceViewerConf= igurationForTest().getContentAssistant(viewer); = List regionsToTest =3D getELRegionsToTest(document); if (regionsToTest !=3D null) { --===============5665276429806720490==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 22:23:40 2008 Content-Type: multipart/mixed; boundary="===============6215734549598984239==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5857 - trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions. Date: Mon, 21 Jan 2008 22:22:00 -0500 Message-ID: --===============6215734549598984239== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: rob.stryker(a)jboss.com Date: 2008-01-21 22:22:00 -0500 (Mon, 21 Jan 2008) New Revision: 5857 Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclip= se/as/ui/views/server/extensions/JBossServerViewExtension.java Log: JBIDE-1487 NPE in error log on refresh of view Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/id= e/eclipse/as/ui/views/server/extensions/JBossServerViewExtension.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/views/server/extensions/JBossServerViewExtension.java 2008-01-21 = 19:32:54 UTC (rev 5856) +++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/ecli= pse/as/ui/views/server/extensions/JBossServerViewExtension.java 2008-01-22 = 03:22:00 UTC (rev 5857) @@ -130,6 +130,9 @@ } } }; + = + if( JBossServerView.getDefault() =3D=3D null ) return; + = if( Display.getCurrent() =3D=3D null ) = Display.getDefault().asyncExec(r); else --===============6215734549598984239==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 22:28:51 2008 Content-Type: multipart/mixed; boundary="===============4552420054432403963==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5858 - trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/runtime. Date: Mon, 21 Jan 2008 22:28:51 -0500 Message-ID: --===============4552420054432403963== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: rob.stryker(a)jboss.com Date: 2008-01-21 22:28:51 -0500 (Mon, 21 Jan 2008) New Revision: 5858 Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/i= de/eclipse/as/classpath/core/runtime/ProjectRuntimeClasspathProvider.java Log: JBIDE-1657 comment made there. Throwing CoreException instead Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/= jboss/ide/eclipse/as/classpath/core/runtime/ProjectRuntimeClasspathProvider= .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.classpath.core/src/org/jboss/= ide/eclipse/as/classpath/core/runtime/ProjectRuntimeClasspathProvider.java = 2008-01-22 03:22:00 UTC (rev 5857) +++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/= ide/eclipse/as/classpath/core/runtime/ProjectRuntimeClasspathProvider.java = 2008-01-22 03:28:51 UTC (rev 5858) @@ -28,7 +28,9 @@ import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IAdapterFactory; import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Path; +import org.eclipse.core.runtime.Status; import org.eclipse.jdt.core.ClasspathContainerInitializer; import org.eclipse.jdt.core.IClasspathContainer; import org.eclipse.jdt.core.IClasspathEntry; @@ -39,6 +41,7 @@ import org.eclipse.wst.common.project.facet.core.runtime.IRuntimeComponent; import org.eclipse.wst.server.core.IRuntime; import org.eclipse.wst.server.core.ServerCore; +import org.jboss.ide.eclipse.as.classpath.core.ClasspathCorePlugin; import org.jboss.ide.eclipse.as.classpath.core.runtime.WebtoolsProjectJBos= sClasspathContainerInitializer.WebtoolsProjectJBossClasspathContainer; = /** @@ -107,9 +110,13 @@ private IPath path; private IRuntime rt; = - public RuntimeClasspathContainer(IPath path) { + public RuntimeClasspathContainer(IPath path) throws CoreException { this.path =3D path; this.rt =3D ServerCore.findRuntime(path.segment(1)); + if( rt =3D=3D null ) = + throw new CoreException( + new Status( IStatus.ERROR, ClasspathCorePlugin.PLUGIN_ID, = + "Runtime " + path.segment(1) + " does not exist. This classpath co= ntainer cannot be initialized. ")); } = public IClasspathEntry[] getClasspathEntries() { @@ -117,7 +124,7 @@ } = public String getDescription() { - return "All JBoss Libraries [" + rt.getName() + "]"; + return "All JBoss Libraries [" + (rt =3D=3D null ? "null" : rt.getName(= )) + "]"; } = public int getKind() { --===============4552420054432403963==-- From jbosstools-commits at lists.jboss.org Mon Jan 21 22:31:32 2008 Content-Type: multipart/mixed; boundary="===============6228168146243075961==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5859 - trunk/as/plugins/org.jboss.ide.eclipse.as.ui. Date: Mon, 21 Jan 2008 22:31:32 -0500 Message-ID: --===============6228168146243075961== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: rob.stryker(a)jboss.com Date: 2008-01-21 22:31:31 -0500 (Mon, 21 Jan 2008) New Revision: 5859 Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml Log: JBIDE-1487 I thought I fixed this long ago. JBossServersView is a singleto= n view. Should not be opened more than once. = Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.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/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml 2008-01-22 03:2= 8:51 UTC (rev 5858) +++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml 2008-01-22 03:3= 1:31 UTC (rev 5859) @@ -121,6 +121,7 @@ --===============6089137443623618790== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-22 07:29:00 -0500 (Tue, 22 Jan 2008) New Revision: 5860 Modified: trunk/common/plugins/org.jboss.tools.common.model/resources/meta/filesys= tems.meta Log: JBIDE-1474 Modified: trunk/common/plugins/org.jboss.tools.common.model/resources/meta/= filesystems.meta =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/resources/meta/filesy= stems.meta 2008-01-22 03:31:31 UTC (rev 5859) +++ trunk/common/plugins/org.jboss.tools.common.model/resources/meta/filesy= stems.meta 2008-01-22 12:29:00 UTC (rev 5860) @@ -263,10 +263,13 @@ - - + + + + @@ -396,10 +399,13 @@ - - + + + + --===============6089137443623618790==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 07:29:28 2008 Content-Type: multipart/mixed; boundary="===============1396705585935809178==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5861 - trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/files/handlers. Date: Tue, 22 Jan 2008 07:29:28 -0500 Message-ID: --===============1396705585935809178== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-22 07:29:28 -0500 (Tue, 22 Jan 2008) New Revision: 5861 Added: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/co= mmon/model/files/handlers/CreateFolderSupport.java trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/co= mmon/model/files/handlers/TargetHolder.java Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/co= mmon/model/files/handlers/CreateFileSupport.java Log: JBIDE-1474 Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/t= ools/common/model/files/handlers/CreateFileSupport.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/files/handlers/CreateFileSupport.java 2008-01-22 12:29:00 UTC (= rev 5860) +++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/c= ommon/model/files/handlers/CreateFileSupport.java 2008-01-22 12:29:28 UTC (= rev 5861) @@ -34,6 +34,7 @@ boolean useVersions =3D false; = public void reset() { + targetHolder.setAction(action); if(hasTemplate()) { String[] s =3D getPageTemplateList(); setValueList(0, "template", s); @@ -279,53 +280,6 @@ return targetHolder.target; } = - class TargetHolder { - XModelObject target; - String path; - IResource folder; - String addPath =3D ""; - = - public void revalidate(String newPath) { - if(newPath =3D=3D path || (newPath !=3D null && newPath.equals(path))) = return; - path =3D newPath; - addPath =3D ""; - folder =3D (path =3D=3D null) ? null : ModelPlugin.getWorkspace().getRo= ot().findMember(path); - target =3D EclipseResourceUtil.getObjectByResource(folder); - if(path !=3D null && (folder =3D=3D null || !folder.exists())) { - String p =3D path.replace('\\', '/'); - String ap =3D ""; - while(true) { - int q =3D p.lastIndexOf('/'); - if(q < 0) break; - ap =3D p.substring(q) + ap; - p =3D p.substring(0, q); - folder =3D ModelPlugin.getWorkspace().getRoot().findMember(p); - if(folder !=3D null && folder.exists()) { - addPath =3D ap; - if(addPath.endsWith("/")) addPath =3D addPath.substring(0, addPath.l= ength() - 1); - target =3D EclipseResourceUtil.createObjectForResource(folder); - break; - } - } - } else if(target =3D=3D null && folder !=3D null && folder.exists()) { - target =3D EclipseResourceUtil.createObjectForResource(folder); - } else if(target !=3D null && "FileSystems".equals(target.getModelEntit= y().getName())) { - target =3D EclipseResourceUtil.findFileSystem(folder, target.getModel(= )); - if(target =3D=3D null) target =3D EclipseResourceUtil.createObjectForR= esource(folder); - } - } - public void saveLastPath() { - if(path =3D=3D null || folder =3D=3D null) return; - QualifiedName n =3D new QualifiedName("", action.getName() + "_lastPath= "); - try { - folder.getProject().setPersistentProperty(n, path); - } catch (Exception e) { - ModelPlugin.getPluginLog().logError("CreateFileSuppport:TargetHolder:s= aveLastPath:" + e.getMessage()); - } - } - = - } - protected DefaultWizardDataValidator validator =3D createValidator(); = public WizardDataValidator getValidator(int step) { Added: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tool= s/common/model/files/handlers/CreateFolderSupport.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/files/handlers/CreateFolderSupport.java = (rev 0) +++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/c= ommon/model/files/handlers/CreateFolderSupport.java 2008-01-22 12:29:28 UTC= (rev 5861) @@ -0,0 +1,197 @@ +package org.jboss.tools.common.model.files.handlers; + +import java.util.Properties; +import java.util.StringTokenizer; + +import org.eclipse.core.resources.IResource; +import org.jboss.tools.common.meta.action.XEntityData; +import org.jboss.tools.common.meta.action.impl.DefaultWizardDataValidator; +import org.jboss.tools.common.meta.action.impl.SpecialWizardSupport; +import org.jboss.tools.common.meta.action.impl.WizardDataValidator; +import org.jboss.tools.common.meta.action.impl.handlers.DefaultCreateHandl= er; +import org.jboss.tools.common.model.ServiceDialog; +import org.jboss.tools.common.model.XModelObject; +import org.jboss.tools.common.model.filesystems.impl.CreateFileHandler; +import org.jboss.tools.common.model.filesystems.impl.FolderImpl; + +public class CreateFolderSupport extends SpecialWizardSupport { + protected TargetHolder targetHolder =3D new TargetHolder(); + = + public CreateFolderSupport() {} + + public void reset() { + targetHolder.setAction(action); + targetHolder.target =3D getTarget(); + IResource r =3D (IResource)getTarget().getAdapter(IResource.class); + if(r =3D=3D null) { + setAttributeValue(0, "folder", ""); + targetHolder.revalidate(null); + } else { + targetHolder.revalidate(r.getFullPath().toString()); + setAttributeValue(0, "folder", "" + targetHolder.path); + } + } + + @Override + public void action(String name) throws Exception { + if(FINISH.equals(name)) { + if(!checkResource()) return; + execute(); + setFinished(true); + } else if(CANCEL.equals(name)) { + setFinished(true); + } else if(HELP.equals(name)) { + help(); + } + } + + public String[] getActionNames(int stepId) { + return new String[]{FINISH, CANCEL, HELP}; + } + + protected boolean checkResource() { + if(targetHolder.addPath.length() =3D=3D 0) return true; + ServiceDialog d =3D getTarget().getModel().getService(); + String message =3D "Folder " + targetHolder.path + " does not exist. Do = you want to create it?"; + int q =3D d.showDialog("Warning", message, new String[]{SpecialWizardSup= port.OK, SpecialWizardSupport.CANCEL}, null, ServiceDialog.QUESTION); + return q =3D=3D 0; + } + = + public boolean canCreateResource(String path) { + if(targetHolder.target =3D=3D null) return false; + if(path =3D=3D null || path.length() =3D=3D 0 || path.indexOf('*') >=3D = 0) return false; + return isCorrectPath(path) && !resourceExists(path); + } + = + boolean isCorrectPath(String path) { + path =3D revalidatePath(path); + if(path =3D=3D null || path.equals("/") || path.indexOf("//") >=3D 0) re= turn false; + return true; + } + = + boolean resourceExists(String path) { + if(path =3D=3D null || targetHolder.target =3D=3D null) return false; + path =3D revalidatePath(path); + if(path.startsWith("/")) path =3D path.substring(1); + return targetHolder.target.getChildByPath(path) !=3D null; + } = + = + protected String revalidatePath(String path) { + if(path =3D=3D null || path.length() =3D=3D 0) return path; + if(!path.startsWith("/")) path =3D "/" + path; + if(targetHolder.addPath.length() > 0) { + path =3D targetHolder.addPath + path; + } + return path; + } + + protected void execute() throws Exception { + Properties p =3D extractStepData(0); + String path =3D p.getProperty("name"); + path =3D revalidatePath(path); + XModelObject f =3D createFolder(path); + if(f !=3D null) targetHolder.saveLastPath(); + } + = + protected XModelObject createFolder(String path) throws Exception { + if(!canCreateResource(path)) return null; + XModelObject fs =3D targetHolder.target; + + StringTokenizer st =3D new StringTokenizer(path, "/"); + int c =3D st.countTokens(), i =3D 0; + while(i < c) { + String s =3D st.nextToken(); + XModelObject o =3D fs.getChildByPath(s); + if(o =3D=3D null) { + o =3D fs.getModel().createModelObject("FileFolder", null); + o.setAttributeValue("name", s); + DefaultCreateHandler.addCreatedObject(fs, o, getProperties()); + ((FolderImpl)o).save(); + } + fs =3D o; + i++; + } + + return fs; + } + + protected final XModelObject getTargetFolder() { + return targetHolder.target; + } + = + protected DefaultWizardDataValidator validator =3D createValidator(); + = + public WizardDataValidator getValidator(int step) { + validator.setSupport(this, step); + return validator; = + } + = + protected DefaultWizardDataValidator createValidator() { + return new Validator(); = + } + = + protected class Validator extends DefaultWizardDataValidator { + public void validate(Properties data) { + String folder =3D data.getProperty("folder"); + targetHolder.revalidate(folder); + message =3D null; + validateFolderName(); + if(message !=3D null) return; + validateChildName(data); + if(message !=3D null) return; + super.validate(data); + } + = + String FORBIDDEN_INDICES =3D "\"\n\t*\\/:<>?|"; + protected void validateChildName(Properties data) { + if(message !=3D null) return; + String name =3D data.getProperty("name"); + if(name =3D=3D null || name.length() =3D=3D 0) return; + if(name.equals(".")) { + message =3D "Incorrect name."; + } else if(name.endsWith(".") && name.indexOf('.') !=3D name.lastIndexOf= ('.')) { + message =3D "Name must not end in a period."; + } else { + for (int i =3D 0; i < FORBIDDEN_INDICES.length(); i++) { + if(name.indexOf(FORBIDDEN_INDICES.charAt(i)) >=3D 0) { + message =3D "Name must not contain character " + FORBIDDEN_INDICES.c= harAt(i) + " ."; + return; + } + } = + } + } + + String FORBIDDEN_FOLDER_LETTERS =3D "\"\n\t*:<>?|"; + private void validateFolderName() { + if(targetHolder.addPath.length() =3D=3D 0) return; + for (int i =3D 0; i < FORBIDDEN_FOLDER_LETTERS.length(); i++) { + if(targetHolder.addPath.indexOf(FORBIDDEN_FOLDER_LETTERS.charAt(i)) >= =3D 0) { + message =3D "Folder name must not contain character " + FORBIDDEN_FOL= DER_LETTERS.charAt(i) + " ."; + return; + } + } = + } + = + protected void validateAddFile(XEntityData[] ds, Properties data) { + CreateFileHandler.validateNameAndExtension(action, data, null); + if(targetHolder.target !=3D null) { + String entity =3D action.getProperty("entity"); + if(entity =3D=3D null) entity =3D getEntityData()[step].getModelEntity= ().getName(); + if(targetHolder.addPath =3D=3D null || targetHolder.addPath.length() = =3D=3D 0) { + if(!checkChild(targetHolder.target, entity, data)) return; + } + } else { + message =3D "Cannot create file in specified folder."; + } + } + = + } + + public String getFocusAttribute(int stepId) { + if(stepId =3D=3D 0) { + return "name"; + } + return super.getFocusAttribute(stepId); + } + +} Added: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tool= s/common/model/files/handlers/TargetHolder.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/files/handlers/TargetHolder.java (rev 0) +++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/c= ommon/model/files/handlers/TargetHolder.java 2008-01-22 12:29:28 UTC (rev 5= 861) @@ -0,0 +1,61 @@ +package org.jboss.tools.common.model.files.handlers; + +import org.eclipse.core.resources.IResource; +import org.eclipse.core.runtime.QualifiedName; +import org.jboss.tools.common.meta.action.XAction; +import org.jboss.tools.common.model.XModelObject; +import org.jboss.tools.common.model.plugin.ModelPlugin; +import org.jboss.tools.common.model.util.EclipseResourceUtil; + +public class TargetHolder { + protected XAction action; + XModelObject target; + String path; + IResource folder; + String addPath =3D ""; + = + public void setAction(XAction action) { + this.action =3D action; + } + = + public void revalidate(String newPath) { + if(newPath =3D=3D path || (newPath !=3D null && newPath.equals(path))) r= eturn; + path =3D newPath; + addPath =3D ""; + folder =3D (path =3D=3D null) ? null : ModelPlugin.getWorkspace().getRoo= t().findMember(path); + target =3D EclipseResourceUtil.getObjectByResource(folder); + if(path !=3D null && (folder =3D=3D null || !folder.exists())) { + String p =3D path.replace('\\', '/'); + String ap =3D ""; + while(true) { + int q =3D p.lastIndexOf('/'); + if(q < 0) break; + ap =3D p.substring(q) + ap; + p =3D p.substring(0, q); + folder =3D ModelPlugin.getWorkspace().getRoot().findMember(p); + if(folder !=3D null && folder.exists()) { + addPath =3D ap; + if(addPath.endsWith("/")) addPath =3D addPath.substring(0, addPath.le= ngth() - 1); + target =3D EclipseResourceUtil.createObjectForResource(folder); + break; + } + } + } else if(target =3D=3D null && folder !=3D null && folder.exists()) { + target =3D EclipseResourceUtil.createObjectForResource(folder); + } else if(target !=3D null && "FileSystems".equals(target.getModelEntity= ().getName())) { + target =3D EclipseResourceUtil.findFileSystem(folder, target.getModel()= ); + if(target =3D=3D null) target =3D EclipseResourceUtil.createObjectForRe= source(folder); + } + } + + public void saveLastPath() { + if(path =3D=3D null || folder =3D=3D null) return; + QualifiedName n =3D new QualifiedName("", action.getName() + "_lastPath"= ); + try { + folder.getProject().setPersistentProperty(n, path); + } catch (Exception e) { + ModelPlugin.getPluginLog().logError("CreateFileSuppport:TargetHolder:sa= veLastPath:" + e.getMessage()); + } + } + = +} --===============1396705585935809178==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 07:30:21 2008 Content-Type: multipart/mixed; boundary="===============1192510728174192154==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5862 - trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl. Date: Tue, 22 Jan 2008 07:30:21 -0500 Message-ID: --===============1192510728174192154== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-22 07:30:21 -0500 (Tue, 22 Jan 2008) New Revision: 5862 Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/co= mmon/model/filesystems/impl/FileSystemsLoader.java Log: JBIDE-1474 Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/t= ools/common/model/filesystems/impl/FileSystemsLoader.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/filesystems/impl/FileSystemsLoader.java 2008-01-22 12:29:28 UTC= (rev 5861) +++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/c= ommon/model/filesystems/impl/FileSystemsLoader.java 2008-01-22 12:30:21 UTC= (rev 5862) @@ -334,6 +334,7 @@ oldAttribute =3D oldAttributes.get(oldAttribute); if(oldAttribute !=3D null && element.hasAttribute(oldAttribute))= { xmlname =3D oldAttribute; + break; } } } --===============1192510728174192154==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 07:30:50 2008 Content-Type: multipart/mixed; boundary="===============2486323842509103181==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5863 - trunk/common/plugins/org.jboss.tools.common.model. Date: Tue, 22 Jan 2008 07:30:50 -0500 Message-ID: --===============2486323842509103181== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-22 07:30:50 -0500 (Tue, 22 Jan 2008) New Revision: 5863 Modified: trunk/common/plugins/org.jboss.tools.common.model/plugin.xml Log: JBIDE-1474 Modified: trunk/common/plugins/org.jboss.tools.common.model/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.model/plugin.xml 2008-01-22= 12:30:21 UTC (rev 5862) +++ trunk/common/plugins/org.jboss.tools.common.model/plugin.xml 2008-01-22= 12:30:50 UTC (rev 5863) @@ -368,6 +368,8 @@ class=3D"org.jboss.tools.common.ant.model.handlers.CreateAntFileSupport= "/> + = --===============2486323842509103181==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 07:55:23 2008 Content-Type: multipart/mixed; boundary="===============1742744704131450302==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5864 - trunk/jst/plugins/org.jboss.tools.jst.web/resources/help. Date: Tue, 22 Jan 2008 07:55:23 -0500 Message-ID: --===============1742744704131450302== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-22 07:55:23 -0500 (Tue, 22 Jan 2008) New Revision: 5864 Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.proper= ties Log: JBIDE-1474 Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web= .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/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.prope= rties 2008-01-22 12:30:50 UTC (rev 5863) +++ trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.prope= rties 2008-01-22 12:55:23 UTC (rev 5864) @@ -19,6 +19,11 @@ FileSystemFolder_CreateFileJS.WindowTitle=3DNew JS File FileSystemFolder_CreateFileJS.Title=3DJS File = +FileSystemFolder_CreateFileXML_0.WindowTitle=3DNew XML File +FileSystemFolder_CreateFileXML_0.Title=3DXML File +FileFolder_CreateFileXML_0.WindowTitle=3DNew XML File +FileFolder_CreateFileXML_0.Title=3DXML File + FileXML=3D/struts/FileXML.html = FileXML_Properties=3D/struts/FileXML_Properties.html --===============1742744704131450302==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 07:56:01 2008 Content-Type: multipart/mixed; boundary="===============7061590574431329473==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5865 - trunk/common/plugins/org.jboss.tools.common.model/resources/help. Date: Tue, 22 Jan 2008 07:56:01 -0500 Message-ID: --===============7061590574431329473== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-22 07:56:01 -0500 (Tue, 22 Jan 2008) New Revision: 5865 Modified: trunk/common/plugins/org.jboss.tools.common.model/resources/help/keys-mo= del.properties Log: JBIDE-1474 Modified: trunk/common/plugins/org.jboss.tools.common.model/resources/help/= keys-model.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/common/plugins/org.jboss.tools.common.model/resources/help/keys-m= odel.properties 2008-01-22 12:55:23 UTC (rev 5864) +++ trunk/common/plugins/org.jboss.tools.common.model/resources/help/keys-m= odel.properties 2008-01-22 12:56:01 UTC (rev 5865) @@ -216,6 +216,11 @@ FileSystemFolder_CreateFileProperties.WindowTitle=3DNew File Properties FileSystemFolder_CreateFileProperties.Title=3DFile Properties = +FileSystemFolder_CreateFile_0.WindowTitle=3DNew File +FileSystemFolder_CreateFile_0.Title=3DFile +FileFolder_CreateFile_0.WindowTitle=3DNew File +FileFolder_CreateFile_0.Title=3DFile + ##### File ANT ##### = FileANT=3D/model/FileANT.html @@ -225,12 +230,11 @@ = ##### Create File ANT ##### = = -FileFolder_CreateFileANT=3D/model/CreateFile.html -FileFolder_CreateFileANT.WindowTitle=3DNew File ANT +FileSystemFolder_CreateFileANT_0.WindowTitle=3DNew File ANT +FileSystemFolder_CreateFileANT_0.Title=3DFile ANT +FileFolder_CreateFileANT_0.WindowTitle=3DNew File ANT +FileFolder_CreateFileANT_0.Title=3DFile ANT = -FileSystemFolder_CreateFileANT=3D/model/CreateFile.html -FileSystemFolder_CreateFileANT.WindowTitle=3DFile ANT - ##### File *.class ##### = FileCLASS=3D/model/FileCLASS.html --===============7061590574431329473==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 07:58:28 2008 Content-Type: multipart/mixed; boundary="===============1959073678446558237==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5866 - trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/help. Date: Tue, 22 Jan 2008 07:58:28 -0500 Message-ID: --===============1959073678446558237== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-22 07:58:28 -0500 (Tue, 22 Jan 2008) New Revision: 5866 Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/hel= p/keys-hibernate3.properties Log: JBIDE-1474 Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resour= ces/help/keys-hibernate3.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/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/he= lp/keys-hibernate3.properties 2008-01-22 12:56:01 UTC (rev 5865) +++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/he= lp/keys-hibernate3.properties 2008-01-22 12:58:28 UTC (rev 5866) @@ -1,3 +1,14 @@ +FileSystemFolder_CreateFileHibernate3_0.WindowTitle=3DNew File Hibernate 3= .0 +FileSystemFolder_CreateFileHibernate3_0.Title=3DFile Hibernate 3.0 +FileFolder_CreateFileHibernate3_0.WindowTitle=3DNew File Hibernate 3.0 +FileFolder_CreateFileHibernate3_0.Title=3DFile Hibernate 3.0 + +FileSystemFolder_CreateFileHibConfig3_0.WindowTitle=3DNew File Hibernate C= onfig 3.0 +FileSystemFolder_CreateFileHibConfig3_0.Title=3DFile Hibernate Config 3.0 +FileFolder_CreateFileHibConfig3_0.WindowTitle=3DNew File Hibernate Config = 3.0 +FileFolder_CreateFileHibConfig3_0.Title=3DFile Hibernate Config 3.0 + + ### File Hibernate FileHibernate3=3D/model/noHelpYet.html = --===============1959073678446558237==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 09:25:15 2008 Content-Type: multipart/mixed; boundary="===============2155339330274938433==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5867 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions. Date: Tue, 22 Jan 2008 09:25:15 -0500 Message-ID: --===============2155339330274938433== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dgeraskov Date: 2008-01-22 09:25:15 -0500 (Tue, 22 Jan 2008) New Revision: 5867 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/actions/OpenQueryEditorAction.java Log: http://jira.jboss.com/jira/browse/JBIDE-1665 select ConsoleConfiguration in combobox Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/actions/OpenQueryEditorAction.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.console/src/org/hibe= rnate/eclipse/console/actions/OpenQueryEditorAction.java 2008-01-22 12:58:2= 8 UTC (rev 5866) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/actions/OpenQueryEditorAction.java 2008-01-22 14:25:1= 5 UTC (rev 5867) @@ -1,8 +1,14 @@ package org.hibernate.eclipse.console.actions; = +import java.io.FileNotFoundException; import java.util.Iterator; = +import org.eclipse.jdt.core.JavaModelException; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.jface.viewers.TreePath; +import org.eclipse.jface.viewers.TreeSelection; import org.eclipse.swt.widgets.Event; +import org.eclipse.ui.PartInitException; import org.eclipse.ui.actions.SelectionListenerAction; import org.hibernate.HibernateException; import org.hibernate.console.ConsoleConfiguration; @@ -20,17 +26,19 @@ = protected void doRun() { boolean showed =3D false; - for (Iterator i =3D getSelectedNonResources().iterator(); i.hasNext();) { - try { - Object node =3D i.next(); - if(node instanceof ConsoleConfiguration) { - final ConsoleConfiguration config =3D (ConsoleConfiguration) node; - openQueryEditor( config, "" ); - showed =3D true; - } = - } catch(HibernateException he) { - HibernateConsolePlugin.getDefault().showError(null, "Exception while t= rying to open HQL editor", he); - } + IStructuredSelection sel =3D getStructuredSelection(); + if (sel instanceof TreeSelection){ + TreePath[] paths =3D ((TreeSelection)sel).getPaths(); + for (int i =3D 0; i < paths.length; i++) { + TreePath path =3D paths[i]; + ConsoleConfiguration config =3D (ConsoleConfiguration) path.getSegment= (0); + try { + openQueryEditor( config, "" ); + } catch(HibernateException he) { + HibernateConsolePlugin.getDefault().showError(null, "Exception while = trying to open HQL editor", he); + } + showed =3D true; + } = } = if(!showed) { --===============2155339330274938433==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 09:46:06 2008 Content-Type: multipart/mixed; boundary="===============1793916516387523519==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5868 - trunk/jst/plugins/org.jboss.tools.jst.web/resources/help. Date: Tue, 22 Jan 2008 09:46:06 -0500 Message-ID: --===============1793916516387523519== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-22 09:46:06 -0500 (Tue, 22 Jan 2008) New Revision: 5868 Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.proper= ties Log: JBIDE-1474 Modified: trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web= .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/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.prope= rties 2008-01-22 14:25:15 UTC (rev 5867) +++ trunk/jst/plugins/org.jboss.tools.jst.web/resources/help/keys-web.prope= rties 2008-01-22 14:46:06 UTC (rev 5868) @@ -318,70 +318,83 @@ FileWebApp25.editorTitle=3DWeb XML Editor = = -FileWebApp_CreateContextParam=3D/struts_pro/FileWebApp_CreateContextParam.= html -FileWebApp_CreateContextParam.WindowTitle=3DAdd Context Param -FileWebApp_CreateContextParam.Title=3DWeb Context Param +WebAppFolderContextParams_CreateContextParam.WindowTitle=3DAdd Context Par= am +WebAppFolderContextParams_CreateContextParam.Title=3DWeb Context Param = -FileWebApp_CreateServlet=3D/struts_pro/FileWebApp_CreateServlet.html -FileWebApp_CreateServlet.WindowTitle=3DAdd Servlet -FileWebApp_CreateServlet.Title=3DWeb Servlet +WebAppFolderServlets_CreateServlet=3D/struts_pro/FileWebApp_CreateServlet.= html +WebAppFolderServlets_CreateServlet.WindowTitle=3DAdd Servlet +WebAppFolderServlets_CreateServlet.Title=3DWeb Servlet = -FileWebApp_CreateServletMapping=3D/struts_pro/FileWebApp_CreateServletMapp= ing.html -FileWebApp_CreateServletMapping.WindowTitle=3DAdd Servlet Mapping -FileWebApp_CreateServletMapping.Title=3DWeb Servlet Mapping +WebAppFolderServlets_CreateServletMapping=3D/struts_pro/FileWebApp_CreateS= ervletMapping.html +WebAppFolderServlets_CreateServletMapping.WindowTitle=3DAdd Servlet Mapping +WebAppFolderServlets_CreateServletMapping.Title=3DWeb Servlet Mapping = -FileWebApp_CreateSessionConfig=3D/struts_pro/FileWebApp_CreateSessionConfi= g.html FileWebApp_CreateSessionConfig.WindowTitle=3DAdd Session Config FileWebApp_CreateSessionConfig.Title=3DWeb Session Config = -FileWebApp_CreateMimeMapping=3D/struts_pro/FileWebApp_CreateMimeMapping.ht= ml -FileWebApp_CreateMimeMapping.WindowTitle=3DAdd Mime Mapping -FileWebApp_CreateMimeMapping.Title=3DWeb Mime Mapping +WebAppFolderMimeMappings_CreateMimeMapping.WindowTitle=3DAdd Mime Mapping +WebAppFolderMimeMappings_CreateMimeMapping.Title=3DWeb Mime Mapping = -FileWebApp_CreateErrorPage=3D/struts_pro/FileWebApp_CreateErrorPage.html -FileWebApp_CreateErrorPage.WindowTitle=3DAdd Error Page -FileWebApp_CreateErrorPage.Title=3DWeb Error Page +WebAppFolderErrorPages_CreateErrorPage.WindowTitle=3DAdd Error Page +WebAppFolderErrorPages_CreateErrorPage.Title=3DWeb Error Page +WebAppFolderErrorPages_CreateErrorPage_0.WindowTitle=3DAdd Error Page +WebAppFolderErrorPages_CreateErrorPage_0.Title=3DWeb Error Page = -FileWebApp_CreateTaglib=3D/struts_pro/FileWebApp_CreateTaglib.html FileWebApp_CreateTaglib.WindowTitle=3DAdd Taglib FileWebApp_CreateTaglib.Title=3DWeb Taglib = -FileWebApp_CreateResourceRef=3D/struts_pro/FileWebApp_CreateResourceRef.ht= ml -FileWebApp_CreateResourceRef.WindowTitle=3DAdd Resource Reference -FileWebApp_CreateResourceRef.Title=3DWeb Resource Reference +WebAppJspConfig_CreateTaglib.WindowTitle=3DAdd Taglib +WebAppJspConfig_CreateTaglib.Title=3DWeb Taglib = -FileWebApp_CreateSecurityConstraint=3D/struts_pro/FileWebApp_CreateSecurit= yConstraint.html -FileWebApp_CreateSecurityConstraint.WindowTitle=3DAdd Security Constraint -FileWebApp_CreateSecurityConstraint.Title=3DWeb Security Constraint +WebAppJspConfig_CreatePropertyGroup.WindowTitle=3DAdd JSP Property Group +WebAppJspConfig_CreatePropertyGroup.Title=3DJSP Property Group = -FileWebApp_CreateLoginConfig=3D/struts_pro/FileWebApp_CreateLoginConfig.ht= ml +WebAppFolderResources_CreateResourceRef.WindowTitle=3DAdd Resource Referen= ce +WebAppFolderResources_CreateResourceRef.Title=3DWeb Resource Reference + +WebAppFolderResources_CreateResourceEnvRef.WindowTitle=3DAdd Resource Env = Reference +WebAppFolderResources_CreateResourceEnvRef.Title=3DWeb Resource Env Refere= nce + +WebAppFolderSecurityConstraints_CreateSecurityConstraint.WindowTitle=3DAdd= Security Constraint +WebAppFolderSecurityConstraints_CreateSecurityConstraint.Title=3DWeb Secur= ity Constraint + FileWebApp_CreateLoginConfig.WindowTitle=3DAdd Login Config FileWebApp_CreateLoginConfig.Title=3DWeb Login Config = -FileWebApp_CreateSecurityRole=3D/struts_pro/FileWebApp_CreateSecurityRole.= html -FileWebApp_CreateSecurityRole.WindowTitle=3DAdd Security Role -FileWebApp_CreateSecurityRoleWeb Security Role +WebAppFolderSecurityRoles_CreateSecurityRole.WindowTitle=3DAdd Security Ro= le +WebAppFolderSecurityRoles_CreateSecurityRole.Title=3DWeb Security Role = -FileWebApp_CreateEnvEntry=3D/struts_pro/FileWebApp_CreateEnvEntry.html -FileWebApp_CreateEnvEntry.WindowTitle=3DAdd Env Entry -FileWebApp_CreateEnvEntry.Title=3DWeb Env Entry +WebAppFolderEnvEntries_CreateEnvEntry.WindowTitle=3DAdd Env Entry +WebAppFolderEnvEntries_CreateEnvEntry.Title=3DWeb Env Entry = -FileWebApp_CreateEjbRef=3D/struts_pro/FileWebApp_CreateEjbRef.html -FileWebApp_CreateEjbRef.WindowTitle=3DAdd EJB Ref -FileWebApp_CreateEjbRef.Title=3DWeb Ejb Ref +WebAppFolderEJB_CreateEjbRef.WindowTitle=3DAdd EJB Ref +WebAppFolderEJB_CreateEjbRef.Title=3DWeb EJB Ref = -FileWebApp_CreateFilter=3D/model/noHelpYet.html -FileWebApp_CreateFilter.WindowTitle=3DAdd Filter -FileWebApp_CreateFilter.Title=3DFilter +WebAppFolderEJB_CreateEjbLocalRef.WindowTitle=3DAdd EJB Local Ref +WebAppFolderEJB_CreateEjbLocalRef.Title=3DWeb EJB Local Ref = -FileWebApp_CreateFilterMapping=3D/model/noHelpYet.html -FileWebApp_CreateFilterMapping.WindowTitle=3DAdd FilterMapping -FileWebApp_CreateFilterMapping.Title=3DFilter Mapping +WebAppFolderFilters_CreateFilter.WindowTitle=3DAdd Filter +WebAppFolderFilters_CreateFilter.Title=3DFilter +WebAppFolderFilters24_CreateFilter.WindowTitle=3DAdd Filter +WebAppFolderFilters24_CreateFilter.Title=3DFilter = -FileWebApp_CreateListener=3D/model/noHelpYet.html -FileWebApp_CreateListener.WindowTitle=3DAdd Listener -FileWebApp_CreateListener.Title=3DWeb Listener +WebAppFolderFilters_CreateFilterMapping.WindowTitle=3DAdd Filter Mapping +WebAppFolderFilters_CreateFilterMapping.Title=3DFilter Mapping +WebAppFolderFilters24_CreateFilterMapping.WindowTitle=3DAdd Filter Mapping +WebAppFolderFilters24_CreateFilterMapping.Title=3DFilter Mapping = +WebAppFolderListeners_CreateListener.WindowTitle=3DAdd Listener +WebAppFolderListeners_CreateListener.Title=3DWeb Listener + +WebAppFolderServices_CreateServiceRef.WindowTitle=3DAdd Service Ref +WebAppFolderServices_CreateServiceRef.Title=3DService Ref + +WebAppFolderMessageDestinations_CreateServiceMessageDestinationRef.WindowT= itle=3DAdd Service Message Destination Ref +WebAppFolderMessageDestinations_CreateServiceMessageDestinationRef.Title= =3DService Message Destination Ref + +WebAppFolderMessageDestinations_CreateServiceMessageDestination.WindowTitl= e=3DAdd Service Message Destination +WebAppFolderMessageDestinations_CreateServiceMessageDestination.Title=3DSe= rvice Message Destination + ##### web auth-constraint element ##### = WebAppAuthConstraint=3D/struts_pro/WebAppAuthConstraint.html @@ -534,14 +547,15 @@ WebAppServlet_Properties.WindowTitle=3DEdit Properties WebAppServlet_Properties.Title=3DWeb Servlet = -WebAppServlet_CreateInitParam=3D/struts_pro/WebAppServlet_CreateInitParam.= html WebAppServlet_CreateInitParam.WindowTitle=3DAdd Init Param WebAppServlet_CreateInitParam.Title=3DWeb Init Param = -WebAppServlet_CreateSecurityRoleRef=3D/struts_pro/WebAppServlet_CreateSecu= rityRoleRef.html WebAppServlet_CreateSecurityRoleRef.WindowTitle=3DAdd Security Role Refere= nce WebAppServlet_CreateSecurityRoleRef.Title=3DWeb Security Role Reference = +WebAppServlet_CreateRunAs.WindowTitle=3DAdd Run As +WebAppServlet_CreateRunAs.Title=3DRun As + ##### web servlet-mapping element ##### = WebAppServletMapping=3D/struts_pro/WebAppServletMapping.html --===============1793916516387523519==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 09:49:11 2008 Content-Type: multipart/mixed; boundary="===============9073476170249451309==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5869 - in trunk/jsf/docs/userguide/en: modules and 1 other directory. Date: Tue, 22 Jan 2008 09:49:10 -0500 Message-ID: --===============9073476170249451309== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: afedosik Date: 2008-01-22 09:49:10 -0500 (Tue, 22 Jan 2008) New Revision: 5869 Added: trunk/jsf/docs/userguide/en/images/struts/struts_3_1.png Removed: trunk/jsf/docs/userguide/en/images/struts/struts_1.png Modified: trunk/jsf/docs/userguide/en/images/struts/struts_29.png trunk/jsf/docs/userguide/en/images/struts/struts_3.png trunk/jsf/docs/userguide/en/images/struts/struts_39.png trunk/jsf/docs/userguide/en/modules/jsf_support.xml trunk/jsf/docs/userguide/en/modules/struts_support.xml Log: http://jira.jboss.com/jira/browse/JBDS-162 JSF and Struts support chapters = updated according Sveta remarks Deleted: trunk/jsf/docs/userguide/en/images/struts/struts_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/jsf/docs/userguide/en/images/struts/struts_29.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/struts/struts_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/jsf/docs/userguide/en/images/struts/struts_39.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) Added: trunk/jsf/docs/userguide/en/images/struts/struts_3_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) Property changes on: trunk/jsf/docs/userguide/en/images/struts/struts_3_1.p= ng ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/jsf/docs/userguide/en/modules/jsf_support.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/jsf_support.xml 2008-01-22 14:46:06= UTC (rev 5868) +++ trunk/jsf/docs/userguide/en/modules/jsf_support.xml 2008-01-22 14:49:10= UTC (rev 5869) @@ -264,29 +264,31 @@
    Working with Projects + = + JBoss Developer Studio provides the following functi= onality when working with JSF: + = + + + Create new JSF projects + + + Import (open) existing JSF projects<= /para> + + + Add JSF capability to any existing E= clipse + project + + + Import and add JSF capability to any= existing project + created outside Eclipse. + + + =
    Creating a New JSF Project = - JBoss Developer Studio provides the followin= g functionality when working with JSF: - - - - Create new JSF projects - - - Import (open) existing JSF p= rojects - - - Add JSF capability to any ex= isting Eclipse - project - - - Import and add JSF capabilit= y to any existing project - created outside Eclipse - - - JBoss Developer Studio allows you to create = a brand new JSF projects. A new JSF project will have all JSF libraries, tag + JBoss Developer Studi= o allows you to create a brand new JSF projects. A new JSF project will hav= e all JSF libraries, tag libraries and JSF configuration file. = JBoss Developer Studio comes with a number o= f predefined project @@ -308,8 +310,7 @@ = - On the next form enter Project Nam= e. You can also select where to create - the project. + On the next form enter Project Nam= e. You can also select where to create the project or use the de= fault path. JSF Version allows you to select which JSF i= mplementation to use.
    Creating a New JSF Project @@ -1085,6 +1086,8 @@ Create and Register a Custom Converter = +To create and register a custom converter it's necessary to go = through the following steps: + In the Project Explorer view open @@ -1111,10 +1114,10 @@ button. - Type the name of your converter in t= he Converter-id field and + On the form type the name of your co= nverter in the Converter-id field= and name of the class for converters. = After clicking Finish - button your custom con= verter is registered under + button your custom con= verter is registered under the entered name. @@ -1131,7 +1134,7 @@ Now you can create "converter&= quot; class. In the Converte= r section you should see - your Converter-id and Converter-cl= ass. Click on + your Converter= -id and Converter-class. Click on Converter-class<= /property> to generate the source= code. @@ -1149,8 +1152,8 @@ Java class will be created automatic= ally. Leave everything without changes and click - Finish - . + Finish. +
    @@ -1163,9 +1166,8 @@
    - To open converter class click again = on Converter-class link in - the Converter section. Now you are= able to add business - logic of converter. + To open a converter class click agai= n on Converter-class link in + the Converter section. Now you are= able to add a business logic of converter in the Java editor.
    @@ -1182,7 +1184,7 @@ Create and Register a Custom Validator = - With the help of JBDS you can easy develop your own = custom validators. + With the help of JBDS you can easy develop your own = custom validators. Go through the following steps: In the Project Explorer view open @@ -1203,16 +1205,15 @@ Select - Validators - , and click on + Validators and click on Add button. - Type the name of your validator in t= he Valifator-id field and + Type the name of your validator in t= he Validator-id field and name of the class for validators. = After clicking Finish - button your custom val= idator is registered under + button your custom val= idator is registered under the entered name. @@ -1225,16 +1226,15 @@
    = - Now you can create the "validatir" class. + Now you can create the "validator" class. - Let's create - "validator&= quot; - class. In the Validato= r section you should see - your Validator-id and Validator-cl= ass. To generate the source code click on - Validator-class<= /property> - . + In the Validator section you can see + your Validator= -id and Validator-class. = + To generate the source code click = on + Validator-class<= /property>. +
    @@ -1249,8 +1249,8 @@ Java class will be created automatic= ally. Leave everything without changes and click - Finish - . + Finish. +
    @@ -1263,9 +1263,8 @@
    - To open validator class click again = on Validator-class in the - Validator section. Now you are abl= e to write business logic - of validator. + To open validator class click again = on Validator-Class link in the + Validator section. Now you are abl= e to write a business logic of validator in the Java editor.
    @@ -1311,7 +1310,7 @@ Type in the name of your Referenced = Bean and type in or select - Referenced-Bean-Class by using Bro= wse button. + Referenced-Bea= n-Class by using Browse button.
    @@ -1325,7 +1324,7 @@ In the Referenced Bean section you s= hould see your - Referenced-Bean-Name and Reference= d-Bean-Class. Click on the + Referenced-Bea= n-Name and Referenced-Bean-Class<= /property>. Click on the link to open the Java creation wiz= ard. @@ -1341,8 +1340,8 @@ Java class will be created automatic= ally. Leave everything without changes and click - Finish - . + Finish. +
    @@ -1358,7 +1357,7 @@ To open Referenced Bean class click = again on Referenced-Bean-= Class in the Referenced Bean= section. Now you are able - to write business logic of Referen= ced Bean. + to write business logic of Referen= ced Bean in the Java editor.
    Modified: trunk/jsf/docs/userguide/en/modules/struts_support.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/struts_support.xml 2008-01-22 14:46= :06 UTC (rev 5868) +++ trunk/jsf/docs/userguide/en/modules/struts_support.xml 2008-01-22 14:49= :10 UTC (rev 5869) @@ -2,67 +2,54 @@ Struts support - If you prefer develop web applications using Struts= technology + If you prefer develop web applications using Struts technology JBoss Developer Studio also meets your needs. - JBDS supports the Struts 1.1, 1.2.x versions. + JBDS supports the Struts 1.1, = 1.2.x versions. = -
    - - Support for Struts 1.1, 1.2.x - - - When you create a brand new or import an existing proj= ect you can set which - Struts version to use: -
    - Choosing Struts Environment - - - - - -
    -
    -
    +
    Working with Projects + = + JBoss Developer Studio provides the following function= ality when working with Struts: + = + + + Create new Struts projects + + + Import (open) existing Struts projects. = You can import any project structure + + + Add Struts capabilities to any + existing Eclipse project + + + Import and add Struts capabilities to an= y existing project + created outside Eclipse. + + + = + =
    Creating a New Struts Project = - JBoss Developer Studio provides the following w= hen working with Struts. - - - - Create new Struts proje= cts - - - Import (open) existing Struts pro= jects - You can import any project struct= ure - - - Add Struts capabilities= to any - existing Eclipse project - - - Import and add Struts capabilitie= s to any existing project - created outside Eclipse - - + = JBoss Developer Studio includes a New Struts Pr= oject Wizard that radically simplifies the process for getting s= tarted with a new Struts - project. You just need to follow these 4 steps= : - + project. You just need to follow these steps:<= /para> + Select - File > New > P= roject... + File > New > Pr= oject... from the menu bar. T= hen, select JBoss Tools Web= > Struts > Struts Project in this dialog box. = Click - Next - : + Next: + - +
    Selecting Struts Wizard @@ -71,12 +58,12 @@
    - + - On this screen, provide the proje= ct name. You can leave all - other values as they are: + On this form, provide the Project Name. You can also select where to create the project= or use the default path. + Next to Struts Environm= ent set which Struts version to use. - + =
    Creating Struts Project @@ -93,15 +80,23 @@ experience problems with their processi= ng and searching these files. - - Note: - If you select the KickStart template, th= en the project created - will include a simple Hello World type = application that is - ready-to-run. - - + = + You can select the KickStart template, then the= project created + will include a simple Hello World type applica= tion that is + ready to run. + = +
    + Choosing Struts Template + + + + + +
    + = + - Next, you can register this appli= cation with the current + Next, you register this applicati= on with the current servlet container defined for yo= ur workspace (JBoss AS, by default) in order to allow you t= o test your application more easily while still developi= ng it. A new entry will be @@ -115,7 +110,7 @@ don't want to register your= application at this point. -
    +
    Registering The Project at Server</titl= e> <mediaobject> @@ -124,12 +119,12 @@ </imageobject> </mediaobject> </figure> - <orderedlist continuation=3D"continues"> + <itemizedlist> <listitem> - <para>On the next screen, you can selec= t the TLD files to include + <para>On the next form, you can select = the TLD files to include in this project:</para> </listitem> - </orderedlist> + </itemizedlist> <figure> <title>Selecting Tag Libraries @@ -180,7 +175,7 @@ your Eclipse workspace. By adding a Struts Nat= ure to your project, you can now edit files using JBoss Developer Studi= o editors, such as the Struts configuration editor and the JBoss Tool= s JSP editor. - To add Struts Nature t oyour existing Project r= ight-click the project and + To add Struts Nature to your existing Project r= ight-click the project and select JBoss Tools > Add Struts Capa= bilities from the context menu. This will s= tart the process of adding @@ -196,7 +191,7 @@
    = In the wizard you should point to location of y= our deployment descriptor - file web.xml and name of Web application. + file web.xml and name of the project. =
    Choosing Project Location @@ -207,8 +202,8 @@
    After hitting - Next - , you will see the following screen= . This screen simply means + Next, + you will see the following screen.= This screen simply means that you need to add at least one Struts modul= e to your project to make this project a Struts project. Adding a Struts= module means that a new struts-config.xml will be added to your projec= t and registered in the @@ -225,8 +220,8 @@
    = - Here you can select what Struts version, Servle= t class, URL pattern and - TLDs to add to this project. + Here you can select what Struts Versi= on, Servlet Class, URL Pattern and + TLDs to add to this proje= ct. =
    Selecting Struts Support Options @@ -255,7 +250,7 @@ well as register this application with a servl= et container. If you want the libraries (.jar files) will be automatical= ly added to your project, click on the checkbox - Add Libraries. + Add Libraries. =
    Registering the Project at Server</titl= e> @@ -284,10 +279,10 @@ <?dbhtml filename=3D"GraphicalEditorForStrutsConfigurationFi= les.html"?> <title>Graphical Editor for Struts Configuration Files</titl= e> = - <para><property>The Struts configuration file editor</proper= ty> has three modes with - different reprisentation of <emphasis> - <property>struts-config.xml</property> - </emphasis>: Diagram, Tree and Source. The modes can = be selected via the tabs + <para>The Struts configuration file editor has three modes w= ith + different representation of <emphasis> + <property>struts-config.xml</property>: + </emphasis>Diagram, Tree and Source. The modes can be= selected via the tabs at the bottom of the editor. Any changes made in one = mode are immediately visible when you switch to any other mode.</para> = @@ -320,7 +315,7 @@ </mediaobject> </figure> = - <para>The Diagram mode allows to edit the navigation = in your Struts + <para>The Diagram mode allows to edit navigation in y= our Struts application. Just by right-clicking anywhere o= n the diagram, you can use a context menu to create the building blocks o= f a Struts application:</para> <itemizedlist> @@ -348,7 +343,19 @@ </figure> = <para>Along the upper-left side of the editor is a st= ack of seven icons for - changing the behavior of the cursor in the dia= gram. The first icon + changing the behavior of the cursor in the dia= gram. = + </para> + = + <figure> + <title>Editor Icons + + + + + +
    + = + The first icon switches to the default regular selection curs= or, the second to the marquee selection cursor and the third to the = new connection cursor. The last four icons switch the cursor to an insert= cursor for each type of @@ -363,14 +370,7 @@ It's just more efficient to use this curs= or if you're adding more than one action at once. = -
    - Insert Actions Cursor - - - - - -
    + =
    @@ -409,7 +409,7 @@ Source Mode = In the Source mode, you have complete editing c= ontrol of the underlying - XML coding: + XML coding. =
    Source Mode @@ -420,7 +420,8 @@
    = - You can take advantage of code assist: + You can take advantage of code assist. =
    Code Assist @@ -431,7 +432,7 @@
    = - The editor will also immediately flag any error= s: + The editor will also immediately flag any error= s. =
    Errors in Source Mode @@ -443,7 +444,7 @@
    = Finally, you can use the Outline view with the = editor to easily navigate - through the file: + through the file. =
    Outline View @@ -454,14 +455,18 @@
    + = + Find more information about editor features here. + =
    =
    Graphical Editor for Tiles Files = - The Tiles configuration file editor has three main modes: - Tree (shown), Diagram and Source. The modes can be se= lected via the tabs at the + The Tiles configuration file editor has three main mod= es: + Tree, Diagram and Source. The modes can be selected v= ia the tabs at the bottom of the editor. Any changes made in one mode ar= e immediately visible when you switch to any other mode. = @@ -478,9 +483,9 @@ Create New Tiles File = - To create a new Tiles files, right click any fo= lder and select - New > Tiles File - . + To create new Tiles files, right click any fold= er and select + New > Tiles File. +
    Creating a New Tiles File @@ -508,7 +513,7 @@
    = To edit the file, simply right click any node a= nd select among the - available actions: + available actions.
    Editing in Tiles Editor @@ -533,7 +538,7 @@
    = - To create new definitions, simply right click a= nywhere in the diagram: + To create new definitions, simply right click a= nywhere in the diagram.
    Creating New Definition @@ -573,7 +578,8 @@
    - Code assist is available in the Source mode: + Code assist is available in the Source mode.
    Code Assist @@ -609,11 +615,11 @@ Graphical Editor for Struts Validation Files = Providing full support for development Struts applicat= ions JBoss Developer - Studio comes with a visual validation edito= r. To create a + Studio comes with a visual validation editor. To crea= te a new validation file, right click any folder in Projec= t Explorer and select File > New > Other... from the context menu and then - jBoss Tools Web > Struts > Validatio= n File + JBoss Tools Web > Struts > Validatio= n File .
    Creating New Validation File @@ -624,8 +630,8 @@
    = - The validation editor works through five modes: Formse= ts, Validators, Constants - and standard Tree and Source that you can easily swit= ch over to using tabs at + The validation editor works with five modes: Formsets,= Validators, Constants + and standard Tree and Source that you can easily swit= ch over using tabs at the bottom of the editor. The Formsets mode shows forms and their elements on th= e left side and the dialogue for defining their validation rules on the r= ight side. @@ -670,7 +676,7 @@
    = - You can also open your own custom or Struts-standard v= alidation-rules.xml file. + You can also open your own custom or Struts-standard <= emphasis>validation-rules.xml file. The Validators mode shows the validation rules for a s= elected validator. You can of course add your own rules.
    @@ -694,21 +700,19 @@
    Support for Multiple Struts Modules -
    - - Struts Modules - JBoss Developer Studio supports working with St= ruts projects that have - multiple modules. You can= easily do the following: - - - Add new modules - - - Edit modules for an existing proj= ect or during Struts - project import - - -
    + = + JBoss Developer Studio supports working with Struts pr= ojects that have + multiple modules. You can easily do the following: + + + Add new modules + + + Edit modules for an existing project or = during Struts + project import + + + =
    When Importing a Struts Project @@ -731,8 +735,8 @@ Editing Modules in an Existing Project To edit modules in an existing project, right c= lick the project and select - JBoss Tools > Modules Configu= ration - . + JBoss Tools > Modules Configu= ration. +
    Choosing Modules Configuration @@ -742,7 +746,7 @@
    You will see the same screen as above where you= will be able to select a - module and edit its details: + module and edit its details.
    Modules Configuration @@ -792,8 +796,8 @@ The code generation in JBoss Developer Studio is based= on Velocity templates which can be modified for your use. The templates are= located at {RedHatDeveloperStudioHome} > templ= ates > - codegeneration - . + codegeneration. + = There are a number of ways to invoke code generation. = One is simply right-clicking the Struts diagram and selecting @@ -876,8 +880,8 @@ then simply launch the server in debug mode. = Simply right click an Action or a page and select Add = - Breakpoint - . + Breakpoint. +
    Adding Breakpoint --===============9073476170249451309==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 11:02:04 2008 Content-Type: multipart/mixed; boundary="===============5649217386910739503==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5871 - in trunk/jst: test and 1 other directory. Date: Tue, 22 Jan 2008 11:02:04 -0500 Message-ID: --===============5649217386910739503== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vrubezhny Date: 2008-01-22 11:02:04 -0500 (Tue, 22 Jan 2008) New Revision: 5871 Added: trunk/jst/test/ trunk/jst/test/org.jboss.tools.jst.jsp.test/ Log: Share project 'org.jboss.tools.jst.jsp.test' into 'https://svn.jboss.org/re= pos/jbosstools/trunk' http://jira.jboss.org/jira/browse/JBIDE-1585 Proposal list is not filtered = by current input if there is no blank symbol between new entered tag and ne= xt tag, and new tag has no '>' JUnit test for the issue --===============5649217386910739503==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 11:13:11 2008 Content-Type: multipart/mixed; boundary="===============3096447307503748897==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5872 - in trunk/jst/test/org.jboss.tools.jst.jsp.test: META-INF and 27 other directories. Date: Tue, 22 Jan 2008 11:13:10 -0500 Message-ID: --===============3096447307503748897== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vrubezhny Date: 2008-01-22 11:13:10 -0500 (Tue, 22 Jan 2008) New Revision: 5872 Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/.classpath trunk/jst/test/org.jboss.tools.jst.jsp.test/.project trunk/jst/test/org.jboss.tools.jst.jsp.test/META-INF/ trunk/jst/test/org.jboss.tools.jst.jsp.test/META-INF/MANIFEST.MF trunk/jst/test/org.jboss.tools.jst.jsp.test/build.properties trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.clas= spath trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.proj= ect trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.sett= ings/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.sett= ings/org.eclipse.jdt.core.prefs trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.sett= ings/org.eclipse.jst.common.project.facet.core.prefs trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.sett= ings/org.eclipse.wst.common.component trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.sett= ings/org.eclipse.wst.common.project.facet.core.xml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.sett= ings/org.hibernate.eclipse.console.prefs trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.sett= ings/org.jboss.tools.jst.web.xml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.sett= ings/org.jboss.tools.seam.core.prefs trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/Jbide= 1585Test.launch trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/META-INF/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/META-INF/MANIFEST.MF trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/components.xml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/faces-config.xml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/jboss-web.xml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/ajax4jsf-1.1.1-SNAPSHOT.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/antlr-2.7.6.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/antlr-3.0ea8.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/commons-beanutils-1.7.0.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/commons-collections-3.1.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/commons-digester-1.6.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/commons-jci-core-1.0-406301.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/commons-jci-janino-2.4.3.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/drools-compiler-3.0.5.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/drools-core-3.0.5.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/el-ri.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/janino-2.4.3.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/jboss-seam-debug.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/jboss-seam-ioc.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/jboss-seam-mail.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/jboss-seam-pdf.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/jboss-seam-remoting.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/jboss-seam-ui.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/jboss-seam.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/jbpm-3.1.4.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/jsf-facelets.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/oscache-2.3.2.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/richfaces-3.0.1-SNAPSHOT.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/lib/stringtemplate-2.3b6.jar trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/pages.xml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/WEB-INF/web.xml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/error.xhtml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/home.xhtml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/img/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/img/cal-next.png trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/img/cal-prev.png trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/img/dtpick.gif trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/index.html trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/layout/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/layout/display.xhtml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/layout/edit.xhtml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/layout/loginout.xhtml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/layout/menu.xhtml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/layout/template.xhtml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/login.page.xml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/login.xhtml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/stylesheet/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebCo= ntent/stylesheet/theme.css trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/hiber= nate-console.properties trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/resou= rces/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/resou= rces/Jbide1585Test-ds.xml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/a= ction/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/a= ction/org/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/a= ction/org/domain/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/a= ction/org/domain/Jbide1585Test/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/a= ction/org/domain/Jbide1585Test/session/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/a= ction/org/domain/Jbide1585Test/session/Authenticator.java trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/m= odel/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/m= odel/META-INF/ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/m= odel/META-INF/persistence.xml trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/m= odel/components.properties trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/m= odel/import.sql trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/m= odel/messages_en.properties trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/m= odel/seam.properties trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/m= odel/security.drl trunk/jst/test/org.jboss.tools.jst.jsp.test/src/ trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/ trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/ trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/ trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/ trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/ trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/= test/ trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/= test/JstJspAllTests.java trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/= test/ca/ trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/= test/ca/JstJspJbide1585Test.java Log: http://jira.jboss.org/jira/browse/JBIDE-1585 Proposal list is not filtered = by current input if there is no blank symbol between new entered tag and ne= xt tag, and new tag has no '>' JUnit test for the issue Added: trunk/jst/test/org.jboss.tools.jst.jsp.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/jst/test/org.jboss.tools.jst.jsp.test/.classpath = (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/.classpath 2008-01-22 16:13= :10 UTC (rev 5872) @@ -0,0 +1,7 @@ + + + + + + + Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/.classpath ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.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/jst/test/org.jboss.tools.jst.jsp.test/.project = (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/.project 2008-01-22 16:13:1= 0 UTC (rev 5872) @@ -0,0 +1,28 @@ + + + org.jboss.tools.jst.jsp.test + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/.project ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.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/jst/test/org.jboss.tools.jst.jsp.test/META-INF/MANIFEST.MF = (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/META-INF/MANIFEST.MF 2008-0= 1-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,18 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Test +Bundle-SymbolicName: org.jboss.tools.jst.jsp.test +Bundle-Version: 1.0.0 +Require-Bundle: org.junit, + org.jboss.tools.common.test, + org.jboss.tools.tests, + org.eclipse.core.resources, + org.eclipse.core.runtime, + org.eclipse.ui, + org.eclipse.jface.text, + org.eclipse.wst.sse.ui, + org.eclipse.ui.ide, + org.eclipse.wst.sse.core, + org.jboss.tools.jst.jsp, + org.jboss.tools.common.text.ext, + org.jboss.tools.jst.web Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/META-INF/M= ANIFEST.MF ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.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/jst/test/org.jboss.tools.jst.jsp.test/build.properties = (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/build.properties 2008-01-22= 16:13:10 UTC (rev 5872) @@ -0,0 +1,3 @@ +source.. =3D src/ +bin.includes =3D META-INF/,\ + . Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/build.prop= erties ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.= 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/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.cla= sspath (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.cla= sspath 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,10 @@ + + + + + + + + + + Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/.classpath ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.= 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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.pro= ject (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.pro= ject 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,48 @@ + + + Jbide1585Test + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.jboss.tools.common.verification.verifybuilder + + + + + org.jboss.tools.seam.core.seambuilder + + + + + org.hibernate.eclipse.console.hibernateBuilder + + + + + + org.eclipse.wst.common.project.facet.core.nature + org.eclipse.jdt.core.javanature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.eclipse.jem.workbench.JavaEMFNature + org.jboss.tools.jsf.jsfnature + org.jboss.tools.seam.core.seamnature + org.hibernate.eclipse.console.hibernateNature + + Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/.project ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.= settings/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/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.set= tings/org.eclipse.jdt.core.prefs (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.set= tings/org.eclipse.jdt.core.prefs 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,7 @@ +#Tue Jan 22 16:19:35 MSK 2008 +eclipse.preferences.version=3D1 +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/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/.settings/org.eclipse.jdt.core.prefs ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.= settings/org.eclipse.jst.common.project.facet.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/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.set= tings/org.eclipse.jst.common.project.facet.core.prefs = (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.set= tings/org.eclipse.jst.common.project.facet.core.prefs 2008-01-22 16:13:10 U= TC (rev 5872) @@ -0,0 +1,4 @@ +#Tue Jan 22 16:19:48 MSK 2008 +classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jd= t.internal.debug.ui.launcher.StandardVMType\:\:jdk1.5.0_07/owners=3Djst.jav= a\:5.0 +classpath.helper/org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRu= ntimeInitializer\:\:JBoss\ 4.2\ Runtime/owners=3Djst.seam\:1.2;jst.web\:2.5= ;jst.jsf\:1.2 +eclipse.preferences.version=3D1 Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/.settings/org.eclipse.jst.common.project.facet.core.prefs ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.= settings/org.eclipse.wst.common.component =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.set= tings/org.eclipse.wst.common.component (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.set= tings/org.eclipse.wst.common.component 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,10 @@ + + + + + + + + + + Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.= settings/org.eclipse.wst.common.project.facet.core.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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.set= tings/org.eclipse.wst.common.project.facet.core.xml = (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.set= tings/org.eclipse.wst.common.project.facet.core.xml 2008-01-22 16:13:10 UTC= (rev 5872) @@ -0,0 +1,12 @@ + + + + + + + + + + + + Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/.settings/org.eclipse.wst.common.project.facet.core.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.= settings/org.hibernate.eclipse.console.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/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.set= tings/org.hibernate.eclipse.console.prefs (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.set= tings/org.hibernate.eclipse.console.prefs 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,4 @@ +#Tue Jan 22 16:19:49 MSK 2008 +default.configuration=3DJbide1585Test +eclipse.preferences.version=3D1 +hibernate3.enabled=3Dtrue Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/.settings/org.hibernate.eclipse.console.prefs ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.= settings/org.jboss.tools.jst.web.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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.set= tings/org.jboss.tools.jst.web.xml (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.set= tings/org.jboss.tools.jst.web.xml 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1 @@ +<= file-system model-entity=3D"FileSystemFolder" location=3D"%workspace.home%/= classes" NAME=3D"classes"/> \ No newline at end of file Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/.settings/org.jboss.tools.jst.web.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.= settings/org.jboss.tools.seam.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/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.set= tings/org.jboss.tools.seam.core.prefs (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/.set= tings/org.jboss.tools.seam.core.prefs 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,9 @@ +#Tue Jan 22 16:19:48 MSK 2008 +action.package=3Dorg.domain.Jbide1585Test.session +eclipse.preferences.version=3D1 +model.package=3Dorg.domain.Jbide1585Test.entity +seam.project.connection.profile=3DDefaultDS +seam.project.deployment.type=3Dwar +seam.runtime.name=3DSeam12RT +seam.test.project=3DJbide1585Test-test +test.package=3Dorg.domain.Jbide1585Test.test Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/.settings/org.jboss.tools.seam.core.prefs ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/J= bide1585Test.launch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/Jbid= e1585Test.launch (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/Jbid= e1585Test.launch 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,7 @@ + + + + + + + Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/Jbide1585Test.launch ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/META-INF/MANIFEST.MF (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/META-INF/MANIFEST.MF 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: = + Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/META-INF/MANIFEST.MF ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/components.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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/WEB-INF/components.xml (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/WEB-INF/components.xml 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,56 @@ + + + + + = + + = + + + + = + + = + + /security.drl + + + + = + + + + + + + = + + = + + + = + Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/components.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/faces-config.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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/WEB-INF/faces-config.xml (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/WEB-INF/faces-config.xml 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,27 @@ + + + + + messages + + + + + + + org.jboss.seam.jsf.TransactionalSeamPhaseListener + + = + + + + Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/faces-config.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/jboss-web.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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/WEB-INF/jboss-web.xml (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/WEB-INF/jboss-web.xml 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,8 @@ + = + + + seam.jboss.org:loader=3DJbide1585Test + java2ParentDelegation=3Dfalse + + + Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/jboss-web.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/ajax4jsf-1.1.1-SNAPSHOT.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/ajax4jsf-1.1.1-SNAPSHOT.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/antlr-2.7.6.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/antlr-2.7.6.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/antlr-3.0ea8.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/antlr-3.0ea8.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/commons-beanutils-1.7.0.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/commons-beanutils-1.7.0.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/commons-collections-3.1.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/commons-collections-3.1.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/commons-digester-1.6.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/commons-digester-1.6.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/commons-jci-core-1.0-406301.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/commons-jci-core-1.0-406301.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/commons-jci-janino-2.4.3.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/commons-jci-janino-2.4.3.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/drools-compiler-3.0.5.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/drools-compiler-3.0.5.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/drools-core-3.0.5.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/drools-core-3.0.5.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/el-ri.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/el-ri.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/janino-2.4.3.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/janino-2.4.3.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/jboss-seam-debug.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/jboss-seam-debug.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/jboss-seam-ioc.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/jboss-seam-ioc.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/jboss-seam-mail.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/jboss-seam-mail.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/jboss-seam-pdf.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/jboss-seam-pdf.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/jboss-seam-remoting.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/jboss-seam-remoting.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/jboss-seam-ui.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/jboss-seam-ui.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/jboss-seam.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/jboss-seam.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/jbpm-3.1.4.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/jbpm-3.1.4.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/jsf-facelets.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/jsf-facelets.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/oscache-2.3.2.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/oscache-2.3.2.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/richfaces-3.0.1-SNAPSHOT.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/richfaces-3.0.1-SNAPSHOT.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/lib/stringtemplate-2.3b6.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) Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/lib/stringtemplate-2.3b6.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/pages.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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/WEB-INF/pages.xml (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/WEB-INF/pages.xml 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + Not found + + + = + + + Not found + + + = + + + + Another user changed the same data, please try again<= /message> + + + = + + + You don't have permission to do this + + + = + + + Please log in first + + + = + + + Unexpected error, please try again + + + = + \ No newline at end of file Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/pages.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/WEB-INF/web.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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/WEB-INF/web.xml (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/WEB-INF/web.xml 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,95 @@ + + + + + = + + Ajax4jsf Filter + ajax4jsf + org.ajax4jsf.Filter + + = + + ajax4jsf + *.seam + + = + + org.ajax4jsf.VIEW_HANDLERS + org.jboss.seam.ui.facelet.SeamFaceletViewHandler + + = + + org.ajax4jsf.SKIN + blueSky + + = + + = + + org.jboss.seam.servlet.SeamListener + + = + + Seam Filter + org.jboss.seam.web.SeamFilter + + + + Seam Filter + /* + + = + + Seam Resource Servlet + org.jboss.seam.servlet.ResourceServlet + + = + + Seam Resource Servlet + /seam/resource/* + + = + + = + + facelets.DEVELOPMENT + true + + = + + = + + javax.faces.STATE_SAVING_METHOD + client + + = + + javax.faces.DEFAULT_SUFFIX + .xhtml + + + + Faces Servlet + javax.faces.webapp.FacesServlet + 1 + + = + + Faces Servlet + *.seam + + = + = + Restrict raw XHTML Documents + + XHTML + *.xhtml + + + + = + Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/WEB-INF/web.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/error.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/error.xhtml (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/error.xhtml 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,18 @@ + + + + + +

    Error

    +

    Something bad happened :-(

    + = + + = +
    = +
    Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/error.xhtml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/home.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/home.xhtml (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/home.xhtml 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,31 @@ + + + + + + + = + + Welcome! +

    This empty shell application includes:

    +
      +
    • Ant build script
    • +
    • Deployment to JBoss AS
    • +
    • Integration testing using TestNG and JBoss Embeddable EJB3
    • +
    • EJB 3.0 Seam components
    • +
    • Templated Facelets views
    • +
    • HSQL (or MySQL) Datasource
    • +
    • Default CSS stylesheet
    • +
    • Internationalization support
    • +
    +
    + = +
    = +
    Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/home.xhtml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/img/cal-next.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/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/img/cal-next.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/img/cal-prev.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/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/img/cal-prev.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/img/dtpick.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/img/dtpick.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/index.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/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/index.html (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/index.html 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/index.html ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/layout/display.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/layout/display.xhtml (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/layout/display.xhtml 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,16 @@ + + = +
    = + + + + + + +
    + = +
    \ No newline at end of file Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/layout/display.xhtml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/layout/edit.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/layout/edit.xhtml (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/layout/edit.xhtml 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,24 @@ + + = +
    + = + + + * + + = + + + + + + = + = + +
    + = +
    \ No newline at end of file Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/layout/edit.xhtml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/layout/loginout.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/layout/loginout.xhtml (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/layout/loginout.xhtml 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,12 @@ +
    + +  |  + + + | +
    Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/layout/loginout.xhtml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/layout/menu.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/layout/menu.xhtml (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/layout/menu.xhtml 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,17 @@ + + + + + + + + + + + Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/layout/menu.xhtml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/layout/template.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/layout/template.xhtml (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/layout/template.xhtml 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,30 @@ + + + = + + Jbide1585Test + + + + + + + + + +
    + +
    + +
    + Powered by Seam. + Generated by seam-gen. +
    + + + Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/layout/template.xhtml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/login.page.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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/login.page.xml (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/login.page.xml 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/login.page.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/login.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/login.xhtml (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/login.xhtml 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,45 @@ + + + + + = + + = + + = + + Login + = +

    Please login using any username and password

    + = +
    + + Username + + Password + + Remember me + + +
    + = +
    + = +
    + +
    + = +
    + +
    = +
    Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/login.xhtml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/W= ebContent/stylesheet/theme.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/stylesheet/theme.css (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/WebC= ontent/stylesheet/theme.css 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,289 @@ +a:active, a:link, a:visited { + color: #0D5798; = +} +a:hover { + color: #8CAFCD; +} + +input, textarea { + border: 1px solid #BBBBBB; + font-size: 10px; + background: #F0F8FF; + color: black; +} + +input[type=3D'submit'], input[type=3D'button'] { + background: #4477AA; + color: white; + margin: 5px; + border-color: gray; +} + +.tableControl, .actionButtons { + width: 100%; +} + +.tableControl { + text-align: right; +} + +.footer { + text-align: center; + font-size: 10px; +} + +.rich-table { + width:100%; +} + +h1 { + font-family: Arial,sans-serif; + color: #578BB8; + font-size: 1.6em; + margin-top: 0; +} + +body { + margin: 0px; + font-family: Arial,sans-serif; + color: #616161; +} + +.body { + padding: 30px; +} + +.columnHeader:hover +{ + color: #FF6600; +} + +.message { + border: 1px solid #FFCC00; + padding: 5px; + margin-top: 5px; + margin-bottom: 5px; + background-color: #F0F8FF; + font-size: 12px; +} + +.name { + vertical-align: top; + font-weight: bold; + width: 115px; + float: left; + padding: 5px; + margin-top: 3px; + clear: left; +} +.value { + float: left; + padding: 5px; +} +.error { + margin-left: 20px; + margin-top: 5px; + float: left; + padding: 5px; + border: 1px solid red; +} + +.errors { + color: red; +} +.errors input { + border: 1px solid red; +} +.errors textarea { + border: 1px solid red; +} +.required { + color: red; + padding-left: 2px; +} + +/* date picker style */ +div.seam-date = +{ + margin-top: 5px; + border: 1px solid #AAAAAA; + background-color: #FFFFFF; = + color: #505050; + font-family: Tahoma, Arial, Helvetica, sans-serif; + font-size: 12px; +} + +table.seam-date td { + font-family: Tahoma, Arial, Helvetica, sans-serif; + font-weight: 12px; = +} + +.seam-date-monthNames +{ + width: 70px; + border: 1px solid #dddddd; + border-right: 3px solid #444444; + border-bottom: 3px solid #444444; + background-color: #ffffff; = + font-size: 12px; + cursor: pointer; = + font-family: Tahoma, Arial, Helvetica, sans-serif; + font-weight: normal; +} + +a.seam-date-monthNameLink, a.seam-date-monthNameLink:visited +{ + text-align: center; + display: block; + color: #555555; = +} + +a.seam-date-monthNameLink:hover +{ = + background-color: #CCCCCC; + color: red; = +} + +.seam-date-years +{ + height: 10em; + overflow: auto; + width: 60px; + border: 1px solid #dddddd; + border-right: 3px solid #444444; + border-bottom: 3px solid #444444; + background-color: #ffffff; = + font-size: 12px; + cursor: pointer; = + font-family: Tahoma, Arial, Helvetica, sans-serif; + font-weight: normal; +} + +a.seam-date-yearLink, a.seam-date-yearLink:visited +{ + text-align: center; + display: block; + color: #555555; = +} + +a.seam-date-yearLink:hover +{ + background-color: #CCCCCC; + color: red; = +} = + +tr.seam-date-header +{ + padding: 2px 0px 2px 0px; +} + = +td.seam-date-header +{ + padding: 0px 8px 0px 8px; + text-align: center; + color: gray; + font-family: Tahoma, Arial, Helvetica, sans-serif; + font-weight: bold; + font-size: 12px; = +} + +td.seam-date-header-prevMonth +{ + background-image: url("../img/cal-prev.png"); + background-repeat: no-repeat; + background-position: center; + padding: 0px 2px 0px 2px; + width: 17px; + height: 16px; + margin-left: 2px; +} + +td.seam-date-header-nextMonth +{ + background-image: url("../img/cal-next.png"); + background-repeat: no-repeat; + background-position: center; + padding: 0px 2px 0px 2px; + width: 17px; + height: 16px; + margin-right: 2px; +} + +tr.seam-date-headerDays +{ + color: white; + font-weight: normal; +} + +tr.seam-date-headerDays > td +{ + background-color: #CCCCCC; + border: 1px solid #AAAAAA; + color: white; + text-align: center; + width: 26px; = +} + +tr.seam-date-footer +{ + background-color: white; = + color: #505050; + font-weight: bold; +} + +tr.seam-date-footer > td +{ + text-align: center; +} + +td.seam-date-inMonth +{ + background-color: white; = + color: black; + font-weight: normal; + cursor: pointer; + border: 1px solid #ece9d8; +} + +td.seam-date-outMonth +{ + background-color: white; = + color: #999999; + font-weight: normal; + cursor: pointer; + border: 1px solid #ece9d8; +} + +td.seam-date-selected +{ + background-color: #CCCCCC; = + border: 1px solid #AAAAAA; = + color: black; + font-weight: normal; +} + +td.seam-date-dayOff-inMonth +{ + background-color: #efefef; + color: black; + font-weight: normal; + cursor: pointer; + border: 1px solid #ece9d8; +} + +td.seam-date-dayOff-outMonth +{ + background-color: #efefef; + color: #999999; + font-weight: normal; + cursor: pointer; + border: 1px solid #ece9d8; +} + +td.seam-date-hover = +{ + background-color: #CCCCCC; + border: 1px solid #AAAAAA; + cursor: pointer; + color: red; +} \ No newline at end of file Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/WebContent/stylesheet/theme.css ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/h= ibernate-console.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/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/hibe= rnate-console.properties (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/hibe= rnate-console.properties 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,10 @@ +#File used by hibernate tools to override and other container= specific settings in persistence.xml +hibernate.connection.password=3D +hibernate.connection.username=3Dsa +hibernate.connection.driver_class=3Dorg.hsqldb.jdbcDriver +hibernate.dialect=3Dorg.hibernate.dialect.HSQLDialect +hibernate.connection.url=3Djdbc:hsqldb:. + +hibernate.connection.provider_class org.hibernate.connection.DriverManager= ConnectionProvider +hibernate.datasource=3D +hibernate.transaction.manager_lookup_class=3D \ No newline at end of file Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/hibernate-console.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/r= esources/Jbide1585Test-ds.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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/reso= urces/Jbide1585Test-ds.xml (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/reso= urces/Jbide1585Test-ds.xml 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,21 @@ + + + = + + Jbide1585TestDatasource + jdbc:hsqldb:. + org.hsqldb.jdbcDriver + sa + + + + = + + Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/resources/Jbide1585Test-ds.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/s= rc/action/org/domain/Jbide1585Test/session/Authenticator.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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/= action/org/domain/Jbide1585Test/session/Authenticator.java = (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/= action/org/domain/Jbide1585Test/session/Authenticator.java 2008-01-22 16:13= :10 UTC (rev 5872) @@ -0,0 +1,26 @@ +package org.domain.Jbide1585Test.session; + +import org.jboss.seam.annotations.In; +import org.jboss.seam.annotations.Logger; +import org.jboss.seam.annotations.Name; +import org.jboss.seam.log.Log; +import org.jboss.seam.security.Identity; + + +(a)Name("authenticator") +public class Authenticator +{ + @Logger Log log; + = + @In Identity identity; + = + public boolean authenticate() + { + log.info("authenticating #0", identity.getUsername()); + //write your authentication logic here, + //return true if the authentication was + //successful, false otherwise + identity.addRole("admin"); + return true; + } +} Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/src/action/org/domain/Jbide1585Test/session/Authenticator.java ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/s= rc/model/META-INF/persistence.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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/= model/META-INF/persistence.xml (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/= model/META-INF/persistence.xml 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,19 @@ + + + + = + + org.hibernate.ejb.HibernatePersistence + java:/Jbide1585TestDatasource + + + + + + + + = + Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/src/model/META-INF/persistence.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/s= rc/model/components.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/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/= model/components.properties (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/= model/components.properties 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,4 @@ +# +#Tue Jan 22 16:19:44 MSK 2008 +jndiPattern=3D\#{ejbName}/local +embeddedEjb=3Dfalse Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/src/model/components.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/s= rc/model/import.sql =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/s= rc/model/messages_en.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/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/= model/messages_en.properties (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/= model/messages_en.properties 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,115 @@ +up=3D\u2191 +down=3D\u2193 +left=3D\u2039 +right=3D\u203A + +validator.assertFalse=3Dvalidation failed +validator.assertTrue=3Dvalidation failed +validator.future=3Dmust be a future date +validator.length=3Dlength must be between {min} and {max} +validator.max=3Dmust be less than or equal to {value} +validator.min=3Dmust be greater than or equal to {value} +validator.notNull=3Dmay not be null +validator.past=3Dmust be a past date +validator.pattern=3Dmust match "{regex}" +validator.range=3Dmust be between {min} and {max} +validator.size=3Dsize must be between {min} and {max} +validator.email=3Dmust be a well-formed email address + +org.jboss.seam.loginFailed=3DLogin failed +org.jboss.seam.loginSuccessful=3DWelcome, #0 + +org.jboss.seam.TransactionFailed=3DTransaction failed +org.jboss.seam.NoConversation=3DThe conversation ended, timed out or was p= rocessing another request +org.jboss.seam.IllegalNavigation=3DIllegal navigation +org.jboss.seam.ProcessEnded=3DProcess #0 already ended +org.jboss.seam.ProcessNotFound=3DProcess #0 not found +org.jboss.seam.TaskEnded=3DTask #0 already ended +org.jboss.seam.TaskNotFound=3DTask #0 not found +org.jboss.seam.NotLoggedIn=3DPlease log in first + +javax.faces.component.UIInput.CONVERSION=3Dvalue could not be converted to= the expected type +javax.faces.component.UIInput.REQUIRED=3Dvalue is required +javax.faces.component.UIInput.UPDATE=3Dan error occurred when processing y= our submitted information +javax.faces.component.UISelectOne.INVALID=3Dvalue is not valid +javax.faces.component.UISelectMany.INVALID=3Dvalue is not valid + +javax.faces.converter.BigDecimalConverter.DECIMAL=3Dvalue must be a number +javax.faces.converter.BigDecimalConverter.DECIMAL_detail=3Dvalue must be a= signed decimal number consisting of zero or more digits, optionally follow= ed by a decimal point and fraction, eg. {1} +javax.faces.converter.BigIntegerConverter.BIGINTEGER=3Dvalue must be an in= teger +javax.faces.converter.BigIntegerConverter.BIGINTEGER_detail=3Dvalue must b= e a signed integer number consisting of zero or more digits +javax.faces.converter.BooleanConverter.BOOLEAN=3Dvalue must be true or fal= se +javax.faces.converter.BooleanConverter.BOOLEAN_detail=3Dvalue must be true= or false (any value other than true will evaluate to false) +javax.faces.converter.ByteConverter.BYTE=3Dvalue must be a number between = 0 and 255 +javax.faces.converter.ByteConverter.BYTE_detail=3Dvalue must be a number b= etween 0 and 255 +javax.faces.converter.CharacterConverter.CHARACTER=3Dvalue must be a chara= cter +javax.faces.converter.CharacterConverter.CHARACTER_detail=3Dvalue must be = a valid ASCII character +javax.faces.converter.DateTimeConverter.DATE=3Dvalue must be a date +javax.faces.converter.DateTimeConverter.DATE_detail=3Dvalue must be a date= , eg. {1} +javax.faces.converter.DateTimeConverter.TIME=3Dvalue must be a time +javax.faces.converter.DateTimeConverter.TIME_detail=3Dvalue must be a time= , eg. {1} +javax.faces.converter.DateTimeConverter.DATETIME=3Dvalue must be a date an= d time +javax.faces.converter.DateTimeConverter.DATETIME_detail=3Dvalue must be a = date and time, eg. {1} +javax.faces.converter.DateTimeConverter.PATTERN_TYPE=3Da pattern or type a= ttribute must be specified to convert the value +javax.faces.converter.DoubleConverter.DOUBLE=3Dvalue must be a number +javax.faces.converter.DoubleConverter.DOUBLE_detail=3Dvalue must be a numb= er between 4.9E-324 and 1.7976931348623157E308 +javax.faces.converter.EnumConverter.ENUM=3Dvalue must be convertible to an= enum +javax.faces.converter.EnumConverter.ENUM_detail=3Dvalue must be convertibl= e to an enum or from the enum that contains the constant {1} +javax.faces.converter.EnumConverter.ENUM_NO_CLASS=3Dvalue must be converti= ble to an enum or from the enum, but no enum class provided +javax.faces.converter.EnumConverter.ENUM_NO_CLASS_detail=3Dvalue must be c= onvertible to an enum or from the enum, but no enum class provided +javax.faces.converter.FloatConverter.FLOAT=3Dvalue must be a number +javax.faces.converter.FloatConverter.FLOAT_detail=3Dvalue must be a number= between 1.4E-45 and 3.4028235E38 +javax.faces.converter.IntegerConverter.INTEGER=3Dvalue must be an integer +javax.faces.converter.IntegerConverter.INTEGER_detail=3Dvalue must be an i= nteger number between -2147483648 and 2147483647 +javax.faces.converter.LongConverter.LONG=3Dvalue must be an integer +javax.faces.converter.LongConverter.LONG_detail=3Dmust be an integer numbe= r between -9223372036854775808 and 9223372036854775807 +javax.faces.converter.NumberConverter.CURRENCY=3Dvalue must be a currency = amount +javax.faces.converter.NumberConverter.CURRENCY_detail=3Dvalue must be a cu= rrency amount, eg. {1} +javax.faces.converter.NumberConverter.PERCENT=3Dvalue must be a percentage= amount +javax.faces.converter.NumberConverter.PERCENT_detail=3Dvalue must be a per= centage amount, eg. {1} +javax.faces.converter.NumberConverter.NUMBER=3Dvalue must be a number +javax.faces.converter.NumberConverter.NUMBER_detail=3Dvalue must be a numb= er +javax.faces.converter.NumberConverter.PATTERN=3Dvalue must be a number +javax.faces.converter.NumberConverter.PATTERN_detail=3Dvalue must be a num= ber +javax.faces.converter.ShortConverter.SHORT=3Dvalue must be an integer +javax.faces.converter.ShortConverter.SHORT_detail=3Dvalue must be an integ= er number between -32768 and 32767 + +javax.faces.validator.DoubleRangeValidator.MAXIMUM=3Dvalue must be less th= an or equal to {0} +javax.faces.validator.DoubleRangeValidator.MINIMUM=3Dvalue must be greater= than or equal to {0} +javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE=3Dvalue must be be= tween {0} and {1} +javax.faces.validator.DoubleRangeValidator.TYPE=3Dvalue is not of the corr= ect type +javax.faces.validator.LengthValidator.MAXIMUM=3Dvalue is must be shorter t= han or equal to {0} characters +javax.faces.validator.LengthValidator.MINIMUM=3Dvalue is must be longer th= an or equal to {0} characters +javax.faces.validator.LongRangeValidator.MAXIMUM=3Dvalue must be less than= or equal to {0} +javax.faces.validator.LongRangeValidator.MINIMUM=3Dvalue must be greater t= han or equal to {0} +javax.faces.validator.LongRangeValidator.NOT_IN_RANGE=3Dvalue must be betw= een {0} and {1} +javax.faces.validator.LongRangeValidator.TYPE=3Dvalue is not of the correc= t type + +javax.faces.validator.NOT_IN_RANGE=3Dvalue must be between {0} and {1} +javax.faces.converter.STRING=3Dvalue could not be converted to a string + +#JSF 1.1: +javax.faces.convert.BigDecimalConverter.CONVERSION value must be a number +javax.faces.convert.BigDecimalConverter.CONVERSION_detail value must be a = number +javax.faces.convert.BigIntegerConverter.CONVERSION value must be an integre +javax.faces.convert.BigIntegerConverter.CONVERSION_detail value must be a = number +javax.faces.convert.BooleanConverter.CONVERSION value must be true or false +javax.faces.convert.BooleanConverter.CONVERSION_detail value must be true = or false +javax.faces.convert.ByteConverter.CONVERSION value must be a byte +javax.faces.convert.ByteConverter.CONVERSION_detail value must be a byte +javax.faces.convert.CharacterConverter.CONVERSION value must be a character +javax.faces.convert.CharacterConverter.CONVERSION_detail value must be a c= haracter +javax.faces.convert.DateTimeConverter.CONVERSION value must be a datetime +javax.faces.convert.DateTimeConverter.CONVERSION_detail value must be a da= tetime +javax.faces.convert.DoubleConverter.CONVERSION value must be a number +javax.faces.convert.DoubleConverter.CONVERSION_detail value must be a numb= er +javax.faces.convert.FloatConverter.CONVERSION value must be a number +javax.faces.convert.FloatConverter.CONVERSION_detail value must be a number +javax.faces.convert.IntegerConverter.CONVERSION value must be an integer +javax.faces.convert.IntegerConverter.CONVERSION_detail value must be an in= teger +javax.faces.convert.LongConverter.CONVERSION value must be an integer +javax.faces.convert.LongConverter.CONVERSION_detail value must be a long i= nteger +javax.faces.convert.NumberConverter.CONVERSION value must be a number +javax.faces.convert.NumberConverter.CONVERSION_detail value must be a numb= er +javax.faces.convert.ShortConverter.CONVERSION value must be an integer +javax.faces.convert.ShortConverter.CONVERSION_detail value must be a short= integer Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/src/model/messages_en.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/s= rc/model/seam.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 Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/J= bide1585Test/src/model/seam.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/s= rc/model/security.drl =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/= model/security.drl (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/projects/Jbide1585Test/src/= model/security.drl 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,6 @@ +package Permissions; + +import java.security.Principal; + +import org.jboss.seam.security.PermissionCheck; +import org.jboss.seam.security.Role; \ No newline at end of file Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/= jsp/test/JstJspAllTests.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/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp= /test/JstJspAllTests.java (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp= /test/JstJspAllTests.java 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,16 @@ +package org.jboss.tools.jst.jsp.test; + +import junit.framework.Test; +import junit.framework.TestSuite; + +public class JstJspAllTests { + + public static Test suite() { + TestSuite suite =3D new TestSuite("Test for org.jboss.tools.jst.jsp.test= "); + //$JUnit-BEGIN$ + + //$JUnit-END$ + return suite; + } + +} Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jb= oss/tools/jst/jsp/test/JstJspAllTests.java ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/= jsp/test/ca/JstJspJbide1585Test.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/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp= /test/ca/JstJspJbide1585Test.java (rev 0) +++ trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp= /test/ca/JstJspJbide1585Test.java 2008-01-22 16:13:10 UTC (rev 5872) @@ -0,0 +1,203 @@ +package org.jboss.tools.jst.jsp.test.ca; + +import java.util.List; +import java.util.Set; +import java.util.TreeSet; + +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IProject; +import org.eclipse.core.resources.IResource; +import org.eclipse.jface.text.BadLocationException; +import org.eclipse.jface.text.IDocument; +import org.eclipse.jface.text.IRegion; +import org.eclipse.jface.text.ITextViewer; +import org.eclipse.jface.text.TextUtilities; +import org.eclipse.jface.text.contentassist.ICompletionProposal; +import org.eclipse.jface.text.contentassist.IContentAssistProcessor; +import org.eclipse.jface.text.contentassist.IContentAssistant; +import org.eclipse.jface.text.contentassist.IContentAssistantExtension; +import org.eclipse.swt.widgets.Display; +import org.eclipse.ui.IEditorPart; +import org.eclipse.ui.PartInitException; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.part.FileEditorInput; +import org.eclipse.wst.sse.ui.internal.StructuredTextViewer; +import org.jboss.tools.common.test.util.TestProjectProvider; +import org.jboss.tools.jst.jsp.contentassist.RedHatCustomCompletionProposa= l; +import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor; +import org.jboss.tools.jst.jsp.jspeditor.JSPTextEditor; +import org.jboss.tools.test.util.xpl.EditorTestHelper; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +public class JstJspJbide1585Test extends TestCase { + TestProjectProvider provider =3D null; + IProject project =3D null; + boolean makeCopy =3D false; + private static final String PROJECT_NAME =3D "Jbide1585Test"; + private static final String PAGE_NAME =3D "/WebContent/login.xhtml"; + private static final String TAG_OPEN_STRING =3D "<"; + private static final String PREFIX_STRING =3D "ui:in"; + private static final String INSERTION_STRING =3D TAG_OPEN_STRING + PREFIX= _STRING; + + public static Test suite() { + return new TestSuite(JstJspJbide1585Test.class); + } + + public void setUp() throws Exception { + provider =3D new TestProjectProvider("org.jboss.tools.jst.jsp.test", nul= l, PROJECT_NAME, makeCopy); = + project =3D provider.getProject(); + Throwable exception =3D null; + try { + project.refreshLocal(IResource.DEPTH_INFINITE, null); + } catch (Exception x) { + exception =3D x; + x.printStackTrace(); + } + assertNull("An exception caught: " + (exception !=3D null? exception.get= Message() : ""), exception); + } + + protected void tearDown() throws Exception { + if(provider !=3D null) { + provider.dispose(); + } + } + + public void testJstJspJbide1585() { + try { + EditorTestHelper.joinBackgroundActivities(); + } catch (Exception e) { + e.printStackTrace(); + } = + assertTrue("Test project \"" + PROJECT_NAME + "\" is not loaded", (proje= ct !=3D null)); + + IFile jspFile =3D project.getFile(PAGE_NAME); + + assertTrue("The file \"" + PAGE_NAME + "\" is not found", (jspFile !=3D = null)); + assertTrue("The file \"" + PAGE_NAME + "\" is not found", (jspFile.exist= s())); + + FileEditorInput editorInput =3D new FileEditorInput(jspFile); + Throwable exception =3D null; + IEditorPart editorPart =3D null; + try { + editorPart =3D PlatformUI.getWorkbench().getActiveWorkbenchWindow().get= ActivePage().openEditor(editorInput, "org.jboss.tools.jst.jsp.jspeditor.JSP= TextEditor"); + } catch (PartInitException ex) { + exception =3D ex; + ex.printStackTrace(); + assertTrue("The JSP Visual Editor couln'd be initialized.", false); + } + + JSPMultiPageEditor jspEditor =3D null; + = + if (editorPart instanceof JSPMultiPageEditor) + jspEditor =3D (JSPMultiPageEditor)editorPart; + = + // Delay for 3 seconds so that + // the Favorites view can be seen. + try { + EditorTestHelper.joinBackgroundActivities(); + } catch (Exception e) { + e.printStackTrace(); + assertTrue("Waiting for the jobs to complete has failed.", false); + } = + delay(3000); + + JSPTextEditor jspTextEditor =3D jspEditor.getJspEditor(); + StructuredTextViewer viewer =3D jspTextEditor.getTextViewer(); + IDocument document =3D viewer.getDocument(); + IContentAssistant contentAssistant =3D jspTextEditor.getSVConfiguration(= ).getContentAssistant(viewer); + + = + // Find start of tag + String documentContent =3D document.get(); + int start =3D (documentContent =3D=3D null ? -1 : documentContent.indexO= f(" 0) { +// System.out.println("#" + offsetToTest + ": ERROR MESSAGE: " + errorMe= ssage); +// } + + assertTrue("Content Assistant peturned no proposals", (result !=3D null = && result.length > 0)); + = + for (int i =3D 0; i < result.length; i++) { + assertTrue("Content Assistant peturned proposals which type (" + result= [i].getClass().getName() + ") differs from RedHatCustomCompletionProposal",= (result[i] instanceof RedHatCustomCompletionProposal)); + RedHatCustomCompletionProposal proposal =3D (RedHatCustomCompletionProp= osal)result[i]; + String proposalString =3D proposal.getReplacementString(); + int proposalReplacementOffset =3D proposal.getReplacementOffset(); + int proposalReplacementLength =3D proposal.getReplacementLength(); +// try { +// System.out.println("Result#" + i + " =3D=3D> Offs: " + offsetToTest = + " RedHatCustomCompletionProposal[" + proposalString + "], Offs: " + propo= salReplacementOffset + ", Len: " + proposalReplacementLength + ", Doc: [" += document.get(proposalReplacementOffset, proposalReplacementLength)); +// } catch (BadLocationException e) { +// } + assertTrue("The proposal replacement Offset is not correct.", proposalR= eplacementOffset =3D=3D start + TAG_OPEN_STRING.length()); + assertTrue("The proposal replacement Length is not correct.", proposalR= eplacementLength =3D=3D PREFIX_STRING.length()); + assertTrue("The proposal isn\'t filtered properly in the Content Assist= ant.", proposalString.startsWith(PREFIX_STRING)); + } + = + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() + .closeEditor(editorPart, false); + } + + private IContentAssistProcessor getProcessor(ITextViewer viewer, int offs= et, IContentAssistant ca) { + try { + IDocument document=3D viewer.getDocument(); + String type=3D TextUtilities.getContentType(document, ((IContentAssista= ntExtension)ca).getDocumentPartitioning(), offset, true); + + return ca.getContentAssistProcessor(type); + } catch (BadLocationException x) { + } + + return null; + } + + /** + * Process UI input but do not return for the specified time interval. + * = + * @param waitTimeMillis + * the number of milliseconds + */ + protected void delay(long waitTimeMillis) { + Display display =3D Display.getCurrent(); + = + // If this is the UI thread, + // then process input. + if (display !=3D null) { + long endTimeMillis =3D System.currentTimeMillis() + waitTimeMillis; + while (System.currentTimeMillis() < endTimeMillis) { + if (!display.readAndDispatch()) + display.sleep(); + } + display.update(); + } + // Otherwise, perform a simple sleep. + else { + try { + Thread.sleep(waitTimeMillis); + } catch (InterruptedException e) { + // Ignored. + } + } + } +} Property changes on: trunk/jst/test/org.jboss.tools.jst.jsp.test/src/org/jb= oss/tools/jst/jsp/test/ca/JstJspJbide1585Test.java ___________________________________________________________________ Name: svn:mime-type + text/plain --===============3096447307503748897==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 11:17:36 2008 Content-Type: multipart/mixed; boundary="===============6699462918260447090==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5873 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide. Date: Tue, 22 Jan 2008 11:17:36 -0500 Message-ID: --===============6699462918260447090== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-22 11:17:36 -0500 (Tue, 22 Jan 2008) New Revision: 5873 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/jbide/JBIDE1479Test.java Log: Parameter in close all editors method was changed, we doesn't need to ask u= ser about save or reject page changes in JUnit tests. Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/to= ols/jsf/vpe/jsf/test/jbide/JBIDE1479Test.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/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JBIDE1479Test.java 2008-01-22 16:13:10 UTC (rev 5872) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/js= f/vpe/jsf/test/jbide/JBIDE1479Test.java 2008-01-22 16:17:36 UTC (rev 5873) @@ -80,9 +80,9 @@ TestUtil.delay(15000L); TestUtil.waitForJobs(); = + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() - .closeAllEditors(true); -// TestUtil.delay(15000L); + .closeAllEditors(false); = if(getException()!=3Dnull) { throw getException(); --===============6699462918260447090==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 11:17:41 2008 Content-Type: multipart/mixed; boundary="===============7417284759984099362==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5874 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test. Date: Tue, 22 Jan 2008 11:17:40 -0500 Message-ID: --===============7417284759984099362== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-22 11:17:40 -0500 (Tue, 22 Jan 2008) New Revision: 5874 Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/= ui/test/VpeTest.java Log: Parameter in close all editors method was changed, we doesn't need to ask u= ser about save or reject page changes in JUnit tests. Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/too= ls/vpe/ui/test/VpeTest.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/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeTest.java 2008-01-22 16:17:36 UTC (rev 5873) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe= /ui/test/VpeTest.java 2008-01-22 16:17:40 UTC (rev 5874) @@ -128,7 +128,7 @@ = // close PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage() - .closeAllEditors(true); + .closeAllEditors(false); = } = --===============7417284759984099362==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 11:20:01 2008 Content-Type: multipart/mixed; boundary="===============6247595984501958106==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5875 - in trunk/jst: tests and 1 other directory. Date: Tue, 22 Jan 2008 11:20:00 -0500 Message-ID: --===============6247595984501958106== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vrubezhny Date: 2008-01-22 11:20:00 -0500 (Tue, 22 Jan 2008) New Revision: 5875 Added: trunk/jst/tests/org.jboss.tools.jst.jsp.test/ Removed: trunk/jst/test/org.jboss.tools.jst.jsp.test/ Log: http://jira.jboss.org/jira/browse/JBIDE-1585 Proposal list is not filtered = by current input if there is no blank symbol between new entered tag and ne= xt tag, and new tag has no '>' JUnit test for the issue Moved to correct place within the repository. Copied: trunk/jst/tests/org.jboss.tools.jst.jsp.test (from rev 5874, trunk/= jst/test/org.jboss.tools.jst.jsp.test) --===============6247595984501958106==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 11:22:36 2008 Content-Type: multipart/mixed; boundary="===============2194548927261910099==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5876 - trunk/jst. Date: Tue, 22 Jan 2008 11:22:36 -0500 Message-ID: --===============2194548927261910099== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vrubezhny Date: 2008-01-22 11:22:36 -0500 (Tue, 22 Jan 2008) New Revision: 5876 Removed: trunk/jst/test/ Log: Removed as unneeded --===============2194548927261910099==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 11:41:30 2008 Content-Type: multipart/mixed; boundary="===============4717749516434507757==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5877 - trunk/as/docs/reference/en/modules. Date: Tue, 22 Jan 2008 11:41:30 -0500 Message-ID: --===============4717749516434507757== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-22 11:41:30 -0500 (Tue, 22 Jan 2008) New Revision: 5877 Modified: trunk/as/docs/reference/en/modules/modules.xml Log: http://jira.jboss.com/jira/browse/JBDS-199 - reorganizing five chapter Modified: trunk/as/docs/reference/en/modules/modules.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/as/docs/reference/en/modules/modules.xml 2008-01-22 16:22:36 UTC = (rev 5876) +++ trunk/as/docs/reference/en/modules/modules.xml 2008-01-22 16:41:30 UTC = (rev 5877) @@ -1,118 +1,122 @@ - Deploying Modules + Deploying Modules = -In this chapter it will be described how to deploy modules onto the = server. - - First of all it is necessary to say that deploying to a server is mostl= y painless. - There are several ways to do it provided by WTP, = - and some additional methods provided by JBoss Tools. These methods are = discribed further in this chapter -
    WTP Projects -
    Run On Server - - The first WTP method is to right-click on a WTP project, - such as a dynamic web project, ejb project, or ear project - and then select Run As > Run on Server. - The resulting dialog allows you to select which supporting - server the project can be published to. -
    - Define a New Server - = - - - - -
    - Click Next button to s= ee add or remove projects page where you can choose projects to configure t= hem on server. -
    - Add or Remove Projects - = - - - - -
    - - For the JBoss AS Server Adapters, publishing using this method - will force a default, best-guess, packaging configuration = - for your project. This best-guess does not - publish incrementally, but instead repackages your entire - project into a .war, .jar, or .ear as appropriate, and = - then copies that file into the proper deploy directory. - For quicker smarter deployment, you will need to create - archives using the Project Archives - view and customize packaging yourself. -
    -
    Add and Remove Projects - - Another method is in either the Servers View, or the JBoss - Servers View, to right click on a server and select - the Add and Remove Projects m= enu item. - This will bring up a dialog allowing you to either publish - projects or modules to a server, or remove them from the server. -
    - Add and Remove Projects - = - - - - -
    + In this chapter it will be described how to deploy modules onto the= server. + First of all it is necessary to say that deploying to a server is = mostly painless. There + are several ways to do it provided by WTP, and some additional methods p= rovided by JBoss + Tools. These methods are discribed further in this chapter. = - - If the selected module is a WTP project, = - it will be published as in the Run on Server - option, with a best-guess full package. If, however, the selected - element is an archive from the Project Archives View, - it will be published according to the rules of that module type. -
    -
    JBoss Servers View, Publish - - In the JBoss Server's View, in the bottom section, is a = - category called Modules whi= ch should - display all currently-published modules on the server. - By right-clicking on the desired module and selecting - Full Publish, it will force= a full - rebuild of the entire module. -
    - Full Publish - = - - - - -
    -
    -
    Project Archives View - In the Project Archives View, you can = - right-click on any declared archive and select the = - Publish To Server element, = as described in - the JBoss AS Perspective chapter. -
    - Publish to Server - = - - - - -
    - - The only way to ensure an Incremental Build, = - such as changes to one jsp, html, or .class file, is to = - enable the builder for that project. This is done by either changing - the global preferences for the Archives View, or in enabling - project-specific preferences and ensuring the builder is on. -
    - -
    -
    = +
    + Deploying with Run On Server wizard + The first WTP method is to right-click on a project, such as a Dy= namic Web project, + EJB project, or EAR project and then select + Run As > Run on Server + . The resulting dialog allows you to select which supporting= server the + project can be published to. +
    + Define a New Server + + + + + +
    + Click + Next + button to see add or remove projects page where you can cho= ose projects to + configure them on server. +
    + Add or Remove Projects + + + + + +
    + For the JBoss AS Server Adapters, publishing using this method wi= ll force a default, + best-guess, packaging configuration for your project. This best-guess d= oes not publish + incrementally, but instead repackages your entire project into a .war, = .jar, or .ear as + appropriate, and then copies that file into the proper deploy directory= . For quicker + smarter deployment, you will need to create archives using the Project Archives view and cust= omize packaging + yourself. +
    + +
    + Deploying with JBoss Server View + As it has been already mentioned + JBoss Server View + contains two parts: the top part that displays all defined = servers and the + bottom part which provides categories with additional information. Thus= , in this section + we suggest two more ways to deploy resources onto the server. +
    + Top part of JBoss Server View + In the top part of the JBoss Servers View like in the Servers Vie= w you should right + click on a server and select the + Add and Remove Projects + menu item. This will bring up a dialog allowing you to eit= her publish + projects or modules to a server, or remove them from the server. +
    + Add and Remove Projects + + + + + +
    + + If the selected module is a project like a Dynamic Web project, = EJB project, or + EAR project, it will be published as through + Run on Server + wizard, with a best-guess full package. If, however, the s= elected + element is an archive from the = Project Archives + view, it will be published according to the rules of that modu= le + type. +
    +
    + Bottom part of JBoss Server View + In the bottom part of + JBoss Server View + there is a category called + Modules + which should display all currently-published modules on th= e server. + Right-clicking on the desired module and selecting + Full Publish + will force a full rebuild of the entire module. +
    + Full Publish + + + + + +
    +
    +
    +
    + Deploying with Project Archives View + In the Project Archives View you can right-click on any declared a= rchive and select + the + Publish To Server + element, as described in the Project + Archives view section of the Perspective chapter. +
    + Publish to Server + + + + + +
    + The only way to ensure an + Incremental Build + , such as changes to one jsp, html, or .class file, is to en= able the builder + for that project. This is done by either changing the global preference= s for the + Archives View, or by enabling project-specific pr= eferences and + ensuring the builder is on. +
    + + + + --===============4717749516434507757==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 11:42:03 2008 Content-Type: multipart/mixed; boundary="===============5729804955926119763==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5878 - trunk/as/docs/reference/en/modules. Date: Tue, 22 Jan 2008 11:42:02 -0500 Message-ID: --===============5729804955926119763== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-01-22 11:42:02 -0500 (Tue, 22 Jan 2008) New Revision: 5878 Modified: trunk/as/docs/reference/en/modules/perspective.xml trunk/as/docs/reference/en/modules/webtools.xml Log: http://jira.jboss.com/jira/browse/JBDS-199 - making changes in the chapters= accoding to the task Modified: trunk/as/docs/reference/en/modules/perspective.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/as/docs/reference/en/modules/perspective.xml 2008-01-22 16:41:30 = UTC (rev 5877) +++ trunk/as/docs/reference/en/modules/perspective.xml 2008-01-22 16:42:02 = UTC (rev 5878) @@ -358,7 +358,7 @@ =
    Project archives View - Every application, whether plain old Java, J2EE, or some oth= er language altogether, + Every application, whether Plain Old Java, J2EE, or some oth= er language altogether, needs to be packaged in some way. In Java-related projects, ma= ny people use ANT. JBoss Tools comes with our own archives tool with a bit easier and l= ess-verbose XML and a handy user interface. @@ -546,7 +546,7 @@ =
    = -
    + = Modified: trunk/as/docs/reference/en/modules/webtools.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/as/docs/reference/en/modules/webtools.xml 2008-01-22 16:41:30 UTC= (rev 5877) +++ trunk/as/docs/reference/en/modules/webtools.xml 2008-01-22 16:42:02 UTC= (rev 5878) @@ -3,27 +3,29 @@ Projects The most popular of the projects we deal with are the J2EE projects= , such as Dynamic Web Project, EJB Project, or EAR project. = Web projects of - JBoss Tools are Stuts, JSF and Seam projects. In this chapter we are goi= ng to tell you about - facets the main benefit of which to provide proper structuring and packa= ging for any type of - project. + JBoss Tools are Stuts, JSF and Seam projects. Thus, in this chapter we a= re going to tell you + about facets the main benefit of which to provide proper structuring and= packaging for any + type of project to deploy on a server afterwards. =
    Description The idea behind faceted projects is that each project can accept u= nits of - functionality, or facets, which can be added or removed by the user. So= me examples of - these facets are adding a webdoclet facet to a web project, or an ejbdo= clet to an EJB - Project. - Most often, these "facets" either add to the project's classpath,= enable a builder, - or watch the project in some other fashion. + functionality, or facets, which can be added or removed by the user. Mo= st often, these + facets either add to the project's classpath, enable a builder, or watc= h the project in + some other fashion. Generally, every project concerned has at least one= facet when + it's created. As an example, a Web project has a WebDoclet facet, = or an EJB + Project has an EJB Module facet as prerequisites. + WTP projects have undergone some criticism as being over-engineered or too restrictive in their design= . WTP projects are set up in a tree-relationship to each other, where one project can = be a child of another. For example, an EAR project may have a Web Project child, an E= JB project child, - or other types. + or other types. + The benefit of this is that the structure of your projects is the= n known, and packaging it up *should* be trivial. However, if your project is non-st= andard, or you feel too confined by such rigid structural requirements, you can still = choose to package - your project using the Archives plugin. + your project using the Archives = plugin. =
    = @@ -42,10 +44,11 @@ Modify Project... button. = - The other way is adding necessary facets while organizing a new pr= oject. To demonstrate - it let's create a new Dynamic Web Project sel= ecting as usual + The other way is adding necessary facets while organizing a new pr= oject. To + demonstrate it let's create a new Dynamic Web Project + selecting as usual File > New > Other... - and then + and then Web > Dynamic Web Project.
    --===============5729804955926119763==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 11:46:51 2008 Content-Type: multipart/mixed; boundary="===============3113965321308234104==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5879 - trunk/jsf/plugins/org.jboss.tools.jsf/resources/meta. Date: Tue, 22 Jan 2008 11:46:51 -0500 Message-ID: --===============3113965321308234104== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: scabanovich Date: 2008-01-22 11:46:50 -0500 (Tue, 22 Jan 2008) New Revision: 5879 Modified: trunk/jsf/plugins/org.jboss.tools.jsf/resources/meta/jsf.meta Log: JBIDE-1671 Modified: trunk/jsf/plugins/org.jboss.tools.jsf/resources/meta/jsf.meta =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/resources/meta/jsf.meta 2008-01-2= 2 16:42:02 UTC (rev 5878) +++ trunk/jsf/plugins/org.jboss.tools.jsf/resources/meta/jsf.meta 2008-01-2= 2 16:46:50 UTC (rev 5879) @@ -4761,7 +4761,7 @@ - + --===============3113965321308234104==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 12:12:34 2008 Content-Type: multipart/mixed; boundary="===============7574337392210576508==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5880 - trunk/documentation/guides/userguide/GettingStartedGuide/en/modules. Date: Tue, 22 Jan 2008 12:12:34 -0500 Message-ID: --===============7574337392210576508== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ykryvinchanka Date: 2008-01-22 12:12:34 -0500 (Tue, 22 Jan 2008) New Revision: 5880 Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/firs= t_seam.xml trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/jsp_= application.xml Log: http://jira.jboss.com/jira/browse/JBDS-235 new relevant links + new links = to other guides Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modul= es/first_seam.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/userguide/GettingStartedGuide/en/modules/fir= st_seam.xml 2008-01-22 16:46:50 UTC (rev 5879) +++ trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/fir= st_seam.xml 2008-01-22 17:12:34 UTC (rev 5880) @@ -96,7 +96,7 @@ Check Server Supplied JSF Implementation - . We will use JSF implementation that comes with JBos= s server + . We will use JSF implementation that comes with JBoss = server Click Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modul= es/jsp_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/userguide/GettingStartedGuide/en/modules/jsp= _application.xml 2008-01-22 16:46:50 UTC (rev 5879) +++ trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/jsp= _application.xml 2008-01-22 17:12:34 UTC (rev 5880) @@ -16,7 +16,7 @@ who for some reason cannot use Seam. = - In this chapter you'll find out how to create a simple JSP applicat= ion using the JBoss + In this chapter you'll find out how to create a simple JSP application using the JB= oss Developer Studio. The application will show a classic "Hello World!= " on the page. We'll assume that you have already launched JBoss Developer St= udio and also that --===============7574337392210576508==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 12:38:19 2008 Content-Type: multipart/mixed; boundary="===============4451942399288862726==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5881 - in trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console: actions and 1 other directories. Date: Tue, 22 Jan 2008 12:38:19 -0500 Message-ID: --===============4451942399288862726== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2008-01-22 12:38:19 -0500 (Tue, 22 Jan 2008) New Revision: 5881 Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/HibernateConsolePlugin.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/actions/AddConfigurationAction.java trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hiber= nate/eclipse/console/views/KnownConfigurationsProvider.java Log: http://jira.jboss.com/jira/browse/JBIDE-1422 simpler and less noisy fix for= avoiding Cancel in AddConfiguration to refresh tree. Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/HibernateConsolePlugin.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.console/src/org/hibe= rnate/eclipse/console/HibernateConsolePlugin.java 2008-01-22 17:12:34 UTC (= rev 5880) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/HibernateConsolePlugin.java 2008-01-22 17:38:19 UTC (= rev 5881) @@ -57,6 +57,7 @@ import org.hibernate.console.KnownConfigurations; import org.hibernate.console.KnownConfigurationsListener; import org.hibernate.console.preferences.ConsoleConfigurationPreferences; +import org.hibernate.eclipse.console.actions.AddConfigurationAction; import org.hibernate.eclipse.console.workbench.ConfigurationAdapterFactory; import org.hibernate.eclipse.criteriaeditor.CriteriaEditorInput; import org.hibernate.eclipse.criteriaeditor.CriteriaEditorStorage; @@ -176,15 +177,17 @@ } = public void launchConfigurationChanged(ILaunchConfiguration configurati= on) { - if(configuration.isWorkingCopy()) { + if(configuration.isWorkingCopy() || isTemporary(configuration)) { return; } if(isConsoleConfiguration( configuration )) { KnownConfigurations instance =3D KnownConfigurations.getInstance(); ConsoleConfiguration oldcfg =3D instance.find( configuration.getName(= ) ); if(oldcfg!=3Dnull) { - oldcfg.reset(); // reset it no matter what. - = + oldcfg.reset(); // reset it no matter what. = + } else { // A new one! + ConsoleConfigurationPreferences adapter =3D buildConfigurationPrefer= ences(configuration); + instance.addConfiguration(new ConsoleConfiguration(adapter), true); } } } @@ -208,10 +211,24 @@ = KnownConfigurations instance =3D KnownConfigurations.getInstance(); ConsoleConfigurationPreferences adapter =3D buildConfigurationPrefere= nces(configuration); - instance.addConfiguration(new ConsoleConfiguration(adapter), true); + boolean temporary =3D isTemporary(configuration); = = + if(!temporary) { + instance.addConfiguration(new ConsoleConfiguration(adapter), true); } - } = + = + } + } + + private boolean isTemporary(ILaunchConfiguration configuration) { + boolean temporary =3D true; + try { + temporary =3D configuration.getAttribute(AddConfigurationAction.TEMPO= RARY_CONFIG_FLAG, false); + } catch (CoreException e) { + HibernateConsolePlugin.getDefault().showError( getShell(), "Problem t= o get flag", e); + } + return temporary; + } = }; launchManager.addLaunchConfigurationListener( icl ); = Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/actions/AddConfigurationAction.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.console/src/org/hibe= rnate/eclipse/console/actions/AddConfigurationAction.java 2008-01-22 17:12:= 34 UTC (rev 5880) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/actions/AddConfigurationAction.java 2008-01-22 17:38:= 19 UTC (rev 5881) @@ -36,9 +36,11 @@ import org.eclipse.ui.IViewPart; import org.eclipse.ui.PlatformUI; import org.hibernate.console.ImageConstants; +import org.hibernate.console.KnownConfigurations; import org.hibernate.eclipse.console.HibernateConsolePlugin; import org.hibernate.eclipse.console.utils.EclipseImages; import org.hibernate.eclipse.console.utils.LaunchHelper; +import org.hibernate.eclipse.console.views.KnownConfigurationsView; import org.hibernate.eclipse.console.wizards.ConsoleConfigurationCreationW= izard; import org.hibernate.eclipse.launch.ICodeGenerationLaunchConstants; = @@ -50,6 +52,10 @@ */ public class AddConfigurationAction extends Action { = + /** Constant used to avoid unnecessary broadcast which is caused by the w= orkaround for having the ClassPathTab not throwing + * and exception on unsaved configurations */ + public static final String TEMPORARY_CONFIG_FLAG =3D "_TEMPORARY_CONFIG_"; + = private final IViewPart part; = public AddConfigurationAction(IViewPart part) { @@ -76,11 +82,15 @@ String launchName =3D launchManager.generateUniqueLaunchConfigurationNa= meFrom("hibernate"); = //ILaunchConfiguration[] launchConfigurations =3D launchManager.getLaun= chConfigurations( launchConfigurationType ); ILaunchConfigurationWorkingCopy wc =3D launchConfigurationType.newInsta= nce(null, launchName); + wc.setAttribute(TEMPORARY_CONFIG_FLAG, true); = ILaunchConfiguration saved =3D wc.doSave(); = int i =3D DebugUITools.openLaunchConfigurationPropertiesDialog( part.ge= tSite().getShell(), saved, "org.eclipse.debug.ui.launchGroup.run" ); if(i!=3DWindow.OK) { saved.delete(); - } = + } else { = + wc.setAttribute(TEMPORARY_CONFIG_FLAG, (String)null); // Must be set t= o null since it should never be in the actual saved configuration! + wc.doSave(); + } = } catch (CoreException ce) { HibernateConsolePlugin.getDefault().showError( part.getSite().getShell(= ), "Problem adding a console configuration", ce); Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/or= g/hibernate/eclipse/console/views/KnownConfigurationsProvider.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.console/src/org/hibe= rnate/eclipse/console/views/KnownConfigurationsProvider.java 2008-01-22 17:= 12:34 UTC (rev 5880) +++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibe= rnate/eclipse/console/views/KnownConfigurationsProvider.java 2008-01-22 17:= 38:19 UTC (rev 5881) @@ -75,7 +75,9 @@ } = public void configurationRemoved(ConsoleConfiguration root, boolean forUp= date) { - refreshTree(); = + if (forUpdate) { + refreshTree(); + } } = protected IWorkbenchAdapter getAdapter(Object o) { --===============4451942399288862726==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 12:52:37 2008 Content-Type: multipart/mixed; boundary="===============0144014521509838573==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5882 - in trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces: src/org/jboss/tools/jsf/vpe/richfaces/template and 1 other directories. Date: Tue, 22 Jan 2008 12:52:37 -0500 Message-ID: --===============0144014521509838573== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dmaliarevich Date: 2008-01-22 12:52:37 -0500 (Tue, 22 Jan 2008) New Revision: 5882 Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingLi= st/orderingList.css trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/= jsf/vpe/richfaces/template/RichFacesOrderingList.java trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templa= tes-richfaces.xml Log: http://jira.jboss.com/jira/browse/JBIDE-1579 Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/ord= eringList/orderingList.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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.vpe.richfaces/resources/orderingL= ist/orderingList.css 2008-01-22 17:38:19 UTC (rev 5881) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/orderingL= ist/orderingList.css 2008-01-22 17:52:37 UTC (rev 5882) @@ -67,7 +67,7 @@ border-color: #C4C0B9; padding: 4px 4px 4px 4px; color: #000000; - text-align: left; + text-align: center; font-weight: bold; font-size: 11px; font-family: Arial, Verdana, sans-serif; @@ -78,7 +78,7 @@ border-bottom: 1px solid; border-color: #C4C0B9; padding: 4px 4px 4px 4px; - text-align: left; + text-align: center; font-size: 11px; color: #000000; font-family: Arial, Verdana, sans-serif; @@ -104,7 +104,7 @@ border-bottom: 1px solid; border-color: #C4C0B9; padding: 4px 4px 4px 4px; - text-align: left; + text-align: center; } = .dr-spr { @@ -116,16 +116,55 @@ border: solid 1px #C4C0C9; } = +.dr-default-caption-text { + font-size:14px; + text-align:center; + font-weight: bold; +} + +.dr-default-control-button-text { + font-size:11px; + text-align:left; +} + +.rich-ordering-list-caption { + white-space: normal; = + word-wrap: break-word; = + font-weight: bold; = + font-size:14px; +} + +/* BUTTONS DIV */ +.rich-ordering-list-button-valign { + vertical-align:middle; +} + .rich-ordering-list-button-layout { padding:15px 8px 15px 0pt; } = -.rich-ordering-control-disabled { +.rich-ordering-controls { border:1px solid; margin-bottom:3px; } +.rich-ordering-control-top { + border:1px solid; + margin-bottom:3px; +} = +.rich-ordering-control-bottom { + border:1px solid; + margin-bottom:3px; +} = +.rich-ordering-control-up { + border:1px solid; + margin-bottom:3px; +} +.rich-ordering-control-down { + border:1px solid; + margin-bottom:3px; +} = -.rich-ordering-control { +.rich-ordering-control-disabled { border:1px solid; margin-bottom:3px; } @@ -145,6 +184,7 @@ = .rich-ordering-list-button-content { padding:0pt 4px 0pt 1px; + font-size:11px; text-align:left; white-space:nowrap; } @@ -154,6 +194,37 @@ vertical-align:middle; } = + +/* TABLE CONTENT */ +.rich-ordering-list-body { + border:0pt solid; +} + +.rich-ordering-list-output { + background-color:#FFFFFF; + border-color:#C0C0C0; + border-width:1px; +} + +.rich-ordering-list-header { + overflow:hidden; + width:100%; +} + +.rich-ordering-list-content { + overflow:hidden; + width:100%; +} + +.rich-ordering-list-footer { + overflow:hidden; + width:100%; +} + +.rich-ordering-list-table-header { + = +} + .rich-ordering-list-table-header-cell, .rich-ordering-list-table-header-ce= ll-last { background-color: #E3DED5; background-repeat: repeat-x; @@ -165,7 +236,27 @@ color:#000000; font-family:Arial,Verdana,sans-serif; font-size:11px; + text-align: center; + = } .rich-ordering-list-table-header-cell-last { border-right-width:0pt; } + +.rich-ordering-list-items { + width:100%; +} + +.rich-ordering-list-row { + = +} + +.rich-ordering-list-cell { + color:#000000; + font-family:Arial,Verdana,sans-serif; + font-size:11px; + padding:2px; + white-space:normal; + text-align: center; + width: 100%; +} Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss= /tools/jsf/vpe/richfaces/template/RichFacesOrderingList.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/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/template/RichFacesOrderingList.java 2008-01-22 17:38:19 = UTC (rev 5881) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools= /jsf/vpe/richfaces/template/RichFacesOrderingList.java 2008-01-22 17:52:37 = UTC (rev 5882) @@ -13,6 +13,7 @@ import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate; import org.jboss.tools.vpe.editor.template.VpeChildrenInfo; import org.jboss.tools.vpe.editor.template.VpeCreationData; +import org.jboss.tools.vpe.editor.util.HTML; import org.mozilla.interfaces.nsIDOMDocument; import org.mozilla.interfaces.nsIDOMElement; import org.w3c.dom.Element; @@ -25,8 +26,17 @@ */ public class RichFacesOrderingList extends VpeAbstractTemplate { = + final static String DEFAULT_LIST_HEIGHT =3D "150px"; + final static String DEFAULT_LIST_WIDTH =3D "250px"; final static String DEFAULT_HEIGHT =3D "200px"; final static String DEFAULT_WIDTH =3D "300px"; + = + final static String CAPTION_FACET =3D "caption"; + final static String TOP_CONTROL_FACET =3D "topControl"; + final static String UP_CONTROL_FACET =3D "upControl"; + final static String DOWN_CONTROL_FACET =3D "downControl"; + final static String BOTTOM_CONTROL_FACET =3D "bottomControl"; + = final static String HEADER =3D "header"; final static String HEADER_CLASS =3D "headerClass"; final static String FOOTER =3D "footer"; @@ -35,7 +45,7 @@ final static String CAPTION_STYLE =3D "captionStyle"; final static String SPACE =3D " "; = - private static String STYLE_FOR_CAPTOION_LABEL =3D "white-space: normal; = word-wrap: break-word; font-weight: bold; "; + private static String STYLE_FOR_CAPTOION_LABEL =3D "white-space: normal; = word-wrap: break-word; font-weight: bold; font-size:14px;"; private static String STYLE_FOR_LOW_SCROLL =3D "overflow: scroll; width: = 100%; height: 17px;"; private static String STYLE_FOR_RIGHT_SCROLL =3D "overflow: scroll; width= : 17px; height: 100%;"; = @@ -49,6 +59,8 @@ private static final String BUTTON_BG =3D "orderingList/button_bg.gif"; private static final String HEADER_CELL_BG =3D "orderingList/table_header= _cell_bg.gif"; = + private static final String WIDTH =3D "width"; + private static final String HEIGHT =3D "height"; private static final String LIST_WIDTH =3D "listWidth"; private static final String LIST_HEIGHT =3D "listHeight"; = @@ -63,9 +75,13 @@ private static final String BOTTOM_CONTROL_LABEL_DEFAULT =3D "Last"; = private static final String CAPTION_LABEL =3D "captionLabel"; + = + private static final String CONTROLS_TYPE =3D "controlsType"; private static final String CONTROLS_VERTICAL_ALIGN =3D "controlsVertical= Align"; + private static final String CONTROLS_HORIZONTAL_ALIGN =3D "controlsHorizo= ntalAlign"; private static final String SHOW_BUTTON_LABELS =3D "showButtonLabels"; private static final String FAST_ORDER_CONTROL_VISIBLE =3D "fastOrderCont= rolsVisible"; + private static final String ORDER_CONTROL_VISIBLE =3D "orderControlsVisib= le"; = /* * (non-Javadoc) @@ -80,23 +96,13 @@ = String listWidth =3D sourceElement.getAttribute(LIST_WIDTH); String listHeight =3D sourceElement.getAttribute(LIST_HEIGHT); + String width =3D sourceElement.getAttribute(WIDTH); + String height =3D sourceElement.getAttribute(HEIGHT); = - String topControlLabel =3D sourceElement.getAttribute(TOP_CONTROL_LABEL); - String upControlLabel =3D sourceElement.getAttribute(UP_CONTROL_LABEL); - String downControlLabel =3D sourceElement - .getAttribute(DOWN_CONTROL_LABEL); - String bottomControlLabel =3D sourceElement - .getAttribute(BOTTOM_CONTROL_LABEL); - - String showButtonLabelsStr =3D sourceElement - .getAttribute(SHOW_BUTTON_LABELS); - String fastOrderControlsVisibleStr =3D sourceElement - .getAttribute(FAST_ORDER_CONTROL_VISIBLE); - boolean showButtonLabels =3D ComponentUtil - .string2boolean(showButtonLabelsStr); - boolean fastOrderControlsVisible =3D ComponentUtil - .string2boolean(fastOrderControlsVisibleStr); - + String controlsType =3D sourceElement + .getAttribute(CONTROLS_TYPE); + String controlsHorizontalAlign =3D sourceElement + .getAttribute(CONTROLS_HORIZONTAL_ALIGN); String controlsVerticalAlign =3D sourceElement .getAttribute(CONTROLS_VERTICAL_ALIGN); String captionLabel =3D sourceElement.getAttribute(CAPTION_LABEL); @@ -107,77 +113,85 @@ = VpeCreationData creationData =3D new VpeCreationData(tableCommon); = - nsIDOMElement row1 =3D visualDocument + nsIDOMElement captionRow =3D visualDocument .createElement(HtmlComponentUtil.HTML_TAG_TR); - nsIDOMElement row2 =3D visualDocument + nsIDOMElement dataRow =3D visualDocument .createElement(HtmlComponentUtil.HTML_TAG_TR); + = + tableCommon.setAttribute(HtmlComponentUtil.HTML_ATR_WIDTH, (width =3D=3D= null ? DEFAULT_WIDTH : width)); + tableCommon.setAttribute(HtmlComponentUtil.HTML_ATR_HEIGHT, (height =3D= =3D null ? DEFAULT_HEIGHT : height)); + = + = + tableCommon.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-orderi= ng-list-body"); + tableCommon.appendChild(captionRow); + tableCommon.appendChild(dataRow); = - tableCommon.appendChild(row1); - tableCommon.appendChild(row2); - // ---------------------row1------------------------ - nsIDOMElement row1_TD1 =3D visualDocument + nsIDOMElement captionRow_TD =3D visualDocument .createElement(HtmlComponentUtil.HTML_TAG_TD); - row1.appendChild(row1_TD1); + captionRow.appendChild(captionRow_TD); = - nsIDOMElement row1_TD1_DIV =3D visualDocument + nsIDOMElement captionRow_TD_DIV =3D visualDocument .createElement(HtmlComponentUtil.HTML_TAG_DIV); - row1_TD1_DIV.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, - STYLE_FOR_CAPTOION_LABEL + "width: " - + (listWidth =3D=3D null ? DEFAULT_WIDTH : listWidth) + captionRow_TD_DIV.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-= ordering-list-caption"); + captionRow_TD_DIV.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, + /*STYLE_FOR_CAPTOION_LABEL +*/ "width: " + + (listWidth =3D=3D null ? DEFAULT_LIST_WIDTH : listWidth) + "px"); - row1_TD1_DIV.appendChild(visualDocument.createTextNode(captionLabel)); - row1_TD1.appendChild(row1_TD1_DIV); + = + Element captionFacet =3D ComponentUtil.getFacet(sourceElement, CAPTION_F= ACET); + if (null !=3D captionFacet) { + // Creating table caption with facet content + nsIDOMElement fecetDiv =3D encodeFacetsToDiv(captionFacet, false, creat= ionData, visualDocument); + captionRow_TD_DIV.appendChild(fecetDiv); + } else { + captionRow_TD_DIV.appendChild(visualDocument.createTextNode(captionLabe= l)); + } + = + captionRow_TD.appendChild(captionRow_TD_DIV); = // ---------------------row2 ---- with list table and buttons-----------= ------------- - nsIDOMElement row2_TD1 =3D visualDocument + nsIDOMElement dataRow_leftTD =3D visualDocument .createElement(HtmlComponentUtil.HTML_TAG_TD); - row2.appendChild(row2_TD1); + dataRow.appendChild(dataRow_leftTD); = - nsIDOMElement row2_TD2 =3D visualDocument + nsIDOMElement dataRow_rightTD =3D visualDocument .createElement(HtmlComponentUtil.HTML_TAG_TD); - row2.appendChild(row2_TD2); - - // ---------------------buttonsTable------------------------ - nsIDOMElement buttonsDiv =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_DIV); - buttonsDiv.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-orderin= g-list-button-layout"); + dataRow.appendChild(dataRow_rightTD); = - nsIDOMElement btnUpDiv =3D createButtonDiv(visualDocument, - (null =3D=3D upControlLabel ? UP_CONTROL_LABEL_DEFAULT - : upControlLabel), UP_CONTROL_IMG, new Boolean( - showButtonLabels).booleanValue()); - nsIDOMElement btnDownDiv =3D createButtonDiv(visualDocument, - (null =3D=3D upControlLabel ? DOWN_CONTROL_LABEL_DEFAULT - : upControlLabel), DOWN_CONTROL_IMG, new Boolean( - showButtonLabels).booleanValue()); + nsIDOMElement tableListTD; + nsIDOMElement buttonsTD; + = + if ("left".equalsIgnoreCase(controlsHorizontalAlign)) { + buttonsTD =3D dataRow_leftTD; + tableListTD =3D dataRow_rightTD; + buttonsTD.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, "width: 1%;"); + } else { + tableListTD =3D dataRow_leftTD; + buttonsTD =3D dataRow_rightTD; + } = - if (fastOrderControlsVisible) { - nsIDOMElement btnTopDiv =3D createButtonDiv(visualDocument, - (null =3D=3D upControlLabel ? TOP_CONTROL_LABEL_DEFAULT - : upControlLabel), TOP_CONTROL_IMG, new Boolean( - showButtonLabels).booleanValue()); - nsIDOMElement btnBottomDiv =3D createButtonDiv(visualDocument, - (null =3D=3D upControlLabel ? BOTTOM_CONTROL_LABEL_DEFAULT - : upControlLabel), BOTTOM_CONTROL_IMG, new Boolean( - showButtonLabels).booleanValue()); - = - buttonsDiv.appendChild(btnTopDiv); - buttonsDiv.appendChild(btnBottomDiv); + // ---------------------buttons------------------------ + if (!"none".equalsIgnoreCase(controlsType)) { + nsIDOMElement controlsDiv =3D createControlsDiv(creationData, visualDoc= ument, sourceElement); + buttonsTD.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-orderin= g-list-button-valign"); + buttonsTD.setAttribute(HtmlComponentUtil.HTML_ALIGN_ATTR, "center"); + buttonsTD.setAttribute(HtmlComponentUtil.HTML_ATTR_VALIGN, ("center" + .equalsIgnoreCase(controlsVerticalAlign) ? "middle" + : controlsVerticalAlign)); + buttonsTD.appendChild(controlsDiv); } - - buttonsDiv.appendChild(btnUpDiv); - buttonsDiv.appendChild(btnDownDiv); - = - row2_TD2.setAttribute(HtmlComponentUtil.HTML_ALIGN_ATTR, "center"); - row2_TD2.setAttribute(HtmlComponentUtil.HTML_ATTR_VALIGN, ("center" - .equalsIgnoreCase(controlsVerticalAlign) ? "middle" - : controlsVerticalAlign)); - row2_TD2.appendChild(buttonsDiv); - // -------------------------------------------- = // ---------------------listTable------------------------ + tableListTD.appendChild(createListDiv(visualDocument, sourceElement, cre= ationData, pageContext)); + // -------------------------------------------- + = + return creationData; + } + = + private nsIDOMElement createListDiv(nsIDOMDocument visualDocument, = + Element sourceElement, VpeCreationData creationData, VpePageContext pag= eContext) { nsIDOMElement listTable =3D visualDocument .createElement(HtmlComponentUtil.HTML_TAG_TABLE); nsIDOMElement tr1 =3D visualDocument @@ -188,8 +202,6 @@ listTable.appendChild(tr1); listTable.appendChild(tr2); = - row2_TD1.appendChild(listTable); - // ---------------------tr1------------------------ nsIDOMElement tr1_TD1 =3D visualDocument .createElement(HtmlComponentUtil.HTML_TAG_TD); @@ -220,68 +232,176 @@ = // -------------------------------------------- = - nsIDOMElement div =3D visualDocument + ComponentUtil.setCSSLink(pageContext, "orderingList/orderingList.css", + "richFacesOrderingList"); + nsIDOMElement contentDiv =3D createOutputList(creationData, visualDocume= nt, + sourceElement); + tr1_TD1.appendChild(contentDiv); + + return listTable; + } + = + private nsIDOMElement createControlsDiv( VpeCreationData creationData, ns= IDOMDocument visualDocument, = + Element sourceElement) { + = + String topControlLabel =3D sourceElement.getAttribute(TOP_CONTROL_LABEL); + String upControlLabel =3D sourceElement.getAttribute(UP_CONTROL_LABEL); + String downControlLabel =3D sourceElement + .getAttribute(DOWN_CONTROL_LABEL); + String bottomControlLabel =3D sourceElement + .getAttribute(BOTTOM_CONTROL_LABEL); + + String showButtonLabelsStr =3D sourceElement + .getAttribute(SHOW_BUTTON_LABELS); + String fastOrderControlsVisibleStr =3D sourceElement + .getAttribute(FAST_ORDER_CONTROL_VISIBLE); + String orderControlsVisibleStr =3D sourceElement + .getAttribute(ORDER_CONTROL_VISIBLE); + boolean showButtonLabels =3D ComponentUtil + .string2boolean(showButtonLabelsStr); + boolean fastOrderControlsVisible =3D ComponentUtil + .string2boolean(fastOrderControlsVisibleStr); + boolean orderControlsVisible =3D ComponentUtil + .string2boolean(orderControlsVisibleStr); + + nsIDOMElement buttonsDiv =3D visualDocument .createElement(HtmlComponentUtil.HTML_TAG_DIV); - tr1_TD1.appendChild(div); - div.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "dr-table-hidden"); + buttonsDiv.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "rich-ordering-list-button-layout"); = - String divStyle =3D HtmlComponentUtil.HTML_WIDTH_ATTR + " : " - + (listWidth =3D=3D null ? DEFAULT_WIDTH : listWidth) + ";" - + HtmlComponentUtil.HTML_HEIGHT_ATTR + " : " - + (listHeight =3D=3D null ? DEFAULT_HEIGHT : listHeight) + ";"; + Element top_control_facet =3D ComponentUtil.getFacet(sourceElement, TOP_= CONTROL_FACET); + Element up_control_facet =3D ComponentUtil.getFacet(sourceElement, UP_CO= NTROL_FACET); + Element down_control_facet =3D ComponentUtil.getFacet(sourceElement, DOW= N_CONTROL_FACET); + Element bottom_control_facet =3D ComponentUtil.getFacet(sourceElement, B= OTTOM_CONTROL_FACET); + = + if (fastOrderControlsVisible) { + nsIDOMElement btnTopDiv =3D createButtonDiv(creationData, visualDocumen= t, + (null =3D=3D topControlLabel ? TOP_CONTROL_LABEL_DEFAULT + : topControlLabel), TOP_CONTROL_IMG, new Boolean( + showButtonLabels).booleanValue(), top_control_facet); + buttonsDiv.appendChild(btnTopDiv); + } = - div.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, divStyle); + if (orderControlsVisible) { + nsIDOMElement btnUpDiv =3D createButtonDiv(creationData, visualDocument, + (null =3D=3D upControlLabel ? UP_CONTROL_LABEL_DEFAULT + : upControlLabel), UP_CONTROL_IMG, new Boolean( + showButtonLabels).booleanValue(), up_control_facet); + nsIDOMElement btnDownDiv =3D createButtonDiv(creationData, visualDocume= nt, + (null =3D=3D downControlLabel ? DOWN_CONTROL_LABEL_DEFAULT + : downControlLabel), DOWN_CONTROL_IMG, new Boolean( + showButtonLabels).booleanValue(), down_control_facet); + buttonsDiv.appendChild(btnUpDiv); + buttonsDiv.appendChild(btnDownDiv); + } = - nsIDOMElement table =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TABLE); - ComponentUtil.copyAttributes(sourceNode, table); - table.removeAttribute(HtmlComponentUtil.HTML_ATR_HEIGHT); - table.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, "width: 100%;"); - div.appendChild(table); + if (fastOrderControlsVisible) { + nsIDOMElement btnBottomDiv =3D createButtonDiv(creationData, visualDocu= ment, + (null =3D=3D bottomControlLabel ? BOTTOM_CONTROL_LABEL_DEFAULT + : bottomControlLabel), BOTTOM_CONTROL_IMG, + new Boolean(showButtonLabels).booleanValue(), bottom_control_facet); + buttonsDiv.appendChild(btnBottomDiv); = - ComponentUtil.setCSSLink(pageContext, "orderingList/orderingList.css", - "richFacesOrderingList"); - String tableClass =3D sourceElement - .getAttribute(HtmlComponentUtil.HTML_STYLECLASS_ATTR); - table - .setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, - "dr-table rich-table " - + (tableClass =3D=3D null ? "" : tableClass)); + } + return buttonsDiv; + } = - // Encode colgroup definition. + /** + * Creates control button with image and label. + * = + * @param visualDocument + * visual document + * @param btnName + * the button label + * @param imgName + * path to the image + * @param showButtonLabels + * show button label flag + * = + * @return the button + */ + private nsIDOMElement createButtonDiv(VpeCreationData creationData, nsIDO= MDocument visualDocument, + String btnName, String imgName, boolean showButtonLabels, Element butto= nFacet) { + = + nsIDOMElement div1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + nsIDOMElement div2 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + nsIDOMElement a =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_A); + nsIDOMElement div3 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + nsIDOMElement img =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_IMG); + = + div1.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-cont= rols"); + div2.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-list= -button"); + = + a.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-list-bu= tton-selection"); + div3.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-list= -button-content"); + = + String resourceFolder =3D RichFacesTemplatesActivator.getPluginResource= Path(); + String divStyle =3D "background-image: url(file://" + resourceFolder + B= UTTON_BG + ");"; + div2.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, divStyle); + div1.appendChild(div2); + = + if (null !=3D buttonFacet) { + // Creating button with facet content + nsIDOMElement fecetDiv =3D encodeFacetsToDiv(buttonFacet, true, creati= onData, visualDocument);; + div2.appendChild(fecetDiv); + } else { + div2.appendChild(a); + a.appendChild(div3); + // Creating button with image and label = + img.setAttribute("src", "file://" + resourceFolder + imgName); + img.setAttribute(HTML.ATTR_WIDTH, "15"); + img.setAttribute(HTML.ATTR_HEIGHT, "15"); + div3.appendChild(img); + if (showButtonLabels) { + div3.appendChild(visualDocument.createTextNode(btnName)); + } + } + return div1; + } + + = + private nsIDOMElement createOutputList(VpeCreationData creationData, nsID= OMDocument visualDocument, + Element sourceElement) { + nsIDOMElement outputDiv =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + nsIDOMElement contentDiv =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + + nsIDOMElement contentTable =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TABLE); + nsIDOMElement thead =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_THEAD); + nsIDOMElement tfoot =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TFOOT); + nsIDOMElement tbody =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TBODY); + = ArrayList columns =3D getColumns(sourceElement); int columnsLength =3D getColumnsCount(sourceElement, columns); - nsIDOMElement colgroup =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_COLGROUP); - colgroup.setAttribute(HtmlComponentUtil.HTML_TAG_SPAN, String - .valueOf(columnsLength)); - table.appendChild(colgroup); - - // Encode Caption - encodeCaption(creationData, sourceElement, visualDocument, table); - + = + // ---------- HEADER ----------- // Encode Header Element header =3D ComponentUtil.getFacet(sourceElement, HEADER); ArrayList columnsHeaders =3D getColumnsWithFacet(columns, HEADE= R); if (header !=3D null || !columnsHeaders.isEmpty()) { - nsIDOMElement thead =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_THEAD); - table.appendChild(thead); String headerClass =3D (String) sourceElement .getAttribute(HEADER_CLASS); if (header !=3D null) { - encodeTableHeaderFacet(creationData, thead, columnsLength, - visualDocument, header, - "dr-table-header rich-table-header", - "dr-table-header-continue rich-table-header-continue", - "dr-table-headercell rich-table-headercell", + encodeTableHeaderOrFooterFacet(creationData, thead, + columnsLength, visualDocument, header, + "dr-table-header rich-ordering-list-table-header", + "dr-table-header-continue rich-ordering-list-header-continue", + "dr-table-headercell rich-ordering-list-table-header-cell", headerClass, HtmlComponentUtil.HTML_TAG_TD); } if (!columnsHeaders.isEmpty()) { - nsIDOMElement tr =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TR); + nsIDOMElement tr =3D visualDocument.createElement(HtmlComponentUtil.HT= ML_TAG_TR); thead.appendChild(tr); - = String styleClass =3D encodeStyleClass(null, "dr-table-subheader rich-table-subheader", null, headerClass); @@ -289,121 +409,280 @@ tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, styleClass); } - encodeHeaderFacets(creationData, tr, visualDocument, + encodeHeaderOrFooterFacets(creationData, tr, visualDocument, columnsHeaders, - "rich-ordering-list-table-header-cell", + "rich-ordering-list-table-header rich-ordering-list-table-header-cel= l", headerClass, HEADER, HtmlComponentUtil.HTML_TAG_TD); } } = - nsIDOMElement tbody =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TBODY); - table.appendChild(tbody); + // ---------- FOOTER ----------- + // Encode Footer + Element footer =3D ComponentUtil.getFacet(sourceElement, FOOTER); + ArrayList columnsFooters =3D getColumnsWithFacet(columns, FOOTE= R); + if (footer !=3D null || !columnsFooters.isEmpty()) { + String footerClass =3D (String) sourceElement + .getAttribute(FOOTER_CLASS); + if (!columnsFooters.isEmpty()) { + nsIDOMElement tr =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + tfoot.appendChild(tr); + String styleClass =3D encodeStyleClass(null, + "dr-table-subfooter rich-table-subfooter", null, + footerClass); + if (styleClass !=3D null) { + tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + styleClass); + } + encodeHeaderOrFooterFacets(creationData, tr, visualDocument, + columnsFooters, + "rich-ordering-list-table-header rich-ordering-list-table-header-cel= l", + footerClass, FOOTER, HtmlComponentUtil.HTML_TAG_TD); + } + if (footer !=3D null) { + encodeTableHeaderOrFooterFacet(creationData, tfoot, + columnsLength, visualDocument, footer, + "dr-table-footer rich-ordering-list-table-header", + "dr-table-footer-continue rich-table-footer-continue", + "dr-table-footercell rich-ordering-list-table-header-cell", + footerClass, HtmlComponentUtil.HTML_TAG_TD); + } + } + = + // ---------- CONTENT ----------- + = + String listWidth =3D sourceElement.getAttribute(LIST_WIDTH); + String listHeight =3D sourceElement.getAttribute(LIST_HEIGHT); + = + String divStyle =3D HtmlComponentUtil.HTML_WIDTH_ATTR + " : " + + (listWidth =3D=3D null ? DEFAULT_LIST_WIDTH : listWidth) + ";" + + HtmlComponentUtil.HTML_HEIGHT_ATTR + " : " + + (listHeight =3D=3D null ? DEFAULT_LIST_HEIGHT : listHeight) + ";"; = + contentDiv.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, divStyle); + = + /* + // Encode colgroup definition. + nsIDOMElement colgroup =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_COLGROUP); + colgroup.setAttribute(HtmlComponentUtil.HTML_TAG_SPAN, String + .valueOf(columnsLength)); + table.appendChild(colgroup); + = + // Encode Caption + encodeCaption(creationData, sourceElement, visualDocument, table); + */ + contentDiv.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "rich-ordering-list-content"); + contentTable.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "rich-ordering-list-items"); + = + ComponentUtil.copyAttributes(sourceElement, contentTable); + contentTable.removeAttribute(HtmlComponentUtil.HTML_ATR_HEIGHT); + contentTable.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, "width: 100= %;"); + = // Create mapping to Encode body for (int i =3D 0; i < NUM_ROW; i++) { List children =3D ComponentUtil.getChildren(sourceElement); - boolean firstRow =3D true; - nsIDOMElement tr =3D null; - VpeChildrenInfo trInfo =3D null; + nsIDOMElement tr =3D visualDocument.createElement(HtmlComponentUtil.HTM= L_TAG_TR); + tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "rich-ordering-list-row"); + VpeChildrenInfo trInfo =3D new VpeChildrenInfo(tr); + tbody.appendChild(tr); + creationData.addChildrenInfo(trInfo); + for (Node child : children) { if (child.getNodeName().endsWith(":column")) { - String breakBefore =3D ((Element) child) - .getAttribute("breakBefore"); - if (breakBefore !=3D null - && breakBefore.equalsIgnoreCase("true")) { - tr =3D null; - } - if (tr =3D=3D null) { - tr =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TR); - if (firstRow) { - tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, - "dr-table-firstrow rich-table-firstrow"); - firstRow =3D false; - } else { - tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, - "dr-table-row rich-table-row"); - } - trInfo =3D new VpeChildrenInfo(tr); - tbody.appendChild(tr); - creationData.addChildrenInfo(trInfo); - } trInfo.addSourceChild(child); } else if (child.getNodeName().endsWith(":columnGroup")) { RichFacesColumnGroupTemplate.DEFAULT_INSTANCE.encode( creationData, (Element) child, visualDocument, tbody); tr =3D null; + trInfo =3D null; } else if (child.getNodeName().endsWith(":subTable")) { RichFacesSubTableTemplate.DEFAULT_INSTANCE.encode( creationData, (Element) child, visualDocument, tbody); tr =3D null; + trInfo =3D null; } else { VpeChildrenInfo childInfo =3D new VpeChildrenInfo(tbody); childInfo.addSourceChild(child); creationData.addChildrenInfo(childInfo); tr =3D null; + trInfo =3D null; } } } + = + // ---------- FINILAZING ----------- + contentTable.appendChild(thead); + contentTable.appendChild(tbody); + contentTable.appendChild(tfoot); + contentDiv.appendChild(contentTable); + outputDiv.appendChild(contentDiv); + = + return outputDiv; + } + = + protected nsIDOMElement encodeFacetsToDiv(Element facetBody, boolean isCo= ntrolFacet, VpeCreationData creationData, nsIDOMDocument visualDocument) { + nsIDOMElement fecetDiv =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + nsIDOMElement table =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TABLE); + nsIDOMElement tbody =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TBODY); + = + boolean isColumnGroup =3D facetBody.getNodeName() + .endsWith(":columnGroup"); + boolean isSubTable =3D facetBody.getNodeName().endsWith(":subTable"); + if (isColumnGroup) { + RichFacesColumnGroupTemplate.DEFAULT_INSTANCE.encode(creationData, + facetBody, visualDocument, tbody); + } else if (isSubTable) { + RichFacesSubTableTemplate.DEFAULT_INSTANCE.encode(creationData, + facetBody, visualDocument, tbody); + } else { + nsIDOMElement tr =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + tbody.appendChild(tr); = - return creationData; + nsIDOMElement td =3D visualDocument.createElement(HtmlComponentUtil.HTM= L_TAG_TD); + tr.appendChild(td); + = + td.setAttribute(HtmlComponentUtil.HTML_SCOPE_ATTR, + HtmlComponentUtil.HTML_TAG_COLGROUP); + + VpeChildrenInfo child =3D new VpeChildrenInfo(td); + child.addSourceChild(facetBody); + creationData.addChildrenInfo(child); + } + = + if (isControlFacet) { + table.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "dr-default-contr= ol-button-text rich-ordering-list-button-content"); + } else { + table.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "dr-default-capti= on-text rich-ordering-list-caption"); + } + = + table.appendChild(tbody); + fecetDiv.appendChild(table); + return fecetDiv; } + = + /** + * = + * @param creationData + * @param parentTheadOrTfood + * @param columns + * @param visualDocument + * @param facetBody + * @param skinFirstRowClass + * @param skinRowClass + * @param skinCellClass + * @param facetBodyClass + * @param element + */ + protected void encodeTableHeaderOrFooterFacet(VpeCreationData creationDat= a, + nsIDOMElement parentTheadOrTfood, int columns, + nsIDOMDocument visualDocument, Element facetBody, + String skinFirstRowClass, String skinRowClass, + String skinCellClass, String facetBodyClass, String element) { + boolean isColumnGroup =3D facetBody.getNodeName() + .endsWith(":columnGroup"); + boolean isSubTable =3D facetBody.getNodeName().endsWith(":subTable"); + if (isColumnGroup) { + RichFacesColumnGroupTemplate.DEFAULT_INSTANCE.encode(creationData, + facetBody, visualDocument, parentTheadOrTfood); + } else if (isSubTable) { + RichFacesSubTableTemplate.DEFAULT_INSTANCE.encode(creationData, + facetBody, visualDocument, parentTheadOrTfood); + } else { + nsIDOMElement tr =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_TR); + parentTheadOrTfood.appendChild(tr); = + String styleClass =3D encodeStyleClass(null, skinFirstRowClass, + facetBodyClass, null); + if (styleClass !=3D null) { + tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, styleClass); + } + String style =3D ComponentUtil.getHeaderBackgoundImgStyle(); + tr.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, style); + + nsIDOMElement td =3D visualDocument.createElement(element); + tr.appendChild(td); + + styleClass =3D encodeStyleClass(null, skinCellClass, facetBodyClass, + null); + if (styleClass !=3D null) { + td.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, styleClass); + } + + if (columns > 0) { + td.setAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN, String + .valueOf(columns)); + } + td.setAttribute(HtmlComponentUtil.HTML_SCOPE_ATTR, + HtmlComponentUtil.HTML_TAG_COLGROUP); + + VpeChildrenInfo child =3D new VpeChildrenInfo(td); + child.addSourceChild(facetBody); + creationData.addChildrenInfo(child); + } + } + = /** - * Creates control button with image and label. * = + * @param creationData + * @param parentTr * @param visualDocument - * visual document - * @param btnName - * the button label - * @param imgName - * path to the image - * @param showButtonLabels - * show button label flag - * = - * @return the button + * @param headersOrFooters + * @param skinCellClass + * @param headerClass + * @param facetName + * @param element */ - private nsIDOMElement createButtonDiv(nsIDOMDocument visualDocument, - String btnName, String imgName, boolean showButtonLabels) { - = - nsIDOMElement div1 =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_DIV); - nsIDOMElement div2 =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_DIV); - nsIDOMElement a =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_A); - nsIDOMElement div3 =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_DIV); - nsIDOMElement img =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_IMG); - = - div1.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-cont= rol"); - div2.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-list= -button"); - = - a.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-list-bu= tton-selection"); - div3.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, "rich-ordering-list= -button-content"); - = - String resourceFolder =3D RichFacesTemplatesActivator.getPluginResource= Path(); - img.setAttribute("src", "file://" + resourceFolder + imgName); - = - String divStyle =3D "background-image: url(file://" + resourceFolder + B= UTTON_BG + ");"; - div2.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, divStyle); + public static void encodeHeaderOrFooterFacets(VpeCreationData creationDat= a, + nsIDOMElement parentTr, nsIDOMDocument visualDocument, + ArrayList headersOrFooters, String skinCellClass, + String headerClass, String facetName, String element) { + for (Element column : headersOrFooters) { + String classAttribute =3D facetName + "Class"; + String columnHeaderClass =3D column.getAttribute(classAttribute); + nsIDOMElement td =3D visualDocument.createElement(element); + parentTr.appendChild(td); + String styleClass =3D encodeStyleClass(null, skinCellClass, + headerClass, columnHeaderClass); + td.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, styleClass); + td.setAttribute("scop", "col"); + = + nsIDOMElement div1 =3D visualDocument + .createElement(HtmlComponentUtil.HTML_TAG_DIV); + String resourceFolder =3D RichFacesTemplatesActivator + .getPluginResourcePath(); + String div1Style =3D "background-image: url(file://" + resourceFolder + + HEADER_CELL_BG + ");"; + div1.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, + "rich-ordering-list-table-header-cell"); + div1.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, div1Style); + td.appendChild(div1); + = + String colspan =3D column + .getAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN); + if (colspan !=3D null && colspan.length() > 0) { + td.setAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN, colspan); + } + Element facetBody =3D ComponentUtil.getFacet(column, facetName); = - div1.appendChild(div2); - div2.appendChild(a); - a.appendChild(div3); - = - div3.appendChild(img); - if (showButtonLabels) { - div3.appendChild(visualDocument.createTextNode(btnName)); +// VpeChildrenInfo child =3D new VpeChildrenInfo(td); + VpeChildrenInfo child =3D new VpeChildrenInfo(div1); + child.addSourceChild(facetBody); + creationData.addChildrenInfo(child); } - = - return div1; } - + = + = /** * = * @param creationData @@ -495,68 +774,6 @@ = /** * = - * @param creationData - * @param parentTheadOrTfood - * @param columns - * @param visualDocument - * @param facetBody - * @param skinFirstRowClass - * @param skinRowClass - * @param skinCellClass - * @param facetBodyClass - * @param element - */ - protected void encodeTableHeaderFacet(VpeCreationData creationData, - nsIDOMElement parentTheadOrTfood, int columns, - nsIDOMDocument visualDocument, Element facetBody, - String skinFirstRowClass, String skinRowClass, - String skinCellClass, String facetBodyClass, String element) { - boolean isColumnGroup =3D facetBody.getNodeName() - .endsWith(":columnGroup"); - boolean isSubTable =3D facetBody.getNodeName().endsWith(":subTable"); - if (isColumnGroup) { - RichFacesColumnGroupTemplate.DEFAULT_INSTANCE.encode(creationData, - facetBody, visualDocument, parentTheadOrTfood); - } else if (isSubTable) { - RichFacesSubTableTemplate.DEFAULT_INSTANCE.encode(creationData, - facetBody, visualDocument, parentTheadOrTfood); - } else { - nsIDOMElement tr =3D visualDocument - .createElement(HtmlComponentUtil.HTML_TAG_TR); - parentTheadOrTfood.appendChild(tr); - - String styleClass =3D encodeStyleClass(null, skinFirstRowClass, - facetBodyClass, null); - if (styleClass !=3D null) { - tr.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, styleClass); - } - String style =3D ComponentUtil.getHeaderBackgoundImgStyle(); - tr.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, style); - - nsIDOMElement td =3D visualDocument.createElement(element); - tr.appendChild(td); - - styleClass =3D encodeStyleClass(null, skinCellClass, facetBodyClass, - null); - if (styleClass !=3D null) { - td.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, styleClass); - } - - if (columns > 0) { - td.setAttribute(HtmlComponentUtil.HTML_TABLE_COLSPAN, String - .valueOf(columns)); - } - td.setAttribute(HtmlComponentUtil.HTML_SCOPE_ATTR, - HtmlComponentUtil.HTML_TAG_COLGROUP); - - VpeChildrenInfo child =3D new VpeChildrenInfo(td); - child.addSourceChild(facetBody); - creationData.addChildrenInfo(child); - } - } - - /** - * = * @param parentSourceElement * @return list of columns */ Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe= -templates-richfaces.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/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templ= ates-richfaces.xml 2008-01-22 17:38:19 UTC (rev 5881) +++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templ= ates-richfaces.xml 2008-01-22 17:52:37 UTC (rev 5882) @@ -348,8 +348,8 @@ - - + + --===============0144014521509838573==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 12:52:41 2008 Content-Type: multipart/mixed; boundary="===============8027505213544926761==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5883 - trunk/vpe/plugins/org.jboss.tools.vpe/templates. Date: Tue, 22 Jan 2008 12:52:41 -0500 Message-ID: --===============8027505213544926761== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: dmaliarevich Date: 2008-01-22 12:52:40 -0500 (Tue, 22 Jan 2008) New Revision: 5883 Modified: trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf.xml Log: http://jira.jboss.com/jira/browse/JBIDE-1579 Modified: trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf= .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/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf.xml 2= 008-01-22 17:52:37 UTC (rev 5882) +++ trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf.xml 2= 008-01-22 17:52:40 UTC (rev 5883) @@ -997,7 +997,7 @@ - = + = --===============8027505213544926761==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 12:58:06 2008 Content-Type: multipart/mixed; boundary="===============8590755556426951680==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5884 - in trunk/seam: plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core and 4 other directories. Date: Tue, 22 Jan 2008 12:58:06 -0500 Message-ID: --===============8590755556426951680== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: akazakov Date: 2008-01-22 12:58:05 -0500 (Tue, 22 Jan 2008) New Revision: 5884 Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/co= re/project/facet/SeamProjectPreferences.java trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/co= re/project/facet/SeamRuntimeManager.java trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/in= ternal/core/SeamProject.java trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/i= nternal/project/facet/SeamInstallWizardPage.java trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/p= references/SeamSettingsPreferencePage.java trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/w= izard/SeamGenerateEnitiesWizard.java trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam= /core/test/project/facet/SeamRuntimeManagerTest.java Log: http://jira.jboss.com/jira/browse/JBIDE-1490 Resolved Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/= seam/core/project/facet/SeamProjectPreferences.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/c= ore/project/facet/SeamProjectPreferences.java 2008-01-22 17:52:40 UTC (rev = 5883) +++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/c= ore/project/facet/SeamProjectPreferences.java 2008-01-22 17:58:05 UTC (rev = 5884) @@ -20,12 +20,6 @@ */ public class SeamProjectPreferences { /** - * Last selected SeamRuntime name - */ - public static final String SEAM_DEFAULT_RUNTIME_NAME =3D SeamCorePlugin.P= LUGIN_ID - + ".project.facet.default.runtime.name"; //$NON-NLS-1$ - - /** * Last selected connection profile */ public static final String SEAM_DEFAULT_CONNECTION_PROFILE =3D SeamCorePl= ugin.PLUGIN_ID @@ -44,12 +38,6 @@ + ".runtime.list"; //$NON-NLS-1$ = /** - * TODO - */ - public static final String RUNTIME_DEFAULT =3D SeamCorePlugin.PLUGIN_ID - + ".runtime.default"; //$NON-NLS-1$ - - /** * Last selected deployment type */ public static final String JBOSS_AS_DEFAULT_DEPLOY_AS =3D SeamCorePlugin.= PLUGIN_ID @@ -77,4 +65,4 @@ public static String getStringPreference(final String name) { return SeamCorePlugin.getDefault().getPreferenceStore().getString(name); } -} +} \ No newline at end of file Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/= seam/core/project/facet/SeamRuntimeManager.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/c= ore/project/facet/SeamRuntimeManager.java 2008-01-22 17:52:40 UTC (rev 5883) +++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/c= ore/project/facet/SeamRuntimeManager.java 2008-01-22 17:58:05 UTC (rev 5884) @@ -22,8 +22,13 @@ import org.eclipse.core.runtime.CoreException; import org.eclipse.jface.preference.IPersistentPreferenceStore; import org.eclipse.jface.preference.IPreferenceStore; +import org.eclipse.wst.common.project.facet.core.IFacetedProject; +import org.eclipse.wst.common.project.facet.core.IProjectFacet; +import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion; +import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager; import org.jboss.tools.seam.core.ISeamProject; import org.jboss.tools.seam.core.SeamCorePlugin; +import org.jboss.tools.seam.internal.core.project.facet.ISeamCoreConstants; import org.jboss.tools.seam.internal.core.project.facet.SeamFacetPreferenc= eInitializer; import org.jboss.tools.seam.internal.core.validation.SeamRuntimeValidation; = @@ -207,6 +212,18 @@ } = /** + * Marks this runtime as default. Marks other runtimes with the same vers= ion as not default. + * @param runtime + */ + public void setDefaultRuntime(SeamRuntime runtime) { + SeamRuntime[] runtimes =3D getRuntimes(runtime.getVersion()); + for (int i =3D 0; i < runtimes.length; i++) { + runtimes[i].setDefault(false); + } + runtime.setDefault(true); + } + + /** * Return first default SeamRuntime * = * @return @@ -222,6 +239,32 @@ } = /** + * If project has seam facet then this method returns default seam runtim= e for proper version of facet. + * Otherwise return first default runtime. = + * @param project + * @return + */ + public static SeamRuntime getDefaultRuntimeForProject(IProject project) { + if(project=3D=3Dnull) { + throw new IllegalArgumentException("Project must not be null."); + } + try { + IProjectFacet facet =3D ProjectFacetsManager.getProjectFacet(ISeamCoreC= onstants.SEAM_CORE_FACET_ID); + IFacetedProject facetedProject =3D ProjectFacetsManager.create(project); + if(facetedProject!=3Dnull) { + IProjectFacetVersion facetVersion =3D facetedProject.getInstalledVersi= on(facet); + SeamVersion seamVersion =3D SeamVersion.parseFromString(facetVersion.g= etVersionString()); + return getInstance().getDefaultRuntime(seamVersion); + } + } catch (CoreException e) { + SeamCorePlugin.getPluginLog().logError(e); + } catch (IllegalArgumentException e) { + SeamCorePlugin.getPluginLog().logError(e); + } + return getInstance().getDefaultRuntime(); + } + + /** * Return default runtime for given SeamVersion * = * @param version Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/= seam/internal/core/SeamProject.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/SeamProject.java 2008-01-22 17:52:40 UTC (rev 5883) +++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/i= nternal/core/SeamProject.java 2008-01-22 17:58:05 UTC (rev 5884) @@ -35,6 +35,10 @@ import org.eclipse.core.runtime.Preferences; import org.eclipse.core.runtime.preferences.IEclipsePreferences; import org.eclipse.core.runtime.preferences.IScopeContext; +import org.eclipse.wst.common.project.facet.core.IFacetedProject; +import org.eclipse.wst.common.project.facet.core.IProjectFacet; +import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion; +import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager; import org.jboss.tools.common.xml.XMLUtilities; import org.jboss.tools.seam.core.ISeamComponent; import org.jboss.tools.seam.core.ISeamComponentDeclaration; @@ -55,6 +59,8 @@ import org.jboss.tools.seam.core.project.facet.SeamProjectPreferences; import org.jboss.tools.seam.core.project.facet.SeamRuntime; import org.jboss.tools.seam.core.project.facet.SeamRuntimeManager; +import org.jboss.tools.seam.core.project.facet.SeamVersion; +import org.jboss.tools.seam.internal.core.project.facet.ISeamCoreConstants; import org.jboss.tools.seam.internal.core.scanner.LoadedDeclarations; import org.jboss.tools.seam.internal.core.scanner.lib.ClassPath; import org.jboss.tools.seam.internal.core.validation.SeamValidationContext; @@ -138,24 +144,18 @@ public IProject getProject() { return project; } - = + /** * = */ public String getRuntimeName() { - String parent =3D getParentProjectName(); - if(parent !=3D null) { - IProject p =3D ResourcesPlugin.getWorkspace().getRoot().getProject(pare= nt); - if(p =3D=3D null || !p.isAccessible()) return null; - ISeamProject sp =3D SeamCorePlugin.getSeamProject(p, false); - return sp =3D=3D null ? null : sp.getRuntimeName(); + SeamRuntime runtime =3D getRuntime(); + if(runtime!=3Dnull) { + return runtime.getName(); } - if(runtimeName =3D=3D null) { - SeamRuntime runtime =3D SeamRuntimeManager.getInstance().getDefaultRunt= ime(); - return runtime !=3D null ? runtime.getName() : null; - } return runtimeName; } + /** * = */ @@ -168,21 +168,21 @@ return sp =3D=3D null ? null : sp.getRuntime(); } if(runtimeName =3D=3D null) { - return SeamRuntimeManager.getInstance().getDefaultRuntime(); + return SeamRuntimeManager.getDefaultRuntimeForProject(project); } return runtimeName =3D=3D null ? null : SeamRuntimeManager.getInstance()= .findRuntimeByName(runtimeName); } - = + public String getParentProjectName() { IEclipsePreferences p =3D getSeamPreferences(); return p =3D=3D null ? null : p.get("seam.parent.project", null); } - = + public void setRuntimeName(String runtimeName) { if(this.runtimeName =3D=3D runtimeName) return; if(this.runtimeName !=3D null && this.runtimeName.equals(runtimeName)) r= eturn; - SeamRuntime d =3D SeamRuntimeManager.getInstance().getDefaultRuntime(); - = + SeamRuntime d =3D SeamRuntimeManager.getDefaultRuntimeForProject(project= ); + boolean useDefaultRuntime =3D d !=3D null && d.getName().equals(runtimeN= ame); if(useDefaultRuntime) { this.runtimeName =3D null; @@ -191,7 +191,7 @@ } storeRuntime(); } - = + /** * Returns list of scope objects for all scope types. * @return @@ -199,7 +199,7 @@ public ISeamScope[] getScopes() { return scopes; } - = + /** * Returns scope object for specified scope type. * @param scopeType @@ -251,7 +251,7 @@ loadRuntime(); // load(); } - = + /** * = */ @@ -263,19 +263,19 @@ } else { storeRuntime(); } - SeamCorePlugin.getDefault().getPluginPreferences().addPropertyChangeList= ener(new Preferences.IPropertyChangeListener() { - public void propertyChange(Preferences.PropertyChangeEvent event) { - if(SeamProjectPreferences.RUNTIME_LIST.equals(event.getProperty())) { - SeamRuntime d =3D SeamRuntimeManager.getInstance().getDefaultRuntime(= ); - if(d !=3D null && d.getName().equals(runtimeName)) { +// SeamCorePlugin.getDefault().getPluginPreferences().addPropertyChangeLi= stener(new Preferences.IPropertyChangeListener() { +// public void propertyChange(Preferences.PropertyChangeEvent event) { +// if(SeamProjectPreferences.RUNTIME_LIST.equals(event.getProperty())) { +// SeamRuntime d =3D SeamRuntimeManager.getInstance().getDefaultRuntim= e(); +// if(d !=3D null && d.getName().equals(runtimeName)) { // runtimeName =3D null; // storeRuntime(); - } - } - } - }); +// } +// } +// } +// }); } - = + /** * = * @return Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/se= am/ui/internal/project/facet/SeamInstallWizardPage.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/= internal/project/facet/SeamInstallWizardPage.java 2008-01-22 17:52:40 UTC (= rev 5883) +++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/= internal/project/facet/SeamInstallWizardPage.java 2008-01-22 17:58:05 UTC (= rev 5884) @@ -88,11 +88,7 @@ = private DataModelValidatorDelegate validatorDelegate; = - private IFieldEditor jBossSeamHomeEditor =3D IFieldEditorFactory.INSTANCE - .createComboWithButton(ISeamFacetDataModelProperties.SEAM_RUNTIME_NAME, - SeamUIMessages.SEAM_INSTALL_WIZARD_PAGE_SEAM_RUNTIME, getRuntimeNames(= ), = - getSeamRuntimeDefaultValue(), = - true, new NewSeamRuntimeAction(), (IValidator)null); + private IFieldEditor jBossSeamHomeEditor; = private IFieldEditor jBossAsDeployAsEditor =3D IFieldEditorFactory.INSTAN= CE .createRadioEditor( @@ -209,17 +205,11 @@ String seamFacetVersion =3D model.getProperty(IFacetDataModelProperties.= FACET_VERSION_STR).toString(); SeamVersion seamVersion =3D SeamVersion.parseFromString(seamFacetVersion= ); = = - String seamDefaultRuntimeName =3D SeamProjectPreferences.getStringPrefer= ence(SeamProjectPreferences.SEAM_DEFAULT_RUNTIME_NAME); - if("".equals(seamDefaultRuntimeName)) { - SeamRuntime defaultRuntime =3D SeamRuntimeManager.getInstance().getDefa= ultRuntime(seamVersion); - if(defaultRuntime=3D=3Dnull) { - return ""; - } else { - return defaultRuntime.getName(); - } - } else { - return seamDefaultRuntimeName; + SeamRuntime defaultRuntime =3D SeamRuntimeManager.getInstance().getDefau= ltRuntime(seamVersion); + if(defaultRuntime=3D=3Dnull) { + return ""; } + return defaultRuntime.getName(); } = private DataModelSynchronizer sync; @@ -248,9 +238,11 @@ * Finish has been pressed. */ public void transferStateToConfig() { - SeamCorePlugin.getDefault().getPluginPreferences().setValue( - SeamProjectPreferences.SEAM_DEFAULT_RUNTIME_NAME, - jBossSeamHomeEditor.getValueAsString()); + String seamRuntimeName =3D jBossSeamHomeEditor.getValueAsString(); + SeamRuntime seamRuntime =3D SeamRuntimeManager.getInstance().findRuntime= ByName(seamRuntimeName); + if(seamRuntime!=3Dnull) { + SeamRuntimeManager.getInstance().setDefaultRuntime(seamRuntime); + } = SeamCorePlugin.getDefault().getPluginPreferences().setValue( SeamProjectPreferences.SEAM_DEFAULT_CONNECTION_PROFILE, @@ -301,6 +293,12 @@ * Creates Seam Facet Wizard Page contents */ public void createControl(Composite parent) { + jBossSeamHomeEditor =3D IFieldEditorFactory.INSTANCE + .createComboWithButton(ISeamFacetDataModelProperties.SEAM_RUNTIME_NAME, + SeamUIMessages.SEAM_INSTALL_WIZARD_PAGE_SEAM_RUNTIME, getRuntimeNames(= ), = + getSeamRuntimeDefaultValue(), = + true, new NewSeamRuntimeAction(), (IValidator)null); + initializeDialogUnits(parent); = Composite root =3D new Composite(parent, SWT.NONE); Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/se= am/ui/preferences/SeamSettingsPreferencePage.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/= preferences/SeamSettingsPreferencePage.java 2008-01-22 17:52:40 UTC (rev 58= 83) +++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/= preferences/SeamSettingsPreferencePage.java 2008-01-22 17:58:05 UTC (rev 58= 84) @@ -106,7 +106,7 @@ SeamPreferencesMessages.SEAM_SETTINGS_PREFERENCE_PAGE_SEAM_SUPPORT, Se= amPreferencesMessages.SEAM_SETTINGS_PREFERENCE_PAGE_SEAM_SUPPORT, false); seamEnablement.setValue(hasSeamSupport()); = - SeamRuntime rs =3D SeamRuntimeManager.getInstance().getDefaultRuntime(); + SeamRuntime rs =3D SeamRuntimeManager.getDefaultRuntimeForProject(projec= t); = List namesAsList =3D getNameList(); = Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/se= am/ui/wizard/SeamGenerateEnitiesWizard.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/= wizard/SeamGenerateEnitiesWizard.java 2008-01-22 17:52:40 UTC (rev 5883) +++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/= wizard/SeamGenerateEnitiesWizard.java 2008-01-22 17:58:05 UTC (rev 5884) @@ -310,7 +310,7 @@ if(project=3D=3Dnull) { return null; } - SeamRuntime seamRt =3D SeamRuntimeManager.getInstance().getDefaultRuntim= e(); + SeamRuntime seamRt =3D SeamRuntimeManager.getDefaultRuntimeForProject(pr= oject); = String runtimeName =3D SeamCorePlugin.getSeamPreferences(project) .get(ISeamFacetDataModelProperties.SEAM_RUNTIME_NAME,""); //$NON-NLS-1$ Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/too= ls/seam/core/test/project/facet/SeamRuntimeManagerTest.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/project/facet/SeamRuntimeManagerTest.java 2008-01-22 17:52:40 U= TC (rev 5883) +++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/sea= m/core/test/project/facet/SeamRuntimeManagerTest.java 2008-01-22 17:58:05 U= TC (rev 5884) @@ -101,7 +101,7 @@ * Test method for {@link org.jboss.tools.seam.core.project.facet.SeamRun= timeManager#getDefaultRuntime()}. */ public void testGetDefaultRuntime() { - assertNotNull("Cannot obtain default runtime 'Seam 1.2.0'",manager.getDe= faultRuntime()); - assertNotNull("Cannot obtain default runtime 'Seam 1.2.0'",manager.getDe= faultRuntime().getName().equals("Seam 1.2.0")); + assertNotNull("Cannot obtain default runtime 'Seam 1.2.0'",manager.getDe= faultRuntime(SeamVersion.SEAM_1_2)); + assertNotNull("Cannot obtain default runtime 'Seam 1.2.0'",manager.getDe= faultRuntime(SeamVersion.SEAM_1_2).getName().equals("Seam 1.2.0")); } -} +} \ No newline at end of file --===============8590755556426951680==-- From jbosstools-commits at lists.jboss.org Tue Jan 22 13:02:55 2008 Content-Type: multipart/mixed; boundary="===============2146006010061616978==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r5885 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test: resources/jsfTest/WebContent/pages/JBIDE and 4 other directories. Date: Tue, 22 Jan 2008 13:02:54 -0500 Message-ID: --===============2146006010061616978== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mareshkau Date: 2008-01-22 13:02:54 -0500 (Tue, 22 Jan 2008) New Revision: 5885 Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/address.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/childs.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/competenceMeasures.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/contracts.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/cumuls.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/decorations.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/developmentCircles.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/diplomas.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/formations.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/illnesses.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/leaves.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/nok.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/pictureUpload.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/promotionExams.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/salaryRanks.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/selectEntry.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/selectSecretariat.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/transportation.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/elements/workAccidents.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/employee.xhtml trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebCo= ntent/pages/JBIDE/1479/hr-layout.xhtml Removed: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE1479/ Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/JsfAllTests.java trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf= /vpe/jsf/test/jbide/JBIDE1479Test.java Log: junit adjustment, unused code was removed. Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/address.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/address.xhtml (rev= 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/address.xhtml 2008-01-22 18:02:54 UTC (rev= 5885) @@ -0,0 +1,76 @@ +=EF=BB=BF + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + #{bundle['Address.street']} + + + +
    + + + + + + + + + +
    + + + + + + +
    + + + + + + + + + +
    + + + + +
    +
    + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/childs.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/childs.xhtml (rev = 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/childs.xhtml 2008-01-22 18:02:54 UTC (rev = 5885) @@ -0,0 +1,105 @@ + + + + = + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + +
    + + + +
    + + + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    + + + Leeftijd kind huidig jaar:
    + +
    +
    +
    +
    +
    + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/competenceMeasures.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/competenceMeasures.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/competenceMeasures.xhtml 2008-01-22 18:02:= 54 UTC (rev 5885) @@ -0,0 +1,410 @@ + + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{bundle['CompetenceMeasure.name']}#{measure.name}#{bundle['CompetenceMeasure.reference']}#{measure.reference} + + + + +
    #{bundle['CompetenceMeasure.organismApplyDate']} + + #{bundle['CompetenceMeasure.IRMApplyDate']} + +
    #{bundle['CompetenceMeasure.validityStart']} + + #{bundle['CompetenceMeasure.validityEnd']} + +
    #{bundle['CompetenceMeasure.level']}#{measure.level}#{bundle['CompetenceMeasure.premium']} + +
    #{bundle['CompetenceMeasure.competenceMeasureTests'= ]} + + + + + + + + + +
    + + #{test.score} + +
    +
    #{bundle['CompetenceMeasure.evolution']} + + #{bundle['CompetenceMeasure.scoreTotal']}#{measure.scoreTotal}
    #{bundle['CompetenceMeasure.pvDate']} + + #{bundle['CompetenceMeasure.nextDate']} + +
    #{bundle['CompetenceMeasure.nextSalaryScale']}#{measure.nextSalaryScale}#{bundle['CompetenceMeasure.nextSalaryScaleDate']} + +
    #{bundle['CompetenceMeasure.location']}#{measure.location}#{bundle['CompetenceMeasure.duration']}#{measure.duration}
    #{bundle['CompetenceMeasure.testNumber']}#{measure.testNumber}
    #{bundle['CompetenceMeasure.note']}#{measure.note}
    + + + + + +
    + = + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{bundle['CompetenceMeasure.name']} + #{bundle['CompetenceMeasure.reference']} + <= /td> + = + + + + +
    #{bundle['CompetenceMeasure.organismApplyDate']} + + #{bundle['CompetenceMeasure.IRMApplyDate']} + +
    #{bundle['CompetenceMeasure.validityStart']} + + #{bundle['CompetenceMeasure.validityEnd']} + +
    #{bundle['CompetenceMeasure.level']} + #{bundle['CompetenceMeasure.premium']} + + + + + +
    #{bundle['CompetenceMeasure.competenceMeasureTests'= ]} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{bundle['CompetenceMeasureTest.date']}#{bundle['CompetenceMeasureTest.score']}#{bundle['CompetenceMeasureTest.result']}
    + + #{test.score} + + + + + + +
    + + + +
    +
    + + + + + = + + + + + + + + + + + = +
    #{bundle['CompetenceMeasureTest.date']} + + + + + +
    #{bundle['CompetenceMeasureTest.score']} +
    #{bundle['CompetenceMeasureTest.result']} + + + + + +
    +
    +
    +
    +
    +
    #{bundle['CompetenceMeasure.evolution']} + + + + + + #{bundle['CompetenceMeasure.scoreTotal']} +
    #{bundle['CompetenceMeasure.pvDate']} + + #{bundle['CompetenceMeasure.nextDate']} + +
    #{bundle['CompetenceMeasure.nextSalaryScale']} + #{bundle['CompetenceMeasure.nextSalaryScaleDate']} + +
    #{bundle['CompetenceMeasure.location']} + #{bundle['CompetenceMeasure.duration']} +
    #{bundle['CompetenceMeasure.testNumber']} +
    #{bundle['CompetenceMeasure.note']} +
    +
    +
    +
    +
    +
    + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/contracts.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/contracts.xhtml (r= ev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/contracts.xhtml 2008-01-22 18:02:54 UTC (r= ev 5885) @@ -0,0 +1,310 @@ + + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = + + + + + + + +
    <= /th> +
    <= /th> + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    + + + + + + + +
    + + + + + +
    + +
    + + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + = + = + + + + + + + + + + + + + + + +
    + #{bundle['Contract.reason']} + + + + + + + + + #{bundle['Contract.contractCategory']} + + + + + + + +
    + + = + + + + + + = + + + +
    + + = + + + + + + = + + + +
    + + + + + + + + + + + + + +
    + + + + + + + +
    + + + + + #{bundle['Contract.budgetSource']} + + + + + + + +
    + + + + + + + + + +
    + +
    +
    +
    +
    +
    + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/cumuls.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/cumuls.xhtml (rev = 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/cumuls.xhtml 2008-01-22 18:02:54 UTC (rev = 5885) @@ -0,0 +1,145 @@ + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    + +
    + +
    <= /td> +
    + + + + + +
    + = + + + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    + + + +
    + + + + +
    + +
    + +
    + +
    + + +
    + +
    +
    +
    +
    + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/decorations.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/decorations.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/decorations.xhtml 2008-01-22 18:02:54 UTC = (rev 5885) @@ -0,0 +1,105 @@ + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{bundle['Decoration.date']}#{bundle['Decoration.kind']}#{bundle['Decoration.decorationClass']}
    + + + +
    + + + +
    + +
    + + + + + = + + + + + + + + + + + + + +
    #{bundle['Decoration.date']} + + + + + +
    #{bundle['Decoration.kind']} + = + + + + + +
    #{bundle['Decoration.decorationClass']} + = + + + + + +
    + +
    +
    +
    +
    +
    +
    + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/developmentCircles.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/developmentCircles.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/developmentCircles.xhtml 2008-01-22 18:02:= 54 UTC (rev 5885) @@ -0,0 +1,144 @@ + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{bundle['DevelopmentCircle.functionChiefName']}#{circle.functionChiefName} + + + = + +
    #{bundle['DevelopmentCircle.duration']}#{circle.duration}
    #{bundle['DevelopmentCircle.planningMeetingDate']}
    #{bundle['DevelopmentCircle.functionMeetingDate']}
    #{bundle['DevelopmentCircle.workingMeetingDate']}=
    #{bundle['DevelopmentCircle.evaluationMeetingDate']}
    #{bundle['DevelopmentCircle.result']}#{circle.result}
    + + + + + +
    + + +
    + + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{bundle['DevelopmentCircle.functionChiefName']} + + + + + + + + + +
    #{bundle['DevelopmentCircle.duration']}
    #{bundle['DevelopmentCircle.planningMeetingDate']} + + #{bundle['DevelopmentCircle.result']}= + +
    #{bundle['DevelopmentCircle.functionMeetingDate']} + +
    #{bundle['DevelopmentCircle.workingMeetingDate']} + +
    #{bundle['DevelopmentCircle.evaluationMeetingDate']} + +
    +
    +
    +
    +
    +
    + +
    + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/diplomas.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/diplomas.xhtml (re= v 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/diplomas.xhtml 2008-01-22 18:02:54 UTC (re= v 5885) @@ -0,0 +1,110 @@ + + + + = + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + #{diploma.institution} + + + + +
    + + + + + +
    + = + + + + + = + + + + + + + + + + + + +
    + + + + +
    + = + + + = + +
    + +
    +
    +
    +
    +
    + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/formations.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/formations.xhtml (= rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/formations.xhtml 2008-01-22 18:02:54 UTC (= rev 5885) @@ -0,0 +1,119 @@ + + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + + + + + +
    + = + = +
    + + + + + + = + + + + + + + + + + + + + + + +
    + + + + +
    = + + +
    +
    + +
    + +
    +
    +
    +
    +
    + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/illnesses.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/illnesses.xhtml (r= ev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/illnesses.xhtml 2008-01-22 18:02:54 UTC (r= ev 5885) @@ -0,0 +1,131 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{bundle['Illness.kind']}#{bundle['Illness.startDate']}#{bundle['Illness.endDate']}#{bundle['Illness.workingDays']}#{bundle['Illness.calendarDays']}#{bundle['Illness.document']}
    + + + + #{illness.workingDays}#{illness.calendarDays}[document here later...] + + + + + + +
    #{illness.note}
    = + + + + + +
    + = +
    + + + + + = + + + + + + + + + + + + + + + + + + +
    #{bundle['Illness.kind']} + + + + + + + + + + +
    #{bundle['Illness.startDate']} = + + #{bundle['Illness.endDate']} = + +
    #{bundle['Illness.workingDays']} + #{bundle['Illness.calendarDays']} +
    #{bundle['Illness.note']}
    + +
    +
    +
    +
    +
    + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/leaves.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/leaves.xhtml (rev = 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/leaves.xhtml 2008-01-22 18:02:54 UTC (rev = 5885) @@ -0,0 +1,146 @@ + + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{bundle['Leave.start']}#{bundle['Leave.end']}#{bundle['Leave.type']}#{bundle['Leave.adminStatus']}#{bundle['Leave.workingPercent']}#{bundle['Leave.reason']}
    + + + + #{leave.workingPercent} + + + + +
    + + + + +
    + + + + + + + + = + + + + + + + + + + + + + + + + + + +
    #{bundle['Leave.start']} + + #{bundle['Leave.end']} + + + + + +
    #{bundle['Leave.type']} + + + + + + + #{bundle['Leave.adminStatus']} + + + + + +
    #{bundle['Leave.workingPercent']} +
    #{bundle['Leave.reason']} + + + + + + + +
    + +
    +
    +
    +
    +
    + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/nok.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/nok.xhtml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/nok.xhtml 2008-01-22 18:02:54 UTC (rev 588= 5) @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    + = + +
    + + + + = + +
    = + + = + +
    +
    + + + + +
    +
    + + +
    +
    + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/pictureUpload.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/pictureUpload.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/pictureUpload.xhtml 2008-01-22 18:02:54 UT= C (rev 5885) @@ -0,0 +1,16 @@ +=EF=BB=BF + + + + + + #{bundle['Employee.picture.upload.details']}
    + =
    + +
    +
    + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/promotionExams.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/promotionExams.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/promotionExams.xhtml 2008-01-22 18:02:54 U= TC (rev 5885) @@ -0,0 +1,162 @@ + + + + + + = + + + + + + + + + + = + = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{bundle['PromotionExam.name']}#{exam.name}#{bundle['PromotionExam.reference']}#{exam.reference} + + + + +
    #{bundle['PromotionExam.number']}#{exam.number}#{bundle['PromotionExam.level']}#{exam.level}
    #{bundle['PromotionExam.inscriptionDate']} + + #{bundle['PromotionExam.examDate']} + +
    #{bundle['PromotionExam.result']} + + #{bundle['PromotionExam.pvDate']} + +
    #{bundle['PromotionExam.note']}#{exam.note}
    + + + + + +
    + = + = + +
    + + + + + + = + + = + + + + + + + + + + + + + + + + + + + + + + +
    #{bundle['PromotionExam.name']} + = #{bundle['PromotionExam.reference']} + <= /td> = + = + + + + +
    #{bundle['PromotionExam.number']} + #{bundle['PromotionExam.level']} +
    #{bundle['PromotionExam.inscriptionDate']} + + #{bundle['PromotionExam.examDate']} + +
    #{bundle['PromotionExam.result']} + + + + + + #{bundle['PromotionExam.pvDate']} + +
    #{bundle['PromotionExam.note']} + =
    +
    + +
    +
    +
    +
    + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/salaryRanks.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/salaryRanks.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/salaryRanks.xhtml 2008-01-22 18:02:54 UTC = (rev 5885) @@ -0,0 +1,96 @@ + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{bundle['SalaryRank.scale']}#{bundle['SalaryRank.start']}#{bundle['SalaryRank.end']}
    + + + + +
    + + + +
    + +
    + + + + + = + + + + + + + + + + + + + +
    #{bundle['SalaryRank.start']} + + + + + +
    #{bundle['SalaryRank.end']} + +
    #{bundle['SalaryRank.scale']}
    + +
    +
    +
    +
    +
    +
    + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/selectEntry.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/selectEntry.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/selectEntry.xhtml 2008-01-22 18:02:54 UTC = (rev 5885) @@ -0,0 +1,41 @@ +=EF=BB=BF + + + +
    + + + + + + + + = + + +
    +
    + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/selectSecretariat.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/selectSecretariat.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/selectSecretariat.xhtml 2008-01-22 18:02:5= 4 UTC (rev 5885) @@ -0,0 +1,41 @@ +=EF=BB=BF + + + +
    + + + + + + + + = + + +
    +
    + \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/transportation.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/transportation.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/transportation.xhtml 2008-01-22 18:02:54 U= TC (rev 5885) @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + #{bundle['Transportation.bicycleAllocation']}
    + + + + =
    + + + + + + +
    + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/elements/workAccidents.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/workAccidents.xhtml = (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/elements/workAccidents.xhtml 2008-01-22 18:02:54 UT= C (rev 5885) @@ -0,0 +1,303 @@ + + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + + = + + + + + + + + + + + + + + + + +
    #{bundle['WorkAccident.number']}#{bundle['WorkAccident.type']}#{bundle['WorkAccident.date']}#{bundle['WorkAccident.illness']}
    #{bundle['Illness.kind']}#{bundle['Illness.startDate']}#{bundle['Illness.endDate']}#{bundle['Illness.workingDays']}#{bundle['Illness.calendarDays']}#{bundle['Illness.document']}
    #{accident.number} + + + + + + + + + + + #{accident.illness.workingDays}#{accident.illness.calendarDays}[document here later...] + + + + + + +
    = + + + + + +
    + = +
    + + + + + = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = + = +
    #{bundle['WorkAccident.number']} + + + + + + +
    #{bundle['WorkAccident.type']} + + + + + + + +
    #{bundle['WorkAccident.lesions']} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{bundle['WorkAccidentLesion.type']}#{bundle['WorkAccidentLesion.location']}
    + + + + + + + + + + + + +
    + + + +
    #{bundle['WorkAccidentLesion.type']} + + + + + + + + + + + +
    #{bundle['WorkAccidentLesion.location']} + + + + + + + +
    + +
    + = +
    +
    #{bundle['WorkAccident.date']} = + + +
    #{bundle['WorkAccident.illness']} + + + + + [refresh] + +
    #{bundle['WorkAccident.thirdPartyCaused']} + + +
    #{bundle['WorkAccident.thirdPartyLastname']} + + +
    #{bundle['WorkAccident.thirdPartyFirstname']} + + +
    #{bundle['WorkAccident.thirdPartyAddress']} + + + +
    #{bundle['WorkAccident.thirdPartyPolicy']} + + +
    #{bundle['WorkAccident.thirdPartyInsurance']} + + +
    + +
    +
    +
    +
    +
    + = \ No newline at end of file Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/employee.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/employee.xhtml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/employee.xhtml 2008-01-22 18:02:54 UTC (rev 5885) @@ -0,0 +1,858 @@ + + + + + + + + +

    Add/Edit Employee datas

    +
    + + + + + + + + + + + + + + + +
    #{bundle['Employee.firstname']}
    #{bundle['Employee.lastname']}
    + + + + + + + + + + + + + + + + + + + +
    #{bundle['Employee.language']} + + + + + #{bundle['Employee.gender']} + + + + +
    #{bundle['Employee.formulation']} + + + + #{bundle['Employee.title']} + + + + +
    #{bundle['Employee.section']} + + +
    + #{bundle['Employee.officeAddres= s']} + + + + + + + + + + + + + + + + + +
    #{bundle['Employee.p= icture']}
    + + + + + +
    + +
    #{bundle['Employee.email']}
    #{bundle['Employee.login']}@oma.be +
    #{bundle['Employee.locationUnit']} + + + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + = + + + + + + +
    #{bundle['Employee.birthDate']} + + + #{bundle['Employee.age']}
    #{bundle['Employee.birthPlace']} <= /td> + #{bundle['Employee.nationality']} + +
    #{bundle['Employee.nationalRegisterNumber']} + #{bundle['Employee.idCardNumber']}
    + #{bundle['Employee.home']} + + + #{bundle['Employee.lastHomeMove']} + + +
    #{bundle['Employee.bankAccountNumber']}
    +
    + + Status + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +
    #{bundle['PData.status']} + + + +
    #{bundle['Employee.administrativeState']} + + + + + #{bundle['Employee.scientific']}
    #{bundle['Employee.projects']}:#{bundle['hint.pickList']} + +
    +
    + #{bundle['Employee.functionGrou= ps']} + + + + + + + + + + + + + + + Rank + + + + + + + + + + + +
    #{bundle['Employee.workingPercent']} + + #{bundle['Employee.salaryScale']}
    #{bundle['Employee.expertSalaryScale']} + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{bundle['Employee.bilingualPremium']} + + + +
    #{bundle['Employee.bilingualScale']}#{bundle['Employee.missionDuration']} + + + +
    #{bundle['Employee.officeLocation']}#{bundle['Employee.officeKeyNumber']} +
    #{bundle['Employee.trap']} + + + + +
    #{bundle['Employee.badgeNumber']}= #{bundle['Employee.timeclockCode']}=
    #{bundle['Employee.adminNumber']}= #{bundle['Employee.frame']} + + + +
    #{bundle['Employee.IBGBadgeNumber']}#{bundle['Employee.dimonia']}
    #{bundle['Employee.phoneActivityCode']}#{bundle['Employee.replacement']} + + + +
    #{bundle['Employee.lifeClassDate18']} + + #{bundle['Employee.lifeClassDate23']} + +
    #{bundle['Employee.lifeClassDate20']} + + #{bundle['Employee.lifeClassDate24']} + +
    #{bundle['Employee.lifeClassDate21']} + +
    + +
    + #{bundle['Employee.PData']} + + + + + + + + + + + + + + + + + + +
    #{bundle['PData.selorCode']} + + + + +
    #{bundle['PData.handicap']} + + + + +
    #{bundle['PData.agdet']} + + + + + +
    #{bundle['PData.managerGrant']}?#{bundle['PData.superiorGrant']}? + #{bundle['PData.integrationGra= nt']}?#{bundle['PData.projectGrant']}?
    +
    +
    #{bundle['Employee.note']}
    +
    + + #{bundle['Employee.maritalStatus']} + + + + + + + +
    + #{bundle['Employee.nextOfKin']}= + + + + + + + + +
    + + + #{bundle['Employee.driveAuthorization']} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{bundle['Employee.medicalNumber']}#{bundle['Employee.medicalCenter']} + + + + +
    #{bundle['Employee.sickDayInBank']} #{bundle['Employee.sickDayForAge']}
    #{bundle['Employee.sickDayYearSpent']} + #{bundle['Employee.sickDayYearLeft']} +
    #{bundle['Employee.illnessContact1']} + + + + #{bundle['Employee.illnessContact2']} + + + + +
    + #{bundle['Employee.illnesses'= ]} + + + + +
    + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #{bundle['Employee.firstJobDate']} + + #{bundle['Employee.workedOnPatrimonium']} <= /td> +
    #{bundle['Employee.inDate']} + + + #{bundle['Employee.outDate']} + +
    #{bundle['Employee.salaryInDate']} + + #{bundle['Employee.nominationDate']} + +
    #{bundle['Employee.rankBeforeReform']} + #{bundle['Employee.newRank']}
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + +
    + +
    + +
    +
    + Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/W= ebContent/pages/JBIDE/1479/hr-layout.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/hr-layout.xhtml (rev 0) +++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebC= ontent/pages/JBIDE/1479/hr-layout.xhtml 2008-01-22 18:02:54 UTC (rev 5885) @@ -0,0 +1,26 @@ + + + + + + + +