Uploaded image for project: 'Torque'
  1. Torque
  2. TORQUE-273 Support typed models in the generator
  3. TORQUE-276

Change semantics of elements attribute of source tag in generator config.xml

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0
    • 5.0
    • Generator
    • None

    Description

      The elements attributes select the root elements for file generation.
      E.g. with the current semantics, elements="database/table" would create files for all table elements in the database root element.
      However, this does not work for a typed model, because there the root element has no name. So there, we sould have to write elements="table" or elements="/table"
      To have consistenht behaviour across typed and untyped model,s the secoond behavour will be used for both typed and untyped models.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tfischer Thomas Fox
            tfischer Thomas Fox
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment