Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-3315

Incomplete delete of generic exporter from .lauch file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.2.0.M2
    • 2.1.2
    • hibernate
    • None

      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.

            jpeterka_jira Jiri Peterka (Inactive)
            luxspes_jira Francisco Jose Peredo Noguez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: