cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAY-2395) cdbimport: add option to create project file
Date Fri, 19 Jan 2018 12:11:00 GMT

     [ https://issues.apache.org/jira/browse/CAY-2395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nikita Timofeev updated CAY-2395:
---------------------------------
    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:
{code:xml}
<configuration>
    <cayenneProject>${project.basedir}/src/main/resources/cayenne/cayenne-project.xml</cayenneProject>
    <cdbimport>
        <!-- ... -->
    <cdbimport>
</configuration>
{code}
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

  was:
*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:

{code:xml}
<configuration>
    <cdbimport>
        <cayenneProject>${project.basedir}/src/main/resources/cayenne/cayenne-project.xml</cayenneProject>
    <cdbimport>
</configuration>
{code}

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



> cdbimport: add option to create project file
> --------------------------------------------
>
>                 Key: CAY-2395
>                 URL: https://issues.apache.org/jira/browse/CAY-2395
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Non-GUI Tools
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Major
>             Fix For: 4.1.M2
>
>
> *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:
> {code:xml}
> <configuration>
>     <cayenneProject>${project.basedir}/src/main/resources/cayenne/cayenne-project.xml</cayenneProject>
>     <cdbimport>
>         <!-- ... -->
>     <cdbimport>
> </configuration>
> {code}
> 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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message