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

Incomplete delete of generic exporter from .lauch file

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: