p2 installer provides extension points?

View: New views
7 Messages — Rating Filter:   Alert me  

p2 installer provides extension points?

by Pedro Carneiro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I would like to know if p2 installer provide extension points. If yes, which are them?
I'm asking this because in all the discussions that I read before the developers are modifying the native installer behavior. Is this the expected way to do this?

I did not find a lot of documentation about the new p2 equinox installer functionality (the great part comes from the eclipse wiki) and the found one does not talks about this.

Reading suggestions are always welcome.

Thanks.

Re: p2 installer provides extension points?

by Pascal Rapicault :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

If you are talking about the installer as available at http://download.eclipse.org/eclipse/equinox/drops/I20080609-1311/index.php, taking it apart / modifying / extending it is expected. This installer application has more the goal of being an exemplary application than being something to be reused directly out of the box even though it could.
In the long run, with everyone writing their own standalone installer based p2, I hope we can gather all this code and create a common base, or just have a pool of reusable components to share.

PaScaL

Inactive hide details for Pedro Carneiro ---06/12/2008 07:35:12 AM---Hi all, I would like to know if p2 installer provide extenPedro Carneiro ---06/12/2008 07:35:12 AM---Hi all, I would like to know if p2 installer provide extension points. If yes, which


From:

Pedro Carneiro <pjsc@...>

To:

equinox-dev@...

Date:

06/12/2008 07:35 AM

Subject:

[equinox-dev] p2 installer provides extension points?






Hi all,

I would like to know if p2 installer provide extension points. If yes, which
are them?
I'm asking this because in all the discussions that I read before the
developers are modifying the native installer behavior. Is this the expected
way to do this?

I did not find a lot of documentation about the new p2 equinox installer
functionality (the great part comes from the eclipse wiki) and the found one
does not talks about this.

Reading suggestions are always welcome.

Thanks.
--
View this message in context:
http://www.nabble.com/p2-installer-provides-extension-points--tp17737477p17737477.html
Sent from the Equinox - Dev mailing list archive at Nabble.com.

_______________________________________________
equinox-dev mailing list
equinox-dev@...
https://dev.eclipse.org/mailman/listinfo/equinox-dev





_______________________________________________
equinox-dev mailing list
equinox-dev@...
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Re: p2 installer provides extension points?

by Pedro Carneiro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Pascal,

Thanks for your reply.

As far as I understood, the given installer is an example given by Eclipse of how we can create an installer based on equinox (p2) and does not have extension points available (right now). Is that right?

The essence of my question is because I would like to create an installer on top of p2 and add some functionalities to it. As all eclipse-based products are distributed over the EPL license, I would like to know if have a way to contribute with new functionalities to it without modifying the given example code, that is, using its available extension points.

Thanks,

Pedro Carneiro.



Pascal Rapicault wrote:
Hi,

If you are talking about the installer as available at
http://download.eclipse.org/eclipse/equinox/drops/I20080609-1311/index.php,
taking it apart / modifying / extending it is expected. This installer
application has more the goal of being an exemplary application than being
something to be reused directly out of the box even though it could.
In the long run, with everyone writing their own standalone installer based
p2, I hope we can gather all this code and create a common base, or just
have a pool of reusable components to share.

PaScaL


                                                                                                                                             
  From:       Pedro Carneiro <pjsc@cesar.org.br>                                                                                              
                                                                                                                                             
  To:         equinox-dev@eclipse.org                                                                                                        
                                                                                                                                             
  Date:       06/12/2008 07:35 AM                                                                                                            
                                                                                                                                             
  Subject:    [equinox-dev] p2 installer provides extension points?                                                                          
                                                                                                                                             






Hi all,

I would like to know if p2 installer provide extension points. If yes,
which
are them?
I'm asking this because in all the discussions that I read before the
developers are modifying the native installer behavior. Is this the
expected
way to do this?

I did not find a lot of documentation about the new p2 equinox installer
functionality (the great part comes from the eclipse wiki) and the found
one
does not talks about this.

Reading suggestions are always welcome.

