Hi Nathan,

The precondition worked fine. I made the precondition that there was a
record in the databasechangelog table for the last changeset in the log,
which would only be in the DB after the first run of the schema. So I skip
the step the first time, and it runs the second time. Worked like a charm.

Thanks,
Darryl

P.S. Haven't added the request to SF yet - have made a note to do so though.
:-)


Voxland, Nathan wrote:
> 
> If you could add it to the sourceforge tracker, that would be great.
> 
> Let us know if you have questions with the preconditions.
> 
> Nathan
> 
> 
> 
> On Apr 24, 2009, at 11:44 AM, "Darryl Pentz" <[email protected]> wrote:
> 
>>
>> Thanks Nathan, I'll take a look at how the preconditions work. It's  
>> not a
>> development time issue, unfortunately.
>>
>> With regards to adding that command, do you need me to JIRA it?
>>
>> - Darryl
>>
>>
>> Voxland, Nathan wrote:
>>>
>>> It should not be difficult to add, I can look at adding it for 1.10.
>>>
>>> You may be able to do what you are wanting using preconditions.   
>>> You can
>>> create a precondition for the changeset after the one you want to  
>>> stop
>>> at that depends on something that you do to the database between  
>>> the two
>>> steps.  Or, if it is just a development-time process, you could put a
>>> <stop> tag at the beginning of the next changeset which will stop
>>> execution.  You can then remove the stop command and rerun the
>>> changelog.
>>>
>>> Nathan
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/Updating-up-to-a-changeset-tp23214927p23220298.html
>> Sent from the LiquiBase - User mailing list archive at Nabble.com.
>>
>>
>> --- 
>> --- 
>> --- 
>> ---------------------------------------------------------------------
>> Crystal Reports &#45; New Free Runtime and 30 Day Trial
>> Check out the new simplified licensign option that enables unlimited
>> royalty&#45;free distribution of the report engine for externally  
>> facing
>> server and web deployment.
>> http://p.sf.net/sfu/businessobjects
>> _______________________________________________
>> Liquibase-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/liquibase-user
> 
> ------------------------------------------------------------------------------
> Crystal Reports &#45; New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty&#45;free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Liquibase-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/liquibase-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Updating-up-to-a-changeset-tp23214927p23311282.html
Sent from the LiquiBase - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to