Contexts: how does it works [1.7]

View: New views
17 Messages — Rating Filter:   Alert me  

Contexts: how does it works [1.7]

by paolo di tommaso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear all,

I'm trying to make it work context in liquibase.

In my changelog I've wrote:

:
<changeSet id=".." context="test" >
:
</changeSet>



But the changeset is applied also if a specify a different context in my command line, for example:

liquibase --changeLogFile=./changelog.xml --contexts=prod



Where am I wrong ?


Thank you, Paolo





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Re: Contexts: how does it works [1.7]

by Voxland, Nathan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

That looks like it should be right.  It has been working fine for me, although I haven’t used the command line app for a while.  Have you tried it with a different method?

 

Nathan

 

From: liquibase-user-bounces@... [mailto:liquibase-user-bounces@...] On Behalf Of Paolo Di Tommaso
Sent: Wednesday, July 16, 2008 11:56 AM
To: liquibase-user@...
Subject: [Liquibase-user] Contexts: how does it works [1.7]

 

Dear all,

I'm trying to make it work context in liquibase.

In my changelog I've wrote:

:
<changeSet id=".." context="test" >
:
</changeSet>




But the changeset is applied also if a specify a different context in my command line, for example:

liquibase --changeLogFile=./changelog.xml --contexts=prod



Where am I wrong ?


Thank you, Paolo




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Re: Contexts: how does it works [1.7]

by paolo di tommaso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, using ANT it work fine. But from the command line seems that --contexts options does not take effect.


Thanks, Paolo


On Fri, Jul 18, 2008 at 11:28 PM, Voxland, Nathan <nvoxland@...> wrote:

That looks like it should be right.  It has been working fine for me, although I haven't used the command line app for a while.  Have you tried it with a different method?

 

Nathan

 

From: liquibase-user-bounces@... [mailto:liquibase-user-bounces@...] On Behalf Of Paolo Di Tommaso
Sent: Wednesday, July 16, 2008 11:56 AM
To: liquibase-user@...
Subject: [Liquibase-user] Contexts: how does it works [1.7]

 

Dear all,

I'm trying to make it work context in liquibase.

In my changelog I've wrote:

:
<changeSet id=".." context="test" >
:
</changeSet>




But the changeset is applied also if a specify a different context in my command line, for example:

liquibase --changeLogFile=./changelog.xml --contexts=prod



Where am I wrong ?


Thank you, Paolo




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Re: Contexts: how does it works [1.7]

by Voxland, Nathan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

That is strange, it should work just fine from the command lime.  I’ll look into it.

 

Nathan

 

From: liquibase-user-bounces@... [mailto:liquibase-user-bounces@...] On Behalf Of Paolo Di Tommaso
Sent: Saturday, July 19, 2008 12:41 AM
To: liquibase-user@...
Subject: Re: [Liquibase-user] Contexts: how does it works [1.7]

 

Yes, using ANT it work fine. But from the command line seems that --contexts options does not take effect.


Thanks, Paolo

On Fri, Jul 18, 2008 at 11:28 PM, Voxland, Nathan <nvoxland@...> wrote:

That looks like it should be right.  It has been working fine for me, although I haven't used the command line app for a while.  Have you tried it with a different method?

 

Nathan

 

From: liquibase-user-bounces@... [mailto:liquibase-user-bounces@...] On Behalf Of Paolo Di Tommaso
Sent: Wednesday, July 16, 2008 11:56 AM
To: liquibase-user@...
Subject: [Liquibase-user] Contexts: how does it works [1.7]

 

Dear all,

I'm trying to make it work context in liquibase.

In my changelog I've wrote:

:
<changeSet id=".." context="test" >
:
</changeSet>



But the changeset is applied also if a specify a different context in my command line, for example:

liquibase --changeLogFile=./changelog.xml --contexts=prod



Where am I wrong ?


Thank you, Paolo



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user

 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Re: Contexts: how does it works [1.7]

by Christian Maslen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

paolo di tommaso wrote:
In my changelog I've wrote:

:
<changeSet id=".." context="test" >
:
</changeSet>

But the changeset is applied also if a specify a different context in my
command line, for example:

liquibase --changeLogFile=./changelog.xml --contexts=prod
I have the opposite problem, where by you pass in the change set you want to run and LiquiBase ignores it unless you pass the contexts in lower case to the command line

