Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] P2 API changes


These three seem simple, I wonder what you are doing with them that can't be done with the interfaces.

SimpleArtifactRepository -> IArtifactRepository
ArtifactKey  -> IArtifactKey and IArtifactRepository#createArtifactKey

DefaultAgentProvider -> IProvisioningAgentProvider, to get one, acquire the service, something like
                ServiceReference agentProviderRef = context.getServiceReference(IProvisioningAgentProvider.SERVICE_NAME);
                IProvisioningAgentProvider provider = (IProvisioningAgentProvider) context.getService(agentProviderRef);

-Andrew

From: Daniel Pastore <kpqb38@xxxxxxxxxxxx>
To: P2 developer discussions <p2-dev@xxxxxxxxxxx>
Date: 03/16/2010 09:03 AM
Subject: Re: [p2-dev] P2 API changes
Sent by: p2-dev-bounces@xxxxxxxxxxx





Hi Pascal,

we made some changes in our code, and we are now compliant with N20100314-2000.

We tried to remove all the dependencies from equinox.internal packages, but we still have some other listed below:


DefaultAgentProvider
ActionConstants.PARM_IU
ActionConstants.PARM_PROFILE
ActionConstants.PARM_TARGET_DIR
ActionConstants.PARM_TARGET_FILE
ActionConstants.PARM_PERMISSIONS
ChmodAction; ChmodAction.execute(Map<String, Object> parameters)
OrderedProperties
ArtifactKey
SimpleArtifactRepository
ProvUIImages.IMG_IU
ProvUIImages.IMG_CATEGORY
ProvUIActivator.getDefault().getImageRegistry().getDescriptor(key)
PreselectedIUInstallWizard
IProvHelpContextIds.INSTALL_WIZARD
UninstallWizard
IProvHelpContextIds.UNINSTALL_WIZARD)
StructuredViewerProvisioningListener
StructuredViewerProvisioningListener.PROV_EVENT_PROFILE)
ProvUI.addProvisioningListener(listener)
ProvUI.removeProvisioningListener(listener)


Do you guys see any changes on this list?
Better yet, can you suggest any replacements we should use?
--
Thanks,

Daniel Pastore
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev



Back to the top