...
- Import the root
pom.xml
file, which is in the <STRATOS_SOURCE>/
directory, to the IDE as a Maven project - Execute
mvn clean
, mvn install
life-cycles of the root pom.xml to build the complete project. This will build all service stubs, components, features, products, and extensions. - Identify the components of the product that you would like to contribute and browse for them in the IDE.
To run or debug a product (on Linux/Unix)
- Go to the <
STRATOS_SOURCE>/products/<PRODUCT_NAME>/modules/distribution/target/
directory. - Extract the product's binary distribution file. The extracted folder is referred to as
PRODUCT_HOME
. - Go to the
<PRODUCT_HOME>/bin/
directory. - Execute the following command to run the product:
stratos.sh
- Execute the following command to start Apache Stratos in debug mode. Now a remote debugger can be attached to the given port via the IDE.
stratos.sh --debug <port>
{"serverDuration": 73, "requestCorrelationId": "18537b13fd27af00"}