Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[milo-dev] WG: Tutorial: Howto clone Milo (Cloning a Tag instead of a branch)

First mail wasn’t shared. 2nd try.

 

Von: Gattinger. Michael
Gesendet: Freitag, 10. Mai 2019 17:43
An: 'milo-dev-bounces@xxxxxxxxxxx' <milo-dev-bounces@xxxxxxxxxxx>
Betreff: Tutorial: Howto clone Milo (Cloning a Tag instead of a branch)

 

Hi,

 

the last weeks I had much trouble to clone and execute Milo with Eclipse.

Finally I think I solved it and want to tell you.

This Tutorial was written in May 2019. Ask at Milo-Mailinglist (https://accounts.eclipse.org/mailing-list/milo-dev) or main-developer (kevinherron@xxxxxxxxx) which Tag / Branch you should use.

At the time I wrote this Tutorial release 0.2.5 and branch v0.2.5 and branch master was not working for me. I was never able to configure it correctly. It finally worked with Tag v0.3.0-M1.

 

 

A)      Install Gitkraken and clone the repo

B)      Current local is master. We want v0.3.0-M1. Hard reset to this commit.

C)      Open eclipse new workspace and to standard configuration as related to your company

D)      Open Github perspective

E)      Click “Add an existing local Git repository” and choose the folder you cloned to with Gitkraken

F)       Open Java perspective

G)     Click “File” -> “Open Projects from File System…” and add the Projects. You can add a working set. It is to have more clear arrangement, if you have a workspace with multiple projects.

H)     It will load. Maybe few minutes. If you did use a working set you can choose in “Package Explorer” -> “Top Level Elements” ->  “Working Sets”

I)        “Error calculating classpath for project MavenProject” appears

J)        Configure a “Maven build…” with goals “clean install eclipse:clean eclipse:eclipse” and Skip Tests. Run this config.

K)      [INFO] BUILD SUCCESS should appear after several minutes. Choose “Maven -> Update Project…” -> “Select All”

L)       Error “Could not set the project description for ... because the project description file (.project) is out of sync with the file system.” At this point when I tried THIS TUTORIAL sometimes an other Error appears, but exactly the same project where strucked, but “sdk-tests”, too. Finally the other Error was able to be solved by M)

M)    Choose “Close Project” for all projects with failure. Open all closed projects.

N)     Now some project are missing “M” for “Maven project”. Choose “Configure” -> “Convert to Maven Project” for each. Maybe Eclipse stops converting. In this case close Eclipse and start again and continue.

O)     Choose “Maven” -> “Update Project…” -> “Select all”

P)      Error “calculating classpath for project MavenProject” can appear. Go on File-System and delete content of “C:\Users\%Username%\.m2\repository\org\eclipse\milo”. See Error Message (Path after “project MavenProject:”) for exact location, if you use this Tutorial for an other project than milo. Maybe Eclipse must be closed for deletion.

Q)     Execute milo build configuration again.

R)      See Tag “Problems” in Eclipse. There should be no Errors.

S)       Sometimes I was not finished now. If there are still Errors try to repeat again, maybe in different sequence:

a.       Close / open projects

b.       Always have an eye on the M that could disappear and convert to maven project again

c.       Maven Update for all Projects

d.       Execute Milo Build configuration again

e.       Deleting milo stuff in m2-folder

 

ð  SUCCESS

 

Thanks - Michael

 

gitkraken
10.05.2019 , 11:24:37
GitKraken

 

A)      Install Gitkraken and clone the repo

 

gitkraken
10.05.2019 , 11:25:36
GitKraken

 

 

 

gitkraken
10.05.2019 , 11:27:21
GitKraken

 

 

gitkraken
10.05.2019 , 11:28:11
GitKraken

 

B)      Current local is master. We want v0.3.0-M1. Hard reset to this commit.

 

 

gitkraken
10.05.2019 , 11:29:15
GitKraken

 

gitkraken
10.05.2019 , 11:29:56
GitKraken

 

C)      Open eclipse new workspace and to standard configuration as related to your company

 

eclipse
10.05.2019 , 11:31:47
Eclipse Platform Launcher

 

 

 

eclipse
10.05.2019 , 11:32:11
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

 

 

eclipse
10.05.2019 , 11:32:43
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

 

 

eclipse
10.05.2019 , 11:34:47
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

 

 

eclipse
10.05.2019 , 11:35:19
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

D)      Open Github perspective

 

eclipse
10.05.2019 , 11:35:48
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

 

 

eclipse
10.05.2019 , 11:36:16
Open Perspective

 

E)      Click “Add an existing local Git repository” and choose the folder you cloned to with Gitkraken

 

eclipse
10.05.2019 , 11:36:39
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

 

 

eclipse
10.05.2019 , 11:38:28
Add Git Repositories

 

F)       Open Java perspective

 

eclipse
10.05.2019 , 11:38:42
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

 

 

eclipse
10.05.2019 , 11:39:16
Open Perspective

 

G)     Click “File” -> “Open Projects from File System…” and add the Projects. You can add a working set. It is to have more clear arrangement, if you have a workspace with multiple projects.

 

eclipse
10.05.2019 , 11:39:58
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

 

 

eclipse
10.05.2019 , 11:42:16
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

 

 

eclipse
10.05.2019 , 11:42:54
Import Projects from File System or Archive

 

 

 

