Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Nebula/Contributions/Setup IDE"

Line 2: Line 2:
 
To provide patches to Nebula, create an Eclipse account, get your Gerrit password and push your changes to the Gerrit git repo.
 
To provide patches to Nebula, create an Eclipse account, get your Gerrit password and push your changes to the Gerrit git repo.
  
* [https://dev.eclipse.org/site_login/createaccount.php Create an Eclipse Account] (or use your existing one)
+
=== Create an Eclipse Account ===
* [http://wiki.eclipse.org/Development_Resources/Contributing_via_Git#Eclipse_Foundation_Contributor_License_Agreement Sign the CLA]
+
[https://dev.eclipse.org/site_login/createaccount.php Create an Eclipse Account] (or use your existing one)
* [https://git.eclipse.org/r/#/settings/http-password Get your Gerrit password]
+
=== Sign the CLA ===
* Clone the following repo https://'''''yourname'''''@git.eclipse.org/r/nebula/org.eclipse.nebula.git
+
[http://wiki.eclipse.org/Development_Resources/Contributing_via_Git#Eclipse_Foundation_Contributor_License_Agreement Sign the CLA]
 +
 
 +
=== Get your Gerrit password===
 +
[https://git.eclipse.org/r/#/settings/http-password Get your Gerrit password]
 +
 
 +
=== Clone the GIT repo ===
 +
Clone the following repo https://'''''yourname'''''@git.eclipse.org/r/nebula/org.eclipse.nebula.git
  
 
    
 
    
 
   C:\>git clone https://'''''yourname'''''@git.eclipse.org/r/nebula/org.eclipse.nebula.git
 
   C:\>git clone https://'''''yourname'''''@git.eclipse.org/r/nebula/org.eclipse.nebula.git
 
    
 
    
 
+
=== Change the push URI ===
* Change the push URI to https://'''''yourname'''''@git.eclipse.org/r/<big>'''''p'''''</big>/nebula/org.eclipse.nebula.git
+
Change the push URI to https://'''''yourname'''''@git.eclipse.org/r/<big>'''''p'''''</big>/nebula/org.eclipse.nebula.git
  
 
    
 
    
Line 17: Line 23:
 
   C:\org.eclipse.nebula>git remote set --push origin  https://'''''yourname'''''@git.eclipse.org/r/p/nebula/org.eclipse.nebula.git
 
   C:\org.eclipse.nebula>git remote set --push origin  https://'''''yourname'''''@git.eclipse.org/r/p/nebula/org.eclipse.nebula.git
 
    
 
    
 +
=== Start Eclipse ===
 +
Open your Eclipse IDE and open the Git perspective
  
* Open your Eclipse IDE and open the Git perspective
+
=== Add local Git repo ===
* Add a local git repository and find your freshly created repo
+
Add a local Git repository and find your freshly created repo
* Open Remotes/origin and open the context menu. Select Gerrit Configuration.
+
 
 +
=== Configure Gerrit ===
 +
Open Remotes/origin and open the context menu. Select Gerrit Configuration.
  
  
Line 26: Line 36:
  
  
* Review and press Finish
+
Review and press Finish
  
  
 
[[Image:nebula_ide2.png]]
 
[[Image:nebula_ide2.png]]
 +
 +
=== Import Projects ===
 +
Now you are ready to import the relevant projects. Import all widgets from the widgets directory and import the first two example projects from the example directory.
 +
 +
=== Run Eclipse ===
 +
Create a new run configuration and press Run
 +
 +
[[Image:nebula_ide3.png]]

Revision as of 11:28, 11 February 2015

Setup Your IDE

To provide patches to Nebula, create an Eclipse account, get your Gerrit password and push your changes to the Gerrit git repo.

Create an Eclipse Account

Create an Eclipse Account (or use your existing one)

Sign the CLA

Sign the CLA

Get your Gerrit password

Get your Gerrit password

Clone the GIT repo

Clone the following repo https://yourname@git.eclipse.org/r/nebula/org.eclipse.nebula.git


 C:\>git clone https://yourname@git.eclipse.org/r/nebula/org.eclipse.nebula.git
 

Change the push URI

Change the push URI to https://yourname@git.eclipse.org/r/p/nebula/org.eclipse.nebula.git


 C:\>cd org.eclipse.nebula
 C:\org.eclipse.nebula>git remote set --push origin  https://yourname@git.eclipse.org/r/p/nebula/org.eclipse.nebula.git
 

Start Eclipse

Open your Eclipse IDE and open the Git perspective

Add local Git repo

Add a local Git repository and find your freshly created repo

Configure Gerrit

Open Remotes/origin and open the context menu. Select Gerrit Configuration.


Nebula ide1.png


Review and press Finish


Nebula ide2.png

Import Projects

Now you are ready to import the relevant projects. Import all widgets from the widgets directory and import the first two example projects from the example directory.

Run Eclipse

Create a new run configuration and press Run

Nebula ide3.png

Back to the top