[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openejb-development
Subject:    Re: datasource versioning sample & usage?
From:       Romain Manni-Bucau <rmannibucau () gmail ! com>
Date:       2014-04-17 9:04:21
Message-ID: CACLE=7Nh7xWc3+=uaeMG56NFmGjB8c1A9UB6E7ta0cgtEiV-AA () mail ! gmail ! com
[Download RAW message or body]

hehe, maybe, that's true I started reading it from errors and not use case ;)


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-04-17 11:02 GMT+02:00 Andy Gumbrecht <agumbrecht@tomitribe.com>:
> That's because you come at it from bottom up, and users from top down. I
> doubt very much that you of all people have trouble understanding anything!
> :-D
>
>
> On 17/04/2014 10:55, Romain Manni-Bucau wrote:
>>
>> actually both are prod ready and since we have 2 ds we can use both
>> ;). We can also do two tests for sure but the test setup should be as
>> simple as possible, copying deps is already a bit too much and makes
>> test understanding a bit longer (at least for me ;))
>>
>>
>> Romain Manni-Bucau
>> Twitter: @rmannibucau
>> Blog: http://rmannibucau.wordpress.com/
>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> Github: https://github.com/rmannibucau
>>
>>
>> 2014-04-17 10:44 GMT+02:00 Andy Gumbrecht <agumbrecht@tomitribe.com>:
>>>
>>> I think examples should lean towards production scenarios first, then
>>> magic
>>> after.
>>>
>>> The user will see how the test references the two physically separate
>>> files
>>> and make sense of it.
>>>
>>> The mvn reference should be a new test class to demonstrate that the
>>> magic
>>> exists.
>>>
>>> I will work on the readme today and include the description.
>>>
>>> Andy.
>>>
>>>
>>> On 17/04/2014 10:33, Romain Manni-Bucau wrote:
>>>>
>>>> right, the point was about configuration if it was a bit unclear, not
>>>> the choice ;)
>>>>
>>>>
>>>> Romain Manni-Bucau
>>>> Twitter: @rmannibucau
>>>> Blog: http://rmannibucau.wordpress.com/
>>>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>>> Github: https://github.com/rmannibucau
>>>>
>>>>
>>>> 2014-04-17 10:26 GMT+02:00 Andy Gumbrecht <agumbrecht@tomitribe.com>:
>>>>>
>>>>> I just took two versions of the driver, the very latest and the very
>>>>> earliest.
>>>>>
>>>>>
>>>>> On 17/04/2014 09:21, Romain Manni-Bucau wrote:
>>>>>>
>>>>>> yep, that's what I thought
>>>>>>
>>>>>>
>>>>>> Romain Manni-Bucau
>>>>>> Twitter: @rmannibucau
>>>>>> Blog: http://rmannibucau.wordpress.com/
>>>>>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>>>>> Github: https://github.com/rmannibucau
>>>>>>
>>>>>>
>>>>>> 2014-04-17 9:19 GMT+02:00 Jean-Louis Monteiro
>>>>>> <jlmonteiro@tomitribe.com>:
>>>>>>>
>>>>>>> both :)
>>>>>>> Creating 2 datasources using one driver version from maven and
>>>>>>> another
>>>>>>> from
>>>>>>> a copy dep?
>>>>>>>
>>>>>>>       --
>>>>>>>        Jean-Louis Monteiro
>>>>>>>        http://twitter.com/jlouismonteiro
>>>>>>>        http://www.tomitribe.com
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Apr 17, 2014 at 9:11 AM, Romain Manni-Bucau
>>>>>>> <rmannibucau@gmail.com>wrote:
>>>>>>>
>>>>>>>> it should be supported already but the question is what do we put in
>>>>>>>> sample?
>>>>>>>>
>>>>>>>>
>>>>>>>> Romain Manni-Bucau
>>>>>>>> Twitter: @rmannibucau
>>>>>>>> Blog: http://rmannibucau.wordpress.com/
>>>>>>>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>>>>>>> Github: https://github.com/rmannibucau
>>>>>>>>
>>>>>>>>
>>>>>>>> 2014-04-17 9:09 GMT+02:00 Jean-Louis Monteiro
>>>>>>>> <jlmonteiro@tomitribe.com>:
>>>>>>>>>
>>>>>>>>> +1, supporting both is fine
>>>>>>>>>
>>>>>>>>>       --
>>>>>>>>>        Jean-Louis Monteiro
>>>>>>>>>        http://twitter.com/jlouismonteiro
>>>>>>>>>        http://www.tomitribe.com
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Thu, Apr 17, 2014 at 8:53 AM, Romain Manni-Bucau
>>>>>>>>> <rmannibucau@gmail.com>wrote:
>>>>>>>>>
>>>>>>>>>> Hi
>>>>>>>>>>
>>>>>>>>>> Andy added a sample for datasource versioning sample. I helped a
>>>>>>>>>> bit
>>>>>>>>>> to make it green and we used classpath="path". I wonder if instead
>>>>>>>>>> of
>>>>>>>>>> using maven to copy in drivers/ the drivers to use we shouldn't
>>>>>>>>>> use
>>>>>>>>>> mvn path in classpath: <Resource ...
>>>>>>>>>> classpath="mvn:org.apache.derby:derby-...:10.10...">
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> throughts?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Romain Manni-Bucau
>>>>>>>>>> Twitter: @rmannibucau
>>>>>>>>>> Blog: http://rmannibucau.wordpress.com/
>>>>>>>>>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>>>>>>>>>> Github: https://github.com/rmannibucau
>>>>>>>>>>
>>>>> --
>>>>> Andy Gumbrecht
>>>>>
>>>>> http://www.tomitribe.com
>>>>> agumbrecht@tomitribe.com
>>>>> https://twitter.com/AndyGeeDe
>>>>>
>>>>> TomEE treibt Tomitribe! | http://tomee.apache.org
>>>>>
>>> --
>>> Andy Gumbrecht
>>>
>>> http://www.tomitribe.com
>>> agumbrecht@tomitribe.com
>>> https://twitter.com/AndyGeeDe
>>>
>>> TomEE treibt Tomitribe! | http://tomee.apache.org
>>>
>
> --
> Andy Gumbrecht
>
> http://www.tomitribe.com
> agumbrecht@tomitribe.com
> https://twitter.com/AndyGeeDe
>
> TomEE treibt Tomitribe! | http://tomee.apache.org
>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic