Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » OCL git repository
OCL git repository [message #1729688] Mon, 18 April 2016 07:09 Go to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 25
Registered: January 2016
Junior Member
Hi there,

I'm trying to clone the OCL git repository to start playing around with
code.

I'm looking at this website:
http://git.eclipse.org/c/mdt/org.eclipse.ocl.git/

There is denoted a clone-url:
https://git.eclipse.org/r/mdt/org.eclipse.ocl

This url gives me

$ git clone https://git.eclipse.org/r/mdt/org.eclipse.ocl
Cloning into 'org.eclipse.ocl'...
fatal: remote error: Git repository not found

Opening the URL in browser also returns "Not found".

Is the URL not correct or should I re-check my setup?

Cheers,
Hauke
Re: OCL git repository [message #1729698 is a reply to message #1729688] Mon, 18 April 2016 08:18 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 5513
Registered: July 2009
Senior Member
Hi

The 'correct' way to find the repository is to look at

https://projects.eclipse.org/projects/modeling.mdt.ocl/developer

where it is shown as

https://git.eclipse.org/r/ocl/org.eclipse.ocl

and IIRC is maintained automatically by Eclipse IT management.

Eclipse projects have been steadily de-containerising since few
non-Eclipse people understood the emf/emft/gmf/mdt/m2m/m2t/tmf layer of
container projects. The OCL GIT moved at least a couple of years go;
maybe a symbolic link got cleaned up.

If you can identify where you found the stale reference to
git.eclipse.org/c/mdt/org.eclipse.ocl.git, I can fix it. Sorry for the
confusion.

Regards

Ed Willink



On 18/04/2016 08:09, Hauke Fuhrmann wrote:
> Hi there,
>
> I'm trying to clone the OCL git repository to start playing around
> with code.
>
> I'm looking at this website:
> http://git.eclipse.org/c/mdt/org.eclipse.ocl.git/
>
> There is denoted a clone-url:
> https://git.eclipse.org/r/mdt/org.eclipse.ocl
>
> This url gives me
>
> $ git clone https://git.eclipse.org/r/mdt/org.eclipse.ocl
> Cloning into 'org.eclipse.ocl'...
> fatal: remote error: Git repository not found
>
> Opening the URL in browser also returns "Not found".
>
> Is the URL not correct or should I re-check my setup?
>
> Cheers,
> Hauke
Re: OCL git repository [message #1729700 is a reply to message #1729698] Mon, 18 April 2016 08:32 Go to previous messageGo to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 25
Registered: January 2016
Junior Member
Hi,

thanks for the info.
I simply typed 'ocl' in the git.eclipse.org search field and it returned

http://git.eclipse.org/c/?q=ocl

Name
mdt
org.eclipse.ocl.git
ocl
org.eclipse.ocl.git
www.eclipse.org
modeling/mdt/ocl.git
ocl.git

I simply took the first as I am also not aware of the deprecated
mdt-container. As I found some source code in there, I assumed that I'm
in the right place. wrong assumption.

Cheers,
Hauke



Am 18.04.2016 10:18, schrieb Ed Willink:
> Hi
>
> The 'correct' way to find the repository is to look at
>
> https://projects.eclipse.org/projects/modeling.mdt.ocl/developer
>
> where it is shown as
>
> https://git.eclipse.org/r/ocl/org.eclipse.ocl
>
> and IIRC is maintained automatically by Eclipse IT management.
>
> Eclipse projects have been steadily de-containerising since few
> non-Eclipse people understood the emf/emft/gmf/mdt/m2m/m2t/tmf layer of
> container projects. The OCL GIT moved at least a couple of years go;
> maybe a symbolic link got cleaned up.
>
> If you can identify where you found the stale reference to
> git.eclipse.org/c/mdt/org.eclipse.ocl.git, I can fix it. Sorry for the
> confusion.
>
> Regards
>
> Ed Willink
>
>
>
> On 18/04/2016 08:09, Hauke Fuhrmann wrote:
>> Hi there,
>>
>> I'm trying to clone the OCL git repository to start playing around
>> with code.
>>
>> I'm looking at this website:
>> http://git.eclipse.org/c/mdt/org.eclipse.ocl.git/
>>
>> There is denoted a clone-url:
>> https://git.eclipse.org/r/mdt/org.eclipse.ocl
>>
>> This url gives me
>>
>> $ git clone https://git.eclipse.org/r/mdt/org.eclipse.ocl
>> Cloning into 'org.eclipse.ocl'...
>> fatal: remote error: Git repository not found
>>
>> Opening the URL in browser also returns "Not found".
>>
>> Is the URL not correct or should I re-check my setup?
>>
>> Cheers,
>> Hauke
>
Re: OCL git repository [message #1729701 is a reply to message #1729698] Mon, 18 April 2016 08:36 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 5513
Registered: July 2009
Senior Member
On 18/04/2016 09:18, Ed Willink wrote:
> If you can identify where you found the stale reference to
> git.eclipse.org/c/mdt/org.eclipse.ocl.git, I can fix it. Sorry for the
> confusion.
>
I fixed the OCL Wiki where Search for mdt/org.eclipse.ocl.git works wonders.

Regards

Ed Willink
Re: OCL git repository [message #1729706 is a reply to message #1729688] Mon, 18 April 2016 09:12 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 5513
Registered: July 2009
Senior Member
Hi

https://bugs.eclipse.org/bugs/show_bug.cgi?id=491889 raised for the
missing .../r/... symbolic link.

GIT URLs are not known to browsers and so even good ones give 'Not found'.

Regards

Ed Willink

On 18/04/2016 08:09, Hauke Fuhrmann wrote:
> Hi there,
>
> I'm trying to clone the OCL git repository to start playing around
> with code.
>
> I'm looking at this website:
> http://git.eclipse.org/c/mdt/org.eclipse.ocl.git/
>
> There is denoted a clone-url:
> https://git.eclipse.org/r/mdt/org.eclipse.ocl
>
> This url gives me
>
> $ git clone https://git.eclipse.org/r/mdt/org.eclipse.ocl
> Cloning into 'org.eclipse.ocl'...
> fatal: remote error: Git repository not found
>
> Opening the URL in browser also returns "Not found".
>
> Is the URL not correct or should I re-check my setup?
>
> Cheers,
> Hauke
Previous Topic:UML-OCL ; specifying constraints in the context of an association / association class
Next Topic:Standalone validation with CompleteOCL evaluates nothing
Goto Forum:
  


Current Time: Mon Dec 11 02:15:42 GMT 2017

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

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