<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-23274</id>
	<title>Nabble - LiquiBase</title>
	<updated>2008-09-04T13:01:33Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/LiquiBase-f23274.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LiquiBase-f23274.html" />
	<subtitle type="html">&lt;a href=&quot;http://www.liquibase.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;LiquiBase&lt;/a&gt;&amp;nbsp;is an open source (LGPL), DBMS-independent library for tracking, managing and applying database changes. It is built on a simple premise: All database changes (structure and data) are stored in an XML-based descriptive manner and checked into source control.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19318832</id>
	<title>Re: Update of DBUnit dataset documents</title>
	<published>2008-09-04T13:01:33Z</published>
	<updated>2008-09-04T13:01:33Z</updated>
	<author>
		<name>Gunnar Morling</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;thanks for the quick answer. I am not sure about 1.) though; If e.g. a 
&lt;br&gt;new non-NULL column is introduced in schema version N+1, it wouldn't be 
&lt;br&gt;possible to insert a DBUnit dataset made for schema version N due to the 
&lt;br&gt;resulting constraint violations.
&lt;br&gt;&lt;br&gt;2.) sounds definitely possible, though it might be rather complex and 
&lt;br&gt;time-consuming, when updating a larger number of dataset files. And, 
&lt;br&gt;comments inserted in the dataset files to describe data for different 
&lt;br&gt;test cases e.g. would probably be lost.
&lt;br&gt;&lt;br&gt;So I think, it would be fantastic, if it were possible to update DBUnit 
&lt;br&gt;dataset files directly. What would be needed, was a new &amp;quot;adapter&amp;quot; for 
&lt;br&gt;LiquiBase, which supports DBUnit datasets as target (instead of another 
&lt;br&gt;RDMBS). Not all refactoring types would have to be supported by this 
&lt;br&gt;adapter, e.g. &amp;quot;Create Table&amp;quot; wouldn't be required.
&lt;br&gt;&lt;br&gt;Additionally, the schema version, for which a dataset file was made, 
&lt;br&gt;would have to be stored in each file to be updated, in order to know, 
&lt;br&gt;which change sets have to be applied. I don't know much about the 
&lt;br&gt;architecture of LiquiBase, so I can't estimate, how complex it would be 
&lt;br&gt;to add such a new target platform. Are you aware of any current efforts 
&lt;br&gt;underway to create any such integration of LiquiBase and DBUnit?
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Gunnar
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I know of two strategies for now until some form of integration 
&lt;br&gt;&amp;gt; between the two tools
&lt;br&gt;&amp;gt; happens (any good ideas what this should look like?).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1) DBunit can be made to ignore missing columns and be quite lax with 
&lt;br&gt;&amp;gt; its data imports and
&lt;br&gt;&amp;gt; that tends to reduce the amount of errors you may see. This works when 
&lt;br&gt;&amp;gt; you have a lot of
&lt;br&gt;&amp;gt; different test scenario files as you don't have to fix all of them, 
&lt;br&gt;&amp;gt; just the ones where the
&lt;br&gt;&amp;gt; tables are very different.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2) Insert the test data into the old schema, run the liquibase upgrade 
&lt;br&gt;&amp;gt; and then re-export
&lt;br&gt;&amp;gt; the test data.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Paul K
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; PS- You should not be unit testing with the database involved, that 
&lt;br&gt;&amp;gt; way leads to madness.
&lt;br&gt;&amp;gt; Database involved tests should be called integration tests, unit tests 
&lt;br&gt;&amp;gt; are something very
&lt;br&gt;&amp;gt; different.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt; From: Gunnar Morling &amp;lt;morling@ar...&amp;gt;
&lt;br&gt;&amp;gt; To: liquibase-devel@li...
&lt;br&gt;&amp;gt; Sent: Wednesday, 3 September, 2008 21:17:37
&lt;br&gt;&amp;gt; Subject: [Liquibase-devel] Update of DBUnit dataset documents
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi there,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; right now I am playing around a bit with LiquiBase, and it really seems
&lt;br&gt;&amp;gt; to be a very useful tool for schema migrations. I am curious though, how
&lt;br&gt;&amp;gt; LiquiBase can manage the migration of master and test data.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; To be more concrete, in my setup, I use DBUnit XML dataset files to keep
&lt;br&gt;&amp;gt; master data and common test data. As the schema changes over time (e.g.
&lt;br&gt;&amp;gt; new non-NULL columns are introduced), these XML files are getting
&lt;br&gt;&amp;gt; outdated and can't be executed against an updated DB, consequently
&lt;br&gt;&amp;gt; leading to failing unit tests etc.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So my question is, if there are any plans (or maybe it is already
&lt;br&gt;&amp;gt; possible?) to support the migration of DBUnit dataset files with
&lt;br&gt;&amp;gt; LiquiBase. Actually I think, those XML files can be regarded as a small
&lt;br&gt;&amp;gt; snapshot of a database, so it should in general be possible to update
&lt;br&gt;&amp;gt; them (when knowing, for which schema version they were created), using
&lt;br&gt;&amp;gt; the schema changes described in a LiquiBase change set.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks a lot and kind regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Gunnar Morling
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's 
&lt;br&gt;&amp;gt; challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great 
&lt;br&gt;&amp;gt; prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the 
&lt;br&gt;&amp;gt; world
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Liquibase-devel mailing list
&lt;br&gt;&amp;gt; Liquibase-devel@li...
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-devel&lt;/a&gt;&lt;/div&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318832&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LiquiBase---Development-f23277.html&quot; embed=&quot;fixTarget[23277]&quot; target=&quot;_top&quot; &gt;LiquiBase - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-Update-of-DBUnit-dataset-documents-tp19297580p19318832.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19318467</id>
	<title>Re: Now for my next completely stupid question. :-)</title>
	<published>2008-09-04T12:40:23Z</published>
	<updated>2008-09-04T12:40:23Z</updated>
	<author>
		<name>David C. Hicks</name>
	</author>
	<content type="html">Chris,