eg:
<changeSet id=".." context="UnitTest" >
:
</changeSet>

rem doesn't work...
liquibase --changeLogFile=./changelog.xml --contexts=UnitTest

rem works...
liquibase --changeLogFile=./changelog.xml --contexts=unittest

I'm using LiquiBase 1.7.0

Christian.

Re: Contexts: how does it works [1.7]

by Voxland, Nathan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That brings up a question: should the context checking be case sensitive
or insensitive?  Anyone have an opinion?  

I'm leaning to case insensitive for better user-friendlyness.

Nathan

-----Original Message-----
From: liquibase-user-bounces@...
[mailto:liquibase-user-bounces@...] On Behalf Of
Christian Maslen
Sent: Monday, August 25, 2008 11:04 PM
To: liquibase-user@...
Subject: Re: [Liquibase-user] Contexts: how does it works [1.7]



paolo di tommaso wrote:
>
> In my changelog I've wrote:
>
> :
> <changeSet id=".." context="test" >
> :
> </changeSet>
>
> But the changeset is applied also if a specify a different context in
my
> command line, for example:
>
> liquibase --changeLogFile=./changelog.xml --contexts=prod
>
>

I have the opposite problem, where by you pass in the change set you
want to
run and LiquiBase ignores it unless you pass the contexts in lower case
to
the command line

eg:
<changeSet id=".." context="UnitTest" >
:
</changeSet>

rem doesn't work...
liquibase --changeLogFile=./changelog.xml --contexts=UnitTest

rem works...
liquibase --changeLogFile=./changelog.xml --contexts=unittest

I'm using LiquiBase 1.7.0

Christian.
--
View this message in context:
http://www.nabble.com/Contexts%3A-how-does-it-works--1.7--tp18491982p191
55454.html
Sent from the LiquiBase - User mailing list archive at Nabble.com.


------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Re: Contexts: how does it works [1.7]

by Robert Fischer-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

+1 for insensitive.

~~ Robert.

Voxland, Nathan wrote:

> That brings up a question: should the context checking be case sensitive
> or insensitive?  Anyone have an opinion?  
>
> I'm leaning to case insensitive for better user-friendlyness.
>
> Nathan
>
> -----Original Message-----
> From: liquibase-user-bounces@...
> [mailto:liquibase-user-bounces@...] On Behalf Of
> Christian Maslen
> Sent: Monday, August 25, 2008 11:04 PM
> To: liquibase-user@...
> Subject: Re: [Liquibase-user] Contexts: how does it works [1.7]
>
>
>
> paolo di tommaso wrote:
>> In my changelog I've wrote:
>>
>> :
>> <changeSet id=".." context="test" >
>> :
>> </changeSet>
>>
>> But the changeset is applied also if a specify a different context in
> my
>> command line, for example:
>>
>> liquibase --changeLogFile=./changelog.xml --contexts=prod
>>
>>
>
> I have the opposite problem, where by you pass in the change set you
> want to
> run and LiquiBase ignores it unless you pass the contexts in lower case
> to
> the command line
>
> eg:
> <changeSet id=".." context="UnitTest" >
> :
> </changeSet>
>
> rem doesn't work...
> liquibase --changeLogFile=./changelog.xml --contexts=UnitTest
>
> rem works...
> liquibase --changeLogFile=./changelog.xml --contexts=unittest
>
> I'm using LiquiBase 1.7.0
>
> Christian.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Re: Contexts: how does it works [1.7]

by Geoffrey Wiseman-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

+1 for insensitive.  Doesn't seem worth supporting two contexts with
different case.

