...
Info |
---|
Building from source is optional. Users who do not want to make changes to the source code can simply download the binary distribution of the product and install it. |
...
Excerpt | ||
---|---|---|
| ||
Note to writers: Add the below line after the above paragraph and complete the below command by giving the URL of the git repo of the respective product. (E.g. git clone https://github.com/wso2/product-apim) After downloading the source of the Carbon Kernel, execute the following command to download the source of the product: git clone |
After downloading the source of the Carbon Kernel, execute the following command to download the source of the product: git clone https://github.com/wso2/product-das
Note |
---|
After the source code is downloaded, you can start editing. However, it is recommended to run a build prior to changing the source code to ensure that the download is complete. |
...
To edit the source code in your IDE, set up your development environment by running one of the following commands:
IDE Command Additional information Eclipse mvn eclipse:eclipse
http://maven.apache.org/plugins/maven-eclipse-plugin IntelliJ IDEA mvn idea:idea
http://maven.apache.org/plugins/maven-idea-plugin - Add the required changes to the source code.
...
Use the following Maven commands to build your product:
Command | Description |
---|---|
mvn clean install | The binary and source distributions. |
mvn clean install -Dmaven.test.skip=true | The binary and source distributions, without running any of the unit tests. |
mvn clean install -Dmaven.test.skip=true -o | The binary and source distributions, without running any of the unit tests, in offline mode. This can be done only if you have already built the source at least once. |
Committing your changes
You can contribute to WSO2 products by committing your changes to GitHub. Whether you are a committer or a non-committer, you can contribute with your code as explained in the Get Involved section.