How do I create a distributable zip of my plug-in? [message #9973] |
Fri, 29 August 2008 05:49  |
Eclipse User |
|
|
|
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 08:57  |
Eclipse User |
|
|
|
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 08:57  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03588 seconds