Hi Thusitha,

In C5 v5.2.0-m3, when we want to add a new runtime to a product (e.g.
adding dashboard runtime to Stream Processor product) what we did was,
- Installed the necessary features to that tuntime
- Added new startup scripts (dashboard.sh & dashboard.bat) for that runtime

However with the C5 v5.2.0-alpha version, I noticed that the carbon.sh
script has been changed with bunch of new variables (including $RUNTIME).
My query is on how one should write startup scripts (e.g. dashboard.sh &
dashboard.bat) for a particular runtime in the v5.2.0-alpha version.

Thanks.

On Fri, Sep 8, 2017 at 4:16 PM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Hi Sajith,
>
> Why do you want to write a runtime specific script?
>
> Thanks
> Thusitha
>
> On Fri, Sep 8, 2017 at 4:07 PM, SajithAR Ariyarathna <sajit...@wso2.com>
> wrote:
>
>> Hi Kernel Team,
>>
>> $subject?
>> In C5 v5.2.0-alpha, the place one put the runtime name in the carbon.sh
>> startup script is replaced with $RUNTIME variable [1]. Do we need to pass
>> that as an argument in the runtime startup script?
>>
>> [1] https://github.com/wso2/carbon-kernel/blob/v5.2.0-alpha/
>> features/org.wso2.carbon.runtime.feature/resources/
>> wso2/default/bin/carbon.sh#L285
>>
>> Thanks.
>>
>> --
>> Sajith Janaprasad Ariyarathna
>> Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
>> <https://wso2.com/signature>
>>
>
>
>
> --
> Thusitha Dayaratne
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809 <+94%2071%20275%206809>
> Blog      alokayasoya.blogspot.com
> About    http://about.me/thusithathilina
> <http://wso2.com/signature>
>
>


-- 
Sajith Janaprasad Ariyarathna
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
<https://wso2.com/signature>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to