[jbosstools-commits] JBoss Tools SVN: r23412 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Jul 15 02:03:45 EDT 2010


Author: dgeraskov
Date: 2010-07-15 02:03:44 -0400 (Thu, 15 Jul 2010)
New Revision: 23412

Modified:
   trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationSettingsTab.java
Log:
https://jira.jboss.org/browse/JBIDE-6601
do not validate reven.xml if it isn't used

Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationSettingsTab.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationSettingsTab.java	2010-07-14 23:43:04 UTC (rev 23411)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationSettingsTab.java	2010-07-15 06:03:44 UTC (rev 23412)
@@ -301,7 +301,7 @@
             }
         }
 
-        if(reverseEngineeringSettings.getText().trim().length()>0) {
+        if(reverseEngineeringSettings.isEnabled() && reverseEngineeringSettings.getText().trim().length()>0) {
             msg = PathHelper.checkFile(reverseEngineeringSettings.getText(), HibernateConsoleMessages.CodeGenerationSettingsTab_reveng_xml_3, true);
         	if(msg!=null) {
         		updateStatus(msg);



More information about the jbosstools-commits mailing list