JBoss Tools SVN: r34938 - trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-09-21 20:16:30 -0400 (Wed, 21 Sep 2011)
New Revision: 34938
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreNature.java
Log:
JBIDE-9757
https://issues.jboss.org/browse/JBIDE-9757
Type cache in dependent cdi project is cleaned.
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java 2011-09-22 00:10:32 UTC (rev 34937)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java 2011-09-22 00:16:30 UTC (rev 34938)
@@ -147,7 +147,7 @@
}
}
- n.getTypeFactory().clean();
+ n.cleanTypeFactory();
//1. Check class path.
boolean isClassPathUpdated = n.getClassPath().update();
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreNature.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreNature.java 2011-09-22 00:10:32 UTC (rev 34937)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreNature.java 2011-09-22 00:16:30 UTC (rev 34938)
@@ -401,6 +401,14 @@
// }
fireChanges();
}
+
+ public void cleanTypeFactory() {
+ typeFactory.clean();
+ CDICoreNature[] ps = getAllDependentProjects();
+ for (CDICoreNature n: ps) {
+ n.cleanTypeFactory();
+ }
+ }
/**
* Stores results of last build, so that on exit/enter Eclipse
14 years, 6 months
JBoss Tools SVN: r34937 - trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.core/src/org/jboss/tools/cdi/seam/config/core/definition.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-09-21 20:10:32 -0400 (Wed, 21 Sep 2011)
New Revision: 34937
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.core/src/org/jboss/tools/cdi/seam/config/core/definition/SeamBeansDefinition.java
Log:
JBIDE-9733
https://issues.jboss.org/browse/JBIDE-9733
Minor improvement.
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.core/src/org/jboss/tools/cdi/seam/config/core/definition/SeamBeansDefinition.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.core/src/org/jboss/tools/cdi/seam/config/core/definition/SeamBeansDefinition.java 2011-09-22 00:01:27 UTC (rev 34936)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.core/src/org/jboss/tools/cdi/seam/config/core/definition/SeamBeansDefinition.java 2011-09-22 00:10:32 UTC (rev 34937)
@@ -279,10 +279,7 @@
}
private IParametedType getCollection(ParametedType t) {
- if("java.util.Collection".equals(t.getType().getFullyQualifiedName())) {
- return t;
- }
- Set<IParametedType> is = t.getInheritedTypes();
+ Set<IParametedType> is = t.getAllTypes();
for (IParametedType i: is) {
if("java.util.Collection".equals(i.getType().getFullyQualifiedName())) {
return i;
@@ -292,10 +289,7 @@
}
private IParametedType getMap(ParametedType t) {
- if("java.util.Map".equals(t.getType().getFullyQualifiedName())) {
- return t;
- }
- Set<IParametedType> is = t.getInheritedTypes();
+ Set<IParametedType> is = t.getAllTypes();
for (IParametedType i: is) {
if("java.util.Map".equals(i.getType().getFullyQualifiedName())) {
return i;
14 years, 6 months
JBoss Tools SVN: r34936 - in branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes: en-US and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2011-09-21 20:01:27 -0400 (Wed, 21 Sep 2011)
New Revision: 34936
Modified:
branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/Need_Info_Issues.xml
branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/publican.cfg
Log:
updated for stage
Modified: branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/Need_Info_Issues.xml
===================================================================
--- branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/Need_Info_Issues.xml 2011-09-21 23:54:03 UTC (rev 34935)
+++ branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/Need_Info_Issues.xml 2011-09-22 00:01:27 UTC (rev 34936)
@@ -1,7 +1,9 @@
<?xml version='1.0' encoding='utf-8' ?>
<section id="Need_info_issues">
- <title>
- Issues requiring more info before release.
+ <title>
+ <remark>
+ Issues requiring more info before release.
+ </remark>
</title>
<note>
<para>
@@ -228,13 +230,13 @@
<itemizedlist>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-992">TEIIDDES-992</ulink>: Developer: Barry LaFond
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-992">TEIIDDES-992</ulink>: <emphasis>Developer</emphasis>: Barry LaFond
</para>
<para>
- Title: Allow the use of pushdown functions without requiring Java programming
+ <emphasis>Title</emphasis>: Allow the use of pushdown functions without requiring Java programming
</para>
<para>
- Question: What is a 'pushdown' function?
+ <emphasis>Question</emphasis>: What is a 'pushdown' function?
</para>
</listitem>
</itemizedlist>
@@ -318,24 +320,24 @@
<itemizedlist>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/JBDS-1844">JBDS-1844</ulink>: Developer: Denis Golovin.
+ <ulink url="http://jira.jboss.com/jira/browse/JBDS-1844">JBDS-1844</ulink>: <emphasis>Developer</emphasis>: Denis Golovin.
</para>
<para>
- Title: Automated Installer Script Does Not Recored Preferred JRE
+ <emphasis>Title</emphasis>: Automated Installer Script Does Not Recored Preferred JRE
</para>
<para>
- Question: Only a "fixed in trunk and 4.x branch" comment is given. No SVN/Fisheye links are recorded and no further information is provided. What was the cause of the issue? How was the issue fixed in the code? What is the result that the user will now see - does JBDS now start with the user-selected JRE?
+ <emphasis>Question</emphasis>: Only a "fixed in trunk and 4.x branch" comment is given. No SVN/Fisheye links are recorded and no further information is provided. What was the cause of the issue? How was the issue fixed in the code? What is the result that the user will now see - does JBDS now start with the user-selected JRE?
</para>
</listitem>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/JBDS-1781">JBDS-1781</ulink>: Developer: Denis Golovin.
+ <ulink url="http://jira.jboss.com/jira/browse/JBDS-1781">JBDS-1781</ulink>: <emphasis>Developer</emphasis>: Denis Golovin.
</para>
<para>
- Title: All menus but one are missing on Ubuntu 11.04 (Unity).
+ <emphasis>Title</emphasis>: All menus but one are missing on Ubuntu 11.04 (Unity).
</para>
<para>
- Question: The Release Notes text field indicates the workaround, but is this issue indeed fixed for JBDS 4.1.1 so that the workaround is no longer necessary? If so, where was the <code>&kt;</code> code missing from?
+ <emphasis>Question</emphasis>: The Release Notes text field indicates the workaround, but is this issue indeed fixed for JBDS 4.1.1 so that the workaround is no longer necessary? If so, where was the <code><</code> code missing from?
</para>
</listitem>
</itemizedlist>
Modified: branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/publican.cfg
===================================================================
--- branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/publican.cfg 2011-09-21 23:54:03 UTC (rev 34935)
+++ branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/publican.cfg 2011-09-22 00:01:27 UTC (rev 34936)
@@ -4,4 +4,5 @@
xml_lang: en-US
type: Article
brand: JBoss
+show_remarks: 1
14 years, 6 months
JBoss Tools SVN: r34935 - branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2011-09-21 19:54:03 -0400 (Wed, 21 Sep 2011)
New Revision: 34935
Added:
branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/Need_Info_Issues.xml
Modified:
branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/4.1.1_Release_Notes.xml
branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml
Log:
updated to have need info items in release notes draft
Modified: branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/4.1.1_Release_Notes.xml
===================================================================
--- branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/4.1.1_Release_Notes.xml 2011-09-21 23:30:50 UTC (rev 34934)
+++ branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/4.1.1_Release_Notes.xml 2011-09-21 23:54:03 UTC (rev 34935)
@@ -2,6 +2,7 @@
<article>
<xi:include href="Article_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+ <xi:include href="Need_Info_Issues.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
<xi:include href="Overview.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
<xi:include href="Component_Versions.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
<xi:include href="Fixed_Issues.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
Modified: branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml
===================================================================
--- branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml 2011-09-21 23:30:50 UTC (rev 34934)
+++ branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml 2011-09-21 23:54:03 UTC (rev 34935)
@@ -8,7 +8,7 @@
<productname>JBoss Developer Studio</productname>
<productnumber>4.1</productnumber>
<edition>4.1.1</edition>
- <pubsnumber>4</pubsnumber>
+ <pubsnumber>5</pubsnumber>
<abstract>
<para>
These release notes contain important information related to the JBoss Developer Studio. New features, known issues, resources, and other current issues are addressed here.
Added: branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/Need_Info_Issues.xml
===================================================================
--- branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/Need_Info_Issues.xml (rev 0)
+++ branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/Need_Info_Issues.xml 2011-09-21 23:54:03 UTC (rev 34935)
@@ -0,0 +1,344 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<section id="Need_info_issues">
+ <title>
+ Issues requiring more info before release.
+ </title>
+ <note>
+ <para>
+ This section will not be included in the final Release Notes document.
+ </para>
+ </note>
+<!-- <para>
+ The following list highlights new features that have been added to this release, as well as listing notable bug fixes. You can find a complete list of bug fixes <ulink url="https://issues.jboss.org/browse/JBIDE">here</ulink>.
+ </para> -->
+<!-- <formalpara>
+ <title>BPEL</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara> -->
+<!-- <formalpara>
+ <title>Contexts and Dependency Injection (CDI)</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara> -->
+ <!-- Deltacloud is only shipped with JBoss.org -->
+ <!--
+ <formalpara>
+ <title>Deltacloud</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara> -->
+ <!-- <formalpara>
+ <title>Drools</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara> -->
+<!-- <formalpara>
+ <title>ESB</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara> -->
+ <!-- Google Web Toolkit is only shipped with JBoss.org -->
+ <!--
+ <formalpara>
+ <title>Google Web Toolkit</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara> -->
+ <!--<formalpara>
+ <title>Hibernate</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>-->
+<!-- <formalpara>
+ <title>jBPM</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara> -->
+ <!--<formalpara>
+ <title>JBoss Enterprise Portal Platform</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>-->
+ <!-- <formalpara>
+ <title>JavaServer Faces (JSF)</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>-->
+ <!-- <formalpara>
+ <title>JBoss Application Server</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>-->
+ <!-- Include in JBT Release Notes only!!! -->
+ <!--
+ <formalpara>
+ <title>Maven</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara> -->
+
+<!-- <formalpara>
+ <title>Portlet</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara> -->
+<!-- <formalpara>
+ <title>RichFaces</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara> -->
+<!-- <formalpara>
+ <title>Seam</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara> -->
+ <!--<formalpara>
+ <title>Smooks</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>-->
+ <!-- <formalpara>
+ <title>Struts</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>-->
+ <formalpara>
+ <title>Teiid Designer</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-992">TEIIDDES-992</ulink>: Developer: Barry LaFond
+ </para>
+ <para>
+ Title: Allow the use of pushdown functions without requiring Java programming
+ </para>
+ <para>
+ Question: What is a 'pushdown' function?
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <!--<formalpara>
+ <title>Usage</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>-->
+ <!-- <formalpara>
+ <title>Visual Page Editor</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>-->
+<!-- <formalpara>
+ <title>Webservices</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara> -->
+<!-- <formalpara>
+ <title>Web Tools Platform</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara> -->
+ <!--<formalpara>
+ <title>XHTML Editor</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>-->
+ <!-- <formalpara>
+ <title>XML Structured Editor</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>-->
+ <formalpara>
+ <title>General Issues</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBDS-1844">JBDS-1844</ulink>: Developer: Denis Golovin.
+ </para>
+ <para>
+ Title: Automated Installer Script Does Not Recored Preferred JRE
+ </para>
+ <para>
+ Question: Only a "fixed in trunk and 4.x branch" comment is given. No SVN/Fisheye links are recorded and no further information is provided. What was the cause of the issue? How was the issue fixed in the code? What is the result that the user will now see - does JBDS now start with the user-selected JRE?
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBDS-1781">JBDS-1781</ulink>: Developer: Denis Golovin.
+ </para>
+ <para>
+ Title: All menus but one are missing on Ubuntu 11.04 (Unity).
+ </para>
+ <para>
+ Question: The Release Notes text field indicates the workaround, but is this issue indeed fixed for JBDS 4.1.1 so that the workaround is no longer necessary? If so, where was the <code>&kt;</code> code missing from?
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+</section>
14 years, 6 months
JBoss Tools SVN: r34934 - branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2011-09-21 19:30:50 -0400 (Wed, 21 Sep 2011)
New Revision: 34934
Modified:
branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml
Log:
updated with new fixed issues
Modified: branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml
===================================================================
--- branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml 2011-09-21 19:21:08 UTC (rev 34933)
+++ branches/jbosstools-3.2.x/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml 2011-09-21 23:30:50 UTC (rev 34934)
@@ -163,7 +163,7 @@
<itemizedlist>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-9103">JBIDE-9103</ulink>: When creating a JSF portlet project on a 64bit operating system, the <guilabel>Installing JSF Facet</guilabel> process would hang and project creation would fail. This issue has been corrected by modifying the <filename>AbstractLibraryProviderInstallOperationConfig.java</filename> file by implementing a facet project listener and corecting an error of an extra bracket in a section of code.
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-9103">JBIDE-9103</ulink>: When creating a JSF portlet project on a 64bit operating system, the <guilabel>Installing JSF Facet</guilabel> process would hang and project creation would fail. This issue has been corrected by modifying the <filename>AbstractLibraryProviderInstallOperationConfig.java</filename> file by implementing a facet project listener and correcting an error of an extra bracket in a section of code.
</para>
</listitem>
<listitem>
@@ -228,6 +228,46 @@
<itemizedlist>
<listitem>
<para>
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-1065">TEIIDDES-1065</ulink>: The Salesforce translator included with Teiid Designer has been upgraded from version 17 of the API to version 22. This update has also seen modifications made to the <filename>modelgenerator.salesforce</filename> plug-in to work correctly with the new API.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-1064">TEIIDDES-1064</ulink>: When attempting to override a property on the translator, after saving the VDB and deploying it to the server, an error would occur informing <errorname>VDB Not Deployed</errorname>. The consequence of this was that a user had to manually copy the VDB to the server. To correct the issue Teiid Designer has been updated to validate a VDB against a list of translators that also include overrides. This ensures that a VDB that contains a translator override will still deploy correctly.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-1058">TEIIDDES-1058</ulink>: When importing a VDB file into a different project than the one it was created in, a <errorname>java.lang.IllegalArgumentException</errorname> would occur upon double-clicking a model in the <guilabel>VDB Editor</guilabel>. To fix the issue a check for any null path values has been added prior to opening the editor. This ensures that the error is no longer seen and instead double-clicking a model within the <guilabel>VDB Editor</guilabel> that is not in the workspace will not produce any outcome.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-1044">TEIIDDES-1044</ulink>: An interface error existed once the <guilabel>Dependency Diagram</guilabel> view had been opened that disallowed a user to return to the previous view. The consequence was that a user would have to close the model or search to find a way to go to another view. To correct the problem the <classname>ShowParentDiagramAction</classname> class is utilized through a new toolbar and context menu to allow a user a way to easily switch between views.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-1042">TEIIDDES-1042</ulink>: The path to the ModeShape connection profile icon was incorrect, causing a red icon to appear in its place. The issue was fixed by correcting the path to the ModeShape icon within the correct <filename>plug-in.xml</filename> file.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-1041">TEIIDDES-1041</ulink>: There was confusion with the Teiid driver called <guilabel>Teiid Preview Driver</guilabel>. The name of the driver allowed an assumption that it was only used when previewing a VDB, however it is also used when executing a VDB from the workspace. To better capture the role of the driver it has been renamed to <guilabel>Teiid Driver (default)</guilabel>. This renaming also ensures that as a user creates their own driver instances it is easy to identify the default.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-1039">TEIIDDES-1039</ulink>: The VDB dialog contained columns of defined widths causing some columns to need manual width adjustment in order to see all the text contained within it, while other columns contained nothing but were assigned a large allowance of space. To fix this usability issue the <filename>VdbEditor.java</filename> has been edited to utilize the <code>getColumn().pack()</code> command that adjusts column widths for best readability, depending on the text within them. By incorporating this change it ensures an improved user experience when using the VDB dialog.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-1035">TEIIDDES-1035</ulink>: Within the <guilabel>Create Data Source</guilabel> wizard, the <guilabel>Connection Properties</guilabel> table contains a column called <guilabel>Data Source Name</guilabel>. The column should actually only be called <guilabel>Name</guilabel>. The column name has been changed in this version to ensure consistency across wizards.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
<ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-1032">TEIIDDES-1032</ulink>: An error in the code when a web service data source was created meant that the <property>Endpoint</property> would not be set. This was because the <property>Endpoint</property> property was incorrectly named as <property>WSUrl</property>. Correcting this error within the <filename>IWSProfileConstants.java</filename> file has fixed the issue.
</para>
</listitem>
@@ -243,12 +283,12 @@
</listitem>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-1016">TEIIDDES-1016</ulink>: Working towards the removal of the relationship metamodel, all non-essential user interface components have been removed and only the relationship diagram is now displayed. The relationship metamodel is being removed as it is no longer be used by Teiid or Modeshape.
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-1016">TEIIDDES-1016</ulink>: Working towards the removal of the relationship metamodel, all non-essential user interface components have been removed and only the relationship diagram is now displayed. The relationship metamodel is being removed as it is no longer be used by Teiid or ModeShape.
</para>
</listitem>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-1013">TEIIDDES-1013</ulink>: A bug existed where the RESTful properties of <property>REST-METHOD</property> and <property>URI</property> that are required for RESTful procedures required the names to be all upper-case. This caused errors when users would provide these properties but not all letters were upper-case. Resolving this issue has seen the modification of the <classname>ModelObjectAnnotationHelper</classname> and <classname>GenerateRestWarAction</classname> classes to check that the properties exist reguardless of the case-type used.
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-1013">TEIIDDES-1013</ulink>: A bug existed where the RESTful properties of <property>REST-METHOD</property> and <property>URI</property> that are required for RESTful procedures required the names to be all upper-case. This caused errors when users would provide these properties but not all letters were upper-case. Resolving this issue has seen the modification of the <classname>ModelObjectAnnotationHelper</classname> and <classname>GenerateRestWarAction</classname> classes to check that the properties exist regardless of the case-type used.
</para>
</listitem>
<!-- To be completed -->
@@ -259,12 +299,12 @@
</listitem> -->
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-990">TEIIDDES-990</ulink>: Previously generated RESTEasy WARs accepted only a Uniform Resourc e Identifier (URI) and XML parameters and produced only XML. JavaScript Object Notation (JSON) support as input and output has been added for this release and the URI for JSON methods contain <property>json</property> (for example, http://host:port/warname/modelname/json/pathinfo). To utilize XML instead, remove <property>json</property> from the path.
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-990">TEIIDDES-990</ulink>: Previously generated RESTEasy WARs accepted only a Uniform Resource e Identifier (URI) and XML parameters and produced only XML. JavaScript Object Notation (JSON) support as input and output has been added for this release and the URI for JSON methods contain <property>json</property> (for example, http://host:port/warname/modelname/json/pathinfo). To utilize XML instead, remove <property>json</property> from the path.
</para>
</listitem>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-982">TEIIDDES-982</ulink>: If a SOAP <property>EndPoint</property> was entered for a connection profile it would cause a connection erorr when exiting the dialog. The error occured because the key value for the <property>EndPoint</property> was incorrect and never added to the <property>TeiidDataSourceProperty</property> object, which meant the connection could not be referenced correctly. This issue has been corrected through the modification of the <classname>SOAPConnectionInfoProvider</classname> class to correctly contain the <property>EndPoint</property> value and add it to the <property>TeiidDataSourceProperty</property> object for later recall by the connection.
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-982">TEIIDDES-982</ulink>: If a SOAP <property>EndPoint</property> was entered for a connection profile it would cause a connection error when exiting the dialog. The error occurred because the key value for the <property>EndPoint</property> was incorrect and never added to the <property>TeiidDataSourceProperty</property> object, which meant the connection could not be referenced correctly. This issue has been corrected through the modification of the <classname>SOAPConnectionInfoProvider</classname> class to correctly contain the <property>EndPoint</property> value and add it to the <property>TeiidDataSourceProperty</property> object for later recall by the connection.
</para>
</listitem>
<listitem>
@@ -279,7 +319,7 @@
</listitem>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-971">TEIIDDES-971</ulink>: When a user imported a table with one or more foreign keys, all tables with matching primary keys would also be imported. This could mean that when only one table was necessary, an import could also bring in numerious unnecessary tables for what the user wished to do. In order to allow for a table to be imported reguardless of foreign key relationships, an option has been added to the <guilabel>Import Database</guilabel> wizard where a user can select to not import tabels that have an incomplete foreign key and primary key relationship amoungst the tables seleted for import. By allowing the user to make this decision, the number of unnecessary tables that are imported is decreased.
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-971">TEIIDDES-971</ulink>: When a user imported a table with one or more foreign keys, all tables with matching primary keys would also be imported. This could mean that when only one table was necessary, an import could also bring in numerous unnecessary tables for what the user wished to do. In order to allow for a table to be imported regardless of foreign key relationships, an option has been added to the <guilabel>Import Database</guilabel> wizard where a user can select to not import tables that have an incomplete foreign key and primary key relationship amongst the tables selected for import. By allowing the user to make this decision, the number of unnecessary tables that are imported is decreased.
</para>
</listitem>
<listitem>
@@ -294,12 +334,12 @@
</listitem>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-843">TEIIDDES-843</ulink>: The <guilabel>Build XML Documents from XML Schema</guilabel> dialog was larger than necessary, obscuring content below it. To correct this design error the left width hint has been modified within the <filename>AccumulatorPanel</filename> file. This allows for improved size judgement, reducing the dialog size.
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-843">TEIIDDES-843</ulink>: The <guilabel>Build XML Documents from XML Schema</guilabel> dialog was larger than necessary, obscuring content below it. To correct this design error the left width hint has been modified within the <filename>AccumulatorPanel</filename> file. This allows for improved size judgment, reducing the dialog size.
</para>
</listitem>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-597">TEIIDDES-597</ulink>: An issue in the <classname>TableNotificationHandler</classname> class caused inserterd rows of a relational column to appear in reverse order within the table editor. This meant that the tree view and table editor displayed the rows in inconsistent ways. The issue has been corrected by modifying the <filename>TableNotificationHandler.java</filename> file so that rows inserted are displayed correctly within the table editor. This results in both the tree view and table editor displaying the information in the same way.
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-597">TEIIDDES-597</ulink>: An issue in the <classname>TableNotificationHandler</classname> class caused inserted rows of a relational column to appear in reverse order within the table editor. This meant that the tree view and table editor displayed the rows in inconsistent ways. The issue has been corrected by modifying the <filename>TableNotificationHandler.java</filename> file so that rows inserted are displayed correctly within the table editor. This results in both the tree view and table editor displaying the information in the same way.
</para>
</listitem>
<listitem>
@@ -309,7 +349,7 @@
</listitem>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-332">TEIIDDES-332</ulink>: When creating a new virtual procedure a user was requried to remember to insert prologue and postlogue code into the transformation editor. This allowed for common mistakes to occur when a user forgot to insert the correct code. For ease of use prologue and postlogue code is now inserted into the transformation editor automatically when creating a new virtual procedure. The change has reduced the amount of code required to be display on screen and created an improved user exerpeince.
+ <ulink url="http://jira.jboss.com/jira/browse/TEIIDDES-332">TEIIDDES-332</ulink>: When creating a new virtual procedure a user was required to remember to insert prologue and postlogue code into the transformation editor. This allowed for common mistakes to occur when a user forgot to insert the correct code. For ease of use prologue and postlogue code is now inserted into the transformation editor automatically when creating a new virtual procedure. The change has reduced the amount of code required to be display on screen and created an improved user experience.
</para>
</listitem>
</itemizedlist>
@@ -398,12 +438,12 @@
<itemizedlist>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-9514">JBIDE-9514</ulink>: Project Example ZIP files that contian empty folders, would not be imported correctly and the empty folders would be excluded, though they are necessary for the project to work (for example, the <filename>src</filename> folder). To fix this issue the <filename>NewProjectExamplesWizard.java</filename> has been modified to allow for empty folders within ZIP files to be imported correctly.
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-9514">JBIDE-9514</ulink>: Project Example ZIP files that contain empty folders, would not be imported correctly and the empty folders would be excluded, though they are necessary for the project to work (for example, the <filename>src</filename> folder). To fix this issue the <filename>NewProjectExamplesWizard.java</filename> has been modified to allow for empty folders within ZIP files to be imported correctly.
</para>
</listitem>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-9381">JBIDE-9381</ulink>: An issue existed that meant the runtime detector did not detect the SOA 5.2 runtime correctly, instead displaying it as 5.1. Correcting this issue has seen the modification of <filename>JBossASHandler.java</filename> to also include 5.2 as a runtime displau option, and using the implementation and version properties from <filename>run.jar</filename>.
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-9381">JBIDE-9381</ulink>: An issue existed that meant the runtime detector did not detect the SOA 5.2 runtime correctly, instead displaying it as 5.1. Correcting this issue has seen the modification of <filename>JBossASHandler.java</filename> to also include 5.2 as a runtime display option, and using the implementation and version properties from <filename>run.jar</filename>.
</para>
</listitem>
<listitem>
@@ -428,7 +468,7 @@
</listitem>
<listitem>
<para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7052">JBIDE-7052</ulink>: An error existed where the optional dependency of <filename>org.hibernate.eclipse</filename> would not be resolved correctly within the BIRT component file <filename>ConsoleConfigurationOdaFactory.java</filename>. This caused any import of the plug-in to fail. The issue has been corrected by setting the <filename>org.hibernate.eclipse</filename> plug-in as reguired within the BIRT plug-ins <filename>MANIFEST.MF</filename> file.
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7052">JBIDE-7052</ulink>: An error existed where the optional dependency of <filename>org.hibernate.eclipse</filename> would not be resolved correctly within the BIRT component file <filename>ConsoleConfigurationOdaFactory.java</filename>. This caused any import of the plug-in to fail. The issue has been corrected by setting the <filename>org.hibernate.eclipse</filename> plug-in as required within the BIRT plug-ins <filename>MANIFEST.MF</filename> file.
</para>
</listitem>
</itemizedlist>
14 years, 6 months
JBoss Tools SVN: r34933 - in trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test: projects/CDIConfigValidationTest/src/org/jboss/beans/validation/test and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-09-21 15:21:08 -0400 (Wed, 21 Sep 2011)
New Revision: 34933
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/projects/CDIConfigValidationTest/src/org/jboss/beans/validation/test/MyBean3.java
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/projects/CDIConfigValidationTest/src/META-INF/beans.xml
trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/src/org/jboss/tools/cdi/seam/config/core/test/SeamConfigValidationTest.java
trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/src/org/jboss/tools/cdi/seam/config/core/test/SeamDefinitionsTest.java
Log:
JBIDE-9733
https://issues.jboss.org/browse/JBIDE-9733
Tests added.
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/projects/CDIConfigValidationTest/src/META-INF/beans.xml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/projects/CDIConfigValidationTest/src/META-INF/beans.xml 2011-09-21 18:03:41 UTC (rev 34932)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/projects/CDIConfigValidationTest/src/META-INF/beans.xml 2011-09-21 19:21:08 UTC (rev 34933)
@@ -51,4 +51,79 @@
</v:method1>
</v:MyBean1>
+<v:MyBean3>
+ <s:replaces/>
+ <v:set1>
+ <s:value>
+ <s:String>111</s:String>
+ </s:value>
+ <s:value>112</s:value>
+ <s:value>
+ <s:Integer>
+ <s:parameters>
+ <s:String>113</s:String>
+ </s:parameters>
+ </s:Integer>
+ </s:value>
+
+ </v:set1>
+ <v:set2>
+ <s:value>
+ <s:String>121</s:String>
+ </s:value>
+ <s:value>122</s:value>
+ <s:value>
+ <s:Integer>
+ <s:parameters>
+ <s:String>123</s:String>
+ </s:parameters>
+ </s:Integer>
+ </s:value>
+
+ </v:set2>
+ <v:map>
+ <s:entry>
+ <s:key>
+ <s:Integer>
+ <s:parameters>
+ <s:String>211</s:String>
+ </s:parameters>
+ </s:Integer>
+ </s:key>
+ <s:value>
+ <s:Long>
+ <s:parameters>
+ <s:String>212</s:String>
+ </s:parameters>
+ </s:Long>
+ </s:value>
+ </s:entry>
+ <s:entry>
+ <s:key>
+ <s:Long>
+ <s:parameters>
+ <s:String>222</s:String>
+ </s:parameters>
+ </s:Long>
+ </s:key>
+ <s:value>
+ <s:Integer>
+ <s:parameters>
+ <s:String>221</s:String>
+ </s:parameters>
+ </s:Integer>
+ </s:value>
+ </s:entry>
+ </v:map>
+ <v:bean1>
+ <s:value>
+ <v:MyBean1></v:MyBean1>
+ </s:value>
+ </v:bean1>
+ <v:bean2>
+ <s:value>
+ <v:MyBean3></v:MyBean3>
+ </s:value>
+ </v:bean2>
+</v:MyBean3>
</beans>
Added: trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/projects/CDIConfigValidationTest/src/org/jboss/beans/validation/test/MyBean3.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/projects/CDIConfigValidationTest/src/org/jboss/beans/validation/test/MyBean3.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/projects/CDIConfigValidationTest/src/org/jboss/beans/validation/test/MyBean3.java 2011-09-21 19:21:08 UTC (rev 34933)
@@ -0,0 +1,17 @@
+package org.jboss.beans.validation.test;
+
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Set;
+
+public class MyBean3 {
+ Set<String> set1 = new HashSet<String>();
+ Set<Integer> set2 = new HashSet<Integer>();
+
+ Map<Integer,Long> map = new HashMap<Integer, Long>();
+
+ MyBean1 bean1;
+ MyBean1 bean2;
+
+}
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/projects/CDIConfigValidationTest/src/org/jboss/beans/validation/test/MyBean3.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/src/org/jboss/tools/cdi/seam/config/core/test/SeamConfigValidationTest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/src/org/jboss/tools/cdi/seam/config/core/test/SeamConfigValidationTest.java 2011-09-21 18:03:41 UTC (rev 34932)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/src/org/jboss/tools/cdi/seam/config/core/test/SeamConfigValidationTest.java 2011-09-21 19:21:08 UTC (rev 34933)
@@ -22,6 +22,7 @@
import org.eclipse.core.runtime.Path;
import org.jboss.tools.cdi.core.CDICorePlugin;
import org.jboss.tools.cdi.core.ICDIProject;
+import org.jboss.tools.cdi.internal.core.validation.CDIValidationMessages;
import org.jboss.tools.cdi.seam.config.core.CDISeamConfigPreferences;
import org.jboss.tools.cdi.seam.config.core.validation.SeamConfigValidationMessages;
import org.jboss.tools.cdi.seam.solder.core.test.GenericBeanValidationTest;
@@ -99,6 +100,27 @@
AbstractResourceMarkerTest.assertMarkerIsNotCreated(f, MessageFormat.format(SeamConfigValidationMessages.UNRESOLVED_MEMBER, "v:field1"));
}
+ public void testSettingInlineBeanValuesToBeanOrSetOrMap() throws CoreException {
+ //correct element of set assignment
+ AbstractResourceMarkerTest.assertMarkerIsNotCreated(f, CDIValidationMessages.UNSATISFIED_INJECTION_POINTS, 75);
+ AbstractResourceMarkerTest.assertMarkerIsNotCreated(f, CDIValidationMessages.UNSATISFIED_INJECTION_POINTS, 57);
+ //correct bean assignment
+ AbstractResourceMarkerTest.assertMarkerIsNotCreated(f, CDIValidationMessages.UNSATISFIED_INJECTION_POINTS, 119);
+
+ AbstractResourceMarkerTest.assertMarkerIsCreated(f, CDIValidationMessages.UNSATISFIED_INJECTION_POINTS, 61, 71, 102, 109, 124);
+
+ //set
+ AbstractResourceMarkerTest.assertMarkerIsCreated(f, MessageFormat.format(SeamConfigValidationMessages.INLINE_BEAN_TYPE_MISMATCH, "Integer", "String"), 62);
+ AbstractResourceMarkerTest.assertMarkerIsCreated(f, MessageFormat.format(SeamConfigValidationMessages.INLINE_BEAN_TYPE_MISMATCH, "String", "Integer"), 72);
+
+ //map
+ AbstractResourceMarkerTest.assertMarkerIsCreated(f, MessageFormat.format(SeamConfigValidationMessages.INLINE_BEAN_TYPE_MISMATCH, "Long", "Integer"), 103);
+ AbstractResourceMarkerTest.assertMarkerIsCreated(f, MessageFormat.format(SeamConfigValidationMessages.INLINE_BEAN_TYPE_MISMATCH, "Integer", "Long"), 110);
+
+ //bean
+ AbstractResourceMarkerTest.assertMarkerIsCreated(f, MessageFormat.format(SeamConfigValidationMessages.INLINE_BEAN_TYPE_MISMATCH, "MyBean3", "MyBean1"), 125);
+ }
+
public void testAddClassToResolveNode() throws CoreException {
String path = "src/org/jboss/beans/validation/test/MyBean2.java";
GenericBeanValidationTest.writeFile(project, "src/org/jboss/beans/validation/test/MyBean2.template", path);
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/src/org/jboss/tools/cdi/seam/config/core/test/SeamDefinitionsTest.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/src/org/jboss/tools/cdi/seam/config/core/test/SeamDefinitionsTest.java 2011-09-21 18:03:41 UTC (rev 34932)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/src/org/jboss/tools/cdi/seam/config/core/test/SeamDefinitionsTest.java 2011-09-21 19:21:08 UTC (rev 34933)
@@ -265,9 +265,9 @@
assertTrue(sword.isInline());
IJavaAnnotation a1 = sword.getAnnotation(CDISeamConfigConstants.INLINE_BEAN_QUALIFIER);
assertNotNull(a1);
- IJavaAnnotation a2 = f.getAnnotation(CDISeamConfigConstants.INLINE_BEAN_QUALIFIER);
+ IJavaAnnotation a2 = f.getValueDefinitions().get(0).getAnnotation(CDISeamConfigConstants.INLINE_BEAN_QUALIFIER);
assertTrue(a1 == a2);
- IJavaAnnotation inject = f.getAnnotation(CDIConstants.INJECT_ANNOTATION_TYPE_NAME);
+ IJavaAnnotation inject = f.getValueDefinitions().get(0).getAnnotation(CDIConstants.INJECT_ANNOTATION_TYPE_NAME);
assertNotNull(inject);
SeamFieldDefinition swordType = sword.getField("type");
@@ -282,9 +282,9 @@
assertTrue(horse.isInline());
a1 = horse.getAnnotation(CDISeamConfigConstants.INLINE_BEAN_QUALIFIER);
assertNotNull(a1);
- a2 = f.getAnnotation(CDISeamConfigConstants.INLINE_BEAN_QUALIFIER);
+ a2 = f.getValueDefinitions().get(0).getAnnotation(CDISeamConfigConstants.INLINE_BEAN_QUALIFIER);
assertTrue(a1 == a2);
- inject = f.getAnnotation(CDIConstants.INJECT_ANNOTATION_TYPE_NAME);
+ inject = f.getValueDefinitions().get(0).getAnnotation(CDIConstants.INJECT_ANNOTATION_TYPE_NAME);
assertNotNull(inject);
SeamFieldDefinition horseName = horse.getField("name");
14 years, 6 months
JBoss Tools SVN: r34932 - trunk/cdi/plugins/org.jboss.tools.cdi.xml/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2011-09-21 14:03:41 -0400 (Wed, 21 Sep 2011)
New Revision: 34932
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.xml/resources/meta/cdi-beans.meta
Log:
We need icon images for CDI Tools UI https://issues.jboss.org/browse/JBIDE-9717
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.xml/resources/meta/cdi-beans.meta
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.xml/resources/meta/cdi-beans.meta 2011-09-21 17:31:16 UTC (rev 34931)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.xml/resources/meta/cdi-beans.meta 2011-09-21 18:03:41 UTC (rev 34932)
@@ -22,8 +22,8 @@
</GROUP>
<GROUP name="main">
<GROUP name="cdi">
- <ICON name="bean" path="images/struts/form_bean.gif"/>
- <ICON name="file" path="plugin:org.jboss.tools.cdi.xml:images/weld_file.gif"/>
+ <ICON name="bean" path="plugin:org.jboss.tools.cdi.core:images/bean_class.png"/>
+ <ICON name="file" path="plugin:org.jboss.tools.cdi.core:images/beans_xml.png"/>
</GROUP>
</GROUP>
</ICONS>
14 years, 6 months
JBoss Tools SVN: r34931 - in trunk/cdi/plugins: org.jboss.tools.cdi.ui and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2011-09-21 13:31:16 -0400 (Wed, 21 Sep 2011)
New Revision: 34931
Added:
trunk/cdi/plugins/org.jboss.tools.cdi.ui/icons/open_cdi_named_bean.png
Removed:
trunk/cdi/plugins/org.jboss.tools.cdi.core/images/open_cdi_named_bean.gif
trunk/cdi/plugins/org.jboss.tools.cdi.ui/icons/open_cdi_named_bean.gif
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.ui/plugin.xml
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/wizard/OpenCDINamedBeanDialog.java
Log:
We need icon images for CDI Tools UI https://issues.jboss.org/browse/JBIDE-9717
Deleted: trunk/cdi/plugins/org.jboss.tools.cdi.core/images/open_cdi_named_bean.gif
===================================================================
(Binary files differ)
Deleted: trunk/cdi/plugins/org.jboss.tools.cdi.ui/icons/open_cdi_named_bean.gif
===================================================================
(Binary files differ)
Added: trunk/cdi/plugins/org.jboss.tools.cdi.ui/icons/open_cdi_named_bean.png
===================================================================
(Binary files differ)
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.ui/icons/open_cdi_named_bean.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.ui/plugin.xml
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.ui/plugin.xml 2011-09-21 17:07:08 UTC (rev 34930)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.ui/plugin.xml 2011-09-21 17:31:16 UTC (rev 34931)
@@ -126,7 +126,7 @@
commandId="org.jboss.tools.cdi.ui.open.namedBean"
id="openNamedBean"
mnemonic="Z"
- icon="$nl$/icons/open_cdi_named_bean.gif"
+ icon="$nl$/icons/open_cdi_named_bean.png"
label="Open CDI Named Bean"
tooltip="Open CDI Named Bean" >
</command>
@@ -139,7 +139,7 @@
commandId="org.jboss.tools.cdi.ui.open.namedBean"
id="openNamedBean"
mnemonic="Z"
- icon="$nl$/icons/open_cdi_named_bean.gif"
+ icon="$nl$/icons/open_cdi_named_bean.png"
label="Open CDI Named Bean"
tooltip="Open CDI Named Bean" >
</command>
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/wizard/OpenCDINamedBeanDialog.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/wizard/OpenCDINamedBeanDialog.java 2011-09-21 17:07:08 UTC (rev 34930)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/wizard/OpenCDINamedBeanDialog.java 2011-09-21 17:31:16 UTC (rev 34931)
@@ -336,7 +336,10 @@
public class CDINamedBeanLabelProvider implements ILabelProvider {
public Image getImage(Object element) {
- return CDIImages.CDI_BEAN_IMAGE;
+ if (element instanceof CDINamedBeanWrapper) {
+ return CDIImages.getImageByElement(((CDINamedBeanWrapper)element).getBean());
+ }
+ return null;
}
public String getText(Object element) {
14 years, 6 months
JBoss Tools SVN: r34930 - trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/jsf2/bean/model/impl.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-09-21 13:07:08 -0400 (Wed, 21 Sep 2011)
New Revision: 34930
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/jsf2/bean/model/impl/JSF2ManagedBean.java
Log:
JBIDE-9761
https://issues.jboss.org/browse/JBIDE-9761
Default managed bean name in JSF2 is implemented.
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/jsf2/bean/model/impl/JSF2ManagedBean.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/jsf2/bean/model/impl/JSF2ManagedBean.java 2011-09-21 17:06:06 UTC (rev 34929)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/jsf2/bean/model/impl/JSF2ManagedBean.java 2011-09-21 17:07:08 UTC (rev 34930)
@@ -38,6 +38,12 @@
if(m != null) {
result = m.toString();
}
+ if(result == null || result.length() == 0) {
+ result = typeDefinition.getType().getElementName();
+ if(result.length() > 0) {
+ result = result.substring(0, 1).toLowerCase() + result.substring(1);
+ }
+ }
}
return result;
}
14 years, 6 months
JBoss Tools SVN: r34929 - in trunk/jsf/tests/org.jboss.tools.jsf.test: src/org/jboss/tools/jsf/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-09-21 13:06:06 -0400 (Wed, 21 Sep 2011)
New Revision: 34929
Added:
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSF2Beans/src/test/beans/Bean4.java
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSF2Beans/src/test/beans/Bean5.java
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JSF2ModelTest.java
Log:
JBIDE-9761
https://issues.jboss.org/browse/JBIDE-9761
Validation of inline beans in seam-config, including elements of collections and maps.
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSF2Beans/src/test/beans/Bean4.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSF2Beans/src/test/beans/Bean4.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSF2Beans/src/test/beans/Bean4.java 2011-09-21 17:06:06 UTC (rev 34929)
@@ -0,0 +1,8 @@
+package test.beans;
+
+import javax.faces.bean.ManagedBean;
+
+@ManagedBean(name="")
+public class Bean4 {
+
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSF2Beans/src/test/beans/Bean4.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSF2Beans/src/test/beans/Bean5.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSF2Beans/src/test/beans/Bean5.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSF2Beans/src/test/beans/Bean5.java 2011-09-21 17:06:06 UTC (rev 34929)
@@ -0,0 +1,8 @@
+package test.beans;
+
+import javax.faces.bean.ManagedBean;
+
+@ManagedBean
+public class Bean5 {
+
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSF2Beans/src/test/beans/Bean5.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JSF2ModelTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JSF2ModelTest.java 2011-09-21 16:37:09 UTC (rev 34928)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JSF2ModelTest.java 2011-09-21 17:06:06 UTC (rev 34929)
@@ -47,9 +47,19 @@
IJSF2Project jsf2 = JSF2ProjectFactory.getJSF2Project(project, true);
assertNotNull(jsf2);
Set<IJSF2ManagedBean> beans = jsf2.getManagedBeans("mybean1");
+
+ //Test two beans with the same name
assertEquals(1, beans.size());
beans = jsf2.getManagedBeans("mybean2");
assertEquals(2, beans.size());
+
+ //Test bean annotated @ManagedBean(name="")
+ beans = jsf2.getManagedBeans("bean4");
+ assertEquals(1, beans.size());
+
+ //Test bean annotated @ManagedBean
+ beans = jsf2.getManagedBeans("bean5");
+ assertEquals(1, beans.size());
}
/**
14 years, 6 months