> -----Original Message-----
> From: liquibase-user-bounces@... [mailto:liquibase-
> user-bounces@...] On Behalf Of Robert Fischer
> Sent: Wednesday, August 27, 2008 10:44 AM
> To: liquibase-user@...
> Subject: Re: [Liquibase-user] Contexts: how does it works [1.7]
>
> +1 for insensitive.
>
> ~~ Robert.
>
> Voxland, Nathan wrote:
> > That brings up a question: should the context checking be case
> sensitive
> > or insensitive?  Anyone have an opinion?
> >
> > I'm leaning to case insensitive for better user-friendlyness.
> >
> > Nathan
> >
> > -----Original Message-----
> > From: liquibase-user-bounces@...
> > [mailto:liquibase-user-bounces@...] On Behalf Of
> > Christian Maslen
> > Sent: Monday, August 25, 2008 11:04 PM
> > To: liquibase-user@...
> > Subject: Re: [Liquibase-user] Contexts: how does it works [1.7]
> >
> >
> >
> > paolo di tommaso wrote:
> >> In my changelog I've wrote:
> >>
> >> :
> >> <changeSet id=".." context="test" >
> >> :
> >> </changeSet>
> >>
> >> But the changeset is applied also if a specify a different context
> in
> > my
> >> command line, for example:
> >>
> >> liquibase --changeLogFile=./changelog.xml --contexts=prod
> >>
> >>
> >
> > I have the opposite problem, where by you pass in the change set you
> > want to
> > run and LiquiBase ignores it unless you pass the contexts in lower
> case
> > to
> > the command line
> >
> > eg:
> > <changeSet id=".." context="UnitTest" >
> > :
> > </changeSet>
> >
> > rem doesn't work...
> > liquibase --changeLogFile=./changelog.xml --contexts=UnitTest
> >
> > rem works...
> > liquibase --changeLogFile=./changelog.xml --contexts=unittest
> >
> > I'm using LiquiBase 1.7.0
> >
> > Christian.
>
>
-----------------------------------------------------------------------

> --
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Liquibase-user mailing list
> Liquibase-user@...
> https://lists.sourceforge.net/lists/listinfo/liquibase-user


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Re: Contexts: how does it works [1.7]

by Alex Soto :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

+1 for insensitive casing.

Alex Soto

-
Amicus Plato, sed magis amica veritas.



On Aug 27, 2008, at 3:05 PM, Geoffrey Wiseman wrote:

+1 for insensitive.  Doesn't seem worth supporting two contexts with
different case.

-----Original Message-----
user-bounces@...] On Behalf Of Robert Fischer
Sent: Wednesday, August 27, 2008 10:44 AM
Subject: Re: [Liquibase-user] Contexts: how does it works [1.7]

+1 for insensitive.

~~ Robert.

Voxland, Nathan wrote:
That brings up a question: should the context checking be case
sensitive
or insensitive?  Anyone have an opinion?

I'm leaning to case insensitive for better user-friendlyness.

Nathan

-----Original Message-----
Christian Maslen
Sent: Monday, August 25, 2008 11:04 PM
Subject: Re: [Liquibase-user] Contexts: how does it works [1.7]



paolo di tommaso wrote:
In my changelog I've wrote:

:
<changeSet id=".." context="test" >
:
</changeSet>

But the changeset is applied also if a specify a different context
in
my
command line, for example:

liquibase --changeLogFile=./changelog.xml --contexts=prod



I have the opposite problem, where by you pass in the change set you
want to
run and LiquiBase ignores it unless you pass the contexts in lower
case
to
the command line

eg:
<changeSet id=".." context="UnitTest" >
:
</changeSet>

rem doesn't work...
liquibase --changeLogFile=./changelog.xml --contexts=UnitTest

rem works...
liquibase --changeLogFile=./changelog.xml --contexts=unittest

I'm using LiquiBase 1.7.0

Christian.


-----------------------------------------------------------------------
--
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
_______________________________________________
Liquibase-user mailing list


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
_______________________________________________
Liquibase-user mailing list


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Re: Contexts: how does it works [1.7]

by Voxland, Nathan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

OK, 3 for intensive, none for sensitive.  I’ll get the change in for 1.8 (and test for any other issues with the context functinality)

 

Nathan

 

From: liquibase-user-bounces@... [mailto:liquibase-user-bounces@...] On Behalf Of Alex Soto
Sent: Thursday, August 28, 2008 5:41 AM
To: liquibase-user@...
Subject: Re: [Liquibase-user] Contexts: how does it works [1.7]

 

+1 for insensitive casing.

 

Alex Soto

 

-

Amicus Plato, sed magis amica veritas.

 



 

On Aug 27, 2008, at 3:05 PM, Geoffrey Wiseman wrote:



+1 for insensitive.  Doesn't seem worth supporting two contexts with

different case.

 

-----Original Message-----

user-bounces@...] On Behalf Of Robert Fischer

Sent: Wednesday, August 27, 2008 10:44 AM

Subject: Re: [Liquibase-user] Contexts: how does it works [1.7]

 