Thanks.
--
View this message in context:
http://www.nabble.com/p2-installer-provides-extension-points--tp17737477p17737477.html

Sent from the Equinox - Dev mailing list archive at Nabble.com.

_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


 
 
_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Re: p2 installer provides extension points?

by Pascal Rapicault :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Pedro,

You correctly understood the intent of the eclipse installer being provided. It is just an application and it has not been made to be extensible.
What kind of extension are you trying to make?

I'm not sure what you refer to when you mention "As all eclipse-based products are distributed over the EPL license" and how that affect what you are trying to do.

PaScaL

Inactive hide details for Pedro Carneiro ---06/12/2008 11:23:34 AM---Hi Pascal, Thanks for your reply.Pedro Carneiro ---06/12/2008 11:23:34 AM---Hi Pascal, Thanks for your reply.


From:

Pedro Carneiro <pjsc@...>

To:

equinox-dev@...

Date:

06/12/2008 11:23 AM

Subject:

Re: [equinox-dev] p2 installer provides extension points?






Hi Pascal,

Thanks for your reply.

As far as I understood, the given installer is an example given by Eclipse
of how we can create an installer based on equinox (p2) and does not have
extension points available (right now). Is that right?

The essence of my question is because I would like to create an installer on
top of p2 and add some functionalities to it. As all eclipse-based products
are distributed over the EPL license, I would like to know if have a way to
contribute with new functionalities to it without modifying the given
example code, that is, using its available extension points.

Thanks,

Pedro Carneiro.




Pascal Rapicault wrote:
>
>
> Hi,
>
> If you are talking about the installer as available at
>
http://download.eclipse.org/eclipse/equinox/drops/I20080609-1311/index.php,
> taking it apart / modifying / extending it is expected. This installer
> application has more the goal of being an exemplary application than being
> something to be reused directly out of the box even though it could.
> In the long run, with everyone writing their own standalone installer
> based
> p2, I hope we can gather all this code and create a common base, or just
> have a pool of reusable components to share.
>
> PaScaL
>
>
>                                                                                                                                              
>   From:       Pedro Carneiro <pjsc@...>                                                                                              
>                                                                                                                                              
>   To:         equinox-dev@...                                                                                                        
>                                                                                                                                              
>   Date:       06/12/2008 07:35 AM                                                                                                            
>                                                                                                                                              
>   Subject:    [equinox-dev] p2 installer provides extension points?                                                                          
>                                                                                                                                              
>
>
>
>
>
>
> Hi all,
>
> I would like to know if p2 installer provide extension points. If yes,
> which
> are them?
> I'm asking this because in all the discussions that I read before the
> developers are modifying the native installer behavior. Is this the
> expected
> way to do this?
>
> I did not find a lot of documentation about the new p2 equinox installer
> functionality (the great part comes from the eclipse wiki) and the found
> one
> does not talks about this.
>
> Reading suggestions are always welcome.
>
> Thanks.
> --
> View this message in context:
>
http://www.nabble.com/p2-installer-provides-extension-points--tp17737477p17737477.html
>
> Sent from the Equinox - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@...
>
https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
>  
>  
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@...
>
https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>

--
View this message in context:
http://www.nabble.com/p2-installer-provides-extension-points--tp17737477p17802640.html
Sent from the Equinox - Dev mailing list archive at Nabble.com.

_______________________________________________
equinox-dev mailing list
equinox-dev@...
https://dev.eclipse.org/mailman/listinfo/equinox-dev





_______________________________________________
equinox-dev mailing list
equinox-dev@...
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Re: p2 installer provides extension points?

by Pedro Carneiro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What I'm trying to say is that products developed by the Eclipse foundation are always distributed over the EPL license. This effects me directly because the product that I'm developing is closed source and so modifying this code directly 'hurts' what I'm doing here.

Some interesting extensions/functionalities that I'm trying to make are, for example, verify the available JRE version, verify the necessary and the available space required by the installation, shortcut creation and some little but useful things like that. In other words, things that installers like, for example, installshield usually does.

