Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EPP » How do I create a distributable zip of my plug-in?
How do I create a distributable zip of my plug-in? [message #9973] Fri, 29 August 2008 09:49 Go to next message
Prasanna K is currently offline Prasanna KFriend
Messages: 78
Registered: July 2009
Member
Hello,

I am using Eclipse 3.3.2 (Europa)

I created a distributable zip of my plug-in as folows :

File->Export->Plug-in Development->Deployable Plug-ins and Fragments->Next.
Selected my plug-in in the list 'Available plug-ins and fragments'
Selected the option 'Archive file' in 'Destination' tab.
Provided path using 'Browse' button and pressed Finish.

Eclipse did create a zip file.

I tried to install it as follows :

Help->Software Updates-> Find and Install->Search For New Features To
Install->New Archived Site.
Then I pointed Eclipse to the directory on the file system where my zip is.

I get a dialog with following message :
"Selected archive does not contain an update site. Please select another
archive."
What is it that I am doing wrong?

Is there any other way / procedure to create a distributable zip / jar of
my plug-in?

Thanks.
Re: How do I create a distributable zip of my plug-in? [message #9997 is a reply to message #9973] Fri, 29 August 2008 12:57 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

kaprasi wrote:
> Hello,
>
> I am using Eclipse 3.3.2 (Europa)
>
> I created a distributable zip of my plug-in as folows :
>
> File->Export->Plug-in Development->Deployable Plug-ins and Fragments->Next.
> Selected my plug-in in the list 'Available plug-ins and fragments'
> Selected the option 'Archive file' in 'Destination' tab.
> Provided path using 'Browse' button and pressed Finish.
>
> Eclipse did create a zip file.
>
> I tried to install it as follows :
>
> Help->Software Updates-> Find and Install->Search For New Features To
> Install->New Archived Site.
> Then I pointed Eclipse to the directory on the file system where my zip is.
>
> I get a dialog with following message : "Selected archive does not
> contain an update site. Please select another archive."
> What is it that I am doing wrong?
>
> Is there any other way / procedure to create a distributable zip / jar
> of my plug-in?

You need to create an update site project and build that; what you
created is just a zip of your feature/plugin, but an update site has
more than just that.
Note that you'll also have to have a Feature, as update sites work based
on features, not plugins directly.
The Eclipse Help has information on doing this under the "Plug-in
Development Environment" chapter.

Hope this helps,
Eric
Re: How do I create a distributable zip of my plug-in? [message #577836 is a reply to message #9973] Fri, 29 August 2008 12:57 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 2360
Registered: July 2009
Senior Member
kaprasi wrote:
> Hello,
>
> I am using Eclipse 3.3.2 (Europa)
>
> I created a distributable zip of my plug-in as folows :
>
> File->Export->Plug-in Development->Deployable Plug-ins and Fragments->Next.
> Selected my plug-in in the list 'Available plug-ins and fragments'
> Selected the option 'Archive file' in 'Destination' tab.
> Provided path using 'Browse' button and pressed Finish.
>
> Eclipse did create a zip file.
>
> I tried to install it as follows :
>
> Help->Software Updates-> Find and Install->Search For New Features To
> Install->New Archived Site.
> Then I pointed Eclipse to the directory on the file system where my zip is.
>
> I get a dialog with following message : "Selected archive does not
> contain an update site. Please select another archive."
> What is it that I am doing wrong?
>
> Is there any other way / procedure to create a distributable zip / jar
> of my plug-in?

You need to create an update site project and build that; what you
created is just a zip of your feature/plugin, but an update site has
more than just that.
Note that you'll also have to have a Feature, as update sites work based
on features, not plugins directly.
The Eclipse Help has information on doing this under the "Plug-in
Development Environment" chapter.

Hope this helps,
Eric
Previous Topic:How do I create a distributable zip of my plug-in?
Next Topic:EPP/Maynstall and Equinox P2
Goto Forum:
  


Current Time: Mon Nov 24 12:35:56 GMT 2014

Powered by FUDForum. Page generated in 0.13932 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software