Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2395

cdbimport: add option to create project file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1.M2
    • Non-GUI Tools
    • None

    Description

      cdbimport tools are already pretty advanced and stable, but you still need Modeler to create new project. It is really slows down start of new project, and moreover complicates new users transition into Cayenne world.

      New option in cbimport config can be like this:

      <configuration>
          <cayenneProject>${project.basedir}/src/main/resources/cayenne/cayenne-project.xml</cayenneProject>
          <map>${project.basedir}/src/main/resources/cayenne/datamap.map.xml</map>
          <cdbimport>
              <!-- ... -->
          <cdbimport>
      </configuration>
      

      And the logic should be like this:

      • without cayenneProject option result will be same as now
      • if cayenneProject is set but no file exists it will be created and DataMap linked to it
      • it cayenneProject is and file already exists then DataMap should be linked to it (if it is new) or update existing one

      Attachments

        Activity

          People

            ntimofeev Nikita Timofeev
            ntimofeev Nikita Timofeev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: