You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Romain Manni-Bucau <rm...@gmail.com> on 2014/04/17 08:53:25 UTC

datasource versioning sample & usage?

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

Re: datasource versioning sample & usage?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
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 <ag...@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 <ag...@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 <ag...@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
>>>>>> <jl...@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
>>>>>>> <rm...@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
>>>>>>>> <jl...@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
>>>>>>>>> <rm...@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
>

Re: datasource versioning sample & usage?

Posted by Andy Gumbrecht <ag...@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 <ag...@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 <ag...@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
>>>>> <jl...@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
>>>>>> <rm...@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
>>>>>>> <jl...@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
>>>>>>>> <rm...@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


Re: datasource versioning sample & usage?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
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 <ag...@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 <ag...@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
>>>> <jl...@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
>>>>> <rm...@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
>>>>>> <jl...@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
>>>>>>> <rm...@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
>

Re: datasource versioning sample & usage?

Posted by Andy Gumbrecht <ag...@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 <ag...@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 <jl...@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
>>>> <rm...@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
>>>>> <jl...@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
>>>>>> <rm...@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


Re: datasource versioning sample & usage?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
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 <ag...@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 <jl...@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
>>> <rm...@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
>>>> <jl...@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
>>>>> <rm...@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
>

Re: datasource versioning sample & usage?

Posted by Andy Gumbrecht <ag...@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 <jl...@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
>> <rm...@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 <jl...@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
>>>> <rm...@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


Re: datasource versioning sample & usage?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
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 <jl...@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
> <rm...@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 <jl...@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
>> > <rm...@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
>> >>
>>

Re: datasource versioning sample & usage?

Posted by Jean-Louis Monteiro <jl...@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
<rm...@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 <jl...@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
> > <rm...@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
> >>
>

Re: datasource versioning sample & usage?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
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 <jl...@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
> <rm...@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
>>

Re: datasource versioning sample & usage?

Posted by Jean-Louis Monteiro <jl...@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
<rm...@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
>