&lt;br&gt;&lt;br&gt;Thanks for the explanation of Contexts. &amp;nbsp;I definitely had misunderstood 
&lt;br&gt;their inner workings. &amp;nbsp;The other options would work, but they're not as 
&lt;br&gt;appealing for the reasons you stated. &amp;nbsp;I *think* I'm about to get 
&lt;br&gt;permission to just start those guys on a fresh database and chalk this 
&lt;br&gt;one up to a development screw-up. &amp;nbsp;It happens. &amp;nbsp;:-) &amp;nbsp;Fortunately, we're 
&lt;br&gt;early enough in our development cycle that it won't cause any great 
&lt;br&gt;problems. &amp;nbsp;I was just hoping that we could avoid it.
&lt;br&gt;&lt;br&gt;Thanks to all for your input. &amp;nbsp;It's much appreciated.
&lt;br&gt;&lt;br&gt;Dave
&lt;br&gt;&lt;br&gt;&lt;br&gt;Chris Imershein wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; David,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; There are a few different things that you could try:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1) &amp;nbsp;Contexts
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As I understand them, contexts are actually a bit friendlier then you 
&lt;br&gt;&amp;gt; may think. &amp;nbsp;(Caveat: I have not done my own testing with them yet, but 
&lt;br&gt;&amp;gt; I have looked at some of the source code).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Anytime context is blank (on the command-line or in a changeSet), 
&lt;br&gt;&amp;gt; regular rules will apply to executing that changeSet (e.g. does it 
&lt;br&gt;&amp;gt; exist in the databasechangelog table yet, preconditions, etc).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you specify a context on the command line, and a changeSet has at 
&lt;br&gt;&amp;gt; least one context, AND it does not have a context that matches your 
&lt;br&gt;&amp;gt; target context, then the changeSet will be filtered out and skipped.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So if you have a couple of changeSets marked &amp;quot;newCustomerContext&amp;quot; and 
&lt;br&gt;&amp;gt; some marked &amp;quot;qaContext&amp;quot; (and all other changeSets have no context), 
&lt;br&gt;&amp;gt; then if you run liquibase with &amp;quot;newCustomerContext&amp;quot; everything would 
&lt;br&gt;&amp;gt; get executed EXCEPT the &amp;quot;qaContext&amp;quot; changeSets (and vice versa).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2) &amp;nbsp;Workaround with failOnError=false for failed precondition
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Until the new &amp;quot;onFail&amp;quot; precondition attribute setting is finished, you 
&lt;br&gt;&amp;gt; can do a workaround by setting &amp;quot;failOnError=false&amp;quot; on the changeSet 
&lt;br&gt;&amp;gt; itself. &amp;nbsp;Then if the precondition fails, the changeSet will be skipped 
&lt;br&gt;&amp;gt; (but an entry will still be added to the databasechangelog table as if 
&lt;br&gt;&amp;gt; it had been run).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The potential side effect is that if the change itself fails, that 
&lt;br&gt;&amp;gt; will not halt your migration update either.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 3) &amp;nbsp;Use runOnChange
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You could set runOnChange=true for the changeSets that have been 
&lt;br&gt;&amp;gt; changed. &amp;nbsp;This would cause them to be rerun and the MD5 sum updated 
&lt;br&gt;&amp;gt; when necessary.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, this seems like it may provide less accurate historical 
&lt;br&gt;&amp;gt; information on which changes have really been applied. &amp;nbsp;(Although as 
&lt;br&gt;&amp;gt; long as you have an old copy of the changeLog.xml file under your 
&lt;br&gt;&amp;gt; favorite change control system, you could revert back to get the 
&lt;br&gt;&amp;gt; original changeLog.xml file if needed).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hope that helps!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Chris
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Thu, Sep 4, 2008 at 3:26 PM, Voxland, Nathan 
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nvoxland@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nvoxland@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; The upcoming 1.8 release will have an onFail attribute that can be set
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; on the changeSet's precondition tag to &amp;quot;HALT&amp;quot;, &amp;quot;SKIP&amp;quot;, or &amp;quot;WARN&amp;quot; to
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; control what happens when the precondition fails. &amp;nbsp;I'm hoping to have
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; the final 1.8 release out by the end of next week.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Nathan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -----Original Message-----
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user-bounces@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user-bounces@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user-bounces@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user-bounces@...&lt;/a&gt;&amp;gt;] On Behalf
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Of David
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; C. Hicks
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Sent: Thursday, September 04, 2008 1:54 PM
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Subject: Re: [Liquibase-user] Now for my next completely stupid
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; question. :-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Thanks, Paul. Your explanation is what I expected to hear.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; What I'm facing is really a screw-up on the part of us developers.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; When
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; we created our original changelog, we were using the Grails
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; BootStrap to
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; populate test data and also some domain data that is fairly
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; static. That
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; static data *should* have been put into the original changeset.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Now, QA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; has a database with that static data, but we need to change some of it
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; to different values, delete some, and insert some. However, on a new
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; installation we would want to populate those tables. (Using several
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; changesets to populate the new database works like a charm.) It's this
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; special case of migrating the QA database that is causing my issues. I
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; just need to keep one or two special changesets from executing if I'm
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; migrating that particular database.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; First, I tried just modifying the original changesets. The checksum
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; changed, though, so migration failed. Back to the drawing board...
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Next, PreConditions were attempted. As your email indicates, this
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; didn't
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; have the result that I thought I'd get. Onward...
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; So, now I'm working out how to best put contexts to use for this same
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; problem.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Unless I've managed to get my head turned inside-out, I think I'm
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; going
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; to have to tag all of my changesets with a context, because if I
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; specify
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; a context on the command line it'll only run those tagged with that
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; context. What I need is a way to say, &amp;quot;execute everything, but
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; when it's
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; the right circumstances DO NOT execute these two&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Thanks again,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Dave
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Paul Keeble wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; It does not quite work like that as you have gathered. Preconditions
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if they fail stop the entire migration, they don't just stop the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; changeset as you've determined. I think someone is working on a change
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; for this which would allow you to skip a changeset rather than fail,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I've certainly recently read on dev/user list some chat about failures
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; and changes due for the next release. Whether its what you want I
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; don't
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; know. For now its doing what is implemented, but not what you want or
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; expected.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; I'm not sure how you would go about skipping changesets except with
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; the use of contexts and some external information choosing the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; contexts.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Must admit I am not sure why pyou might want to do that, seems
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; contract
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; to good change control. If you could flesh out what your trying to
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; do it
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; might help find a workaround for now.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; Paul
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; From: David C. Hicks &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhicks@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhicks@...&lt;/a&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; Sent: Thursday, 4 September, 2008 19:29:55
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; Subject: [Liquibase-user] Now for my next completely stupid
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; question.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; :-)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; Maybe it's not so stupid, but I hope so.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; I tried to use a &amp;lt;preCondition&amp;gt; to keep a changeSet from executing
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; under
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; certain data sensitive circumstances using &amp;lt;sqlCheck&amp;gt;. &amp;nbsp;The entire
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; migration fails, though, when the precondition is met. &amp;nbsp;I may have
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; misunderstood, but I assumed that it would just skip that single
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; &amp;lt;changeSet&amp;gt;.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; Did I miss something, or am I interpreting the result incorrectly?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; Thanks,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; Dave
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; challenge
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; great
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; prizes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; Grand prize is a trip for two to an Open Source event anywhere
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; in the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; world
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=12&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=13&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; challenge
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; great
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; prizes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; Grand prize is a trip for two to an Open Source event anywhere
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; in the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; world
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=14&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; This SF.Net email is sponsored by the Moblin Your Move Developer's
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; challenge
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Build the coolest Linux based applications with Moblin SDK &amp; win great
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; prizes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Grand prize is a trip for two to an Open Source event anywhere in the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; world
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; _______________________________________________
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Liquibase-user mailing list
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=16&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=17&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; This SF.Net email is sponsored by the Moblin Your Move Developer's
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; challenge
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Build the coolest Linux based applications with Moblin SDK &amp; win
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; great prizes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Grand prize is a trip for two to an Open Source event anywhere in
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; the world
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; _______________________________________________
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Liquibase-user mailing list
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=18&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=19&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=20&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318467&amp;i=21&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LiquiBase---User-f23276.html&quot; embed=&quot;fixTarget[23276]&quot; target=&quot;_top&quot; &gt;LiquiBase - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-Now-for-my-next-completely-stupid-question.-%3A-%29-tp19317366p19318467.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19318217</id>
	<title>Re: Now for my next completely stupid question. :-)</title>
	<published>2008-09-04T12:26:17Z</published>
	<updated>2008-09-04T12:26:17Z</updated>
	<author>
		<name>Chris Imershein</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;David,&lt;br&gt;

