[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Installer and agent data location

What I noticed is that when I select the standalone installation option the
/p2/org.eclipse.equinox.p2.touchpoint.eclipse/plugins directory (of the
installer root directory) is copied to the /plugins directory (on the
installation directory). This is the expected behavior.
The problem I'm facing [and I think that probably you're facing too] is
about the shared installation option that does not copy the
/p2/org.eclipse.equinox.p2.touchpoint.eclipse/plugins directory to the
@user.home/.p2 directory. So, Eclipse is sharing all common plugins in the
installer directory instead of in the user home directory. In this way, if
we remove the installer directory, as suggested in the Eclipse wiki, the
eclipse installation does not works anymore.

1. Is there a bug to solve this problem or any available workaround?

I also noticed that I can not use the same p2installer to perform standalone
and share installations. I tried to do this (first the standalone
installation - that was ok -, and second the shared installation) and the
shared installation does not worked. It gives me a "The Eclipse executable
launcher was unable to locate its companion shared library." message.

2.1. Was this bug reported previously?
2.2. Is there any available workaround to this?

Thanks,

Pedro Carneiro



Torkild UlvÃy Resheim-2 wrote:
> 
> Hi,
> 
> I've been tweaking the new p2 installer to suit our needs and things are
> looking good except that I can't get the p2 agent data (the "p2" folder)
> to end up in the correct place. It always ends up in the root folder of
> the installer, not in the root folder of the installation.
> 
> Testing the original installer code (from HEAD) yields the same result
> even though looking at the code indicates that the p2 folder should be
> placed at the installation root when doing a standalone install. This is
> confirmed by the wiki pages for the installer which states that the
> installer may be removed when done. You may do that, but then the
> installation won't be p2-ized anymore.
> 
> I've also tried to set "eclipse.p2.agentLocation=@xxxxxxxxx/.p2" in the
> installer properties with the same result.
> 
> I suspect that there is a bug somewhere which causes the launcher's
> "eclipse.p2.data.area" to be used regardless. Any pointers on how to
> resolve this?
> 
> -- 
> Torkild
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
> 
> 


-----

pedro carneiro
-- 
View this message in context: http://www.nabble.com/Installer-and-agent-data-location-tp17755896p17756909.html
Sent from the Equinox - Dev mailing list archive at Nabble.com.