Author: vyemialyanchyk
Date: 2008-07-29 11:43:49 -0400 (Tue, 29 Jul 2008)
New Revision: 9400
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/wizards/ConsoleConfigurationWizardPage.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2585
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/wizards/ConsoleConfigurationWizardPage.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/wizards/ConsoleConfigurationWizardPage.java 2008-07-29
15:39:29 UTC (rev 9399)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/wizards/ConsoleConfigurationWizardPage.java 2008-07-29
15:43:49 UTC (rev 9400)
@@ -659,7 +659,7 @@
}
private void handleProjectBrowse() {
- IJavaProject paths = DialogSelectionHelper.chooseJavaProject( getShell(),
ProjectUtils.findJavaProject( propertyFileText.getText() ),
HibernateConsoleMessages.ConsoleConfigurationWizardPage_select_java_project,
HibernateConsoleMessages.ConsoleConfigurationWizardPage_select_java_project_to_classpath
);
+ IJavaProject paths = DialogSelectionHelper.chooseJavaProject( getShell(),
ProjectUtils.findJavaProject( getProjectName() ),
HibernateConsoleMessages.ConsoleConfigurationWizardPage_select_java_project,
HibernateConsoleMessages.ConsoleConfigurationWizardPage_select_java_project_to_classpath
);
if(paths!=null) {
projectNameText.setText( paths.getProject().getName() );
} else {