&lt;br&gt;

There are a few different things that you could try:&lt;br&gt;

&lt;br&gt;

1)&amp;nbsp; Contexts&lt;br&gt;

&lt;br&gt;

As I understand them, contexts are actually a bit friendlier then you
may think.&amp;nbsp; (Caveat: I have not done my own testing with them yet, but
I have looked at some of the source code).&lt;br&gt;

&lt;br&gt;

Anytime context is blank (on the command-line or in a changeSet),
regular rules will apply to executing that changeSet (e.g. does it
exist in the databasechangelog table yet, preconditions, etc).&lt;br&gt;
&lt;br&gt;
If you specify a context on the command line, and a changeSet has at
least one context, AND it does not have a context that matches your
target context, then the changeSet will be filtered out and skipped.&lt;br&gt;
&lt;br&gt;
So if you have a couple of changeSets marked &amp;quot;newCustomerContext&amp;quot; and
some marked &amp;quot;qaContext&amp;quot; (and all other changeSets have no context),
then if you run liquibase with &amp;quot;newCustomerContext&amp;quot; everything would
get executed EXCEPT the &amp;quot;qaContext&amp;quot; changeSets (and vice versa).&lt;br&gt;
&lt;br&gt;
2)&amp;nbsp; Workaround with failOnError=false for failed precondition&lt;br&gt;
&lt;br&gt;
Until the new &amp;quot;onFail&amp;quot; precondition attribute setting
is finished, you can do a workaround by setting &amp;quot;failOnError=false&amp;quot; on
the changeSet itself.&amp;nbsp; Then if the precondition fails, the changeSet
will be skipped (but an entry will still be added to the
databasechangelog table as if it had been run).&lt;br&gt;
&lt;br&gt;
The potential side effect is that if the change itself fails, that will not halt your migration update either.&lt;br&gt;
&lt;br&gt;
3)&amp;nbsp; Use runOnChange&lt;br&gt;
&lt;br&gt;
You could set runOnChange=true for the changeSets that have been
changed.&amp;nbsp; This would cause them to be rerun and the MD5 sum updated
when necessary.&lt;br&gt;
&lt;br&gt;
However, this seems like it may provide less accurate historical
information on which changes have really been applied.&amp;nbsp; (Although as
long as you have an old copy of the changeLog.xml file under your
favorite change control system, you could revert back to get the
original changeLog.xml file if needed).&lt;br&gt;
&lt;br&gt;
Hope that helps!&lt;br&gt;
&lt;br&gt;
Chris&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Sep 4, 2008 at 3:26 PM, Voxland, Nathan &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318217&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nvoxland@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
The upcoming 1.8 release will have an onFail attribute that can be set&lt;br&gt;
on the changeSet&amp;#39;s precondition tag to &amp;quot;HALT&amp;quot;, &amp;quot;SKIP&amp;quot;, or &amp;quot;WARN&amp;quot; to&lt;br&gt;
control what happens when the precondition fails. &amp;nbsp;I&amp;#39;m hoping to have&lt;br&gt;
the final 1.8 release out by the end of next week.&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
Nathan&lt;br&gt;
&lt;/font&gt;&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;br&gt;
-----Original Message-----&lt;br&gt;
From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318217&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user-bounces@...&lt;/a&gt;&lt;br&gt;
[mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318217&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user-bounces@...&lt;/a&gt;] On Behalf Of David&lt;br&gt;
C. Hicks&lt;br&gt;
Sent: Thursday, September 04, 2008 1:54 PM&lt;br&gt;
To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318217&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;Subject: Re: [Liquibase-user] Now for my next completely stupid&lt;br&gt;
question. :-)&lt;br&gt;
&lt;br&gt;
Thanks, Paul. Your explanation is what I expected to hear.&lt;br&gt;
&lt;br&gt;
What I&amp;#39;m facing is really a screw-up on the part of us developers. When&lt;br&gt;
we created our original changelog, we were using the Grails BootStrap to&lt;br&gt;
&lt;br&gt;
populate test data and also some domain data that is fairly static. That&lt;br&gt;
&lt;br&gt;
static data *should* have been put into the original changeset. Now, QA&lt;br&gt;
has a database with that static data, but we need to change some of it&lt;br&gt;
to different values, delete some, and insert some. However, on a new&lt;br&gt;
installation we would want to populate those tables. (Using several&lt;br&gt;
changesets to populate the new database works like a charm.) It&amp;#39;s this&lt;br&gt;
special case of migrating the QA database that is causing my issues. I&lt;br&gt;
just need to keep one or two special changesets from executing if I&amp;#39;m&lt;br&gt;
migrating that particular database.&lt;br&gt;
&lt;br&gt;
First, I tried just modifying the original changesets. The checksum&lt;br&gt;
changed, though, so migration failed. Back to the drawing board...&lt;br&gt;
Next, PreConditions were attempted. As your email indicates, this didn&amp;#39;t&lt;br&gt;
&lt;br&gt;
have the result that I thought I&amp;#39;d get. Onward...&lt;br&gt;
So, now I&amp;#39;m working out how to best put contexts to use for this same&lt;br&gt;
problem.&lt;br&gt;
&lt;br&gt;
Unless I&amp;#39;ve managed to get my head turned inside-out, I think I&amp;#39;m going&lt;br&gt;
to have to tag all of my changesets with a context, because if I specify&lt;br&gt;
&lt;br&gt;
a context on the command line it&amp;#39;ll only run those tagged with that&lt;br&gt;
context. What I need is a way to say, &amp;quot;execute everything, but when it&amp;#39;s&lt;br&gt;
&lt;br&gt;
the right circumstances DO NOT execute these two&amp;quot;.&lt;br&gt;
&lt;br&gt;
Thanks again,&lt;br&gt;
Dave&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Paul Keeble wrote:&lt;br&gt;
&amp;gt; It does not quite work like that as you have gathered. Preconditions&lt;br&gt;
if they fail stop the entire migration, they don&amp;#39;t just stop the&lt;br&gt;
changeset as you&amp;#39;ve determined. I think someone is working on a change&lt;br&gt;
for this which would allow you to skip a changeset rather than fail,&lt;br&gt;
I&amp;#39;ve certainly recently read on dev/user list some chat about failures&lt;br&gt;
and changes due for the next release. Whether its what you want I don&amp;#39;t&lt;br&gt;
know. For now its doing what is implemented, but not what you want or&lt;br&gt;
expected.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I&amp;#39;m not sure how you would go about skipping changesets except with&lt;br&gt;
the use of contexts and some external information choosing the contexts.&lt;br&gt;
Must admit I am not sure why pyou might want to do that, seems contract&lt;br&gt;
to good change control. If you could flesh out what your trying to do it&lt;br&gt;
might help find a workaround for now.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Paul&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; ----- Original Message ----&lt;br&gt;
&amp;gt; From: David C. Hicks &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318217&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhicks@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318217&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;&lt;br&gt;
&amp;gt; Sent: Thursday, 4 September, 2008 19:29:55&lt;br&gt;
&amp;gt; Subject: [Liquibase-user] Now for my next completely stupid question.&lt;br&gt;
:-)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Maybe it&amp;#39;s not so stupid, but I hope so.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I tried to use a &amp;lt;preCondition&amp;gt; to keep a changeSet from executing&lt;br&gt;
under&lt;br&gt;
&amp;gt; certain data sensitive circumstances using &amp;lt;sqlCheck&amp;gt;. &amp;nbsp;The entire&lt;br&gt;
&amp;gt; migration fails, though, when the precondition is met. &amp;nbsp;I may have&lt;br&gt;
&amp;gt; misunderstood, but I assumed that it would just skip that single&lt;br&gt;
&amp;gt; &amp;lt;changeSet&amp;gt;.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Did I miss something, or am I interpreting the result incorrectly?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt; Dave&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
------------------------------------------------------------------------&lt;br&gt;
-&lt;br&gt;
&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer&amp;#39;s&lt;br&gt;
challenge&lt;br&gt;
&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp;amp; win great&lt;br&gt;
prizes&lt;br&gt;
&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the&lt;br&gt;
world&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&lt;/a&gt;&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; Liquibase-user mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318217&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
------------------------------------------------------------------------&lt;br&gt;
-&lt;br&gt;
&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer&amp;#39;s&lt;br&gt;
challenge&lt;br&gt;
&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp;amp; win great&lt;br&gt;
prizes&lt;br&gt;
&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the&lt;br&gt;
world&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&lt;/a&gt;&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; Liquibase-user mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318217&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------&lt;br&gt;
-&lt;br&gt;
This SF.Net email is sponsored by the Moblin Your Move Developer&amp;#39;s&lt;br&gt;
challenge&lt;br&gt;
Build the coolest Linux based applications with Moblin SDK &amp;amp; win great&lt;br&gt;
prizes&lt;br&gt;
Grand prize is a trip for two to an Open Source event anywhere in the&lt;br&gt;
world&lt;br&gt;
&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
Liquibase-user mailing list&lt;br&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318217&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
-------------------------------------------------------------------------&lt;br&gt;
This SF.Net email is sponsored by the Moblin Your Move Developer&amp;#39;s challenge&lt;br&gt;
Build the coolest Linux based applications with Moblin SDK &amp;amp; win great prizes&lt;br&gt;
Grand prize is a trip for two to an Open Source event anywhere in the world&lt;br&gt;
&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;amp;url=/&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
Liquibase-user mailing list&lt;br&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318217&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318217&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LiquiBase---User-f23276.html&quot; embed=&quot;fixTarget[23276]&quot; target=&quot;_top&quot; &gt;LiquiBase - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-Now-for-my-next-completely-stupid-question.-%3A-%29-tp19317366p19318217.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19318176</id>
	<title>Re: Now for my next completely stupid question. :-)</title>
	<published>2008-09-04T12:24:26Z</published>
	<updated>2008-09-04T12:24:26Z</updated>
	<author>
		<name>Voxland, Nathan</name>
	</author>
	<content type="html">The upcoming 1.8 release will have an onFail attribute that can be set