eclipse
10.05.2019 , 11:43:26
New Working Set

 

 

 

eclipse
10.05.2019 , 11:43:41
New Working Set

 

 

 

eclipse
10.05.2019 , 11:44:13
Import Projects from File System or Archive

 

 

H)     It will load. Maybe few minutes. If you did use a working set you can choose in “Package Explorer” -> “Top Level Elements” ->  “Working Sets”

 

 

eclipse
10.05.2019 , 11:44:33
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

eclipse
10.05.2019 , 11:45:33
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

 

 

eclipse
10.05.2019 , 11:45:52
Configure Working Sets

 

I)        “Error calculating classpath for project MavenProject” appears

 

eclipse
10.05.2019 , 14:24:12
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

J)        Configure a “Maven build…” with goals “clean install eclipse:clean eclipse:eclipse” and Skip Tests. Run this config.

 

eclipse
10.05.2019 , 14:27:08
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

 

 

eclipse
10.05.2019 , 14:30:35
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

 

 

eclipse
10.05.2019 , 14:30:41
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

K)      [INFO] BUILD SUCCESS should appear after several minutes. Choose “Maven -> Update Project…” -> “Select All”

 

eclipse
10.05.2019 , 14:34:34
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

 

 

eclipse
10.05.2019 , 14:35:13
Update Maven Project

 

L)       Error “Could not set the project description for ... because the project description file (.project) is out of sync with the file system.” At this point when I tried THIS TUTORIAL sometimes an other Error appears, but exactly the same project where strucked, but “sdk-tests”, too. Finally the other Error was able to be solved by M)

 

eclipse
10.05.2019 , 14:37:27
Error Updating Maven Configuration

 

 

 

firefox
10.05.2019 , 14:38:27
java - .project is out of sync with the file system Eclipse - Stack Overflow - Mozilla Firefox

 

M)    Choose “Close Project” for all projects with failure. Open all closed projects.

 

eclipse
10.05.2019 , 14:40:55
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

 

 

eclipse
10.05.2019 , 14:42:27
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

N)     Now some project are missing “M” for “Maven project”. Choose “Configure” -> “Convert to Maven Project” for each. Maybe Eclipse stops converting. In this case close Eclipse and start again and continue.

 

eclipse
10.05.2019 , 16:16:30
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

 

 

eclipse
10.05.2019 , 16:20:51
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

O)     Choose “Maven” -> “Update Project…” -> “Select all”

 

eclipse
10.05.2019 , 16:21:19
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

 

 

eclipse
10.05.2019 , 16:21:20
Update Maven Project

 

P)      Error “calculating classpath for project MavenProject” can appear. Go on File-System and delete content of “C:\Users\%Username%\.m2\repository\org\eclipse\milo”. See Error Message (Path after “project MavenProject:”) for exact location, if you use this Tutorial for an other project than milo. Maybe Eclipse must be closed for deletion.

 

firefox
10.05.2019 , 16:22:44
'Re: [Carbon-dev] Error calculating classpath for project' - MARC - Mozilla Firefox

 

 

 

eclipse
10.05.2019 , 16:23:01
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

 

 

explorer
10.05.2019 , 16:25:40
milo

 

Q)     Execute milo build configuration again.

 

eclipse
10.05.2019 , 16:25:44
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

R)      See Tag “Problems” in Eclipse. There should be no Errors.

 

eclipse
10.05.2019 , 17:03:28
workspace_milo_clone_with_gitkraken_for_tutorial - Eclipse Platform

 

S)       Sometimes I was not finished now. If there are still Errors try to repeat again, maybe in different sequence:

a.       Close / open projects

b.       Always have an eye on the M that could disappear and convert to maven project again

c.       Maven Update for all Projects

d.       Execute Milo Build configuration again

e.       Deleting milo stuff in m2-folder

 

Thanks - Michael






     


SEEBURGER AG   Vorstand/SEEBURGER Executive Board:
Sitz der Gesellschaft/Registered Office:   Axel Haas, Michael Kleeberg, Axel Otto, Dr. Martin Kuntz, Matthias Feßenbecker
Edisonstr. 1  
D-75015 Bretten Vorsitzende des Aufsichtsrats/Chairperson of the SEEBURGER Supervisory Board:
Tel.: 07252 / 96 - 0 Prof. Dr. Simone Zeuchner
Fax: 07252 / 96 - 2222
Internet: http://www.seeburger.de Registergericht/Commercial Register:
e-mail: info@xxxxxxxxxxxx HRB 240708 Mannheim


Dieses E-Mail ist nur für den Empfänger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungsäußerung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung der SEEBURGER AG dar. Sind Sie nicht der Empfänger, so haben Sie diese E-Mail irrtümlich erhalten und jegliche Verwendung, Veröffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder die SEEBURGER AG noch der Absender (Gattinger. Michael) übernehmen die Haftung für Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhänge auf Viren zu prüfen.

This email is intended only for the recipient(s) to whom it is addressed. This email may contain confidential material that may be protected by professional secrecy. Any fact or opinion contained, or _expression_ of the material herein, does not necessarily reflect that of SEEBURGER AG. If you are not the addressee or if you have received this email in error, any use, publication or distribution including forwarding, copying or printing is strictly prohibited. Neither SEEBURGER AG, nor the sender (Gattinger. Michael) accept liability for viruses; it is your responsibility to check this email and its attachments for viruses.


Back to the top