Do you guys have plans to build this kind of p2 installer core and make available some extension points for it? perhaps on 3.5.. :D

Congratulations for the good job.

Thanks,

Pedro Carneiro.




Pascal Rapicault wrote:
Hi Pedro,

You correctly understood the intent of the eclipse installer being
provided. It is just an application and it has not been made to be
extensible.
What kind of extension are you trying to make?

I'm not sure what you refer to when you mention "As all eclipse-based
products are distributed over the EPL license" and how that affect what you
are trying to do.

PaScaL


                                                                                                                                             
  From:       Pedro Carneiro <pjsc@cesar.org.br>                                                                                              
                                                                                                                                             
  To:         equinox-dev@eclipse.org                                                                                                        
                                                                                                                                             
  Date:       06/12/2008 11:23 AM                                                                                                            
                                                                                                                                             
  Subject:    Re: [equinox-dev] p2 installer provides extension points?                                                                      
                                                                                                                                             






Hi Pascal,

Thanks for your reply.

As far as I understood, the given installer is an example given by Eclipse
of how we can create an installer based on equinox (p2) and does not have
extension points available (right now). Is that right?

The essence of my question is because I would like to create an installer
on
top of p2 and add some functionalities to it. As all eclipse-based products
are distributed over the EPL license, I would like to know if have a way to
contribute with new functionalities to it without modifying the given
example code, that is, using its available extension points.

Thanks,

Pedro Carneiro.




Pascal Rapicault wrote:
>
>
> Hi,
>
> If you are talking about the installer as available at
>
http://download.eclipse.org/eclipse/equinox/drops/I20080609-1311/index.php,
> taking it apart / modifying / extending it is expected. This installer
> application has more the goal of being an exemplary application than
being
> something to be reused directly out of the box even though it could.
> In the long run, with everyone writing their own standalone installer
> based
> p2, I hope we can gather all this code and create a common base, or just
> have a pool of reusable components to share.
>
> PaScaL
>
>
>

>   From:       Pedro Carneiro <pjsc@cesar.org.br>

>

>   To:         equinox-dev@eclipse.org

>

>   Date:       06/12/2008 07:35 AM

>

>   Subject:    [equinox-dev] p2 installer provides extension points?

>

>
>
>
>
>
>
> Hi all,
>
> I would like to know if p2 installer provide extension points. If yes,
> which
> are them?
> I'm asking this because in all the discussions that I read before the
> developers are modifying the native installer behavior. Is this the
> expected
> way to do this?
>
> I did not find a lot of documentation about the new p2 equinox installer
> functionality (the great part comes from the eclipse wiki) and the found
> one
> does not talks about this.
>
> Reading suggestions are always welcome.
>
> Thanks.
> --
> View this message in context:
>
http://www.nabble.com/p2-installer-provides-extension-points--tp17737477p17737477.html

>
> Sent from the Equinox - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
>
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>

--
View this message in context:
http://www.nabble.com/p2-installer-provides-extension-points--tp17737477p17802640.html

Sent from the Equinox - Dev mailing list archive at Nabble.com.

_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


 
 
_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Re: p2 installer provides extension points?

by Pascal Rapicault :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I can't comment on the EPL as I'm not a lawyer, but I don't believe it hurts you as bad as you believe it does.

In 3.5 I think it would be great if p2 could allow for better desktop integration, however this will likely have to be driven by contributions. So if you are doing anything in that space and want to contribute it back this would be really great.
As for JRE version / discovery it is also something that we will have to eventually tackle.

PaScaL

Inactive hide details for Pedro Carneiro ---06/12/2008 12:44:38 PM---What I'm trying to say is that products developed by the EPedro Carneiro ---06/12/2008 12:44:38 PM---What I'm trying to say is that products developed by the Eclipse foundation are always distributed o


From:

Pedro Carneiro <pjsc@...>

To:

equinox-dev@...

Date:

06/12/2008 12:44 PM

Subject:

Re: [equinox-dev] p2 installer provides extension points?