&lt;br&gt;on the changeSet's precondition tag to &amp;quot;HALT&amp;quot;, &amp;quot;SKIP&amp;quot;, or &amp;quot;WARN&amp;quot; to
&lt;br&gt;control what happens when the precondition fails. &amp;nbsp;I'm hoping to have
&lt;br&gt;the final 1.8 release out by the end of next week.
&lt;br&gt;&lt;br&gt;Nathan
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318176&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user-bounces@...&lt;/a&gt;
&lt;br&gt;[mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318176&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user-bounces@...&lt;/a&gt;] On Behalf Of David
&lt;br&gt;C. Hicks
&lt;br&gt;Sent: Thursday, September 04, 2008 1:54 PM
&lt;br&gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318176&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;
&lt;br&gt;Subject: Re: [Liquibase-user] Now for my next completely stupid
&lt;br&gt;question. :-)
&lt;br&gt;&lt;br&gt;Thanks, Paul. Your explanation is what I expected to hear.
&lt;br&gt;&lt;br&gt;What I'm facing is really a screw-up on the part of us developers. When 
&lt;br&gt;we created our original changelog, we were using the Grails BootStrap to
&lt;br&gt;&lt;br&gt;populate test data and also some domain data that is fairly static. That
&lt;br&gt;&lt;br&gt;static data *should* have been put into the original changeset. Now, QA 
&lt;br&gt;has a database with that static data, but we need to change some of it 
&lt;br&gt;to different values, delete some, and insert some. However, on a new 
&lt;br&gt;installation we would want to populate those tables. (Using several 
&lt;br&gt;changesets to populate the new database works like a charm.) It's this 
&lt;br&gt;special case of migrating the QA database that is causing my issues. I 
&lt;br&gt;just need to keep one or two special changesets from executing if I'm 
&lt;br&gt;migrating that particular database.
&lt;br&gt;&lt;br&gt;First, I tried just modifying the original changesets. The checksum 
&lt;br&gt;changed, though, so migration failed. Back to the drawing board...
&lt;br&gt;Next, PreConditions were attempted. As your email indicates, this didn't
&lt;br&gt;&lt;br&gt;have the result that I thought I'd get. Onward...
&lt;br&gt;So, now I'm working out how to best put contexts to use for this same 
&lt;br&gt;problem.
&lt;br&gt;&lt;br&gt;Unless I've managed to get my head turned inside-out, I think I'm going 
&lt;br&gt;to have to tag all of my changesets with a context, because if I specify
&lt;br&gt;&lt;br&gt;a context on the command line it'll only run those tagged with that 
&lt;br&gt;context. What I need is a way to say, &amp;quot;execute everything, but when it's
&lt;br&gt;&lt;br&gt;the right circumstances DO NOT execute these two&amp;quot;.
&lt;br&gt;&lt;br&gt;Thanks again,
&lt;br&gt;Dave
&lt;br&gt;&lt;br&gt;&lt;br&gt;Paul Keeble wrote:
&lt;br&gt;&amp;gt; It does not quite work like that as you have gathered. Preconditions
&lt;br&gt;if they fail stop the entire migration, they don't just stop the
&lt;br&gt;changeset as you've determined. I think someone is working on a change
&lt;br&gt;for this which would allow you to skip a changeset rather than fail,
&lt;br&gt;I've certainly recently read on dev/user list some chat about failures
&lt;br&gt;and changes due for the next release. Whether its what you want I don't
&lt;br&gt;know. For now its doing what is implemented, but not what you want or
&lt;br&gt;expected. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm not sure how you would go about skipping changesets except with
&lt;br&gt;the use of contexts and some external information choosing the contexts.
&lt;br&gt;Must admit I am not sure why pyou might want to do that, seems contract
&lt;br&gt;to good change control. If you could flesh out what your trying to do it
&lt;br&gt;might help find a workaround for now. 
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Paul
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt; From: David C. Hicks &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318176&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhicks@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318176&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Sent: Thursday, 4 September, 2008 19:29:55
&lt;br&gt;&amp;gt; Subject: [Liquibase-user] Now for my next completely stupid question.
&lt;/div&gt;:-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Maybe it's not so stupid, but I hope so.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried to use a &amp;lt;preCondition&amp;gt; to keep a changeSet from executing
&lt;br&gt;under 
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; certain data sensitive circumstances using &amp;lt;sqlCheck&amp;gt;. &amp;nbsp;The entire 
&lt;br&gt;&amp;gt; migration fails, though, when the precondition is met. &amp;nbsp;I may have 
&lt;br&gt;&amp;gt; misunderstood, but I assumed that it would just skip that single 
&lt;br&gt;&amp;gt; &amp;lt;changeSet&amp;gt;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Did I miss something, or am I interpreting the result incorrectly?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Dave
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;------------------------------------------------------------------------
&lt;br&gt;-
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's
&lt;br&gt;challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great
&lt;br&gt;prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the
&lt;br&gt;world
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318176&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;------------------------------------------------------------------------
&lt;br&gt;-
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's
&lt;br&gt;challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great
&lt;br&gt;prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the
&lt;br&gt;world
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318176&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------
&lt;br&gt;-
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's
&lt;br&gt;challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great
&lt;br&gt;prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the
&lt;br&gt;world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318176&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19318176&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LiquiBase---User-f23276.html&quot; embed=&quot;fixTarget[23276]&quot; target=&quot;_top&quot; &gt;LiquiBase - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-Now-for-my-next-completely-stupid-question.-%3A-%29-tp19317366p19318176.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19317920</id>
	<title>Re: Now for my next completely stupid question. :-)</title>
	<published>2008-09-04T12:10:46Z</published>
	<updated>2008-09-04T12:10:46Z</updated>
	<author>
		<name>Paul Keeble</name>
	</author>
	<content type="html">One possibility is to inset a databasechangelog entry into the QA database so that liquibase thinks its already been exeucted. Next you go about either resetting all the data thats changed in a way that gets all environments to the right place (ie if its not there the delete gets zero rows etc). Alternatively since its static data you may just be able to do a changeset to delete the lot and then reinsert it.
