Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Confused about the source of the source
[CDO] Confused about the source of the source [message #653234] Tue, 08 February 2011 22:08 Go to next message
Michal Tkacz is currently offline Michal TkaczFriend
Messages: 105
Registered: July 2009
Senior Member
Hi,

I'm little confused about where to find the source corresponding to the
recent development of CDO. I'm aware of CDO Source Installation tutorial
[1], but sometimes all I need is to browse history for a particular
file, so the full blown development environment is not really what I'm
looking for.

My problem is that when I checkout some plugin from

:pserver:dev.eclipse.org:/cvsroot/modeling/org.eclipse.emf/o rg.eclipse.emf.cdo/plugins

and take one file from it, none of the versions of that file seem to be
the one that I get when I import the same plugin directly from target
platform (which contains recent 4.0M5 milestone from update site [2]).

E.g. when I open
org.eclipse.emf.cdo.internal.common.model.CDOClassInfoImpl, after
importing org.eclipse.emf.cdo.common from target platform, its
getFeatureIndex(int) method looks like this:

public int getFeatureIndex(int featureID)
{
int index = featureIDMappings[featureID];
if (index == NOT_MAPPED)
{
throw new IllegalArgumentException("Feature not mapped: " +
getEClass().getEStructuralFeature(featureID)); //$NON-NLS-1$
}

return index;
}

But when I browse the history of the file checked from CVS it seems like
the method always looked like this:

public int getFeatureIndex(int featureID)
{
return featureIDMappings[featureID];
}

Where's the version I'm seeing in target platform hidden? Do I check in
the wrong place?

Michal

[1] http://wiki.eclipse.org/CDO_Source_Installation
[2] http://download.eclipse.org/modeling/emf/cdo/updates/4.0-mil estones
Re: [CDO] Confused about the source of the source [message #653265 is a reply to message #653234] Wed, 09 February 2011 06:37 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Michal,

We've just migrated everything to SVN. Our old CVS module is read-only for the transitioning period, but I think I can ask for removal now.

BTW. the wiki does reflect this for some while, but if you've read it once you hardly touch it again.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Am 08.02.2011 23:08, schrieb Michał Tkacz:
> Hi,
>
> I'm little confused about where to find the source corresponding to the recent development of CDO. I'm aware of CDO Source Installation tutorial [1], but sometimes all I need is to browse history for a particular file, so the full blown development environment is not really what I'm looking for.
>
> My problem is that when I checkout some plugin from
>
> :pserver:dev.eclipse.org:/cvsroot/modeling/org.eclipse.emf/o rg.eclipse.emf.cdo/plugins
>
> and take one file from it, none of the versions of that file seem to be the one that I get when I import the same plugin directly from target platform (which contains recent 4.0M5 milestone from update site [2]).
>
> E.g. when I open org.eclipse.emf.cdo.internal.common.model.CDOClassInfoImpl, after importing org.eclipse.emf.cdo.common from target platform, its getFeatureIndex(int) method looks like this:
>
> public int getFeatureIndex(int featureID)
> {
> int index = featureIDMappings[featureID];
> if (index == NOT_MAPPED)
> {
> throw new IllegalArgumentException("Feature not mapped: " + getEClass().getEStructuralFeature(featureID)); //$NON-NLS-1$
> }
>
> return index;
> }
>
> But when I browse the history of the file checked from CVS it seems like the method always looked like this:
>
> public int getFeatureIndex(int featureID)
> {
> return featureIDMappings[featureID];
> }
>
> Where's the version I'm seeing in target platform hidden? Do I check in the wrong place?
>
> Michal
>
> [1] http://wiki.eclipse.org/CDO_Source_Installation
> [2] http://download.eclipse.org/modeling/emf/cdo/updates/4.0-mil estones


Re: [CDO] Confused about the source of the source [message #653329 is a reply to message #653265] Wed, 09 February 2011 11:57 Go to previous messageGo to next message
Michal Tkacz is currently offline Michal TkaczFriend
Messages: 105
Registered: July 2009
Senior Member
Thanks Eike,

I haven't noticed, because after I followed the instructions from CDO
Source Installation some time ago, all materialized projects has been
connected to CVS (although Buckminster probably fetches them from SVN).
It would probably be more clear to me if they were connected to SVN.

Thanks again,

Michal

On 02/09/2011 07:37 AM, Eike Stepper wrote:
> Hi Michal,
>
> We've just migrated everything to SVN. Our old CVS module is read-only
> for the transitioning period, but I think I can ask for removal now.
>
> BTW. the wiki does reflect this for some while, but if you've read it
> once you hardly touch it again.
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>
> Am 08.02.2011 23:08, schrieb Michał Tkacz:
>> Hi,
>>
>> I'm little confused about where to find the source corresponding to
>> the recent development of CDO. I'm aware of CDO Source Installation
>> tutorial [1], but sometimes all I need is to browse history for a
>> particular file, so the full blown development environment is not
>> really what I'm looking for.
>>
>> My problem is that when I checkout some plugin from
>>
>> :pserver:dev.eclipse.org:/cvsroot/modeling/org.eclipse.emf/o rg.eclipse.emf.cdo/plugins
>>
>>
>> and take one file from it, none of the versions of that file seem to
>> be the one that I get when I import the same plugin directly from
>> target platform (which contains recent 4.0M5 milestone from update
>> site [2]).
>>
>> E.g. when I open
>> org.eclipse.emf.cdo.internal.common.model.CDOClassInfoImpl, after
>> importing org.eclipse.emf.cdo.common from target platform, its
>> getFeatureIndex(int) method looks like this:
>>
>> public int getFeatureIndex(int featureID)
>> {
>> int index = featureIDMappings[featureID];
>> if (index == NOT_MAPPED)
>> {
>> throw new IllegalArgumentException("Feature not mapped: " +
>> getEClass().getEStructuralFeature(featureID)); //$NON-NLS-1$
>> }
>>
>> return index;
>> }
>>
>> But when I browse the history of the file checked from CVS it seems
>> like the method always looked like this:
>>
>> public int getFeatureIndex(int featureID)
>> {
>> return featureIDMappings[featureID];
>> }
>>
>> Where's the version I'm seeing in target platform hidden? Do I check
>> in the wrong place?
>>
>> Michal
>>
>> [1] http://wiki.eclipse.org/CDO_Source_Installation
>> [2] http://download.eclipse.org/modeling/emf/cdo/updates/4.0-mil estones
Re: [CDO] Confused about the source of the source [message #653330 is a reply to message #653329] Wed, 09 February 2011 11:57 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 09.02.2011 12:57, schrieb Michał Tkacz:
> Thanks Eike,
>
> I haven't noticed, because after I followed the instructions from CDO Source Installation some time ago, all materialized projects has been connected to CVS (although Buckminster probably fetches them from SVN). It would probably be more clear to me if they were connected to SVN.
Oh yeah, I forgot to mention that Buckminster does not touch projects after they've been checked out initially.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


>
> Thanks again,
>
> Michal
>
> On 02/09/2011 07:37 AM, Eike Stepper wrote:
>> Hi Michal,
>>
>> We've just migrated everything to SVN. Our old CVS module is read-only
>> for the transitioning period, but I think I can ask for removal now.
>>
>> BTW. the wiki does reflect this for some while, but if you've read it
>> once you hardly touch it again.
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>>
>> Am 08.02.2011 23:08, schrieb Michał Tkacz:
>>> Hi,
>>>
>>> I'm little confused about where to find the source corresponding to
>>> the recent development of CDO. I'm aware of CDO Source Installation
>>> tutorial [1], but sometimes all I need is to browse history for a
>>> particular file, so the full blown development environment is not
>>> really what I'm looking for.
>>>
>>> My problem is that when I checkout some plugin from
>>>
>>> :pserver:dev.eclipse.org:/cvsroot/modeling/org.eclipse.emf/o rg.eclipse.emf.cdo/plugins
>>>
>>>
>>> and take one file from it, none of the versions of that file seem to
>>> be the one that I get when I import the same plugin directly from
>>> target platform (which contains recent 4.0M5 milestone from update
>>> site [2]).
>>>
>>> E.g. when I open
>>> org.eclipse.emf.cdo.internal.common.model.CDOClassInfoImpl, after
>>> importing org.eclipse.emf.cdo.common from target platform, its
>>> getFeatureIndex(int) method looks like this:
>>>
>>> public int getFeatureIndex(int featureID)
>>> {
>>> int index = featureIDMappings[featureID];
>>> if (index == NOT_MAPPED)
>>> {
>>> throw new IllegalArgumentException("Feature not mapped: " +
>>> getEClass().getEStructuralFeature(featureID)); //$NON-NLS-1$
>>> }
>>>
>>> return index;
>>> }
>>>
>>> But when I browse the history of the file checked from CVS it seems
>>> like the method always looked like this:
>>>
>>> public int getFeatureIndex(int featureID)
>>> {
>>> return featureIDMappings[featureID];
>>> }
>>>
>>> Where's the version I'm seeing in target platform hidden? Do I check
>>> in the wrong place?
>>>
>>> Michal
>>>
>>> [1] http://wiki.eclipse.org/CDO_Source_Installation
>>> [2] http://download.eclipse.org/modeling/emf/cdo/updates/4.0-mil estones
>


Previous Topic:Recurring Element Support
Next Topic:How to force re-generation of the java headers?
Goto Forum:
  


Current Time: Fri Apr 26 21:34:58 GMT 2024

Powered by FUDForum. Page generated in 0.03014 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top