Search code examples
wso2jaggery-js

How to run WSO2 EMM Jaggery Web App in a WSO2 EMM Carbon Server?


I have been using WSO2 EMM product for a while. I imported emm jaggery web app project, which is located under modules/apps/ folder. into the WSO2 Eclipse Developer Studio and it is imported as a regular jaggery web app project.

I want to quickly change and run just the emm jaggery web app project (lets say some hbs files, page-layout etc.) and quickly review the impacts of the new design. Is there a way to do this quickly?

Best


Solution

  • Finally i have found a simple solution to reflect the Jaggery Web App changes to the running system via symbolic links.

    After you have build the system successfully, the zip archive file is created at the product-emm/modules/distribution/target/wso2emm-1.1.0 directory.

    Unzip the file and for linking Jaggery Web Apps locate to the product-emm/modules/distribution/target/wso2emm-1.1.0/repository/deployment/server/jaggeryappsdirectory where the web applications are bundled.

    And give symbolic links by removing the old bundled ones and linking apps like ln -s ../../../../../../../apps/emm/ . to the product-emm/modules//apps/ location where the real development is going on.

    Final picture will look like something like this. After this you can change the code and see the effect without reloading the server.

    enter image description here