...
Anchor | ||||
---|---|---|---|---|
|
Use your linux foundation account to login onto ONAP projects.
Get Project list by entering the project key name in the Filter, for example sdnc, this list of projects under sdnc will be shown as below:
Click on the wanted project from the list, the General page of the selected project will be shown. the following is the General page of sdnc/adaptors:
Now click on Clone with commit-msg hook, then click on http, then click on the notepad icon.
The git clone command for the selected project is now copied into your clipboard. You do paste to use it at where-ever you want to.
View Code on gerrit Website
ONAP code can also be viewed from gerrit web site as below (sdnc/adaptors project is used as the example here):
To view the coce through gerrit client, first follow steps in Get git command from ONAP gerrit to get the Projects list page.
Then, choose either one of the following option to view the code of the desired project.
Option 1: View Through "gitweb" Option in Project List Page
Note: this option will bring you to, and only to, the HEAD branch which is the master branch.
In the project list page, click on the gitweb under the Repository Browser column of your project row.
The master branch's summary page will be shown up. Click on the tree option.
Now, the repo details page will be shown and you can view the code in master branch from there.
Option 2: View from "Branches" Option in Project Page
Note: This option allows you to select a particular branch to view it code.
In the project list page, click the project under the Project Name column. (using sdnc/adaptors project as example here)
It takes you to the project General page, click on the Branches option.
The project page will be switched to Branches page. Check out the Branch Name column, click the gitweb on the same row of the desired branch.
The project Summary page of the selected branch will be shown up. Click on the tree option.
Info | ||
---|---|---|
| ||
This should have been done as part of IDE setting up following Setting Up Your Development Environment. Just in case you have missed it. If behind proxy, ensure git config has set http.proxy and https.proxy NVPs, check with the following command:
if not exist add the with the following commands:
here's an example:
|
Use your linux foundation account to login onto ONAP projects.
Get Project list by entering the project key name in the Filter, for example sdnc, this list of projects under sdnc will be shown as below:
Click on the wanted project from the list, the General page of the selected project will be shown. the following is the General page of sdnc/adaptors:
Now click on Clone with commit-msg hook, then click on http, then click on the notepad icon.
The git clone command for the selected project is now copied into your clipboard. You do paste to use it at where-ever you want to.
View Code on gerrit Website
ONAP code can also be viewed from gerrit web site as below (sdnc/adaptors project is used as the example here):
To view the coce through gerrit client, first follow steps in Get git command from ONAP gerrit to get the Projects list page.
Then, choose either one of the following option to view the code of the desired project.
Option 1: View Through "gitweb" Option in Project List Page
Note: this option will bring you to, and only to, the HEAD branch which is the master branch.
In the project list page, click on the gitweb under the Repository Browser column of your project row.
The master branch's summary page will be shown up. Click on the tree option.
Now, the repo details page will be shown and you can view the code in master branch from there.
Option 2: View from "Branches" Option in Project Page
Note: This option allows you to select a particular branch to view it code.
In the project list page, click the project under the Project Name column.
Compiling
Maven
Version has to be version greater or equal to 3.3.3
Ensure your maven is installed / set up as per instruction from Maven section of Setting Up Your Development Environment page.
File settings.xml
Get settings.xml file
...
(using sdnc/adaptors project as example here)
It takes you to the project General page, click on the Branches option.
The project page will be switched to Branches page. Check out the Branch Name column, click the gitweb on the same row of the desired branch.
The project Summary page of the selected branch will be shown up. Click on the tree option.
Now, the repo details page will be shown and you can view the code in master branch from there.
Compiling
Maven
Version has to be version greater or equal to 3.3.3
Ensure your maven is installed / set up as per instruction from Maven section of Setting Up Your Development Environment page.
File settings.xml
Get settings.xml file
Following instruction from Maven Example settings.xml section of Setting Up Your Development Environment page to get your setting.xml file.
Info | ||
---|---|---|
| ||
If behind proxy,
|
Configure settings file in IntelliJ
...