&lt;br&gt;&lt;br&gt;The &amp;quot;hack&amp;quot; is manually adjusting the databasechangelog table, but its something I've had to do in the past one a team broke the change control on the database in a way that just totally broke the ability to upgrade it properly.
&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;(You can get the entire line from a database it did run in correctly).
&lt;br&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----
&lt;br&gt;From: David C. Hicks &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317920&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhicks@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317920&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;
&lt;br&gt;Sent: Thursday, 4 September, 2008 19:53:36
&lt;br&gt;Subject: Re: [Liquibase-user] Now for my next completely stupid question. :-)
&lt;br&gt;&lt;br&gt;Thanks, Paul. Your explanation is what I expected to hear.
&lt;br&gt;&lt;br&gt;What I'm facing is really a screw-up on the part of us developers. When 
&lt;br&gt;we created our original changelog, we were using the Grails BootStrap to 
&lt;br&gt;populate test data and also some domain data that is fairly static. That 
&lt;br&gt;static data *should* have been put into the original changeset. Now, QA 
&lt;br&gt;has a database with that static data, but we need to change some of it 
&lt;br&gt;to different values, delete some, and insert some. However, on a new 
&lt;br&gt;installation we would want to populate those tables. (Using several 
&lt;br&gt;changesets to populate the new database works like a charm.) It's this 
&lt;br&gt;special case of migrating the QA database that is causing my issues. I 
&lt;br&gt;just need to keep one or two special changesets from executing if I'm 
&lt;br&gt;migrating that particular database.
&lt;br&gt;&lt;br&gt;First, I tried just modifying the original changesets. The checksum 
&lt;br&gt;changed, though, so migration failed. Back to the drawing board...
&lt;br&gt;Next, PreConditions were attempted. As your email indicates, this didn't 
&lt;br&gt;have the result that I thought I'd get. Onward...
&lt;br&gt;So, now I'm working out how to best put contexts to use for this same 
&lt;br&gt;problem.
&lt;br&gt;&lt;br&gt;Unless I've managed to get my head turned inside-out, I think I'm going 
&lt;br&gt;to have to tag all of my changesets with a context, because if I specify 
&lt;br&gt;a context on the command line it'll only run those tagged with that 
&lt;br&gt;context. What I need is a way to say, &amp;quot;execute everything, but when it's 
&lt;br&gt;the right circumstances DO NOT execute these two&amp;quot;.
&lt;br&gt;&lt;br&gt;Thanks again,
&lt;br&gt;Dave
&lt;br&gt;&lt;br&gt;&lt;br&gt;Paul Keeble wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; It does not quite work like that as you have gathered. Preconditions if they fail stop the entire migration, they don't just stop the changeset as you've determined. I think someone is working on a change for this which would allow you to skip a changeset rather than fail, I've certainly recently read on dev/user list some chat about failures and changes due for the next release. Whether its what you want I don't know. For now its doing what is implemented, but not what you want or expected. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm not sure how you would go about skipping changesets except with the use of contexts and some external information choosing the contexts. Must admit I am not sure why pyou might want to do that, seems contract to good change control. If you could flesh out what your trying to do it might help find a workaround for now. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Paul
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt; From: David C. Hicks &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317920&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhicks@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317920&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Sent: Thursday, 4 September, 2008 19:29:55
&lt;br&gt;&amp;gt; Subject: [Liquibase-user] Now for my next completely stupid question. &amp;nbsp;:-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Maybe it's not so stupid, but I hope so.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried to use a &amp;lt;preCondition&amp;gt; to keep a changeSet from executing under 
&lt;br&gt;&amp;gt; certain data sensitive circumstances using &amp;lt;sqlCheck&amp;gt;. &amp;nbsp;The entire 
&lt;br&gt;&amp;gt; migration fails, though, when the precondition is met. &amp;nbsp;I may have 
&lt;br&gt;&amp;gt; misunderstood, but I assumed that it would just skip that single 
&lt;br&gt;&amp;gt; &amp;lt;changeSet&amp;gt;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Did I miss something, or am I interpreting the result incorrectly?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Dave
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317920&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317920&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;/div&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317920&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317920&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LiquiBase---User-f23276.html&quot; embed=&quot;fixTarget[23276]&quot; target=&quot;_top&quot; &gt;LiquiBase - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-Now-for-my-next-completely-stupid-question.-%3A-%29-tp19317366p19317920.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19317577</id>
	<title>Re: Now for my next completely stupid question. :-)</title>
	<published>2008-09-04T11:53:36Z</published>
	<updated>2008-09-04T11:53:36Z</updated>
	<author>
		<name>David C. Hicks</name>
	</author>
	<content type="html">Thanks, Paul. Your explanation is what I expected to hear.