What I'm trying to say is that products developed by the Eclipse foundation
are always distributed over the EPL license. This effects me directly
because the product that I'm developing is closed source and so modifying
this code directly 'hurts' what I'm doing here.

Some interesting extensions/functionalities that I'm trying to make are, for
example, verify the available JRE version, verify the necessary and the
available space required by the installation, shortcut creation and some
little but useful things like that. In other words, things that installers
like, for example, installshield usually does.

Do you guys have plans to build this kind of p2 installer core and make
available some extension points for it? perhaps on 3.5.. :D

Congratulations for the good job.

Thanks,

Pedro Carneiro.





Pascal Rapicault wrote:
>
>
> Hi Pedro,
>
> You correctly understood the intent of the eclipse installer being
> provided. It is just an application and it has not been made to be
> extensible.
> What kind of extension are you trying to make?
>
> I'm not sure what you refer to when you mention "As all eclipse-based
> products are distributed over the EPL license" and how that affect what
> you
> are trying to do.
>
> PaScaL
>
>
>                                                                                                                                              
>   From:       Pedro Carneiro <pjsc@...>                                                                                              
>                                                                                                                                              
>   To:         equinox-dev@...                                                                                                        
>                                                                                                                                              
>   Date:       06/12/2008 11:23 AM                                                                                                            
>                                                                                                                                              
>   Subject:    Re: [equinox-dev] p2 installer provides extension points?                                                                      
>                                                                                                                                              
>
>
>
>
>
>
> Hi Pascal,
>
> Thanks for your reply.
>
> As far as I understood, the given installer is an example given by Eclipse
> of how we can create an installer based on equinox (p2) and does not have
> extension points available (right now). Is that right?
>
> The essence of my question is because I would like to create an installer
> on
> top of p2 and add some functionalities to it. As all eclipse-based
> products
> are distributed over the EPL license, I would like to know if have a way
> to
> contribute with new functionalities to it without modifying the given
> example code, that is, using its available extension points.
>
> Thanks,
>
> Pedro Carneiro.
>
>
>
>
> Pascal Rapicault wrote:
>>
>>
>> Hi,
>>
>> If you are talking about the installer as available at
>>
>
http://download.eclipse.org/eclipse/equinox/drops/I20080609-1311/index.php,
>> taking it apart / modifying / extending it is expected. This installer
>> application has more the goal of being an exemplary application than
> being
>> something to be reused directly out of the box even though it could.
>> In the long run, with everyone writing their own standalone installer
>> based
>> p2, I hope we can gather all this code and create a common base, or just
>> have a pool of reusable components to share.
>>
>> PaScaL
>>
>>
>>
>
>>   From:       Pedro Carneiro <pjsc@...>
>
>>
>
>>   To:         equinox-dev@...
>
>>
>
>>   Date:       06/12/2008 07:35 AM
>
>>
>
>>   Subject:    [equinox-dev] p2 installer provides extension points?
>
>>
>
>>
>>
>>
>>
>>
>>
>> Hi all,
>>
>> I would like to know if p2 installer provide extension points. If yes,
>> which
>> are them?
>> I'm asking this because in all the discussions that I read before the
>> developers are modifying the native installer behavior. Is this the
>> expected
>> way to do this?
>>
>> I did not find a lot of documentation about the new p2 equinox installer
>> functionality (the great part comes from the eclipse wiki) and the found
>> one
>> does not talks about this.
>>
>> Reading suggestions are always welcome.
>>
>> Thanks.
>> --
>> View this message in context:
>>
>
http://www.nabble.com/p2-installer-provides-extension-points--tp17737477p17737477.html
>
>>
>> Sent from the Equinox - Dev mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> equinox-dev mailing list
>> equinox-dev@...
>>
https://dev.eclipse.org/mailman/listinfo/equinox-dev
>>
>>
>>
>>
>> _______________________________________________
>> equinox-dev mailing list
>> equinox-dev@...
>>
https://dev.eclipse.org/mailman/listinfo/equinox-dev
>>
>>
>
> --
> View this message in context:
>
http://www.nabble.com/p2-installer-provides-extension-points--tp17737477p17802640.html
>
> Sent from the Equinox - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@...
>
https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
>  
>  
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@...
>
https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>

