[JBoss JIRA] Created: (JBIDE-3968) Create unittests for dali integration
by Max Rydahl Andersen (JIRA)
Create unittests for dali integration
-------------------------------------
Key: JBIDE-3968
URL: https://jira.jboss.org/jira/browse/JBIDE-3968
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Reporter: Max Rydahl Andersen
Assignee: Dmitry Geraskov
Priority: Blocker
Fix For: 3.0.1.GA, 3.1.0
While fixing JBIDE-3960 I wanted to verify my fixes did not break anything but I had no way of verifying this except tiny manual tests to be ready for GA.
I also believe if we had had any trivial tests they would had prevented JBIDE-3960 since it would have showed up instantly.
We need to add tests for the Dali integration, especially when we have funky code like reflection for Dali 2.1 and Dali 2.0
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months
[JBoss JIRA] Created: (JBIDE-3315) Incomplete delete of generic exporter from .lauch file
by Francisco Jose Peredo Noguez (JIRA)
Incomplete delete of generic exporter from .lauch file
------------------------------------------------------
Key: JBIDE-3315
URL: https://jira.jboss.org/jira/browse/JBIDE-3315
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 2.1.2
Reporter: Francisco Jose Peredo Noguez
If I save my code generation options in a .launch and I try to delete one of the Generic Exporters, and then I open the file in a text editor to see if it actually deleted it, I see that it deleted the line that says:
<listEntry value="hbmtemplate1"/>
but it did not delete the this:
<mapAttribute key="org.hibernate.tools.exporters.hbmtemplate1.properties">
<mapEntry key="hibernatetool.something.toolclass" value="somepackage.SomeClass"/>
<mapEntry key="outputdir" value="/myapp/WebContent/Crud"/>
<mapEntry key="for_each" value="entity"/>
<mapEntry key="template_name" value="view/list.xhtml.ftl"/>
<mapEntry key="file_pattern" value="{class-name}List.xhtml"/>
<mapEntry key="hibernatetool.util.toolclass" value="org.hibernate.eclipse.launch.SeamUtil"/>
</mapAttribute>
This mapAttribute stuff stays there, and can only be removed if I do it manually.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 7 months