&lt;br&gt;&lt;br&gt;What I'm facing is really a screw-up on the part of us developers. When 
&lt;br&gt;we created our original changelog, we were using the Grails BootStrap to 
&lt;br&gt;populate test data and also some domain data that is fairly static. That 
&lt;br&gt;static data *should* have been put into the original changeset. Now, QA 
&lt;br&gt;has a database with that static data, but we need to change some of it 
&lt;br&gt;to different values, delete some, and insert some. However, on a new 
&lt;br&gt;installation we would want to populate those tables. (Using several 
&lt;br&gt;changesets to populate the new database works like a charm.) It's this 
&lt;br&gt;special case of migrating the QA database that is causing my issues. I 
&lt;br&gt;just need to keep one or two special changesets from executing if I'm 
&lt;br&gt;migrating that particular database.
&lt;br&gt;&lt;br&gt;First, I tried just modifying the original changesets. The checksum 
&lt;br&gt;changed, though, so migration failed. Back to the drawing board...
&lt;br&gt;Next, PreConditions were attempted. As your email indicates, this didn't 
&lt;br&gt;have the result that I thought I'd get. Onward...
&lt;br&gt;So, now I'm working out how to best put contexts to use for this same 
&lt;br&gt;problem.
&lt;br&gt;&lt;br&gt;Unless I've managed to get my head turned inside-out, I think I'm going 
&lt;br&gt;to have to tag all of my changesets with a context, because if I specify 
&lt;br&gt;a context on the command line it'll only run those tagged with that 
&lt;br&gt;context. What I need is a way to say, &amp;quot;execute everything, but when it's 
&lt;br&gt;the right circumstances DO NOT execute these two&amp;quot;.
&lt;br&gt;&lt;br&gt;Thanks again,
&lt;br&gt;Dave
&lt;br&gt;&lt;br&gt;&lt;br&gt;Paul Keeble wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; It does not quite work like that as you have gathered. Preconditions if they fail stop the entire migration, they don't just stop the changeset as you've determined. I think someone is working on a change for this which would allow you to skip a changeset rather than fail, I've certainly recently read on dev/user list some chat about failures and changes due for the next release. Whether its what you want I don't know. For now its doing what is implemented, but not what you want or expected. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm not sure how you would go about skipping changesets except with the use of contexts and some external information choosing the contexts. Must admit I am not sure why pyou might want to do that, seems contract to good change control. If you could flesh out what your trying to do it might help find a workaround for now. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Paul
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt; From: David C. Hicks &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317577&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhicks@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317577&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Sent: Thursday, 4 September, 2008 19:29:55
&lt;br&gt;&amp;gt; Subject: [Liquibase-user] Now for my next completely stupid question. &amp;nbsp;:-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Maybe it's not so stupid, but I hope so.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried to use a &amp;lt;preCondition&amp;gt; to keep a changeSet from executing under 
&lt;br&gt;&amp;gt; certain data sensitive circumstances using &amp;lt;sqlCheck&amp;gt;. &amp;nbsp;The entire 
&lt;br&gt;&amp;gt; migration fails, though, when the precondition is met. &amp;nbsp;I may have 
&lt;br&gt;&amp;gt; misunderstood, but I assumed that it would just skip that single 
&lt;br&gt;&amp;gt; &amp;lt;changeSet&amp;gt;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Did I miss something, or am I interpreting the result incorrectly?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Dave
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317577&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317577&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317577&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LiquiBase---User-f23276.html&quot; embed=&quot;fixTarget[23276]&quot; target=&quot;_top&quot; &gt;LiquiBase - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-Now-for-my-next-completely-stupid-question.-%3A-%29-tp19317366p19317577.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19317366</id>
	<title>Re: Now for my next completely stupid question. :-)</title>
	<published>2008-09-04T11:44:05Z</published>
	<updated>2008-09-04T11:44:05Z</updated>
	<author>
		<name>Paul Keeble</name>
	</author>
	<content type="html">It does not quite work like that as you have gathered. Preconditions if they fail stop the entire migration, they don't just stop the changeset as you've determined. I think someone is working on a change for this which would allow you to skip a changeset rather than fail, I've certainly recently read on dev/user list some chat about failures and changes due for the next release. Whether its what you want I don't know. For now its doing what is implemented, but not what you want or expected. 
&lt;br&gt;&lt;br&gt;I'm not sure how you would go about skipping changesets except with the use of contexts and some external information choosing the contexts. Must admit I am not sure why pyou might want to do that, seems contract to good change control. If you could flesh out what your trying to do it might help find a workaround for now. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----
&lt;br&gt;From: David C. Hicks &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317366&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhicks@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317366&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;
&lt;br&gt;Sent: Thursday, 4 September, 2008 19:29:55
&lt;br&gt;Subject: [Liquibase-user] Now for my next completely stupid question. &amp;nbsp;:-)
&lt;br&gt;&lt;br&gt;Maybe it's not so stupid, but I hope so.
&lt;br&gt;&lt;br&gt;I tried to use a &amp;lt;preCondition&amp;gt; to keep a changeSet from executing under 
&lt;br&gt;certain data sensitive circumstances using &amp;lt;sqlCheck&amp;gt;. &amp;nbsp;The entire 
&lt;br&gt;migration fails, though, when the precondition is met. &amp;nbsp;I may have 
&lt;br&gt;misunderstood, but I assumed that it would just skip that single 
&lt;br&gt;&amp;lt;changeSet&amp;gt;.
&lt;br&gt;&lt;br&gt;Did I miss something, or am I interpreting the result incorrectly?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Dave
&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317366&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317366&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LiquiBase---User-f23276.html&quot; embed=&quot;fixTarget[23276]&quot; target=&quot;_top&quot; &gt;LiquiBase - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-Now-for-my-next-completely-stupid-question.-%3A-%29-tp19317366p19317366.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19317219</id>
	<title>Re: How to specify a context?</title>
	<published>2008-09-04T11:36:01Z</published>
	<updated>2008-09-04T11:36:01Z</updated>
	<author>
		<name>Paul Keeble</name>
	</author>
	<content type="html">Yep update way.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----
