Re: [Dev] Effects of removing the already installed features from the "features" folder of a Product-Pack?

2016-02-11 Thread Shabir Mohamed
Hi,

As per an offline discussion with SameeraJ and Niranjan
, I was informed $subject has no significant impact and
that is the how it has been done in WSO2-AS [1]

.
We have followed the same approach in the WSO2-IoTServer pack.

[1]
https://github.com/wso2/product-as/blob/master/modules/distribution/src/assembly/dist.xml#L35

-
*Shabir Mohamed*
*Software Engineer*
WSO2 Inc.; http://wso2.com
Email: sha...@wso2.com 
Mobile: +94 77 3516019 | +94 71 6583393

On Wed, Jan 20, 2016 at 1:29 PM, Shabir Mohamed  wrote:

> Hi Chamara,
>
> Yes, I am aware that uninstalling of features needs to be done from the UI
> and cannot be done by just deleting them from the features folder.
>
> However, what i want to clarify is "what is the purpose of having the
> already installed features inside the features-folder in a product"??
>
> Doesn't it only contribute to increasing the pack size?? Or is there any
> other purpose I am missing??
>
> Thanks...
>
> -
> *Shabir Mohamed*
> *Software Engineer*
> WSO2 Inc.; http://wso2.com
> Email: sha...@wso2.com 
> Mobile: +94 77 3516019 | +94 71 6583393
>
> On Tue, Jan 19, 2016 at 7:59 PM, Chamara Philips 
> wrote:
>
>> Deleting the folders from "repository/components/features" folder will
>> not uninstall the feature properly. If you need to reinstall a feature the
>> best way to do is to uninstall it from the UI and then reinstall it.
>>
>> Thanks.
>>
>> On Tue, Jan 19, 2016 at 4:49 PM, Shabir Mohamed  wrote:
>>
>>> Hi,
>>>
>>> No. I just want to know what happens if I delete the features copied
>>> into the "repository/components/features" folder during the p2-profile-gen
>>> goal of the p2 pom after they have been installed?
>>>
>>> After the features have been installed, is it required for these
>>> features to still be there inside the features folder in the pack?
>>>
>>> Well one scenario which I could think of for it to be there is if
>>> someone wants to install a feature that he/she already uninstalled.
>>>
>>> Thanks
>>>
>>> -
>>> *Shabir Mohamed*
>>> *Software Engineer*
>>> WSO2 Inc.; http://wso2.com
>>> Email: sha...@wso2.com 
>>> Mobile: +94 77 3516019 | +94 71 6583393
>>>
>>> On Tue, Jan 19, 2016 at 3:58 PM, Irham Iqbal  wrote:
>>>
 Hi Shabir,

 Do you want to remove a installed feature from a product ?.

 Thanks,
 Iqbal

 On Tue, Jan 19, 2016 at 9:54 AM, Shabir Mohamed 
 wrote:

> Hi All,
>
> What could be the implications of $subject?
>
> Thanks
> -
> *Shabir Mohamed*
> *Software Engineer*
> WSO2 Inc.; http://wso2.com
> Email: sha...@wso2.com 
> Mobile: +94 77 3516019 | +94 71 6583393
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Irham Iqbal
 Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware
 phone: +94 777888452

>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Hareendra Chamara Philips
>> *Software  Engineer*
>> Mobile : +94 (0) 767 184161 <%2B94%20%280%29%20773%20451194>
>> chama...@wso2.com 
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Effects of removing the already installed features from the "features" folder of a Product-Pack?

2016-01-20 Thread Shabir Mohamed
Hi Chamara,

Yes, I am aware that uninstalling of features needs to be done from the UI
and cannot be done by just deleting them from the features folder.

However, what i want to clarify is "what is the purpose of having the
already installed features inside the features-folder in a product"??

Doesn't it only contribute to increasing the pack size?? Or is there any
other purpose I am missing??

Thanks...

-
*Shabir Mohamed*
*Software Engineer*
WSO2 Inc.; http://wso2.com
Email: sha...@wso2.com 
Mobile: +94 77 3516019 | +94 71 6583393

On Tue, Jan 19, 2016 at 7:59 PM, Chamara Philips  wrote:

