castor
  1. castor
  2. CASTOR-2117 Generate java5 enums for simpleType enumerations
  3. CASTOR-2122

Add 'lenience' property so that old Java 1.4 enumeration-type classes can still be generated

    Details

    • Type: Sub-task Sub-task
    • Status: Closed Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.1.2.1
    • Fix Version/s: 1.2
    • Component/s: XML code generator
    • Labels:
      None
    • Number of attachments :
      2

      Description

      Some folks might still want to generate oldish Java 1.4 enum style classes. For those, we need a property that allows such a user to change back to the old behavior.

      1. patch.c2122.20070828.txt
        10 kB
        Matthias Epheser
      2. patch.c2122.20070827.txt
        3 kB
        Matthias Epheser

        Issue Links

          Activity

          Hide
          Matthias Epheser added a comment -

          Added property org.exolab.castor.builder.forceJava4Enums

          Show
          Matthias Epheser added a comment - Added property org.exolab.castor.builder.forceJava4Enums
          Hide
          Werner Guttmann added a comment -

          Matthias, can you please attend to the following items:

          • Fix typos.
          • Add HTML docs to the code generator property page.
          • Add release notes entries.
          Show
          Werner Guttmann added a comment - Matthias, can you please attend to the following items: Fix typos. Add HTML docs to the code generator property page. Add release notes entries.
          Hide
          Werner Guttmann added a comment -

          Committed patch (almost) as is, with typos fixed and release notes added.

          Show
          Werner Guttmann added a comment - Committed patch (almost) as is, with typos fixed and release notes added.
          Hide
          Matthias Epheser added a comment -

          This patch includes entries in the release notes as well as in the source genration properties section.

          Show
          Matthias Epheser added a comment - This patch includes entries in the release notes as well as in the source genration properties section.
          Hide
          Werner Guttmann added a comment -

          Committed as is. I still think, though, that most of the information related to the use of Java 5 (in general) and enums in particular should be moved to a separate (and new) page. Anything related to code generation only should remain (and link to the other page).

          Show
          Werner Guttmann added a comment - Committed as is. I still think, though, that most of the information related to the use of Java 5 (in general) and enums in particular should be moved to a separate (and new) page. Anything related to code generation only should remain (and link to the other page).

            People

            • Assignee:
              Matthias Epheser
              Reporter:
              Werner Guttmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: