A new topic, 'Features suggestion 2', has been made on a board you are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=108.new#new

The text of the topic is shown below:

Here are several features I'd like to suggest. after using liquibase for awhile

1. User friendly messages for failed preconditions. 
I'd like to have a way to specify a message for each precondition, which will 
be shown to user in case of precondition failure.  
For example, if I defined a precondition 
Code:
 <preConditions>
     <dbms type="oracle" />
     <dbms type="mysql" />
 </preConditions>
I'd like to add a message that only Oracle and MySQL are supported, like this
Code:
 <preConditions message="only Oracle and MySQL are supported">
     <dbms type="oracle" />
     <dbms type="mysql" />
 </preConditions>

2. PropertyDefinedPrecondition
Liquibase allows to use properties in a from ${propertyName}. Properties are 
defined in command line or somewhere else.
Undefined property can lead to unexpected behaviour, which is hard to analyse. 
I'd like to have a way to check that property is actually defined before using 
it. I think the best way is to define a new precondition check, so the 
following would be possible:
Code:
 <preConditions onFail="MARK_RUN">
    <and>
       <propertyDefined name="myTable" failureType="error"/>
       <not><tableExists name="${myTable}"/></not>
    </and>
 </preConditions>
  <createTable name="${myTable}">
...

The failure type specifies the precondition result - failure or error.
For now I resolved this problem with implementing custom precondition.

3. Hooks for GUI.
I'd like to create some GUI around Liquibase tool and I'd like it to have some 
progress bar.
So I need some hooks (or a way to supply observers/listeners) to get the 
current status of the operation.

4. Please, include documentation about Liquibase tags into distribution bundle. 
It is not convinient to read the docs from site, especially via slow 
connections.

Unsubscribe to new topics from this board by clicking here: 
http://liquibase.org/forum/index.php?action=notifyboard;board=1.0

Regards,
The LiquiBase Community Forum Team.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to