You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Pierre Smits (Commented) (JIRA)" <ji...@apache.org> on 2012/04/02 20:41:21 UTC

[jira] [Commented] (OFBIZ-4779) Add an ant task/code/script for dropping all datas from the database

    [ https://issues.apache.org/jira/browse/OFBIZ-4779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244428#comment-13244428 ] 

Pierre Smits commented on OFBIZ-4779:
-------------------------------------

Cleaning the data environment is already in the build.xml file called: 'clean-data'...

You can start this clean-up process by following command:
./ant clean-data

Avoiding the 'unnecessay 'create tables/key/indexes phases' saves only a few minutes per run.

Regarding,

Pierre
                
> Add an ant task/code/script for dropping all datas from the database
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-4779
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4779
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: WXP SP3 Sun JDK 1.6.0_30 Postgres 9.1
>            Reporter: Francis ANDRE
>
> Hi
> It would be nice to have an ant task or a script for cleaning/removing all datas in the databases so that one can restart reloading the seed, seed-initial and then its own data file.
> When developing a new environment for ofbiz, one has always to fix bugs on the entities values in this datafile until it is properly cleaned up. Thus, avoiding the unnecessary "create tables/key/indexes" phases will shorten the development cycle.
> Rgds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira