[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [equinox-dev] [prov] removing profile iu properties

Not really sure what you mean here.  What is the purpose of 
	
ProfileChangeRequest#removeInstallableUnitProfileProperty(IInstallableUnit
iu, String key)

If I remove an installable unit from a profile and all the IU's profile
properties are toasted, what is the key argument.  If the IU profile
properties are not removed, then chances are garbage will be left around.

Jeff

> -----Original Message-----
> From: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-
> bounces@xxxxxxxxxxx] On Behalf Of Pascal Rapicault
> Sent: Saturday, February 16, 2008 8:33 PM
> To: Equinox development mailing list
> Cc: 'Equinox development mailing list'; equinox-dev-bounces@xxxxxxxxxxx
> Subject: Re: [equinox-dev] [prov] removing profile iu properties
> 
> This is supposed to be achieved by engine as the change request is
> being
> processed.
> 
> 
> |------------>
> | From:      |
> |------------>
>   >--------------------------------------------------------------------
> -----------------------------------------------------------------------
> -------|
>   |"Jeff McAffer" <jeff@xxxxxxxxx>
> |
>   >--------------------------------------------------------------------
> -----------------------------------------------------------------------
> -------|
> |------------>
> | To:        |
> |------------>
>   >--------------------------------------------------------------------
> -----------------------------------------------------------------------
> -------|
>   |"'Equinox development mailing list'" <equinox-dev@xxxxxxxxxxx>
> |
>   >--------------------------------------------------------------------
> -----------------------------------------------------------------------
> -------|
> |------------>
> | Date:      |
> |------------>
>   >--------------------------------------------------------------------
> -----------------------------------------------------------------------
> -------|
>   |02/16/2008 12:34 PM
> |
>   >--------------------------------------------------------------------
> -----------------------------------------------------------------------
> -------|
> |------------>
> | Subject:   |
> |------------>
>   >--------------------------------------------------------------------
> -----------------------------------------------------------------------
> -------|
>   |[equinox-dev] [prov] removing profile iu properties
> |
>   >--------------------------------------------------------------------
> -----------------------------------------------------------------------
> -------|
> 
> 
> 
> 
> 
> Looking through ProfileChangeRequest it seems that when an IU is
> removed,
> its associated profile properties are not removed.  What is the usecase
> for
> this?  Seems like it would result in garbage properties being left
> about.
> Would it make sense to have a default API that removed all properties
> related to an IU and if there is a scenario where properties should be
> left
> around callers can use a different sequence?
> 
> Jeff_______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
> 
> 
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-dev