> Deleting the folders from "repository/components/features" folder will
> not uninstall the feature properly. If you need to reinstall a feature the
> best way to do is to uninstall it from the UI and then reinstall it.
>
> Thanks.
>
> On Tue, Jan 19, 2016 at 4:49 PM, Shabir Mohamed  wrote:
>
>> Hi,
>>
>> No. I just want to know what happens if I delete the features copied into
>> the "repository/components/features" folder during the p2-profile-gen goal
>> of the p2 pom after they have been installed?
>>
>> After the features have been installed, is it required for these features
>> to still be there inside the features folder in the pack?
>>
>> Well one scenario which I could think of for it to be there is if someone
>> wants to install a feature that he/she already uninstalled.
>>
>> Thanks
>>
>> -
>> *Shabir Mohamed*
>> *Software Engineer*
>> WSO2 Inc.; http://wso2.com
>> Email: sha...@wso2.com 
>> Mobile: +94 77 3516019 | +94 71 6583393
>>
>> On Tue, Jan 19, 2016 at 3:58 PM, Irham Iqbal  wrote:
>>
>>> Hi Shabir,
>>>
>>> Do you want to remove a installed feature from a product ?.
>>>
>>> Thanks,
>>> Iqbal
>>>
>>> On Tue, Jan 19, 2016 at 9:54 AM, Shabir Mohamed  wrote:
>>>
 Hi All,

 What could be the implications of $subject?

 Thanks
 -
 *Shabir Mohamed*
 *Software Engineer*
 WSO2 Inc.; http://wso2.com
 Email: sha...@wso2.com 
 Mobile: +94 77 3516019 | +94 71 6583393

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Irham Iqbal
>>> Software Engineer - Test Automation
>>> WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>> phone: +94 777888452
>>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Hareendra Chamara Philips
> *Software  Engineer*
> Mobile : +94 (0) 767 184161 <%2B94%20%280%29%20773%20451194>
> chama...@wso2.com 
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Effects of removing the already installed features from the "features" folder of a Product-Pack?

2016-01-20 Thread Shabir Mohamed
Hi Chamara,

Yes, I am aware that uninstalling of features needs to be done from the UI
and cannot be done by just deleting them from the features folder.

However, what i want to clarify is "what is the purpose of having the
already installed features inside the features-folder in a product"??

Doesn't it only contribute to increasing the pack size?? Or is there any
other purpose I am missing??

Thanks...

On Tuesday, 19 January 2016, Chamara Philips  wrote:

> Deleting the folders from "repository/components/features" folder will
> not uninstall the feature properly. If you need to reinstall a feature the
> best way to do is to uninstall it from the UI and then reinstall it.
>
> Thanks.
>
> On Tue, Jan 19, 2016 at 4:49 PM, Shabir Mohamed  > wrote:
>
>> Hi,
>>
>> No. I just want to know what happens if I delete the features copied into
>> the "repository/components/features" folder during the p2-profile-gen goal
>> of the p2 pom after they have been installed?
>>
>> After the features have been installed, is it required for these features
>> to still be there inside the features folder in the pack?
>>
>> Well one scenario which I could think of for it to be there is if someone
>> wants to install a feature that he/she already uninstalled.
>>
>> Thanks
>>
>> -
>> *Shabir Mohamed*
>> *Software Engineer*
>> WSO2 Inc.; http://wso2.com
>> Email: sha...@wso2.com 
>> Mobile: +94 77 3516019 | +94 71 6583393
>>
>> On Tue, Jan 19, 2016 at 3:58 PM, Irham Iqbal > > wrote:
>>
>>> Hi Shabir,
>>>
>>> Do you want to remove a installed feature from a product ?.
>>>
>>> Thanks,
>>> Iqbal
>>>
>>> On Tue, Jan 19, 2016 at 9:54 AM, Shabir Mohamed >> > wrote:
>>>
 Hi All,

 What could be the implications of $subject?

 Thanks
 -
 *Shabir Mohamed*
 *Software Engineer*
 WSO2 Inc.; http://wso2.com
 Email: sha...@wso2.com
 
 Mobile: +94 77 3516019 | +94 71 6583393

 ___
 Dev mailing list
 Dev@wso2.org 
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Irham Iqbal
>>> Software Engineer - Test Automation
>>> WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>> phone: +94 777888452
>>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org 
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Hareendra Chamara Philips
> *Software  Engineer*
> Mobile : +94 (0) 767 184161 <%2B94%20%280%29%20773%20451194>
> chama...@wso2.com 
>
>

-- 
Sent from Shabirmean's Gmail Mobile
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Effects of removing the already installed features from the "features" folder of a Product-Pack?