+1 for insensitive.

 

~~ Robert.

 

Voxland, Nathan wrote:

That brings up a question: should the context checking be case

sensitive

or insensitive?  Anyone have an opinion?

 

I'm leaning to case insensitive for better user-friendlyness.

 

Nathan

 

-----Original Message-----

Christian Maslen

Sent: Monday, August 25, 2008 11:04 PM

Subject: Re: [Liquibase-user] Contexts: how does it works [1.7]

 

 

 

paolo di tommaso wrote:

In my changelog I've wrote:

 

:

<changeSet id=".." context="test" >

:

</changeSet>

 

But the changeset is applied also if a specify a different context

in

my

command line, for example:

 

liquibase --changeLogFile=./changelog.xml --contexts=prod

 

 

 

I have the opposite problem, where by you pass in the change set you

want to

run and LiquiBase ignores it unless you pass the contexts in lower

case

to

the command line

 

eg:

<changeSet id=".." context="UnitTest" >

:

</changeSet>

 

rem doesn't work...

liquibase --changeLogFile=./changelog.xml --contexts=UnitTest

 

rem works...

liquibase --changeLogFile=./changelog.xml --contexts=unittest

 

I'm using LiquiBase 1.7.0

 

Christian.

 

 

-----------------------------------------------------------------------

--

This SF.Net email is sponsored by the Moblin Your Move Developer's

challenge

Build the coolest Linux based applications with Moblin SDK & win great

prizes

Grand prize is a trip for two to an Open Source event anywhere in the

world

_______________________________________________

Liquibase-user mailing list

 

 

-------------------------------------------------------------------------

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge

Build the coolest Linux based applications with Moblin SDK & win great prizes

Grand prize is a trip for two to an Open Source event anywhere in the world

_______________________________________________

Liquibase-user mailing list

 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user

1.8?

by Robert Fischer-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Any idea on the ETA for 1.8?

~~ Robert.

Voxland, Nathan wrote:

> OK, 3 for intensive, none for sensitive.  I’ll get the change in for 1.8
> (and test for any other issues with the context functinality)
>
>  
>
> Nathan
>
>  
>
> *From:* liquibase-user-bounces@...
> [mailto:liquibase-user-bounces@...] *On Behalf Of
> *Alex Soto
> *Sent:* Thursday, August 28, 2008 5:41 AM
> *To:* liquibase-user@...
> *Subject:* Re: [Liquibase-user] Contexts: how does it works [1.7]
>
>  
>
> +1 for insensitive casing.
>
>  
>
> Alex Soto
>
> lexsoto@... <mailto:lexsoto@...>
>
>  
>
> -
>
> Amicus Plato, sed magis amica veritas.
>
>  
>
>
>
>  
>
> On Aug 27, 2008, at 3:05 PM, Geoffrey Wiseman wrote:
>
>
>
> +1 for insensitive.  Doesn't seem worth supporting two contexts with
>
> different case.
>
>  
>
>     -----Original Message-----
>
>     From: liquibase-user-bounces@... [mailto:liquibase-
>
>     user-bounces@...
>     <mailto:user-bounces@...>] On Behalf Of Robert Fischer
>
>     Sent: Wednesday, August 27, 2008 10:44 AM
>
>     To: liquibase-user@...
>     <mailto:liquibase-user@...>
>
>     Subject: Re: [Liquibase-user] Contexts: how does it works [1.7]
>
>      
>
>     +1 for insensitive.
>
>      
>
>     ~~ Robert.
>
>      
>
>     Voxland, Nathan wrote:
>
>         That brings up a question: should the context checking be case
>
>     sensitive
>
>         or insensitive?  Anyone have an opinion?
>
>          
>
>         I'm leaning to case insensitive for better user-friendlyness.
>
>          
>
>         Nathan
>
>          
>
>         -----Original Message-----
>
>         From: liquibase-user-bounces@...
>         <mailto:liquibase-user-bounces@...>
>
>         [mailto:liquibase-user-bounces@...] On Behalf Of
>
>         Christian Maslen
>
>         Sent: Monday, August 25, 2008 11:04 PM
>
>         To: liquibase-user@...
>         <mailto:liquibase-user@...>
>
>         Subject: Re: [Liquibase-user] Contexts: how does it works [1.7]
>
&