[jbosstools-commits] JBoss Tools SVN: r6767 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Fri Mar 7 09:05:49 EST 2008
Author: dgeraskov
Date: 2008-03-07 09:05:49 -0500 (Fri, 07 Mar 2008)
New Revision: 6767
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1845
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java 2008-03-07 12:56:10 UTC (rev 6766)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java 2008-03-07 14:05:49 UTC (rev 6767)
@@ -213,7 +213,7 @@
String outputPathRes = PathHelper.getLocationAsStringPath(attributes.getOutputPath());
if (outputPathRes == null){
- ContainerCreator cc = new ContainerCreator(ResourcesPlugin.getWorkspace(), PathHelper.pathOrNull(outputPathRes));
+ ContainerCreator cc = new ContainerCreator(ResourcesPlugin.getWorkspace(), PathHelper.pathOrNull(attributes.getOutputPath()));
IFolder folder = (IFolder) cc.createContainer(new NullProgressMonitor());
if (folder != null) {
outputPathRes = PathHelper.getLocation( folder ).toOSString();
@@ -223,7 +223,7 @@
String templatePath = PathHelper.getLocationAsStringPath(attributes.getTemplatePath());
if (templatePath == null){
- ContainerCreator cc = new ContainerCreator(ResourcesPlugin.getWorkspace(), PathHelper.pathOrNull(templatePath));
+ ContainerCreator cc = new ContainerCreator(ResourcesPlugin.getWorkspace(), PathHelper.pathOrNull(attributes.getTemplatePath()));
IFolder folder = (IFolder) cc.createContainer(new NullProgressMonitor());
if (folder != null) {
templatePath = PathHelper.getLocation( folder ).toOSString();
More information about the jbosstools-commits
mailing list