2016-01-19 Thread Chamara Philips
Deleting the folders from "repository/components/features" folder will not
uninstall the feature properly. If you need to reinstall a feature the best
way to do is to uninstall it from the UI and then reinstall it.

Thanks.

On Tue, Jan 19, 2016 at 4:49 PM, Shabir Mohamed  wrote:

> Hi,
>
> No. I just want to know what happens if I delete the features copied into
> the "repository/components/features" folder during the p2-profile-gen goal
> of the p2 pom after they have been installed?
>
> After the features have been installed, is it required for these features
> to still be there inside the features folder in the pack?
>
> Well one scenario which I could think of for it to be there is if someone
> wants to install a feature that he/she already uninstalled.
>
> Thanks
>
> -
> *Shabir Mohamed*
> *Software Engineer*
> WSO2 Inc.; http://wso2.com
> Email: sha...@wso2.com 
> Mobile: +94 77 3516019 | +94 71 6583393
>
> On Tue, Jan 19, 2016 at 3:58 PM, Irham Iqbal  wrote:
>
>> Hi Shabir,
>>
>> Do you want to remove a installed feature from a product ?.
>>
>> Thanks,
>> Iqbal
>>
>> On Tue, Jan 19, 2016 at 9:54 AM, Shabir Mohamed  wrote:
>>
>>> Hi All,
>>>
>>> What could be the implications of $subject?
>>>
>>> Thanks
>>> -
>>> *Shabir Mohamed*
>>> *Software Engineer*
>>> WSO2 Inc.; http://wso2.com
>>> Email: sha...@wso2.com 
>>> Mobile: +94 77 3516019 | +94 71 6583393
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Irham Iqbal
>> Software Engineer - Test Automation
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>> phone: +94 777888452
>>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Hareendra Chamara Philips
*Software  Engineer*
Mobile : +94 (0) 767 184161 <%2B94%20%280%29%20773%20451194>
chama...@wso2.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Effects of removing the already installed features from the "features" folder of a Product-Pack?

2016-01-19 Thread Shabir Mohamed
Hi,

No. I just want to know what happens if I delete the features copied into
the "repository/components/features" folder during the p2-profile-gen goal
of the p2 pom after they have been installed?

After the features have been installed, is it required for these features
to still be there inside the features folder in the pack?

Well one scenario which I could think of for it to be there is if someone
wants to install a feature that he/she already uninstalled.

Thanks

-
*Shabir Mohamed*
*Software Engineer*
WSO2 Inc.; http://wso2.com
Email: sha...@wso2.com 
Mobile: +94 77 3516019 | +94 71 6583393

On Tue, Jan 19, 2016 at 3:58 PM, Irham Iqbal  wrote:

> Hi Shabir,
>
> Do you want to remove a installed feature from a product ?.
>
> Thanks,
> Iqbal
>
> On Tue, Jan 19, 2016 at 9:54 AM, Shabir Mohamed  wrote:
>
>> Hi All,
>>
>> What could be the implications of $subject?
>>
>> Thanks
>> -
>> *Shabir Mohamed*
>> *Software Engineer*
>> WSO2 Inc.; http://wso2.com
>> Email: sha...@wso2.com 
>> Mobile: +94 77 3516019 | +94 71 6583393
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Irham Iqbal
> Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
> phone: +94 777888452
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Effects of removing the already installed features from the "features" folder of a Product-Pack?

2016-01-19 Thread Irham Iqbal
Hi Shabir,

Do you want to remove a installed feature from a product ?.

Thanks,
Iqbal

On Tue, Jan 19, 2016 at 9:54 AM, Shabir Mohamed  wrote:

> Hi All,
>
> What could be the implications of $subject?
>
> Thanks
> -
> *Shabir Mohamed*
> *Software Engineer*
> WSO2 Inc.; http://wso2.com
> Email: sha...@wso2.com 
> Mobile: +94 77 3516019 | +94 71 6583393
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Irham Iqbal
Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
phone: +94 777888452
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Effects of removing the already installed features from the "features" folder of a Product-Pack?

2016-01-19 Thread Shabir Mohamed
Hi All,

What could be the implications of $subject?

Thanks
-
*Shabir Mohamed*
*Software Engineer*
WSO2 Inc.; http://wso2.com
Email: sha...@wso2.com 
Mobile: +94 77 3516019 | +94 71 6583393
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev