Versions Compared

Key

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

...

  1. Import the root pom.xml file, which is in the <STRATOS_SOURCE>/ directory, to the IDE as a Maven project
  2. 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.
  3. 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)
  1. Go to the <STRATOS_SOURCE>/products/<PRODUCT_NAME>/modules/distribution/target/ directory.
  2. Extract the product's binary distribution file.  The extracted folder is referred to as PRODUCT_HOME.
  3. Go to the <PRODUCT_HOME>/bin/ directory.
  4. Execute the following command to run the product:
    stratos.sh 
  5. 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>