Author: max.andersen(a)jboss.com
Date: 2007-10-19 10:37:45 -0400 (Fri, 19 Oct 2007)
New Revision: 4384
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamGenerateEnitiesWizard.java
Log:
generate entities did not use src/model and src/action correctly.
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamGenerateEnitiesWizard.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamGenerateEnitiesWizard.java 2007-10-19
14:37:18 UTC (rev 4383)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamGenerateEnitiesWizard.java 2007-10-19
14:37:45 UTC (rev 4384)
@@ -215,7 +215,7 @@
hbmtemplateAttributes = new HashMap<String, String>();
hbmtemplateAttributes.put("file_pattern",
"{package-name}/{class-name}List.java"); //$NON-NLS-1$ //$NON-NLS-2$
hbmtemplateAttributes.put("template_name",
"src/EntityList.java.ftl"); //$NON-NLS-1$ //$NON-NLS-2$
- hbmtemplateAttributes.put("outputdir",seamProjectsSet.getBeansFolder().getFullPath().toString());
//$NON-NLS-1$
+ hbmtemplateAttributes.put("outputdir",seamProjectsSet.getActionsFolder().getFullPath().toString());
//$NON-NLS-1$
hbmtemplateAttributes.put("for_each", "entity"); //$NON-NLS-1$
//$NON-NLS-2$
hbmtemplateAttributes.put("hibernatetool.util.toolclass","org.hibernate.eclipse.launch.SeamUtil");
//$NON-NLS-1$ //$NON-NLS-2$
wc.setAttribute(HibernateLaunchConstants.ATTR_EXPORTERS +
".hbmtemplate6.properties", hbmtemplateAttributes); //$NON-NLS-1$
@@ -242,7 +242,7 @@
hbmtemplateAttributes = new HashMap<String, String>();
hbmtemplateAttributes.put("file_pattern",
"{package-name}/{class-name}Home.java"); //$NON-NLS-1$ //$NON-NLS-2$
hbmtemplateAttributes.put("template_name",
"src/EntityHome.java.ftl"); //$NON-NLS-1$ //$NON-NLS-2$
- hbmtemplateAttributes.put("outputdir",seamProjectsSet.getBeansFolder().getFullPath().toString());
//$NON-NLS-1$
+ hbmtemplateAttributes.put("outputdir",seamProjectsSet.getActionsFolder().getFullPath().toString());
//$NON-NLS-1$
hbmtemplateAttributes.put("for_each", "entity"); //$NON-NLS-1$
//$NON-NLS-2$
hbmtemplateAttributes.put("hibernatetool.util.toolclass","org.hibernate.eclipse.launch.SeamUtil");
//$NON-NLS-1$ //$NON-NLS-2$
wc.setAttribute(HibernateLaunchConstants.ATTR_EXPORTERS +
".hbmtemplate8.properties", hbmtemplateAttributes); //$NON-NLS-1$
Show replies by date