You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by ant elder <an...@gmail.com> on 2009/10/28 18:15:27 UTC

Moving the otests out from the sca build

What do people think about moving the otest folder that contains the
OASIS compliance tests out from the sca trunk checkout to somewhere
else? The reasons are having it part of sca makes checking out and
updating sca slower than necessary as externals are slow, and the
otests get included in the distribution src builds which makes the src
distribution significantly larger. They're not included in the default
build so they dont need to be inside sca. Anyone mind if i move them
somewhere else?

   ...ant

Re: Moving the otests out from the sca build

Posted by ant elder <an...@gmail.com>.
On Wed, Oct 28, 2009 at 5:15 PM, ant elder <an...@gmail.com> wrote:
> What do people think about moving the otest folder that contains the
> OASIS compliance tests out from the sca trunk checkout to somewhere
> else? The reasons are having it part of sca makes checking out and
> updating sca slower than necessary as externals are slow, and the
> otests get included in the distribution src builds which makes the src
> distribution significantly larger. They're not included in the default
> build so they dont need to be inside sca. Anyone mind if i move them
> somewhere else?
>
>   ...ant
>

Ok some positive comments but as Simon is away this week and he's been
heavily involved in the otests I'll leave this until next week when
he's back to make sure he agrees and were not trying to slip it in
without his consensus while hes out.

   ...ant

Re: Moving the otests out from the sca build

Posted by Luciano Resende <lu...@gmail.com>.
On Wed, Oct 28, 2009 at 10:15 AM, ant elder <an...@gmail.com> wrote:
> What do people think about moving the otest folder that contains the
> OASIS compliance tests out from the sca trunk checkout to somewhere
> else? The reasons are having it part of sca makes checking out and
> updating sca slower than necessary as externals are slow, and the
> otests get included in the distribution src builds which makes the src
> distribution significantly larger. They're not included in the default
> build so they dont need to be inside sca. Anyone mind if i move them
> somewhere else?
>
>   ...ant
>

Totally +1, as git does not work with svn externals, this would help me a lot.

On a side not, what we start using the structure I proposed at [1] and
start moving the otests there ?

[1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Tuscany+SVN+Structure

-- 
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Re: Moving the otests out from the sca build

Posted by Ramkumar R <ra...@gmail.com>.
+1 to move out from the sca trunk.

On Wed, Oct 28, 2009 at 10:45 PM, ant elder <an...@gmail.com> wrote:

> What do people think about moving the otest folder that contains the
> OASIS compliance tests out from the sca trunk checkout to somewhere
> else? The reasons are having it part of sca makes checking out and
> updating sca slower than necessary as externals are slow, and the
> otests get included in the distribution src builds which makes the src
> distribution significantly larger. They're not included in the default
> build so they dont need to be inside sca. Anyone mind if i move them
> somewhere else?
>
>   ...ant
>



-- 
Thanks & Regards,
Ramkumar Ramalingam

Re: Moving the otests out from the sca build

Posted by Simon Laws <si...@googlemail.com>.
thanks ant

S

Re: Moving the otests out from the sca build

Posted by ant elder <an...@apache.org>.
On Tue, Nov 3, 2009 at 11:07 AM, ant elder <an...@apache.org> wrote:
> On Tue, Nov 3, 2009 at 10:12 AM, Simon Laws <si...@googlemail.com> wrote:
>> after a *lot* of problems getting the checkout of OASIS done (got a
>> lot worse compared to 10 days ago for some reason) I've applied my
>> local diffs and am now up and running with the otests in the new
>> location. I suggest we leave them where you have put them for the time
>> being.
>>
>> Assuming everyone else is happy we can unpick /tuscany/java/sca/otest/
>>
>> Simon
>>
>
> As the switch seems to be working fine and everyone was +1 on the move
> I've gone ahead and deleted it in r832392.
>
> So to reiterate, the otests are now at:
>
> https://svn.apache.org/repos/asf/tuscany/otest
>
>   ...ant
>

Its probably worth pointing out that you may end up LOSING ANY LOCAL
CHANGES you might have in the otests folder if you do an svn update
now before doing the switch! So if that matters to you dont do an svn
up until you've moved you local otests directory out of trunk and done
the svn switch:

svn switch https://svn.apache.org/repos/asf/tuscany/otest/ .

   ...ant

Re: Moving the otests out from the sca build

Posted by ant elder <an...@apache.org>.
On Tue, Nov 3, 2009 at 10:12 AM, Simon Laws <si...@googlemail.com> wrote:
> after a *lot* of problems getting the checkout of OASIS done (got a
> lot worse compared to 10 days ago for some reason) I've applied my
> local diffs and am now up and running with the otests in the new
> location. I suggest we leave them where you have put them for the time
> being.
>
> Assuming everyone else is happy we can unpick /tuscany/java/sca/otest/
>
> Simon
>

As the switch seems to be working fine and everyone was +1 on the move
I've gone ahead and deleted it in r832392.

So to reiterate, the otests are now at:

https://svn.apache.org/repos/asf/tuscany/otest

   ...ant

Re: Moving the otests out from the sca build

Posted by Simon Laws <si...@googlemail.com>.
after a *lot* of problems getting the checkout of OASIS done (got a
lot worse compared to 10 days ago for some reason) I've applied my
local diffs and am now up and running with the otests in the new
location. I suggest we leave them where you have put them for the time
being.

Assuming everyone else is happy we can unpick /tuscany/java/sca/otest/

Simon

Re: Moving the otests out from the sca build

Posted by Simon Laws <si...@googlemail.com>.
On Mon, Nov 2, 2009 at 1:39 PM, ant elder <an...@apache.org> wrote:
> On Mon, Nov 2, 2009 at 1:18 PM, Simon Laws <si...@googlemail.com> wrote:
>
>> I'm a little confused about you note about svn switch. If I just
>> switch the otests I have checked out under tuscany/java/sca/otest
>> won't I still end up checking out otest out every time I get trunk. I
>> expect I have the wrong end of the stick.
>>
>
> Yes until the folder is moved in SVN thats going to happen. But if
> you've a separate checkout of just tuscany/java/sca/otest (or you
> could just move that folder out of the trunk folder on your local file
> system) then it looks like we can use svn switch so as to not loose
> all the local changes that arent in the OASIS SVN yet.
>
>   ...ant
>