&lt;br&gt;From: David C. Hicks &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317219&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhicks@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317219&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;
&lt;br&gt;Sent: Thursday, 4 September, 2008 19:24:27
&lt;br&gt;Subject: Re: [Liquibase-user] How to specify a context?
&lt;br&gt;&lt;br&gt;I finally found an example on Wikipedia. &amp;quot;context&amp;quot; is just an attribute 
&lt;br&gt;on the &amp;lt;changeSet&amp;gt; tag. That isn't very clearly documented. Am I allowed 
&lt;br&gt;to update the docs online?
&lt;br&gt;&lt;br&gt;David C. Hicks wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Yeah, I was aware of the command line switch. &amp;nbsp;How do you specify that a 
&lt;br&gt;&amp;gt; particular change set is part of a given context, though? &amp;nbsp;I see nothing 
&lt;br&gt;&amp;gt; about how to put the context name into the &amp;lt;changeSet&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Paul Keeble wrote:
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; The bit of documentation you may be looking for is the command line guide: &lt;a href=&quot;http://www.liquibase.org/manual/command_line&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.liquibase.org/manual/command_line&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; about 60% down in the optional parameters it has –contexts=&amp;lt;value&amp;gt;ChangeSet contexts to execute 
&lt;br&gt;&amp;gt;&amp;gt; so you run it as liquibase --contexts=a,b,c ....
&lt;br&gt;&amp;gt;&amp;gt; where a, b and c are contexts
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Paul
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt;&amp;gt; From: David C. Hicks &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317219&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhicks@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317219&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; Sent: Thursday, 4 September, 2008 16:45:32
&lt;br&gt;&amp;gt;&amp;gt; Subject: [Liquibase-user] How to specify a context?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The online docs don't show how to specify a context. &amp;nbsp;At least, I didn't 
&lt;br&gt;&amp;gt;&amp;gt; find anything that looked like it.
&lt;br&gt;&amp;gt;&amp;gt; Can someone show me a quick example?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; Dave
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;&amp;gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317219&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;&amp;gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317219&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317219&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;/div&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317219&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317219&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LiquiBase---User-f23276.html&quot; embed=&quot;fixTarget[23276]&quot; target=&quot;_top&quot; &gt;LiquiBase - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-to-specify-a-context--tp19313515p19317219.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19317092</id>
	<title>Now for my next completely stupid question.  :-)</title>
	<published>2008-09-04T11:29:55Z</published>
	<updated>2008-09-04T11:29:55Z</updated>
	<author>
		<name>David C. Hicks</name>
	</author>
	<content type="html">Maybe it's not so stupid, but I hope so.
&lt;br&gt;&lt;br&gt;I tried to use a &amp;lt;preCondition&amp;gt; to keep a changeSet from executing under 
&lt;br&gt;certain data sensitive circumstances using &amp;lt;sqlCheck&amp;gt;. &amp;nbsp;The entire 
&lt;br&gt;migration fails, though, when the precondition is met. &amp;nbsp;I may have 
&lt;br&gt;misunderstood, but I assumed that it would just skip that single 
&lt;br&gt;&amp;lt;changeSet&amp;gt;.
&lt;br&gt;&lt;br&gt;Did I miss something, or am I interpreting the result incorrectly?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Dave
&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317092&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LiquiBase---User-f23276.html&quot; embed=&quot;fixTarget[23276]&quot; target=&quot;_top&quot; &gt;LiquiBase - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-to-specify-a-context--tp19313515p19317092.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19317017</id>
	<title>Re: How to specify a context?</title>
	<published>2008-09-04T11:26:44Z</published>
	<updated>2008-09-04T11:26:44Z</updated>
	<author>
		<name>Paul Keeble</name>
	</author>
	<content type="html">Good point that does seem to be completely missing from the documentation!
&lt;br&gt;&lt;br&gt;Well according to the XSD its just an attribute on a ChangeSet called context:
&lt;br&gt;&lt;br&gt;&amp;lt;xsd:attributeGroup name=&amp;quot;changeSetAttributes&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsd:attribute name=&amp;quot;id&amp;quot; type=&amp;quot;xsd:string&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsd:attribute name=&amp;quot;author&amp;quot; type=&amp;quot;xsd:string&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsd:attribute name=&amp;quot;context&amp;quot; type=&amp;quot;xsd:string&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsd:attribute name=&amp;quot;dbms&amp;quot; type=&amp;quot;xsd:string&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsd:attribute name=&amp;quot;runOnChange&amp;quot; type=&amp;quot;xsd:boolean&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsd:attribute name=&amp;quot;runAlways&amp;quot; type=&amp;quot;xsd:boolean&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsd:attribute name=&amp;quot;failOnError&amp;quot; type=&amp;quot;xsd:boolean&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/xsd:attributeGroup&amp;gt;
&lt;br&gt;That is all there is too it believe. I think just like the command line it takes a list of contexts that are comma separated.
&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----
&lt;br&gt;From: David C. Hicks &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317017&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhicks@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317017&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;
&lt;br&gt;Sent: Thursday, 4 September, 2008 18:14:42
&lt;br&gt;Subject: Re: [Liquibase-user] How to specify a context?
&lt;br&gt;&lt;br&gt;Yeah, I was aware of the command line switch. &amp;nbsp;How do you specify that a 
&lt;br&gt;particular change set is part of a given context, though? &amp;nbsp;I see nothing 
&lt;br&gt;about how to put the context name into the &amp;lt;changeSet&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Paul Keeble wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The bit of documentation you may be looking for is the command line guide: &lt;a href=&quot;http://www.liquibase.org/manual/command_line&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.liquibase.org/manual/command_line&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; about 60% down in the optional parameters it has –contexts=&amp;lt;value&amp;gt;ChangeSet contexts to execute 
&lt;br&gt;&amp;gt; so you run it as liquibase --contexts=a,b,c ....
&lt;br&gt;&amp;gt; where a, b and c are contexts
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Paul
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt; From: David C. Hicks &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317017&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhicks@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317017&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Sent: Thursday, 4 September, 2008 16:45:32
&lt;br&gt;&amp;gt; Subject: [Liquibase-user] How to specify a context?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The online docs don't show how to specify a context. &amp;nbsp;At least, I didn't 
&lt;br&gt;&amp;gt; find anything that looked like it.
&lt;br&gt;&amp;gt; Can someone show me a quick example?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Dave
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317017&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317017&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;/div&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317017&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19317017&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LiquiBase---User-f23276.html&quot; embed=&quot;fixTarget[23276]&quot; target=&quot;_top&quot; &gt;LiquiBase - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-to-specify-a-context--tp19313515p19317017.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19316974</id>
	<title>Re: How to specify a context?</title>
	<published>2008-09-04T11:24:27Z</published>
	<updated>2008-09-04T11:24:27Z</updated>
	<author>
		<name>David C. Hicks</name>
	</author>
	<content type="html">I finally found an example on Wikipedia. &amp;quot;context&amp;quot; is just an attribute 
