Author: vyemialyanchyk
Date: 2009-02-06 12:34:05 -0500 (Fri, 06 Feb 2009)
New Revision: 13527
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ExporterSettingsTab.java
Log:
JBIDE-3606
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ExporterSettingsTab.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ExporterSettingsTab.java 2009-02-06
17:12:35 UTC (rev 13526)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ExporterSettingsTab.java 2009-02-06
17:34:05 UTC (rev 13527)
@@ -728,13 +728,14 @@
// hard-coded checks: this should be delegated to extension point that knows about the
different exporters.
- Iterator iterator = observableFactoryList.getList().iterator();
+ //Iterator iterator = observableFactoryList.getList().iterator(); // check all
exporters
+ Iterator iterator = selectedExporters.iterator(); // check only selected exporters
while (iterator.hasNext()) {
ExporterFactory ef = (ExporterFactory) iterator.next();
String str = (String) ef.getProperties().get("outputdir"); //$NON-NLS-1$
String msg = null;
if(str!=null) {
- msg = PathHelper.checkDirectory(str,
HibernateConsoleMessages.ExporterSettingsTab_output_directory_for + " " +
ef.getExporterDefinition().getDescription(), false); //$NON-NLS-1$
+ msg = PathHelper.checkDirectory(str,
HibernateConsoleMessages.ExporterSettingsTab_output_directory_for + " " +
ef.getExporterDefinition().getDescription(), true); //$NON-NLS-1$
if(msg!=null) {
updateStatus(msg);
return;
Show replies by date