Ok, I don't have a separate check out so will create one.

Simon

Re: Moving the otests out from the sca build

Posted by ant elder <an...@apache.org>.
On Mon, Nov 2, 2009 at 1:18 PM, Simon Laws <si...@googlemail.com> wrote:

> I'm a little confused about you note about svn switch. If I just
> switch the otests I have checked out under tuscany/java/sca/otest
> won't I still end up checking out otest out every time I get trunk. I
> expect I have the wrong end of the stick.
>

Yes until the folder is moved in SVN thats going to happen. But if
you've a separate checkout of just tuscany/java/sca/otest (or you
could just move that folder out of the trunk folder on your local file
system) then it looks like we can use svn switch so as to not loose
all the local changes that arent in the OASIS SVN yet.

   ...ant

Re: Moving the otests out from the sca build

Posted by Simon Laws <si...@googlemail.com>.
the "current" module can be removed altogether.

Simon

Re: Moving the otests out from the sca build

Posted by kelvin goodson <ke...@gmail.com>.
Hi - I know this is in a state of flux, I just tried mvn -Peclipse and
it fell over on the otest/current module in that profile.  I've
commented this module out locally, but don't want to muddy the water
by checking it back in at the moment.

Kelvin.

2009/11/2 ant elder <an...@apache.org>:
> On Mon, Nov 2, 2009 at 1:18 PM, Simon Laws <si...@googlemail.com> wrote:
>> I think what luciano was getting at was...
>>
>> tuscany/sca-java-2.x/otest
>>
>
> If the idea is to change the svn structure to be more conventional
> then it would be good not to put anything directly under sca-java-2.x
> other than trunk, branches and tags, so imho otests would be better in
> their own folder somewhere, also they're not restricted to just Java
> as the oasis folder also has C and C++ stuff in it.
>
>   ...ant
>

Re: Moving the otests out from the sca build

Posted by Simon Laws <si...@googlemail.com>.
I am yet again kicking myself for asking two questions in the same
post (must remember not to do that).

Any comment on my question about switch?

re. reog. I'm not sure there is a logical answer to it. But likely
many different opinions. I'm not going to comment further on this for
the time being. I'm more interested on getting the tests working.

Simon

Re: Moving the otests out from the sca build

Posted by ant elder <an...@apache.org>.
On Mon, Nov 2, 2009 at 1:18 PM, Simon Laws <si...@googlemail.com> wrote:
> I think what luciano was getting at was...
>
> tuscany/sca-java-2.x/otest
>

If the idea is to change the svn structure to be more conventional
then it would be good not to put anything directly under sca-java-2.x
other than trunk, branches and tags, so imho otests would be better in
their own folder somewhere, also they're not restricted to just Java
as the oasis folder also has C and C++ stuff in it.

   ...ant

Re: Moving the otests out from the sca build

Posted by Simon Laws <si...@googlemail.com>.
I think what luciano was getting at was...

tuscany/sca-java-2.x/otest

I'll give tuscany/otest a spin.

I'm a little confused about you note about svn switch. If I just
switch the otests I have checked out under tuscany/java/sca/otest
won't I still end up checking out otest out every time I get trunk. I
expect I have the wrong end of the stick.

Simon

Re: Moving the otests out from the sca build

Posted by ant elder <an...@gmail.com>.
Ok to try this out I've done a copy of the otest folder to
https://svn.apache.org/repos/asf/tuscany/otest/

The old tuscany/java/sca/otest is still there unchanged so that can
continue being used, but the new tuscany/otest folder can be used to
try out moving to the new location. I've done this on my existing
otest checkout which has all the uncomitted OASIS fixes by using the
command:

svn switch https://svn.apache.org/repos/asf/tuscany/otest/ .

I was a bit worried it wouldn't work easily after this type of move
didn't seem to work for most when we did the graduation move [1], but
this seems to have worked fine now for me with these otests. Does
anyone else want to try before we go ahead properly and remove the old
location?

Any preferences on where the new folder goes and what to call it? I
know you referenced that svn reorg proposal wiki page Luciano but it
doesn't have any mention of the otests.

   ...ant

[1] http://apache.markmail.org/message/nz2znfhokba3l55l

Re: Moving the otests out from the sca build

Posted by Simon Laws <si...@googlemail.com>.
+1 from me.

Simon

Re: Moving the otests out from the sca build

Posted by Mike Edwards <mi...@gmail.com>.
ant elder wrote:
> What do people think about moving the otest folder that contains the
> OASIS compliance tests out from the sca trunk checkout to somewhere
> else? The reasons are having it part of sca makes checking out and
> updating sca slower than necessary as externals are slow, and the
> otests get included in the distribution src builds which makes the src
> distribution significantly larger. They're not included in the default
> build so they dont need to be inside sca. Anyone mind if i move them
> somewhere else?
> 
>    ...ant
> 
Ant,

I tend to agree.

I want to see plenty of testing with the OASIS tests, but I take the view that really, the tests 
should be treated as a binary rather than as part of the Tuscany source build.

The checkout process is also made very fragile by the current approach.  Many of my checkouts fail 
when they get to the OTESTS and do their SVN from the OASIS server.


Yours,  Mike.