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.
Difference between revisions of "Nebula/Contributions/Setup IDE"
(→Run Eclipse) |
(Fix git git command-line for setting the push URL) |
||
Line 21: | Line 21: | ||
C:\>cd org.eclipse.nebula | 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 | + | C:\org.eclipse.nebula>git remote set-url --push origin https://'''''yourname'''''@git.eclipse.org/r/p/nebula/org.eclipse.nebula.git |
− | + | ||
=== Start Eclipse === | === Start Eclipse === | ||
Open your Eclipse IDE and open the Git perspective | Open your Eclipse IDE and open the Git perspective |
Revision as of 11:02, 28 May 2015
Contents
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
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-url --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.
Review and press Finish
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
Open Nebula Perspective
Open the Nebula perspective and find the example view for your widget and test your changes. You can also test your changes by using the widget in a snippet or in your own project.