&lt;br&gt;on the &amp;lt;changeSet&amp;gt; tag. That isn't very clearly documented. Am I allowed 
&lt;br&gt;to update the docs online?
&lt;br&gt;&lt;br&gt;David C. Hicks wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Yeah, I was aware of the command line switch. &amp;nbsp;How do you specify that a 
&lt;br&gt;&amp;gt; particular change set is part of a given context, though? &amp;nbsp;I see nothing 
&lt;br&gt;&amp;gt; about how to put the context name into the &amp;lt;changeSet&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Paul Keeble wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; The bit of documentation you may be looking for is the command line guide: &lt;a href=&quot;http://www.liquibase.org/manual/command_line&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.liquibase.org/manual/command_line&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; about 60% down in the optional parameters it has –contexts=&amp;lt;value&amp;gt;ChangeSet contexts to execute 
&lt;br&gt;&amp;gt;&amp;gt; so you run it as liquibase --contexts=a,b,c ....
&lt;br&gt;&amp;gt;&amp;gt; where a, b and c are contexts
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Paul
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt;&amp;gt; From: David C. Hicks &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19316974&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhicks@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19316974&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; Sent: Thursday, 4 September, 2008 16:45:32
&lt;br&gt;&amp;gt;&amp;gt; Subject: [Liquibase-user] How to specify a context?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The online docs don't show how to specify a context. &amp;nbsp;At least, I didn't 
&lt;br&gt;&amp;gt;&amp;gt; find anything that looked like it.
&lt;br&gt;&amp;gt;&amp;gt; Can someone show me a quick example?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; Dave
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;&amp;gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19316974&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;&amp;gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19316974&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19316974&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19316974&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LiquiBase---User-f23276.html&quot; embed=&quot;fixTarget[23276]&quot; target=&quot;_top&quot; &gt;LiquiBase - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-to-specify-a-context--tp19313515p19316974.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19315498</id>
	<title>Re: How to specify a context?</title>
	<published>2008-09-04T10:14:42Z</published>
	<updated>2008-09-04T10:14:42Z</updated>
	<author>
		<name>David C. Hicks</name>
	</author>
	<content type="html">Yeah, I was aware of the command line switch. &amp;nbsp;How do you specify that a 
&lt;br&gt;particular change set is part of a given context, though? &amp;nbsp;I see nothing 
&lt;br&gt;about how to put the context name into the &amp;lt;changeSet&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Paul Keeble wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The bit of documentation you may be looking for is the command line guide: &lt;a href=&quot;http://www.liquibase.org/manual/command_line&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.liquibase.org/manual/command_line&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; about 60% down in the optional parameters it has –contexts=&amp;lt;value&amp;gt;ChangeSet contexts to execute 
&lt;br&gt;&amp;gt; so you run it as liquibase --contexts=a,b,c ....
&lt;br&gt;&amp;gt; where a, b and c are contexts
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Paul
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----- Original Message ----
&lt;br&gt;&amp;gt; From: David C. Hicks &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19315498&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhicks@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19315498&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Sent: Thursday, 4 September, 2008 16:45:32
&lt;br&gt;&amp;gt; Subject: [Liquibase-user] How to specify a context?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The online docs don't show how to specify a context. &amp;nbsp;At least, I didn't 
&lt;br&gt;&amp;gt; find anything that looked like it.
&lt;br&gt;&amp;gt; Can someone show me a quick example?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Dave
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19315498&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;&amp;gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;&amp;gt; Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Liquibase-user mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19315498&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19315498&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LiquiBase---User-f23276.html&quot; embed=&quot;fixTarget[23276]&quot; target=&quot;_top&quot; &gt;LiquiBase - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-to-specify-a-context--tp19313515p19315498.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19313956</id>
	<title>Re: How to specify a context?</title>
	<published>2008-09-04T09:04:00Z</published>
	<updated>2008-09-04T09:04:00Z</updated>
	<author>
		<name>Paul Keeble</name>
	</author>
	<content type="html">The bit of documentation you may be looking for is the command line guide: &lt;a href=&quot;http://www.liquibase.org/manual/command_line&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.liquibase.org/manual/command_line&lt;/a&gt;&lt;br&gt;&lt;br&gt;about 60% down in the optional parameters it has –contexts=&amp;lt;value&amp;gt;ChangeSet contexts to execute 
&lt;br&gt;so you run it as liquibase --contexts=a,b,c ....
&lt;br&gt;where a, b and c are contexts
&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----
&lt;br&gt;From: David C. Hicks &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19313956&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dhicks@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19313956&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;liquibase-user@...&lt;/a&gt;
&lt;br&gt;Sent: Thursday, 4 September, 2008 16:45:32
&lt;br&gt;Subject: [Liquibase-user] How to specify a context?
&lt;br&gt;&lt;br&gt;The online docs don't show how to specify a context. &amp;nbsp;At least, I didn't 
&lt;br&gt;find anything that looked like it.
&lt;br&gt;Can someone show me a quick example?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Dave
&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19313956&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19313956&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LiquiBase---User-f23276.html&quot; embed=&quot;fixTarget[23276]&quot; target=&quot;_top&quot; &gt;LiquiBase - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-to-specify-a-context--tp19313515p19313956.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19313541</id>
	<title>Oops...sorry!</title>
	<published>2008-09-04T08:46:12Z</published>
	<updated>2008-09-04T08:46:12Z</updated>
	<author>
		<name>David C. Hicks</name>
	</author>
	<content type="html">I only just realized that I sent my question about an error to the wrong 
&lt;br&gt;mailing list.
&lt;br&gt;Sorry about that.
&lt;br&gt;Dave
&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19313541&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LiquiBase---Development-f23277.html&quot; embed=&quot;fixTarget[23277]&quot; target=&quot;_top&quot; &gt;LiquiBase - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Migration-Failing-after-Backup-Restore-tp19298578p19313541.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19313515</id>
	<title>How to specify a context?</title>
	<published>2008-09-04T08:45:32Z</published>
	<updated>2008-09-04T08:45:32Z</updated>
	<author>
		<name>David C. Hicks</name>
	</author>
	<content type="html">The online docs don't show how to specify a context. &amp;nbsp;At least, I didn't 
&lt;br&gt;find anything that looked like it.
&lt;br&gt;Can someone show me a quick example?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Dave
&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
&lt;br&gt;Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
&lt;br&gt;Grand prize is a trip for two to an Open Source event anywhere in the world
&lt;br&gt;&lt;a href=&quot;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Liquibase-user mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19313515&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Liquibase-user@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/liquibase-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/liquibase-user&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LiquiBase---User-f23276.html&quot; embed=&quot;fixTarget[23276]&quot; target=&quot;_top&quot; &gt;LiquiBase - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/How-to-specify-a-context--tp19313515p19313515.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19312829</id>
	<title>Re: Migration Failing after Backup Restore</title>
	<published>2008-09-04T08:16:24Z</published>
	<updated>2008-09-04T08:16:24Z</updated>
	<author>
		<name>Davi