This documentation is for WSO2 Developer Studio version 3.7.0. View documentation for the latest release.
Page Comparison - Working with the Source Code (v.1 vs v.2) - Developer Studio 3.7.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

WSO2 invites you to contribute by checking out the source of WSO2 Developer Studio from the GitHub, building the product and making changes. You can contribute back by sending a pull request for review. For information on using the Git version control system, see the Git documentation.

Building from the source involves the following steps:

  1. Building from Source
  2. Building from Source

Check out the source

You can either clone or fork the WSO2 Developer Studio Git repository and build from source. 

Clone the repository

Code Block
$ git clone https://github.com/wso2/developer-studio.git

Build using Maven

Prerequisites

  • Install Maven and JDK. See Installation Prerequisites for compatible versions. 
  • Set the environment variable MAVEN_OPTS="-Xms768m -Xmx3072m -XX:MaxPermSize=1200m" to avoid the maven OutOfMemoryError.
  • Make sure the build server has an active Internet connection to download dependencies while building.

Following are the commands you can run to create complete release artifacts of WSO2 Developer Studio, including the binary and source distributions. 

  • To build the binary and source distributions.

    Code Block
    mvn clean install
  • To build the binary and source distributions, without running any of the unit tests.

    Code Block
    mvn clean install -Dmaven.test.skip=true
  • To build 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.

    Code Block
    mvn clean install -Dmaven.test.skip=true -o

The source code of all WSO2 products as well as the scripts that are used for building WSO2 products are maintained in GitHub repositories. If you are a developer, you can easily clone the source code from these Git repositories, and if required, you can do modifications and build a customized product on your own.

For more information, see Using Maven to Build WSO2 Products.