--
View this message in context:
http://www.nabble.com/p2-installer-provides-extension-points--tp17737477p17804359.html
Sent from the Equinox - Dev mailing list archive at Nabble.com.

_______________________________________________
equinox-dev mailing list
equinox-dev@...
https://dev.eclipse.org/mailman/listinfo/equinox-dev





_______________________________________________
equinox-dev mailing list
equinox-dev@...
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Re: p2 installer provides extension points?

by John Arthorne :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


The installer doesn't really do anything very interesting. It really just creates a shell, prompts for install location, and then invokes IDirector.provision to perform the actual install. We never thought of the installer as the foundation for a commercial quality installer and thus didn't design much extensibility into it. It does have some minimal provisional API (package org.eclipse.equinox.internal.provisional.p2.installer), which I could imagine promoting to real API in 3.5. I suspect this still won't be sufficient for your needs and you would be better off writing your own installer that just invokes the IDirector API to perform the actual install.

John



Pedro Carneiro <pjsc@...>
Sent by: equinox-dev-bounces@...

06/12/2008 11:22 AM
Please respond to
Equinox development mailing list <equinox-dev@...>

To
equinox-dev@...
cc
Subject
Re: [equinox-dev] p2 installer provides extension points?






Hi Pascal,

Thanks for your reply.

As far as I understood, the given installer is an example given by Eclipse
of how we can create an installer based on equinox (p2) and does not have
extension points available (right now). Is that right?

The essence of my question is because I would like to create an installer on
top of p2 and add some functionalities to it. As all eclipse-based products
are distributed over the EPL license, I would like to know if have a way to
contribute with new functionalities to it without modifying the given
example code, that is, using its available extension points.

Thanks,

Pedro Carneiro.




Pascal Rapicault wrote:
>
>
> Hi,
>
> If you are talking about the installer as available at
> http://download.eclipse.org/eclipse/equinox/drops/I20080609-1311/index.php,
> taking it apart / modifying / extending it is expected. This installer
> application has more the goal of being an exemplary application than being
> something to be reused directly out of the box even though it could.
> In the long run, with everyone writing their own standalone installer
> based
> p2, I hope we can gather all this code and create a common base, or just
> have a pool of reusable components to share.
>
> PaScaL
>
>
>                                                                                                                                              
>   From:       Pedro Carneiro <pjsc@...>                                                                                              
>                                                                                                                                              
>   To:         equinox-dev@...                                                                                                        
>                                                                                                                                              
>   Date:       06/12/2008 07:35 AM                                                                                                            
>                                                                                                                                              
>   Subject:    [equinox-dev] p2 installer provides extension points?                                                                          
>                                                                                                                                              
>
>
>
>
>
>
> Hi all,
>
> I would like to know if p2 installer provide extension points. If yes,
> which
> are them?
> I'm asking this because in all the discussions that I read before the
> developers are modifying the native installer behavior. Is this the
> expected
> way to do this?
>
> I did not find a lot of documentation about the new p2 equinox installer
> functionality (the great part comes from the eclipse wiki) and the found
> one
> does not talks about this.
>
> Reading suggestions are always welcome.
>
> Thanks.
> --
> View this message in context:
> http://www.nabble.com/p2-installer-provides-extension-points--tp17737477p17737477.html
>
> Sent from the Equinox - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@...
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
>  
>  
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@...
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>

--
View this message in context: http://www.nabble.com/p2-installer-provides-extension-points--tp17737477p17802640.html
Sent from the Equinox - Dev mailing list archive at Nabble.com.

_______________________________________________
equinox-dev mailing list
equinox-dev@...
https://dev.eclipse.org/mailman/listinfo/equinox-dev


_______________________________________________
equinox-dev mailing list
equinox-dev@...
https://dev.eclipse.org/mailman/listinfo/equinox-dev