Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Best practices for Equinox/p2 on Vista or later
Best practices for Equinox/p2 on Vista or later [message #501696] Thu, 03 December 2009 09:21 Go to next message
Ben Vitale is currently offline Ben Vitale
Messages: 247
Registered: July 2009
Senior Member
(The inspiration for this post was partially from http://www.toedter.com/blog/?p=79#comment-16820)

It's never been clear to me the best practices for deploying an Eclipse based application on a Vista or Windows 7 machine, where the Program Files directory is write-protected. If one's application is installed to that directory, using p2 touchpoint actions like addRepository seem to have trouble, since the configuration and/or p2 directories can't be written to.

One possible workaround is to specify the -configuration location, although I don't know if that helps with the p2 directory.

Those who've had experience deploying in such a scenario... any guidelines?
Re: Best practices for Equinox/p2 on Vista or later [message #501835 is a reply to message #501696] Thu, 03 December 2009 19:04 Go to previous messageGo to next message
Eclipse User
Originally posted by: wangqs_eclipse.yahoo.com

Ben Vitale wrote:
> (The inspiration for this post was partially from
> http://www.toedter.com/blog/?p=79#comment-16820)
>
> It's never been clear to me the best practices for deploying an Eclipse
> based application on a Vista or Windows 7 machine, where the Program
> Files directory is write-protected. If one's application is installed to
> that directory, using p2 touchpoint actions like addRepository seem to
> have trouble, since the configuration and/or p2 directories can't be
> written to.
>
> One possible workaround is to specify the -configuration location,
> although I don't know if that helps with the p2 directory.
>
> Those who've had experience deploying in such a scenario... any guidelines?
I have tried a little with this. Take a look at
http://www.myeclipsedev.com/projects/p2installer.htm

Q.S Wang
--
http://www.myeclipsedev.com/
Re: Best practices for Equinox/p2 on Vista or later [message #501842 is a reply to message #501696] Thu, 03 December 2009 21:30 Go to previous message
Ben Vitale is currently offline Ben Vitale
Messages: 247
Registered: July 2009
Senior Member
Interesting.. I was not aware of the fix that was made in https://bugs.eclipse.org/bugs/show_bug.cgi?id=209192

I will have to investigate why that's not happening for my product...
Previous Topic:Equinox OSGi container doesn't recognize unix user secondary groups file permissions.
Next Topic:Install new Software command
Goto Forum:
  


Current Time: Sun Aug 31 02:29:41 EDT 2014

Powered by FUDForum. Page generated in 0.01716 seconds