JBoss Tools SVN: r20199 - trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2010-02-09 09:40:04 -0500 (Tue, 09 Feb 2010)
New Revision: 20199
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5817 - fix update - additional check for null
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java 2010-02-09 14:28:00 UTC (rev 20198)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java 2010-02-09 14:40:04 UTC (rev 20199)
@@ -653,22 +653,26 @@
}
if (configXMLFile == null && classLoader != null) {
URL url = classLoader.findResource("hibernate.cfg.xml"); //$NON-NLS-1$
- URI uri = null;
- try {
- uri = url.toURI();
- configXMLFile = new File(uri);
- } catch (URISyntaxException e) {
- // ignore
+ if (url != null) {
+ URI uri = null;
+ try {
+ uri = url.toURI();
+ configXMLFile = new File(uri);
+ } catch (URISyntaxException e) {
+ // ignore
+ }
}
}
if (configXMLFile == null) {
URL url = Environment.class.getClassLoader().getResource("hibernate.cfg.xml"); //$NON-NLS-1$
- URI uri = null;
- try {
- uri = url.toURI();
- configXMLFile = new File(uri);
- } catch (URISyntaxException e) {
- // ignore
+ if (url != null) {
+ URI uri = null;
+ try {
+ uri = url.toURI();
+ configXMLFile = new File(uri);
+ } catch (URISyntaxException e) {
+ // ignore
+ }
}
}
return configXMLFile;
14 years, 8 months
JBoss Tools SVN: r20198 - trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-02-09 09:28:00 -0500 (Tue, 09 Feb 2010)
New Revision: 20198
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibernate3.meta
Log:
https://jira.jboss.org/jira/browse/JBIDE-5771
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibernate3.meta
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibernate3.meta 2010-02-09 14:08:05 UTC (rev 20197)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibernate3.meta 2010-02-09 14:28:00 UTC (rev 20198)
@@ -2766,7 +2766,7 @@
<XChildEntity maxCount="1" name="Hibernate3MetaFolder" required="yes"/>
<XChildEntity name="Hibernate3KeyProperty"/>
<XChildEntity name="Hibernate3KeyManyToOne"/>
- <XChildEntity maxCount="1" name="Hibernate3Generator" required="yes"/>
+ <XChildEntity maxCount="1" name="Hibernate3Generator"/>
</XChildrenEntities>
<XEntityRenderer>
<ICONS>
@@ -8409,7 +8409,7 @@
kind="list" name="CreateActions">
<XActionItem HandlerClassName="%Hibernate3Replace%"
ICON="main.hibernate.index"
- PROPERTIES="significanceMessageClass=%Replace%;child=index"
+ PROPERTIES="significanceMessageClass=%Replace%;child=loader"
WizardClassName="%Default%" displayName="Loader..." kind="action" name="AddLoader">
<EntityData EntityName="Hibernate3Loader">
<AttributeData AttributeName="query-ref"/>
@@ -8417,7 +8417,7 @@
</XActionItem>
<XActionItem HandlerClassName="%Hibernate3Replace%"
ICON="main.hibernate.index"
- PROPERTIES="significanceMessageClass=%Replace%;child=index"
+ PROPERTIES="significanceMessageClass=%Replace%;child=sql-insert"
WizardClassName="%Default%" displayName="Insert..." kind="action" name="AddInsert">
<EntityData EntityName="Hibernate3SQLInsert">
<AttributeData AttributeName="value" Mandatory="no"/>
@@ -8425,7 +8425,7 @@
</XActionItem>
<XActionItem HandlerClassName="%Hibernate3Replace%"
ICON="main.hibernate.index"
- PROPERTIES="significanceMessageClass=%Replace%;child=index"
+ PROPERTIES="significanceMessageClass=%Replace%;child=sql-update"
WizardClassName="%Default%" displayName="Update..." kind="action" name="AddUpdate">
<EntityData EntityName="Hibernate3SQLUpdate">
<AttributeData AttributeName="value" Mandatory="no"/>
@@ -8433,7 +8433,7 @@
</XActionItem>
<XActionItem HandlerClassName="%Hibernate3Replace%"
ICON="main.hibernate.index"
- PROPERTIES="significanceMessageClass=%Replace%;child=index"
+ PROPERTIES="significanceMessageClass=%Replace%;child=sql-delete"
WizardClassName="%Default%" displayName="Delete..." kind="action" name="AddDelete">
<EntityData EntityName="Hibernate3SQLDelete">
<AttributeData AttributeName="value" Mandatory="no"/>
@@ -8441,7 +8441,7 @@
</XActionItem>
<XActionItem HandlerClassName="%Hibernate3Replace%"
ICON="main.hibernate.index"
- PROPERTIES="significanceMessageClass=%Replace%;child=index"
+ PROPERTIES="significanceMessageClass=%Replace%;child=sql-delete-all"
WizardClassName="%Default%" displayName="Delete All..."
kind="action" name="AddDeleteAll">
<EntityData EntityName="Hibernate3SQLDeleteAll">
@@ -8541,7 +8541,7 @@
kind="list" name="CreateActions">
<XActionItem HandlerClassName="%Hibernate3Replace%"
ICON="main.hibernate.index"
- PROPERTIES="significanceMessageClass=%Replace%;child=index"
+ PROPERTIES="significanceMessageClass=%Replace%;child=sql-insert"
WizardClassName="%Default%" displayName="Insert..." kind="action" name="AddInsert">
<EntityData EntityName="Hibernate3SQLInsert">
<AttributeData AttributeName="value" Mandatory="no"/>
@@ -8549,7 +8549,7 @@
</XActionItem>
<XActionItem HandlerClassName="%Hibernate3Replace%"
ICON="main.hibernate.index"
- PROPERTIES="significanceMessageClass=%Replace%;child=index"
+ PROPERTIES="significanceMessageClass=%Replace%;child=sql-update"
WizardClassName="%Default%" displayName="Update..." kind="action" name="AddUpdate">
<EntityData EntityName="Hibernate3SQLUpdate">
<AttributeData AttributeName="value" Mandatory="no"/>
@@ -8557,7 +8557,7 @@
</XActionItem>
<XActionItem HandlerClassName="%Hibernate3Replace%"
ICON="main.hibernate.index"
- PROPERTIES="significanceMessageClass=%Replace%;child=index"
+ PROPERTIES="significanceMessageClass=%Replace%;child=sql-delete"
WizardClassName="%Default%" displayName="Delete..." kind="action" name="AddDelete">
<EntityData EntityName="Hibernate3SQLDelete">
<AttributeData AttributeName="value" Mandatory="no"/>
14 years, 8 months
JBoss Tools SVN: r20197 - in branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins: org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2010-02-09 09:08:05 -0500 (Tue, 09 Feb 2010)
New Revision: 20197
Modified:
branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/OpenMappingUtils.java
branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5817 - fixed - in trunk & in hibernate 3.3. branch
Modified: branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java
===================================================================
--- branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java 2010-02-09 14:04:29 UTC (rev 20196)
+++ branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java 2010-02-09 14:08:05 UTC (rev 20197)
@@ -28,11 +28,12 @@
import java.io.InputStream;
import java.lang.reflect.Method;
import java.net.MalformedURLException;
+import java.net.URI;
+import java.net.URISyntaxException;
import java.net.URL;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.sql.Connection;
-import java.sql.DatabaseMetaData;
import java.sql.Driver;
import java.sql.DriverManager;
import java.sql.SQLException;
@@ -640,6 +641,34 @@
public ConsoleConfigurationPreferences getPreferences() {
return prefs;
}
+
+ public File getConfigXMLFile() {
+ File configXMLFile = null;
+ if (prefs != null) {
+ configXMLFile = prefs.getConfigXMLFile();
+ }
+ if (configXMLFile == null && classLoader != null) {
+ URL url = classLoader.findResource("hibernate.cfg.xml"); //$NON-NLS-1$
+ URI uri = null;
+ try {
+ uri = url.toURI();
+ configXMLFile = new File(uri);
+ } catch (URISyntaxException e) {
+ // ignore
+ }
+ }
+ if (configXMLFile == null) {
+ URL url = Environment.class.getClassLoader().getResource("hibernate.cfg.xml"); //$NON-NLS-1$
+ URI uri = null;
+ try {
+ uri = url.toURI();
+ configXMLFile = new File(uri);
+ } catch (URISyntaxException e) {
+ // ignore
+ }
+ }
+ return configXMLFile;
+ }
public String toString() {
return getClass().getName() + ":" + getName(); //$NON-NLS-1$
Modified: branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/OpenMappingUtils.java
===================================================================
--- branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/OpenMappingUtils.java 2010-02-09 14:04:29 UTC (rev 20196)
+++ branches/hibernatetools-switch-to-hibernate-core-3.3/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/OpenMappingUtils.java 2010-02-09 14:08:05 UTC (rev 20197)
@@ -448,7 +448,7 @@
if (consoleConfig == null) {
return file;
}
- java.io.File configXMLFile = consoleConfig.getPreferences().getConfigXMLFile();
+ java.io.File configXMLFile = consoleConfig.getConfigXMLFile();
EntityResolver entityResolver = consoleConfig.getConfiguration().getEntityResolver();
Document doc = getDocument(configXMLFile, entityResolver);
if (doc == null) {
14 years, 8 months
JBoss Tools SVN: r20196 - in trunk/hibernatetools/plugins: org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2010-02-09 09:04:29 -0500 (Tue, 09 Feb 2010)
New Revision: 20196
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/OpenMappingUtils.java
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5817 - fixed
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java 2010-02-09 12:49:15 UTC (rev 20195)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java 2010-02-09 14:04:29 UTC (rev 20196)
@@ -28,6 +28,8 @@
import java.io.InputStream;
import java.lang.reflect.Method;
import java.net.MalformedURLException;
+import java.net.URI;
+import java.net.URISyntaxException;
import java.net.URL;
import java.security.AccessController;
import java.security.PrivilegedAction;
@@ -643,6 +645,34 @@
public ConsoleConfigurationPreferences getPreferences() {
return prefs;
}
+
+ public File getConfigXMLFile() {
+ File configXMLFile = null;
+ if (prefs != null) {
+ configXMLFile = prefs.getConfigXMLFile();
+ }
+ if (configXMLFile == null && classLoader != null) {
+ URL url = classLoader.findResource("hibernate.cfg.xml"); //$NON-NLS-1$
+ URI uri = null;
+ try {
+ uri = url.toURI();
+ configXMLFile = new File(uri);
+ } catch (URISyntaxException e) {
+ // ignore
+ }
+ }
+ if (configXMLFile == null) {
+ URL url = Environment.class.getClassLoader().getResource("hibernate.cfg.xml"); //$NON-NLS-1$
+ URI uri = null;
+ try {
+ uri = url.toURI();
+ configXMLFile = new File(uri);
+ } catch (URISyntaxException e) {
+ // ignore
+ }
+ }
+ return configXMLFile;
+ }
public String toString() {
return getClass().getName() + ":" + getName(); //$NON-NLS-1$
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/OpenMappingUtils.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/OpenMappingUtils.java 2010-02-09 12:49:15 UTC (rev 20195)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/utils/OpenMappingUtils.java 2010-02-09 14:04:29 UTC (rev 20196)
@@ -448,7 +448,7 @@
if (consoleConfig == null) {
return file;
}
- java.io.File configXMLFile = consoleConfig.getPreferences().getConfigXMLFile();
+ java.io.File configXMLFile = consoleConfig.getConfigXMLFile();
EntityResolver entityResolver = consoleConfig.getConfiguration().getEntityResolver();
Document doc = getDocument(configXMLFile, entityResolver);
if (doc == null) {
14 years, 8 months
JBoss Tools SVN: r20195 - trunk/cdi/plugins/org.jboss.tools.cdi.text.ext.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2010-02-09 07:49:15 -0500 (Tue, 09 Feb 2010)
New Revision: 20195
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/build.properties
Log:
https://jira.jboss.org/jira/browse/JBIDE-5759
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/build.properties
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/build.properties 2010-02-09 12:40:16 UTC (rev 20194)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/build.properties 2010-02-09 12:49:15 UTC (rev 20195)
@@ -5,7 +5,6 @@
plugin.properties,\
about.html
src.includes = plugin.xml,\
- build.properties,\
plugin.properties,\
about.html,\
META-INF/,\
14 years, 8 months
JBoss Tools SVN: r20194 - trunk/cdi/plugins/org.jboss.tools.cdi.text.ext.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2010-02-09 07:40:16 -0500 (Tue, 09 Feb 2010)
New Revision: 20194
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/build.properties
Log:
https://jira.jboss.org/jira/browse/JBIDE-5759
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/build.properties
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/build.properties 2010-02-09 12:24:17 UTC (rev 20193)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.text.ext/build.properties 2010-02-09 12:40:16 UTC (rev 20194)
@@ -1,3 +1,12 @@
source.. = src/
bin.includes = META-INF/,\
- .
+ .,\
+ plugin.xml,\
+ plugin.properties,\
+ about.html
+src.includes = plugin.xml,\
+ build.properties,\
+ plugin.properties,\
+ about.html,\
+ META-INF/,\
+ src/
14 years, 8 months
JBoss Tools SVN: r20193 - trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-02-09 07:24:17 -0500 (Tue, 09 Feb 2010)
New Revision: 20193
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibconfig3.meta
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibernate-configuration-3.0.dtd
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibernate-mapping-3.0.dtd
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibernate3.meta
Log:
https://jira.jboss.org/jira/browse/JBIDE-5771
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibconfig3.meta
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibconfig3.meta 2010-02-09 11:46:07 UTC (rev 20192)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibconfig3.meta 2010-02-09 12:24:17 UTC (rev 20193)
@@ -472,10 +472,16 @@
<value name="pre-update"/>
<value name="pre-insert"/>
<value name="pre-delete"/>
+ <value name="pre-collection-recreate"/>
+ <value name="pre-collection-remove"/>
+ <value name="pre-collection-update"/>
<value name="post-load"/>
<value name="post-update"/>
<value name="post-insert"/>
<value name="post-delete"/>
+ <value name="post-collection-recreate"/>
+ <value name="post-collection-remove"/>
+ <value name="post-collection-update"/>
<value name="post-commit-update"/>
<value name="post-commit-insert"/>
<value name="post-commit-delete"/>
@@ -650,10 +656,19 @@
<value name="pre-update"/>
<value name="pre-insert"/>
<value name="pre-delete"/>
+ <value name="pre-collection-recreate"/>
+ <value name="pre-collection-remove"/>
+ <value name="pre-collection-update"/>
+ <value name="post-commit-update"/>
+ <value name="post-commit-insert"/>
+ <value name="post-commit-delete"/>
<value name="post-load"/>
<value name="post-update"/>
<value name="post-insert"/>
<value name="post-delete"/>
+ <value name="post-collection-recreate"/>
+ <value name="post-collection-remove"/>
+ <value name="post-collection-update"/>
<value name="post-commit-update"/>
<value name="post-commit-insert"/>
<value name="post-commit-delete"/>
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibernate-configuration-3.0.dtd
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibernate-configuration-3.0.dtd 2010-02-09 11:46:07 UTC (rev 20192)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibernate-configuration-3.0.dtd 2010-02-09 12:24:17 UTC (rev 20193)
@@ -24,6 +24,7 @@
<!ELEMENT class-cache EMPTY>
<!ATTLIST class-cache class CDATA #REQUIRED>
+
<!ATTLIST class-cache region CDATA #IMPLIED>
<!ATTLIST class-cache usage (read-only|read-write|nonstrict-read-write|transactional) #REQUIRED>
<!ATTLIST class-cache include (all|non-lazy) "all">
@@ -34,13 +35,14 @@
<!ATTLIST collection-cache usage (read-only|read-write|nonstrict-read-write|transactional) #REQUIRED>
<!ELEMENT event (listener*)>
-<!ATTLIST event type (auto-flush|merge|create|create-onflush|delete|dirty-check|evict|flush|flush-entity|load|load-collection|lock|refresh|replicate|save-update|save|update|pre-load|pre-update|pre-insert|pre-delete|post-load|post-update|post-insert|post-delete|post-commit-update|post-commit-insert|post-commit-delete) #REQUIRED>
+<!ATTLIST event type (auto-flush|merge|create|create-onflush|delete|dirty-check|evict|flush|flush-entity|load|load-collection|lock|refresh|replicate|save-update|save|update|pre-load|pre-update|pre-insert|pre-delete|pre-collection-recreate|pre-collection-remove|pre-collection-update|post-load|post-update|post-insert|post-delete|post-collection-recreate|post-collection-remove|post-collection-update|post-commit-update|post-commit-insert|post-commit-delete) #REQUIRED>
<!ELEMENT listener EMPTY>
-<!ATTLIST listener type (auto-flush|merge|create|create-onflush|delete|dirty-check|evict|flush|flush-entity|load|load-collection|lock|refresh|replicate|save-update|save|update|pre-load|pre-update|pre-insert|pre-delete|post-load|post-update|post-insert|post-delete|post-commit-update|post-commit-insert|post-commit-delete) #IMPLIED>
+<!ATTLIST listener type (auto-flush|merge|create|create-onflush|delete|dirty-check|evict|flush|flush-entity|load|load-collection|lock|refresh|replicate|save-update|save|update|pre-load|pre-update|pre-insert|pre-delete|pre-collection-recreate|pre-collection-remove|pre-collection-update|post-load|post-update|post-insert|post-delete|post-collection-recreate|post-collection-remove|post-collection-update|post-commit-update|post-commit-insert|post-commit-delete) #IMPLIED>
<!ATTLIST listener class CDATA #REQUIRED>
<!ELEMENT session-factory (property*, mapping*, (class-cache|collection-cache)*, event*, listener*)>
+
<!ATTLIST session-factory name CDATA #IMPLIED> <!-- the JNDI name -->
<!ELEMENT security (grant*)>
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibernate-mapping-3.0.dtd
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibernate-mapping-3.0.dtd 2010-02-09 11:46:07 UTC (rev 20192)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibernate-mapping-3.0.dtd 2010-02-09 12:24:17 UTC (rev 20193)
@@ -31,6 +31,7 @@
<!ATTLIST hibernate-mapping default-cascade CDATA "none">
<!ATTLIST hibernate-mapping default-access CDATA "property">
<!ATTLIST hibernate-mapping default-lazy (true|false) "true">
+
<!ATTLIST hibernate-mapping auto-import (true|false) "true">
<!ATTLIST hibernate-mapping package CDATA #IMPLIED> <!-- default: none -->
@@ -49,6 +50,7 @@
-->
<!ELEMENT typedef (param*)>
<!ATTLIST typedef class CDATA #REQUIRED>
+
<!ATTLIST typedef name CDATA #REQUIRED>
<!--
@@ -83,6 +85,7 @@
)>
<!ATTLIST class entity-name CDATA #IMPLIED>
<!ATTLIST class name CDATA #IMPLIED> <!-- this is the class name -->
+
<!ATTLIST class proxy CDATA #IMPLIED> <!-- default: no proxy interface -->
<!ATTLIST class lazy (true|false) #IMPLIED>
<!ATTLIST class table CDATA #IMPLIED> <!-- default: unqualified classname -->
@@ -90,6 +93,7 @@
<!ATTLIST class catalog CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST class subselect CDATA #IMPLIED>
<!ATTLIST class discriminator-value CDATA #IMPLIED> <!-- default: unqualified class name | none -->
+
<!ATTLIST class mutable (true|false) "true">
<!ATTLIST class abstract (true|false) #IMPLIED>
<!ATTLIST class polymorphism (implicit|explicit) "implicit">
@@ -98,6 +102,7 @@
<!ATTLIST class dynamic-update (true|false) "false">
<!ATTLIST class dynamic-insert (true|false) "false">
<!ATTLIST class batch-size CDATA #IMPLIED>
+
<!ATTLIST class select-before-update (true|false) "false">
<!ATTLIST class optimistic-lock (none|version|dirty|all) "version">
<!ATTLIST class check CDATA #IMPLIED> <!-- default: none -->
@@ -109,6 +114,7 @@
-->
<!ELEMENT tuplizer EMPTY>
<!ATTLIST tuplizer entity-mode (pojo|dom4j|dynamic-map) #IMPLIED> <!-- entity mode for which tuplizer is in effect -->
+
<!ATTLIST tuplizer class CDATA #REQUIRED> <!-- the tuplizer class to use -->
<!--
@@ -124,6 +130,7 @@
-->
<!ELEMENT filter-param EMPTY>
<!ATTLIST filter-param name CDATA #REQUIRED> <!-- The parameter name -->
+
<!ATTLIST filter-param type CDATA #REQUIRED> <!-- The parameter type -->
<!--
@@ -144,6 +151,7 @@
sql-insert?,sql-update?,sql-delete?
)>
<!ATTLIST join table CDATA #REQUIRED>
+
<!ATTLIST join schema CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST join catalog CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST join subselect CDATA #IMPLIED>
@@ -167,6 +175,7 @@
<!ATTLIST id access CDATA #IMPLIED>
<!ATTLIST id column CDATA #IMPLIED>
<!ATTLIST id type CDATA #IMPLIED>
+
<!ATTLIST id length CDATA #IMPLIED>
<!ATTLIST id unsaved-value CDATA #IMPLIED> <!-- any|none|null|undefined|0|-1|... -->
@@ -174,11 +183,12 @@
key column. The class must implement java.io.Serializable and reimplement equals()
and hashCode(). -->
-<!ELEMENT composite-id ( meta*, (key-property|key-many-to-one)+ )>
+<!ELEMENT composite-id ( meta*, (key-property|key-many-to-one)+, generator? )>
<!ATTLIST composite-id class CDATA #IMPLIED>
<!ATTLIST composite-id mapped (true|false) "false">
<!ATTLIST composite-id name CDATA #IMPLIED>
<!ATTLIST composite-id node CDATA #IMPLIED>
+
<!ATTLIST composite-id access CDATA #IMPLIED>
<!ATTLIST composite-id unsaved-value (undefined|any|none) "undefined">
@@ -191,6 +201,7 @@
<!ATTLIST discriminator type CDATA "string">
<!ATTLIST discriminator not-null (true|false) "true">
<!ATTLIST discriminator length CDATA #IMPLIED>
+
<!ATTLIST discriminator force (true|false) "false">
<!ATTLIST discriminator insert (true|false) "true">
@@ -203,6 +214,7 @@
<!ATTLIST version access CDATA #IMPLIED>
<!ATTLIST version column CDATA #IMPLIED>
<!ATTLIST version type CDATA "integer">
+
<!ATTLIST version unsaved-value (null|negative|undefined) "undefined">
<!ATTLIST version generated (never|always) "never">
<!ATTLIST version insert (true|false) #IMPLIED>
@@ -213,6 +225,7 @@
<!ATTLIST timestamp column CDATA #IMPLIED>
<!ATTLIST timestamp access CDATA #IMPLIED>
<!ATTLIST timestamp unsaved-value (null|undefined) "null">
+
<!ATTLIST timestamp source (vm|db) "vm">
<!ATTLIST timestamp generated (never|always) "never">
@@ -238,6 +251,7 @@
<!ATTLIST subclass name CDATA #IMPLIED>
<!ATTLIST subclass proxy CDATA #IMPLIED> <!-- default: no proxy interface -->
<!ATTLIST subclass discriminator-value CDATA #IMPLIED> <!-- default: unqualified class name | none -->
+
<!ATTLIST subclass dynamic-update (true|false) "false">
<!ATTLIST subclass dynamic-insert (true|false) "false">
<!ATTLIST subclass select-before-update (true|false) "false">
@@ -246,6 +260,7 @@
<!ATTLIST subclass abstract (true|false) #IMPLIED>
<!ATTLIST subclass persister CDATA #IMPLIED>
<!ATTLIST subclass batch-size CDATA #IMPLIED>
+
<!ATTLIST subclass node CDATA #IMPLIED>
<!--
@@ -271,6 +286,7 @@
<!ATTLIST joined-subclass proxy CDATA #IMPLIED> <!-- default: no proxy interface -->
<!ATTLIST joined-subclass table CDATA #IMPLIED> <!-- default: unqualified class name -->
<!ATTLIST joined-subclass schema CDATA #IMPLIED>
+
<!ATTLIST joined-subclass catalog CDATA #IMPLIED>
<!ATTLIST joined-subclass subselect CDATA #IMPLIED>
<!ATTLIST joined-subclass dynamic-update (true|false) "false">
@@ -279,6 +295,7 @@
<!ATTLIST joined-subclass extends CDATA #IMPLIED> <!-- default: none when toplevel, otherwise the nearest class definition -->
<!ATTLIST joined-subclass lazy (true|false) #IMPLIED>
<!ATTLIST joined-subclass abstract (true|false) #IMPLIED>
+
<!ATTLIST joined-subclass persister CDATA #IMPLIED>
<!ATTLIST joined-subclass check CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST joined-subclass batch-size CDATA #IMPLIED>
@@ -304,6 +321,7 @@
<!ATTLIST union-subclass entity-name CDATA #IMPLIED>
<!ATTLIST union-subclass name CDATA #IMPLIED>
<!ATTLIST union-subclass proxy CDATA #IMPLIED> <!-- default: no proxy interface -->
+
<!ATTLIST union-subclass table CDATA #IMPLIED> <!-- default: unqualified class name -->
<!ATTLIST union-subclass schema CDATA #IMPLIED>
<!ATTLIST union-subclass catalog CDATA #IMPLIED>
@@ -312,6 +330,7 @@
<!ATTLIST union-subclass dynamic-insert (true|false) "false">
<!ATTLIST union-subclass select-before-update (true|false) "false">
<!ATTLIST union-subclass extends CDATA #IMPLIED> <!-- default: none when toplevel, otherwise the nearest class definition -->
+
<!ATTLIST union-subclass lazy (true|false) #IMPLIED>
<!ATTLIST union-subclass abstract (true|false) #IMPLIED>
<!ATTLIST union-subclass persister CDATA #IMPLIED>
@@ -323,6 +342,7 @@
JavaBeans style properties are mapped to table columns. -->
<!ELEMENT property (meta*,(column|formula)*,type?)>
+
<!ATTLIST property name CDATA #REQUIRED>
<!ATTLIST property node CDATA #IMPLIED>
<!ATTLIST property access CDATA #IMPLIED>
@@ -332,6 +352,7 @@
<!ATTLIST property precision CDATA #IMPLIED>
<!ATTLIST property scale CDATA #IMPLIED>
<!ATTLIST property not-null (true|false) #IMPLIED>
+
<!ATTLIST property unique (true|false) "false">
<!ATTLIST property unique-key CDATA #IMPLIED>
<!ATTLIST property index CDATA #IMPLIED> <!-- include the columns spanned by this property in an index -->
@@ -340,6 +361,7 @@
<!ATTLIST property optimistic-lock (true|false) "true"> <!-- only supported for properties of a class (not component) -->
<!ATTLIST property formula CDATA #IMPLIED>
<!ATTLIST property lazy (true|false) "false">
+
<!ATTLIST property generated (never|insert|always) "never">
<!-- Declares the type of the containing property (overrides an eventually existing type
@@ -354,6 +376,7 @@
<!ATTLIST many-to-one name CDATA #REQUIRED>
<!ATTLIST many-to-one access CDATA #IMPLIED>
<!ATTLIST many-to-one class CDATA #IMPLIED>
+
<!ATTLIST many-to-one entity-name CDATA #IMPLIED>
<!ATTLIST many-to-one column CDATA #IMPLIED>
<!ATTLIST many-to-one not-null (true|false) #IMPLIED>
@@ -363,6 +386,7 @@
<!ATTLIST many-to-one cascade CDATA #IMPLIED>
<!ATTLIST many-to-one outer-join (true|false|auto) #IMPLIED>
<!ATTLIST many-to-one fetch (join|select) #IMPLIED>
+
<!ATTLIST many-to-one update (true|false) "true">
<!ATTLIST many-to-one insert (true|false) "true">
<!ATTLIST many-to-one optimistic-lock (true|false) "true"> <!-- only supported for properties of a class (not component) -->
@@ -371,18 +395,20 @@
<!ATTLIST many-to-one formula CDATA #IMPLIED>
<!ATTLIST many-to-one lazy (false|proxy|no-proxy) #IMPLIED>
<!ATTLIST many-to-one not-found (exception|ignore) "exception">
+
<!ATTLIST many-to-one node CDATA #IMPLIED>
<!ATTLIST many-to-one embed-xml (true|false) "true">
<!-- Declares a one-to-one association between two entities (Or from a component,
component element, etc. to an entity). -->
-<!ELEMENT one-to-one (meta*|formula*)>
+<!ELEMENT one-to-one (meta*,formula*)>
<!ATTLIST one-to-one name CDATA #REQUIRED>
<!ATTLIST one-to-one formula CDATA #IMPLIED>
<!ATTLIST one-to-one access CDATA #IMPLIED>
<!ATTLIST one-to-one class CDATA #IMPLIED>
<!ATTLIST one-to-one entity-name CDATA #IMPLIED>
+
<!ATTLIST one-to-one cascade CDATA #IMPLIED>
<!ATTLIST one-to-one outer-join (true|false|auto) #IMPLIED>
<!ATTLIST one-to-one fetch (join|select) #IMPLIED>
@@ -392,6 +418,7 @@
<!ATTLIST one-to-one lazy (false|proxy|no-proxy) #IMPLIED>
<!ATTLIST one-to-one node CDATA #IMPLIED>
<!ATTLIST one-to-one embed-xml (true|false) "true">
+
<!-- A property embedded in a composite identifier or map index (always not-null). -->
@@ -426,6 +453,7 @@
<!ATTLIST any access CDATA #IMPLIED>
<!ATTLIST any insert (true|false) "true">
<!ATTLIST any update (true|false) "true">
+
<!ATTLIST any cascade CDATA #IMPLIED>
<!ATTLIST any index CDATA #IMPLIED> <!-- include the columns spanned by this association in an index -->
<!ATTLIST any optimistic-lock (true|false) "true"> <!-- only supported for properties of a class (not component) -->
@@ -455,6 +483,7 @@
<!ATTLIST component update (true|false) "true">
<!ATTLIST component insert (true|false) "true">
<!ATTLIST component lazy (true|false) "false">
+
<!ATTLIST component optimistic-lock (true|false) "true">
<!ATTLIST component node CDATA #IMPLIED>
@@ -469,6 +498,7 @@
<!ATTLIST dynamic-component unique (true|false) "false">
<!ATTLIST dynamic-component update (true|false) "true">
<!ATTLIST dynamic-component insert (true|false) "true">
+
<!ATTLIST dynamic-component optimistic-lock (true|false) "true">
<!ATTLIST dynamic-component node CDATA #IMPLIED>
@@ -483,6 +513,7 @@
<!ATTLIST properties insert (true|false) "true">
<!ATTLIST properties update (true|false) "true">
<!ATTLIST properties optimistic-lock (true|false) "true">
+
<!ATTLIST properties node CDATA #IMPLIED>
<!-- The parent element maps a property of the component class as a pointer back to
@@ -509,6 +540,7 @@
<!ATTLIST map name CDATA #REQUIRED>
<!ATTLIST map access CDATA #IMPLIED>
<!ATTLIST map table CDATA #IMPLIED> <!-- default: name -->
+
<!ATTLIST map schema CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST map subselect CDATA #IMPLIED>
<!ATTLIST map catalog CDATA #IMPLIED> <!-- default: none -->
@@ -516,6 +548,7 @@
<!ATTLIST map mutable (true|false) "true">
<!ATTLIST map inverse (true|false) "false">
<!ATTLIST map sort CDATA "unsorted"> <!-- unsorted|natural|"comparator class", default: unsorted -->
+
<!ATTLIST map cascade CDATA #IMPLIED>
<!ATTLIST map order-by CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST map where CDATA #IMPLIED> <!-- default: none -->
@@ -526,6 +559,7 @@
<!ATTLIST map persister CDATA #IMPLIED>
<!ATTLIST map collection-type CDATA #IMPLIED>
<!ATTLIST map optimistic-lock (true|false) "true"> <!-- only supported for properties of a class (not component) -->
+
<!ATTLIST map node CDATA #IMPLIED>
<!ATTLIST map embed-xml (true|false) "true">
@@ -545,6 +579,7 @@
<!ATTLIST set table CDATA #IMPLIED> <!-- default: name -->
<!ATTLIST set schema CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST set catalog CDATA #IMPLIED> <!-- default: none -->
+
<!ATTLIST set subselect CDATA #IMPLIED>
<!ATTLIST set lazy (true|false|extra) #IMPLIED>
<!ATTLIST set sort CDATA "unsorted"> <!-- unsorted|natural|"comparator class" -->
@@ -553,6 +588,7 @@
<!ATTLIST set cascade CDATA #IMPLIED>
<!ATTLIST set order-by CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST set where CDATA #IMPLIED> <!-- default: none -->
+
<!ATTLIST set batch-size CDATA #IMPLIED>
<!ATTLIST set outer-join (true|false|auto) #IMPLIED>
<!ATTLIST set fetch (join|select|subselect) #IMPLIED>
@@ -580,6 +616,7 @@
<!ATTLIST bag schema CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST bag catalog CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST bag subselect CDATA #IMPLIED>
+
<!ATTLIST bag lazy (true|false|extra) #IMPLIED>
<!ATTLIST bag inverse (true|false) "false">
<!ATTLIST bag mutable (true|false) "true">
@@ -588,6 +625,7 @@
<!ATTLIST bag where CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST bag batch-size CDATA #IMPLIED>
<!ATTLIST bag outer-join (true|false|auto) #IMPLIED>
+
<!ATTLIST bag fetch (join|select|subselect) #IMPLIED>
<!ATTLIST bag persister CDATA #IMPLIED>
<!ATTLIST bag collection-type CDATA #IMPLIED>
@@ -609,6 +647,7 @@
filter*
)>
<!ATTLIST idbag name CDATA #REQUIRED>
+
<!ATTLIST idbag access CDATA #IMPLIED>
<!ATTLIST idbag table CDATA #IMPLIED> <!-- default: name -->
<!ATTLIST idbag schema CDATA #IMPLIED> <!-- default: none -->
@@ -616,6 +655,7 @@
<!ATTLIST idbag subselect CDATA #IMPLIED>
<!ATTLIST idbag lazy (true|false|extra) #IMPLIED>
<!ATTLIST idbag mutable (true|false) "true">
+
<!ATTLIST idbag cascade CDATA #IMPLIED>
<!ATTLIST idbag order-by CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST idbag where CDATA #IMPLIED> <!-- default: none -->
@@ -624,6 +664,7 @@
<!ATTLIST idbag fetch (join|select|subselect) #IMPLIED>
<!ATTLIST idbag persister CDATA #IMPLIED>
<!ATTLIST idbag collection-type CDATA #IMPLIED>
+
<!ATTLIST idbag check CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST idbag optimistic-lock (true|false) "true"> <!-- only supported for properties of a class (not component) -->
<!ATTLIST idbag node CDATA #IMPLIED>
@@ -644,6 +685,7 @@
<!ATTLIST list name CDATA #REQUIRED>
<!ATTLIST list access CDATA #IMPLIED>
<!ATTLIST list table CDATA #IMPLIED> <!-- default: name -->
+
<!ATTLIST list schema CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST list catalog CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST list subselect CDATA #IMPLIED>
@@ -652,6 +694,7 @@
<!ATTLIST list mutable (true|false) "true">
<!ATTLIST list cascade CDATA #IMPLIED>
<!ATTLIST list where CDATA #IMPLIED> <!-- default: none -->
+
<!ATTLIST list batch-size CDATA #IMPLIED>
<!ATTLIST list outer-join (true|false|auto) #IMPLIED>
<!ATTLIST list fetch (join|select|subselect) #IMPLIED>
@@ -660,6 +703,7 @@
<!ATTLIST list check CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST list optimistic-lock (true|false) "true"> <!-- only supported for properties of a class (not component) -->
<!ATTLIST list node CDATA #IMPLIED>
+
<!ATTLIST list embed-xml (true|false) "true">
<!ELEMENT array (
@@ -678,6 +722,7 @@
<!ATTLIST array table CDATA #IMPLIED> <!-- default: name -->
<!ATTLIST array schema CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST array catalog CDATA #IMPLIED> <!-- default: none -->
+
<!ATTLIST array subselect CDATA #IMPLIED>
<!ATTLIST array inverse (true|false) "false">
<!ATTLIST array mutable (true|false) "true">
@@ -686,6 +731,7 @@
<!ATTLIST array where CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST array batch-size CDATA #IMPLIED>
<!ATTLIST array outer-join (true|false|auto) #IMPLIED>
+
<!ATTLIST array fetch (join|select|subselect) #IMPLIED>
<!ATTLIST array persister CDATA #IMPLIED>
<!ATTLIST array collection-type CDATA #IMPLIED>
@@ -705,6 +751,7 @@
element,
loader?,sql-insert?,sql-update?,sql-delete?,sql-delete-all?
)>
+
<!ATTLIST primitive-array name CDATA #REQUIRED>
<!ATTLIST primitive-array access CDATA #IMPLIED>
<!ATTLIST primitive-array table CDATA #IMPLIED> <!-- default: name -->
@@ -712,6 +759,7 @@
<!ATTLIST primitive-array catalog CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST primitive-array subselect CDATA #IMPLIED>
<!ATTLIST primitive-array mutable (true|false) "true">
+
<!ATTLIST primitive-array where CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST primitive-array batch-size CDATA #IMPLIED>
<!ATTLIST primitive-array outer-join (true|false|auto) #IMPLIED>
@@ -720,17 +768,19 @@
<!ATTLIST primitive-array collection-type CDATA #IMPLIED>
<!ATTLIST primitive-array check CDATA #IMPLIED> <!-- default: none -->
<!ATTLIST primitive-array optimistic-lock (true|false) "true"> <!-- only supported for properties of a class (not component) -->
+
<!ATTLIST primitive-array node CDATA #IMPLIED>
<!ATTLIST primitive-array embed-xml (true|false) "true">
<!-- Declares the element type of a collection of basic type -->
-<!ELEMENT element (column|formula)*>
+<!ELEMENT element ( (column|formula)*, type? )>
<!ATTLIST element column CDATA #IMPLIED>
<!ATTLIST element node CDATA #IMPLIED>
<!ATTLIST element formula CDATA #IMPLIED>
- <!ATTLIST element type CDATA #REQUIRED>
+ <!ATTLIST element type CDATA #IMPLIED>
<!ATTLIST element length CDATA #IMPLIED>
+
<!ATTLIST element precision CDATA #IMPLIED>
<!ATTLIST element scale CDATA #IMPLIED>
<!ATTLIST element not-null (true|false) "false">
@@ -743,6 +793,7 @@
<!ATTLIST one-to-many class CDATA #IMPLIED>
<!ATTLIST one-to-many not-found (exception|ignore) "exception">
<!ATTLIST one-to-many node CDATA #IMPLIED>
+
<!ATTLIST one-to-many embed-xml (true|false) "true">
<!ATTLIST one-to-many entity-name CDATA #IMPLIED>
<!-- No column declaration attributes required in this case. The primary
@@ -756,6 +807,7 @@
<!ATTLIST many-to-many node CDATA #IMPLIED>
<!ATTLIST many-to-many embed-xml (true|false) "true">
<!ATTLIST many-to-many entity-name CDATA #IMPLIED>
+
<!ATTLIST many-to-many column CDATA #IMPLIED>
<!ATTLIST many-to-many formula CDATA #IMPLIED>
<!ATTLIST many-to-many not-found (exception|ignore) "exception">
@@ -765,6 +817,8 @@
<!ATTLIST many-to-many foreign-key CDATA #IMPLIED>
<!ATTLIST many-to-many unique (true|false) "false">
<!ATTLIST many-to-many where CDATA #IMPLIED>
+
+ <!ATTLIST many-to-many order-by CDATA #IMPLIED>
<!ATTLIST many-to-many property-ref CDATA #IMPLIED>
<!-- A composite element allows a collection to hold instances of an arbitrary
@@ -786,6 +840,7 @@
)>
<!ATTLIST nested-composite-element class CDATA #REQUIRED>
<!ATTLIST nested-composite-element name CDATA #REQUIRED>
+
<!ATTLIST nested-composite-element access CDATA #IMPLIED>
<!ATTLIST nested-composite-element node CDATA #IMPLIED>
@@ -797,6 +852,7 @@
<!ATTLIST key foreign-key CDATA #IMPLIED>
<!ATTLIST key on-delete (cascade|noaction) "noaction">
<!ATTLIST key not-null (true|false) #IMPLIED>
+
<!ATTLIST key update (true|false) #IMPLIED>
<!ATTLIST key unique (true|false) #IMPLIED>
@@ -810,6 +866,7 @@
<!ELEMENT map-key ((column|formula)*)>
<!ATTLIST map-key column CDATA #IMPLIED>
<!ATTLIST map-key formula CDATA #IMPLIED>
+
<!ATTLIST map-key type CDATA #REQUIRED>
<!ATTLIST map-key length CDATA #IMPLIED>
<!ATTLIST map-key node CDATA #IMPLIED>
@@ -832,6 +889,7 @@
<!ELEMENT index-many-to-many (column*)>
<!ATTLIST index-many-to-many class CDATA #REQUIRED>
<!ATTLIST index-many-to-many entity-name CDATA #IMPLIED>
+
<!ATTLIST index-many-to-many column CDATA #IMPLIED>
<!ATTLIST index-many-to-many foreign-key CDATA #IMPLIED>
@@ -857,6 +915,7 @@
<!ELEMENT collection-id (meta*, column*, generator)>
<!ATTLIST collection-id column CDATA #REQUIRED>
+
<!ATTLIST collection-id type CDATA #REQUIRED>
<!ATTLIST collection-id length CDATA #IMPLIED>
@@ -872,6 +931,7 @@
mapping associations to classes with composite ids. -->
<!ELEMENT column (comment?)>
+
<!ATTLIST column name CDATA #REQUIRED>
<!ATTLIST column length CDATA #IMPLIED> <!-- default: 255 -->
<!ATTLIST column precision CDATA #IMPLIED>
@@ -879,6 +939,7 @@
<!ATTLIST column not-null (true|false) #IMPLIED> <!-- default: false (except for id properties) -->
<!ATTLIST column unique (true|false) #IMPLIED> <!-- default: false (except for id properties) -->
<!ATTLIST column unique-key CDATA #IMPLIED> <!-- default: no unique key -->
+
<!ATTLIST column sql-type CDATA #IMPLIED> <!-- override default column type for hibernate type -->
<!ATTLIST column index CDATA #IMPLIED>
<!ATTLIST column check CDATA #IMPLIED> <!-- default: no check constraint -->
@@ -916,6 +977,7 @@
<!ATTLIST query fetch-size CDATA #IMPLIED>
<!ATTLIST query timeout CDATA #IMPLIED>
<!ATTLIST query cache-mode (get|ignore|normal|put|refresh) #IMPLIED>
+
<!ATTLIST query read-only (true|false) #IMPLIED>
<!ATTLIST query comment CDATA #IMPLIED>
@@ -927,6 +989,7 @@
<!ATTLIST sql-query flush-mode (auto|never|always) #IMPLIED>
<!ATTLIST sql-query cacheable (true|false) "false">
<!ATTLIST sql-query cache-region CDATA #IMPLIED>
+
<!ATTLIST sql-query fetch-size CDATA #IMPLIED>
<!ATTLIST sql-query timeout CDATA #IMPLIED>
<!ATTLIST sql-query cache-mode (get|ignore|normal|put|refresh) #IMPLIED>
@@ -939,6 +1002,7 @@
<!ELEMENT query-param EMPTY>
<!ATTLIST query-param name CDATA #REQUIRED>
+
<!ATTLIST query-param type CDATA #REQUIRED>
<!-- The resultset element declares a named resultset mapping definition for SQL queries -->
@@ -960,6 +1024,7 @@
<!ATTLIST return class CDATA #IMPLIED>
<!ATTLIST return lock-mode (none|read|upgrade|upgrade-nowait|write) "read">
+
<!ELEMENT return-property (return-column*)>
<!ATTLIST return-property name CDATA #REQUIRED>
<!ATTLIST return-property column CDATA #IMPLIED>
@@ -986,19 +1051,25 @@
<!ELEMENT synchronize EMPTY>
<!ATTLIST synchronize table CDATA #REQUIRED>
+
<!-- custom sql operations -->
<!ELEMENT sql-insert (#PCDATA)>
- <!ATTLIST sql-insert callable (true|false) "false">
+ <!ATTLIST sql-insert callable (true|false) "false">
+ <!ATTLIST sql-insert check (none|rowcount|param) #IMPLIED>
<!ELEMENT sql-update (#PCDATA)>
- <!ATTLIST sql-update callable (true|false) "false">
+ <!ATTLIST sql-update callable (true|false) "false">
+ <!ATTLIST sql-update check (none|rowcount|param) #IMPLIED>
<!ELEMENT sql-delete (#PCDATA)>
- <!ATTLIST sql-delete callable (true|false) "false">
+ <!ATTLIST sql-delete callable (true|false) "false">
+ <!ATTLIST sql-delete check (none|rowcount|param) #IMPLIED>
+
<!ELEMENT sql-delete-all (#PCDATA)>
<!ATTLIST sql-delete-all callable (true|false) "false">
+ <!ATTLIST sql-delete-all check (none|rowcount|param) #IMPLIED>
<!--
Element for defining "auxiliary" database objects. Must be one of two forms:
@@ -1020,6 +1091,7 @@
<!ATTLIST definition class CDATA #REQUIRED>
<!ELEMENT create (#PCDATA)>
+
<!ELEMENT drop (#PCDATA)>
<!--
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibernate3.meta
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibernate3.meta 2010-02-09 11:46:07 UTC (rev 20192)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibernate3.meta 2010-02-09 12:24:17 UTC (rev 20193)
@@ -2766,6 +2766,7 @@
<XChildEntity maxCount="1" name="Hibernate3MetaFolder" required="yes"/>
<XChildEntity name="Hibernate3KeyProperty"/>
<XChildEntity name="Hibernate3KeyManyToOne"/>
+ <XChildEntity maxCount="1" name="Hibernate3Generator" required="yes"/>
</XChildrenEntities>
<XEntityRenderer>
<ICONS>
@@ -2829,6 +2830,15 @@
</EntityData>
</XActionItem>
</XActionItem>
+ <XActionItem HandlerClassName="%Hibernate3Replace%"
+ ICON="main.hibernate.generator"
+ PROPERTIES="significanceMessageClass=%Replace%;child=generator"
+ WizardClassName="%Default%" displayName="Generator..."
+ kind="action" name="AddGenerator">
+ <EntityData EntityName="Hibernate3Generator">
+ <AttributeData AttributeName="class"/>
+ </EntityData>
+ </XActionItem>
</XActionItem>
<XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
<XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
@@ -3446,6 +3456,7 @@
<XChildrenEntities>
<XChildEntity name="Hibernate3Column"/>
<XChildEntity name="Hibernate3Formula"/>
+ <XChildEntity maxCount="1" name="Hibernate3Type"/>
</XChildrenEntities>
<XEntityRenderer>
<ICONS>
@@ -3459,8 +3470,7 @@
<XModelAttribute PROPERTIES="category=general" name="column" xmlname="column"/>
<XModelAttribute PROPERTIES="category=advanced" name="node" xmlname="node"/>
<XModelAttribute PROPERTIES="category=advanced" name="formula" xmlname="formula"/>
- <XModelAttribute PROPERTIES="save=always;category=general"
- name="type" xmlname="type"/>
+ <XModelAttribute PROPERTIES="category=general" name="type" xmlname="type"/>
<XModelAttribute PROPERTIES="category=advanced" name="length" xmlname="length"/>
<XModelAttribute PROPERTIES="category=advanced" name="precision" xmlname="precision"/>
<XModelAttribute PROPERTIES="category=advanced" name="scale" xmlname="scale"/>
@@ -3975,19 +3985,21 @@
<XModelAttribute default="idbag" loader="ElementType" name="element type">
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="save=always;id=true" name="name" xmlname="name"/>
- <XModelAttribute default="property" name="access" xmlname="access">
+ <XModelAttribute PROPERTIES="save=always;id=true;category=general"
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general" default="property"
+ name="access" xmlname="access">
<Constraint loader="ListString">
<value name="property"/>
<value name="field"/>
</Constraint>
<Editor name="ListString"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="id=true" name="table" xmlname="table"/>
- <XModelAttribute name="schema" xmlname="schema"/>
- <XModelAttribute name="catalog" xmlname="catalog"/>
- <XModelAttribute name="subselect" xmlname="subselect"/>
- <XModelAttribute name="lazy" xmlname="lazy">
+ <XModelAttribute PROPERTIES="id=true;category=general" name="table" xmlname="table"/>
+ <XModelAttribute PROPERTIES="category=general" name="schema" xmlname="schema"/>
+ <XModelAttribute PROPERTIES="category=general" name="catalog" xmlname="catalog"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="subselect" xmlname="subselect"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="lazy" xmlname="lazy">
<Constraint loader="List">
<value name="true"/>
<value name="false"/>
@@ -4004,12 +4016,16 @@
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute default="none" name="cascade" xmlname="cascade"/>
- <XModelAttribute name="where" xmlname="where"/>
- <XModelAttribute default="1" name="batch-size" xmlname="batch-size">
+ <XModelAttribute PROPERTIES="category=advanced" default="none"
+ name="cascade" xmlname="cascade"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="order-by" xmlname="order-by"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="where" xmlname="where"/>
+ <XModelAttribute PROPERTIES="category=advanced" default="1"
+ name="batch-size" xmlname="batch-size">
<Constraint loader="Int"/>
</XModelAttribute>
- <XModelAttribute default="auto" name="outer-join" xmlname="outer-join">
+ <XModelAttribute PROPERTIES="category=advanced" default="auto"
+ name="outer-join" xmlname="outer-join">
<Constraint loader="List">
<value name="true"/>
<value name="false"/>
@@ -4017,7 +4033,7 @@
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute name="fetch" xmlname="fetch">
+ <XModelAttribute PROPERTIES="category=advanced" name="fetch" xmlname="fetch">
<Constraint loader="List">
<value name="join"/>
<value name="select"/>
@@ -4026,18 +4042,23 @@
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="since=2.1.3" name="persister" xmlname="persister"/>
- <XModelAttribute name="collection-type" xmlname="collection-type"/>
- <XModelAttribute PROPERTIES="since=2.1.2" name="check" xmlname="check"/>
- <XModelAttribute default="true" name="optimistic-lock" xmlname="optimistic-lock">
+ <XModelAttribute PROPERTIES="since=2.1.3;category=advanced"
+ name="persister" xmlname="persister"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="collection-type" xmlname="collection-type"/>
+ <XModelAttribute PROPERTIES="since=2.1.2;category=advanced"
+ name="check" xmlname="check"/>
+ <XModelAttribute PROPERTIES="category=advanced" default="true"
+ name="optimistic-lock" xmlname="optimistic-lock">
<Constraint loader="List">
<value name="true"/>
<value name="false"/>
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute name="node" xmlname="node"/>
- <XModelAttribute default="true" name="embed-xml" xmlname="embed-xml">
+ <XModelAttribute PROPERTIES="category=advanced" name="node" xmlname="node"/>
+ <XModelAttribute PROPERTIES="category=advanced" default="true"
+ name="embed-xml" xmlname="embed-xml">
<Constraint loader="List">
<value name="true"/>
<value name="false"/>
@@ -5793,7 +5814,8 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="category=advanced" name="where" xmlname="where"/>
- <XModelAttribute name="property-ref" xmlname="property-ref"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="order-by" xmlname="order-by"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="property-ref" xmlname="property-ref"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
<Editor name="Note"/>
</XModelAttribute>
@@ -6918,6 +6940,7 @@
XMLSUBPATH="one-to-one" name="Hibernate3OneToOne">
<XChildrenEntities>
<XChildEntity maxCount="1" name="Hibernate3MetaFolder" required="yes"/>
+ <XChildEntity name="Hibernate3Formula"/>
</XChildrenEntities>
<XEntityRenderer>
<ICONS>
@@ -6993,6 +7016,13 @@
ICON="main.hibernate.meta"
PROPERTIES="sourcepath=Meta;actionpath=CreateActions/AddMeta"
WizardClassName="%Default%" displayName="Meta..." kind="action" name="AddMeta"/>
+ <XActionItem HandlerClassName="%Create%"
+ ICON="main.hibernate.column" WizardClassName="%Default%"
+ displayName="Formula..." kind="action" name="AddFormula">
+ <EntityData EntityName="Hibernate3Formula">
+ <AttributeData AttributeName="value" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
</XActionItem>
<XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
<XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
@@ -8251,13 +8281,23 @@
loader="ElementType" name="element type">
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute default="false" name="callable" xmlname="callable">
+ <XModelAttribute PROPERTIES="category=general" default="false"
+ name="callable" xmlname="callable">
<Constraint loader="List">
<value name="true"/>
<value name="false"/>
</Constraint>
<Editor name="List"/>
</XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="check" xmlname="check">
+ <Constraint loader="List">
+ <value/>
+ <value name="none"/>
+ <value name="rowcount"/>
+ <value name="param"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
<XModelAttribute name="value" xmlname="#text">
<Editor name="Note"/>
</XModelAttribute>
@@ -8298,14 +8338,24 @@
loader="ElementType" name="element type">
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute default="false" name="callable" xmlname="callable">
+ <XModelAttribute PROPERTIES="category=general" default="false"
+ name="callable" xmlname="callable">
<Constraint loader="List">
<value name="true"/>
<value name="false"/>
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute name="value" xmlname="#text">
+ <XModelAttribute PROPERTIES="category=general" name="check" xmlname="check">
+ <Constraint loader="List">
+ <value/>
+ <value name="none"/>
+ <value name="rowcount"/>
+ <value name="param"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="value" xmlname="#text">
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
@@ -8422,14 +8472,24 @@
loader="ElementType" name="element type">
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute default="false" name="callable" xmlname="callable">
+ <XModelAttribute PROPERTIES="category=general" default="false"
+ name="callable" xmlname="callable">
<Constraint loader="List">
<value name="true"/>
<value name="false"/>
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute name="value" xmlname="#text">
+ <XModelAttribute PROPERTIES="category=general" name="check" xmlname="check">
+ <Constraint loader="List">
+ <value/>
+ <value name="none"/>
+ <value name="rowcount"/>
+ <value name="param"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="value" xmlname="#text">
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
@@ -8689,14 +8749,24 @@
loader="ElementType" name="element type">
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute default="false" name="callable" xmlname="callable">
+ <XModelAttribute PROPERTIES="category=general" default="false"
+ name="callable" xmlname="callable">
<Constraint loader="List">
<value name="true"/>
<value name="false"/>
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute name="value" xmlname="#text">
+ <XModelAttribute PROPERTIES="category=general" name="check" xmlname="check">
+ <Constraint loader="List">
+ <value/>
+ <value name="none"/>
+ <value name="rowcount"/>
+ <value name="param"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="value" xmlname="#text">
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
14 years, 8 months
JBoss Tools SVN: r20192 - trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/preferences.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2010-02-09 06:46:07 -0500 (Tue, 09 Feb 2010)
New Revision: 20192
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/preferences/CDIConfigurationBlock.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2708
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/preferences/CDIConfigurationBlock.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/preferences/CDIConfigurationBlock.java 2010-02-09 09:36:52 UTC (rev 20191)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/preferences/CDIConfigurationBlock.java 2010-02-09 11:46:07 UTC (rev 20192)
@@ -31,9 +31,9 @@
CDIPreferencesMessages.CDIValidatorConfigurationBlock_section_name,
new String[][]{
{CDIPreferences.STEREOTYPE_DECLARES_NON_EMPTY_NAME, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_stereotypeDeclaresNonEmptyName_label},
- {CDIPreferences.RESOURCE_PRODUCER_FIELD_SETS_EL_NAME, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_resourceProducerFieldSetsElName_label},
- {CDIPreferences.PARAM_INJECTION_DECLARES_EMPTY_NAME, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_paramInjectionDeclaresEmptyName_label},
- {CDIPreferences.INTERCEPTOR_HAS_NAME, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_interceptorHasName_label},
+// {CDIPreferences.RESOURCE_PRODUCER_FIELD_SETS_EL_NAME, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_resourceProducerFieldSetsElName_label},
+// {CDIPreferences.PARAM_INJECTION_DECLARES_EMPTY_NAME, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_paramInjectionDeclaresEmptyName_label},
+// {CDIPreferences.INTERCEPTOR_HAS_NAME, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_interceptorHasName_label},
},
CDICorePlugin.PLUGIN_ID
);
@@ -42,101 +42,101 @@
CDIPreferencesMessages.CDIValidatorConfigurationBlock_section_type,
new String[][]{
{CDIPreferences.ILLEGAL_TYPE_IN_TYPED_DECLARATION, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalTypeInTypedDeclaration_label},
- {CDIPreferences.PRODUCER_METHOD_RETURN_TYPE_HAS_WILDCARD, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_producerMethodReturnTypeHasWildcard_label},
- {CDIPreferences.PRODUCER_METHOD_RETURN_TYPE_IS_VARIABLE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_producerMethodReturnTypeIsVariable_label},
- {CDIPreferences.PRODUCER_FIELD_TYPE_HAS_WILDCARD, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_producerFieldTypeHasWildcard_label},
- {CDIPreferences.PRODUCER_FIELD_TYPE_IS_VARIABLE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_producerFieldTypeIsVariable_label},
- {CDIPreferences.PRODUCER_FIELD_TYPE_DOES_NOT_MATCH_JAVA_EE_OBJECT, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_producerFieldTypeDoesNotMatchJavaEeObject_label},
- {CDIPreferences.INJECTION_TYPE_IS_VARIABLE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_injectionTypeIsVariable_label},
+// {CDIPreferences.PRODUCER_METHOD_RETURN_TYPE_HAS_WILDCARD, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_producerMethodReturnTypeHasWildcard_label},
+// {CDIPreferences.PRODUCER_METHOD_RETURN_TYPE_IS_VARIABLE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_producerMethodReturnTypeIsVariable_label},
+// {CDIPreferences.PRODUCER_FIELD_TYPE_HAS_WILDCARD, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_producerFieldTypeHasWildcard_label},
+// {CDIPreferences.PRODUCER_FIELD_TYPE_IS_VARIABLE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_producerFieldTypeIsVariable_label},
+// {CDIPreferences.PRODUCER_FIELD_TYPE_DOES_NOT_MATCH_JAVA_EE_OBJECT, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_producerFieldTypeDoesNotMatchJavaEeObject_label},
+// {CDIPreferences.INJECTION_TYPE_IS_VARIABLE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_injectionTypeIsVariable_label},
{CDIPreferences.STEREOTYPE_IS_ANNOTATED_TYPED, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_stereotypeIsAnnotatedTyped_label},
- {CDIPreferences.MISSING_NONBINDING_IN_QUALIFIER_TYPE_MEMBER, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_missingNonbindingInQualifierTypeMember_label},
- {CDIPreferences.MISSING_NONBINDING_IN_INTERCEPTOR_BINDING_TYPE_MEMBER, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_missingNonbindingInInterceptorBindingTypeMember_label},
+// {CDIPreferences.MISSING_NONBINDING_IN_QUALIFIER_TYPE_MEMBER, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_missingNonbindingInQualifierTypeMember_label},
+// {CDIPreferences.MISSING_NONBINDING_IN_INTERCEPTOR_BINDING_TYPE_MEMBER, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_missingNonbindingInInterceptorBindingTypeMember_label},
},
CDICorePlugin.PLUGIN_ID
);
- private static SectionDescription SECTION_SCOPE = new SectionDescription(
- CDIPreferencesMessages.CDIValidatorConfigurationBlock_section_scope,
- new String[][]{
- {CDIPreferences.MULTIPLE_SCOPE_TYPE_ANNOTATIONS, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_multipleScopeTypeAnnotations_label},
- {CDIPreferences.MISSING_SCOPE_WHEN_THERE_IS_NO_DEFAULT_SCOPE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_missingScopeWhenThereIsNoDefaultScope_label},
- {CDIPreferences.STEREOTYPE_DECLARES_MORE_THAN_ONE_SCOPE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_stereotypeDeclaresMoreThanOneScope_label},
- {CDIPreferences.ILLEGAL_SCOPE_FOR_MANAGED_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalScopeForManagedBean_label},
- {CDIPreferences.ILLEGAL_SCOPE_FOR_SESSION_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalScopeForSessionBean_label},
- {CDIPreferences.ILLEGAL_SCOPE_FOR_PRODUCER_METHOD, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalScopeForProducerMethod_label},
- {CDIPreferences.ILLEGAL_SCOPE_FOR_PRODUCER_FIELD, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalScopeForProducerField_label},
- {CDIPreferences.ILLEGAL_SCOPE_WHEN_TYPE_INJECTIONPOINT_IS_INJECTED, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalScopeWhenTypeInjectionPointIsInjected_label},
- {CDIPreferences.ILLEGAL_SCOPE_FOR_INTERCEPTOR, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalScopeForInterceptor_label},
- {CDIPreferences.ILLEGAL_SCOPE_FOR_DECORATOR, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalScopeForDecorator_label},
- },
- CDICorePlugin.PLUGIN_ID
- );
+// private static SectionDescription SECTION_SCOPE = new SectionDescription(
+// CDIPreferencesMessages.CDIValidatorConfigurationBlock_section_scope,
+// new String[][]{
+// {CDIPreferences.MULTIPLE_SCOPE_TYPE_ANNOTATIONS, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_multipleScopeTypeAnnotations_label},
+// {CDIPreferences.MISSING_SCOPE_WHEN_THERE_IS_NO_DEFAULT_SCOPE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_missingScopeWhenThereIsNoDefaultScope_label},
+// {CDIPreferences.STEREOTYPE_DECLARES_MORE_THAN_ONE_SCOPE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_stereotypeDeclaresMoreThanOneScope_label},
+// {CDIPreferences.ILLEGAL_SCOPE_FOR_MANAGED_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalScopeForManagedBean_label},
+// {CDIPreferences.ILLEGAL_SCOPE_FOR_SESSION_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalScopeForSessionBean_label},
+// {CDIPreferences.ILLEGAL_SCOPE_FOR_PRODUCER_METHOD, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalScopeForProducerMethod_label},
+// {CDIPreferences.ILLEGAL_SCOPE_FOR_PRODUCER_FIELD, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalScopeForProducerField_label},
+// {CDIPreferences.ILLEGAL_SCOPE_WHEN_TYPE_INJECTIONPOINT_IS_INJECTED, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalScopeWhenTypeInjectionPointIsInjected_label},
+// {CDIPreferences.ILLEGAL_SCOPE_FOR_INTERCEPTOR, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalScopeForInterceptor_label},
+// {CDIPreferences.ILLEGAL_SCOPE_FOR_DECORATOR, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalScopeForDecorator_label},
+// },
+// CDICorePlugin.PLUGIN_ID
+// );
- private static SectionDescription SECTION_MEMBER = new SectionDescription(
- CDIPreferencesMessages.CDIValidatorConfigurationBlock_section_member,
- new String[][]{
- {CDIPreferences.PRODUCER_ANNOTATED_INJECT, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_producerAnnotatedInject_label},
- {CDIPreferences.PRODUCER_PARAMETER_ILLEGALLY_ANNOTATED, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_producerParameterIllegallyAnnotated_label},
- {CDIPreferences.OBSERVER_ANNOTATED_INJECT, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_observerAnnotatedInject_label},
- {CDIPreferences.OBSERVER_PARAMETER_ILLEGALLY_ANNOTATED, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_observerParameterIllegallyAnnotated_label},
- {CDIPreferences.ILLEGAL_PRODUCER_METHOD_IN_SESSION_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalProducerMethodInSessionBean_label},
- {CDIPreferences.MULTIPLE_DISPOSING_PARAMETERS, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_multipleDisposingParameters_label},
- {CDIPreferences.DISPOSER_ANNOTATED_INJECT, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_disposerAnnotatedInject_label},
- {CDIPreferences.ILLEGAL_DISPOSER_IN_SESSION_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalDisposerInSessionBean_label},
- {CDIPreferences.NO_PRODUCER_MATCHING_DISPOSER, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_noProducerMatchingDisposer_label},
- {CDIPreferences.MULTIPLE_DISPOSERS_FOR_PRODUCER, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_multipleDisposersForProducer_label},
- {CDIPreferences.ILLEGAL_PRODUCER_FIELD_IN_SESSION_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalProducerFieldInSessionBean_label},
- {CDIPreferences.MULTIPLE_INJECTION_CONSTRUCTORS, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_multipleInjectionConstructors_label},
- {CDIPreferences.CONSTRUCTOR_PARAMETER_ILLEGALLY_ANNOTATED, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_constructorParameterIllegallyAnnotated_label},
- {CDIPreferences.GENERIC_METHOD_ANNOTATED_INJECT, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_genericMethodAnnotatedInject_label},
- {CDIPreferences.MULTIPLE_OBSERVING_PARAMETERS, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_multipleObservingParameters_label},
- {CDIPreferences.ILLEGAL_OBSERVER_IN_SESSION_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalObserverInSessionBean_label},
- {CDIPreferences.ILLEGAL_CONDITIONAL_OBSERVER, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalConditionalObserver_label},
- },
- CDICorePlugin.PLUGIN_ID
- );
+// private static SectionDescription SECTION_MEMBER = new SectionDescription(
+// CDIPreferencesMessages.CDIValidatorConfigurationBlock_section_member,
+// new String[][]{
+// {CDIPreferences.PRODUCER_ANNOTATED_INJECT, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_producerAnnotatedInject_label},
+// {CDIPreferences.PRODUCER_PARAMETER_ILLEGALLY_ANNOTATED, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_producerParameterIllegallyAnnotated_label},
+// {CDIPreferences.OBSERVER_ANNOTATED_INJECT, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_observerAnnotatedInject_label},
+// {CDIPreferences.OBSERVER_PARAMETER_ILLEGALLY_ANNOTATED, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_observerParameterIllegallyAnnotated_label},
+// {CDIPreferences.ILLEGAL_PRODUCER_METHOD_IN_SESSION_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalProducerMethodInSessionBean_label},
+// {CDIPreferences.MULTIPLE_DISPOSING_PARAMETERS, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_multipleDisposingParameters_label},
+// {CDIPreferences.DISPOSER_ANNOTATED_INJECT, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_disposerAnnotatedInject_label},
+// {CDIPreferences.ILLEGAL_DISPOSER_IN_SESSION_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalDisposerInSessionBean_label},
+// {CDIPreferences.NO_PRODUCER_MATCHING_DISPOSER, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_noProducerMatchingDisposer_label},
+// {CDIPreferences.MULTIPLE_DISPOSERS_FOR_PRODUCER, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_multipleDisposersForProducer_label},
+// {CDIPreferences.ILLEGAL_PRODUCER_FIELD_IN_SESSION_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalProducerFieldInSessionBean_label},
+// {CDIPreferences.MULTIPLE_INJECTION_CONSTRUCTORS, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_multipleInjectionConstructors_label},
+// {CDIPreferences.CONSTRUCTOR_PARAMETER_ILLEGALLY_ANNOTATED, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_constructorParameterIllegallyAnnotated_label},
+// {CDIPreferences.GENERIC_METHOD_ANNOTATED_INJECT, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_genericMethodAnnotatedInject_label},
+// {CDIPreferences.MULTIPLE_OBSERVING_PARAMETERS, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_multipleObservingParameters_label},
+// {CDIPreferences.ILLEGAL_OBSERVER_IN_SESSION_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalObserverInSessionBean_label},
+// {CDIPreferences.ILLEGAL_CONDITIONAL_OBSERVER, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalConditionalObserver_label},
+// },
+// CDICorePlugin.PLUGIN_ID
+// );
- private static SectionDescription SECTION_INTERCEPTOR = new SectionDescription(
- CDIPreferencesMessages.CDIValidatorConfigurationBlock_section_interceptor_and_decorator,
- new String[][]{
- {CDIPreferences.BOTH_INTERCEPTOR_AND_DECORATOR, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_bothInterceptorAndDecorator_label},
- {CDIPreferences.SESSION_BEAN_ANNOTATED_INTERCEPTOR_OR_DECORATOR, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_sessionBeanAnnotatedInterceptorOrDecorator_label},
- {CDIPreferences.PRODUCER_IN_INTERCEPTOR_OR_DECORATOR, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_producerInInterceptorOrDecorator_label},
- {CDIPreferences.DISPOSER_IN_INTERCEPTOR_OR_DECORATOR, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_disposerInInterceptorOrDecorator_label},
- {CDIPreferences.MULTIPLE_DELEGATE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_multipleDelegate_label},
- {CDIPreferences.MISSING_DELEGATE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_missingDelegate_label},
- {CDIPreferences.ILLEGAL_INJECTION_POINT_DELEGATE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalInjectionPointDelegate_label},
- {CDIPreferences.ILLEGAL_BEAN_DECLARING_DELEGATE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalBeanDeclaringDelegate_label},
- {CDIPreferences.DELEGATE_HAS_ILLEGAL_TYPE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_delegateHasIllegalType_label},
- {CDIPreferences.ILLEGAL_LIFECYCLE_CALLBACK_INTERCEPTOR_BINDING, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalLifecycleCallbackInterceptorBinding_label},
- {CDIPreferences.ILLEGAL_INTERCEPTOR_BINDING_METHOD, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalInterceptorBindingMethod_label},
- {CDIPreferences.CONFLICTING_INTERCEPTOR_BINDINGS, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_conflictingInterceptorBindings_label},
- {CDIPreferences.OBSERVER_IN_INTERCEPTOR_OR_DECORATOR, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_observerInInterceptorOrDecorator_label},
- {CDIPreferences.INTERCEPTOR_OR_DECORATOR_IS_ALTERNATIVE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_interceptorOrDecoratorIsAlternative_label},
- {CDIPreferences.MISSING_INTERCEPTOR_BINDING, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_missingInterceptorBinding_label},
- },
- CDICorePlugin.PLUGIN_ID
- );
+// private static SectionDescription SECTION_INTERCEPTOR = new SectionDescription(
+// CDIPreferencesMessages.CDIValidatorConfigurationBlock_section_interceptor_and_decorator,
+// new String[][]{
+// {CDIPreferences.BOTH_INTERCEPTOR_AND_DECORATOR, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_bothInterceptorAndDecorator_label},
+// {CDIPreferences.SESSION_BEAN_ANNOTATED_INTERCEPTOR_OR_DECORATOR, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_sessionBeanAnnotatedInterceptorOrDecorator_label},
+// {CDIPreferences.PRODUCER_IN_INTERCEPTOR_OR_DECORATOR, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_producerInInterceptorOrDecorator_label},
+// {CDIPreferences.DISPOSER_IN_INTERCEPTOR_OR_DECORATOR, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_disposerInInterceptorOrDecorator_label},
+// {CDIPreferences.MULTIPLE_DELEGATE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_multipleDelegate_label},
+// {CDIPreferences.MISSING_DELEGATE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_missingDelegate_label},
+// {CDIPreferences.ILLEGAL_INJECTION_POINT_DELEGATE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalInjectionPointDelegate_label},
+// {CDIPreferences.ILLEGAL_BEAN_DECLARING_DELEGATE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalBeanDeclaringDelegate_label},
+// {CDIPreferences.DELEGATE_HAS_ILLEGAL_TYPE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_delegateHasIllegalType_label},
+// {CDIPreferences.ILLEGAL_LIFECYCLE_CALLBACK_INTERCEPTOR_BINDING, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalLifecycleCallbackInterceptorBinding_label},
+// {CDIPreferences.ILLEGAL_INTERCEPTOR_BINDING_METHOD, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalInterceptorBindingMethod_label},
+// {CDIPreferences.CONFLICTING_INTERCEPTOR_BINDINGS, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_conflictingInterceptorBindings_label},
+// {CDIPreferences.OBSERVER_IN_INTERCEPTOR_OR_DECORATOR, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_observerInInterceptorOrDecorator_label},
+// {CDIPreferences.INTERCEPTOR_OR_DECORATOR_IS_ALTERNATIVE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_interceptorOrDecoratorIsAlternative_label},
+// {CDIPreferences.MISSING_INTERCEPTOR_BINDING, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_missingInterceptorBinding_label},
+// },
+// CDICorePlugin.PLUGIN_ID
+// );
- private static SectionDescription SECTION_SPECIALIZATION = new SectionDescription(
- CDIPreferencesMessages.CDIValidatorConfigurationBlock_section_specializing,
- new String[][]{
- {CDIPreferences.ILLEGAL_SPECIALIZING_MANAGED_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalSpecializingManagedBean_label},
- {CDIPreferences.ILLEGAL_SPECIALIZING_SESSION_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalSpecializingSessionBean_label},
- {CDIPreferences.ILLEGAL_SPECIALIZING_PRODUCER, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalSpecializingProducer_label},
- {CDIPreferences.MISSING_TYPE_IN_SPECIALIZING_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_missingTypeInSpecializingBean_label},
- {CDIPreferences.CONFLICTING_NAME_IN_SPECIALIZING_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_conflictingNameInSpecializingBean_label},
- {CDIPreferences.INTERCEPTOR_ANNOTATED_SPECIALIZES, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_interceptorAnnotatedSpecializes_label},
- {CDIPreferences.DECORATOR_ANNOTATED_SPECIALIZES, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_decoratorAnnotatedSpecializes_label},
- },
- CDICorePlugin.PLUGIN_ID
- );
-
+// private static SectionDescription SECTION_SPECIALIZATION = new SectionDescription(
+// CDIPreferencesMessages.CDIValidatorConfigurationBlock_section_specializing,
+// new String[][]{
+// {CDIPreferences.ILLEGAL_SPECIALIZING_MANAGED_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalSpecializingManagedBean_label},
+// {CDIPreferences.ILLEGAL_SPECIALIZING_SESSION_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalSpecializingSessionBean_label},
+// {CDIPreferences.ILLEGAL_SPECIALIZING_PRODUCER, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalSpecializingProducer_label},
+// {CDIPreferences.MISSING_TYPE_IN_SPECIALIZING_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_missingTypeInSpecializingBean_label},
+// {CDIPreferences.CONFLICTING_NAME_IN_SPECIALIZING_BEAN, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_conflictingNameInSpecializingBean_label},
+// {CDIPreferences.INTERCEPTOR_ANNOTATED_SPECIALIZES, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_interceptorAnnotatedSpecializes_label},
+// {CDIPreferences.DECORATOR_ANNOTATED_SPECIALIZES, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_decoratorAnnotatedSpecializes_label},
+// },
+// CDICorePlugin.PLUGIN_ID
+// );
+//
private static SectionDescription SECTION_MISCELLANEOUS = new SectionDescription(
CDIPreferencesMessages.CDIValidatorConfigurationBlock_section_miscellaneous,
new String[][]{
- {CDIPreferences.ILLEGAL_INJECTING_USERTRANSACTION_TYPE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalInjectingUserTransactionType_label},
- {CDIPreferences.ILLEGAL_INJECTING_INJECTIONPOINT_TYPE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalInjectingInjectionPointType_label},
+// {CDIPreferences.ILLEGAL_INJECTING_USERTRANSACTION_TYPE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalInjectingUserTransactionType_label},
+// {CDIPreferences.ILLEGAL_INJECTING_INJECTIONPOINT_TYPE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalInjectingInjectionPointType_label},
{CDIPreferences.ILLEGAL_QUALIFIER_IN_STEREOTYPE, CDIPreferencesMessages.CDIValidatorConfigurationBlock_pb_illegalQualifierInStereotype_label},
},
CDICorePlugin.PLUGIN_ID
@@ -145,10 +145,10 @@
private static SectionDescription[] ALL_SECTIONS = new SectionDescription[]{
SECTION_NAME,
SECTION_TYPE,
- SECTION_SCOPE,
- SECTION_MEMBER,
- SECTION_INTERCEPTOR,
- SECTION_SPECIALIZATION,
+// SECTION_SCOPE,
+// SECTION_MEMBER,
+// SECTION_INTERCEPTOR,
+// SECTION_SPECIALIZATION,
SECTION_MISCELLANEOUS
};
14 years, 8 months
JBoss Tools SVN: r20191 - in trunk/as/plugins: org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2010-02-09 04:36:52 -0500 (Tue, 09 Feb 2010)
New Revision: 20191
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/JBossServer.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/LocalDeploymentModuleTab.java
Log:
JBIDE-5791
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/JBossServer.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/JBossServer.java 2010-02-09 03:39:05 UTC (rev 20190)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/JBossServer.java 2010-02-09 09:36:52 UTC (rev 20191)
@@ -151,10 +151,11 @@
return JBossServerCorePlugin.getServerStateLocation(server).
append(IJBossServerConstants.DEPLOY).makeAbsolute().toString();
} else if( type.equals(DEPLOY_SERVER)) {
+ String loc = jbsrt.getConfigLocation();
String config = jbsrt.getJBossConfiguration();
- IPath p = new Path(IJBossServerConstants.SERVER).append(config)
+ IPath p = new Path(loc).append(config)
.append(IJBossServerConstants.DEPLOY).makeRelative();
- return ServerUtil.makeGlobal(jbsrt, p).toString();
+ return p.toString();
}
return null;
}
@@ -173,11 +174,12 @@
return JBossServerCorePlugin.getServerStateLocation(getServer()).
append(IJBossServerConstants.TEMP_DEPLOY).makeAbsolute().toString();
} else if( type.equals(DEPLOY_SERVER)) {
+ String loc = jbsrt.getConfigLocation();
String config = jbsrt.getJBossConfiguration();
- IPath p = new Path(IJBossServerConstants.SERVER)
+ IPath p = new Path(loc)
.append(config).append(IJBossServerConstants.TMP)
.append(IJBossServerConstants.JBOSSTOOLS_TMP).makeRelative();
- return ServerUtil.makeGlobal(jbsrt, p).toString();
+ return p.toString();
}
return null;
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/LocalDeploymentModuleTab.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/LocalDeploymentModuleTab.java 2010-02-09 03:39:05 UTC (rev 20190)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/LocalDeploymentModuleTab.java 2010-02-09 09:36:52 UTC (rev 20191)
@@ -441,13 +441,14 @@
if( rt != null ) {
IJBossServerRuntime jbsrt = (IJBossServerRuntime)rt.loadAdapter(IJBossServerRuntime.class, new NullProgressMonitor());
if( jbsrt != null ) {
+ String loc = jbsrt.getConfigLocation();
String config = jbsrt.getJBossConfiguration();
- newDir = new Path(IJBossServerConstants.SERVER)
+ newDir = new Path(loc)
.append(config)
- .append(IJBossServerConstants.DEPLOY).makeRelative().toString();
- newTemp = new Path(IJBossServerConstants.SERVER).append(config)
+ .append(IJBossServerConstants.DEPLOY).toString();
+ newTemp = new Path(loc).append(config)
.append(IJBossServerConstants.TMP)
- .append(IJBossServerConstants.JBOSSTOOLS_TMP).makeRelative().toString();
+ .append(IJBossServerConstants.JBOSSTOOLS_TMP).toString();
new File(newTemp).mkdirs();
type = IDeployableServer.DEPLOY_SERVER;
}
@@ -523,12 +524,12 @@
private String getDeployDir() {
return page.getServer().getRuntime() == null ? "" : //$NON-NLS-1$
- page.makeRelative(getServer().getDeployFolder());
+ getServer().getDeployFolder();
}
private String getTempDeployDir() {
return page.getServer().getRuntime() == null ? "" : //$NON-NLS-1$
- page.makeRelative(getServer().getTempDeployFolder());
+ getServer().getTempDeployFolder();
}
private IDeployableServer getServer() {
14 years, 8 months
JBoss Tools SVN: r20190 - trunk/documentation/guides/JBDS_3.0_Release_Notes/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-02-08 22:39:05 -0500 (Mon, 08 Feb 2010)
New Revision: 20190
Modified:
trunk/documentation/guides/JBDS_3.0_Release_Notes/en-US/Fixed_Issues.xml
Log:
added more JIRA
Modified: trunk/documentation/guides/JBDS_3.0_Release_Notes/en-US/Fixed_Issues.xml
===================================================================
--- trunk/documentation/guides/JBDS_3.0_Release_Notes/en-US/Fixed_Issues.xml 2010-02-09 00:08:03 UTC (rev 20189)
+++ trunk/documentation/guides/JBDS_3.0_Release_Notes/en-US/Fixed_Issues.xml 2010-02-09 03:39:05 UTC (rev 20190)
@@ -84,6 +84,11 @@
<ulink url="http://jira.jboss.com/jira/browse/JBIDE-5191">JBIDE-5191</ulink>: The Smooks, Drools, jPDL, XSLT and Groovy editors have been linked to the ESB Editor, providing an improved user experience. <guibutton>Browse</guibutton> buttons that allow for file association and use have been added to the <property>Smooks Transformer</property>, <property>GroovyActionProcessor</property>, <property>Rule Set</property> and <property>Rule Language</property> properties.
</para>
</listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5108">JBIDE-5108</ulink>: The JBoss Runtime Manager was setup to search for ESB Runtime files from a specified location reguardless of how it was installed. This caused issue when the ESB Runtime was installed as a user defined runtime. The issue has been rectified by adding a <guilabel>Configuration</guilabel> field to the <guilabel>Preference</guilabel> page. If the user sets the <guilabel>Configuration</guilabel> field to the home location of the <application>JBoss Enterprise Application Platform</application> or <application>JBoss SOA Platform</application>, there configuration combination will list all available configurations. If the user selects a standalone ESB Runtime location, the configuration combination will be empty and the user should ignore the field. The ESB runtime classpath container now gathers configuration information from the selected server runtime and then selects JARs accordingly or the s!
tandalone ESB Runtime.
+ </para>
+ </listitem>
</itemizedlist>
</para>
</formalpara>
@@ -138,6 +143,11 @@
<ulink url="http://jira.jboss.com/jira/browse/JBIDE-5222">JBIDE-5222</ulink>: A new feature as been added that allows for support of <guilabel>filter configurations in closed porjects</guilabel> for console configuration. This option is available through <menuchoice><guimenuitem>Preferences</guimenuitem><guimenuitem>Run/Debug</guimenuitem><guimenuitem>Launching</guimenuitem><guimenuitem>Launch Configurations</guimenuitem></menuchoice>.
</para>
</listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5124">JBIDE-5124</ulink>: In the Hibernate Diagram Viewer new functionality has been added that allows a user to choose between two different connection routers: Manhattan connection router for small diagrams and Fan connection router for larger diagrams.
+ </para>
+ </listitem>
</itemizedlist>
</para>
</formalpara>
@@ -175,6 +185,21 @@
<ulink url="http://jira.jboss.com/jira/browse/JBIDE-5670">JBIDE-5237</ulink>: CSS Class Hyperlink for the <property>class</property> attribute of HTML tags would not search through CSS loaded using JSF tags (for example: <a:loadStyle />). This has now been fixed so that the searching of CSS classes returns the correct user expected results.
</para>
</listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5099">JBIDE-5099</ulink>: OpenOn support has been added for custom JSF 2.0 components.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5097">JBIDE-5097</ulink>: Content Assist did not support multiple namespaces with the same Uniform Resource Identifier (URI).This issue has been fixed by modifying <classname>XmlContextImpl</classname> class within the <filename>XmlContextImpl.java</filename> file from: <code>nameSpaces.get(region).put(nameSpace.getURI(), nameSpace);</code> to <code>nameSpaces.get(region).put(nameSpace.getPrefix(), nameSpace);</code>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5089">JBIDE-5089</ulink>: JSF Expression Language (EL) validation has been added for message bundles. This improves the performance of the <classname>PageContextFactory</classname>.
+ </para>
+ </listitem>
</itemizedlist>
</para>
</formalpara>
@@ -243,6 +268,11 @@
<ulink url="http://jira.jboss.com/jira/browse/JBIDE-5275">JBIDE-5259</ulink>: The Smooks configuration has received a test facility through the modification of the <guibutton>Run</guibutton> button to output a java result to the <guilabel>Console</guilabel>. This allows a user to test Smooks projects in a simplified way.
</para>
</listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5088">JBIDE-5088</ulink>:
+ </para>
+ </listitem>
</itemizedlist>
</para>
</formalpara>
@@ -309,6 +339,16 @@
</listitem>
</itemizedlist>
</listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5100">JBIDE-5100</ulink>: Support for JSF 2.0 attributes have been added to the Visual Page Editor.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5091">JBIDE-5091</ulink>: Support for JSF 2.0 Composition components that come packaged into the Web Application Root has been added to the Visual Page Editor.
+ </para>
+ </listitem>
</itemizedlist>
</para>
</formalpara>
@@ -353,6 +393,16 @@
<ulink url="http://jira.jboss.com/jira/browse/JBIDE-5153">JBIDE-5153</ulink>: A <guilabel>JavaMain</guilabel> tab has been added to the tab group to allow for customization of the main class of the server. The changes to the main class are verified to persist by server startup checks.
</para>
</listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5122">JBIDE-5122</ulink>: <guilabel>JBoss Servers View</guilabel> has been removed with this release. All the functionality provided by this view can be found in the <guilabel>Servers View</guilabel>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5041">JBIDE-5041</ulink>: The <keycap>menu</keycap> key on the keyboard would not work in the <guilabel>Web Projects</guilabel> view, <guilabel>Seam Components</guilabel> view or JBoss Tools XML Editor. The functioning of this key has now been corrected so it behaves as a user would expect.
+ </para>
+ </listitem>
</itemizedlist>
</para>
</formalpara>
14 years, 8 months