Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Problem to create update site for Ganymed
Problem to create update site for Ganymed [message #11561] Tue, 08 July 2008 06:53 Go to next message
Eclipse UserFriend
Originally posted by: mliebelt.web.de

Hello all together,

I'm trying now for some days to upgrade the update site of our company to
Ganymed, and I'm not really happy with what I have reached up to now.

Currently, I have the following problems:
* All provides features are listed in Ganymed as "Uncategorized". Because
we provide categories for our features, I'm not at all happy with that.
Even worse, because we bundle plugins of others with our configuration,
additional help ... I would like to only see our entries.
* When I follow the road to generate metadata for the update site (see
http://wiki.eclipse.org/Equinox_p2_Metadata_Generator), I see all
categories, but no features any more.

This is what I have done:
1. I have created a new update site to ensure that nothing of the old site
is there.
2. I have created the 4 categories we want to structure the features.
3. I have added the features to the categories they belong to.
4. I have created all features without any warning. I can find them in
<update-site>/features and <update-site>/plugins.
5. I have created a new directory, installed there a fresh eclipse,
created a new workspace and opened the "Software Updates..." dialog.
6. I have added there the site to the local directory (<update-site>).

Then the problems are visible as described up.

Does anyone has a clue what I am missing here?

I have appended the created update site file site.xml to that email, just
that you can see that there is no magic at all.

Bye
Markus
=====
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/de.tsi.eclipse.checkstyle_2.5.1.jar"
id="de.tsi.eclipse.checkstyle" version="2.5.1">
<category name="Java Development"/>
</feature>
<feature url="features/de.tsi.eclipse.eclemma_2.5.1.jar"
id="de.tsi.eclipse.eclemma" version="2.5.1">
<category name="Java Development"/>
</feature>
<feature url="features/de.tsi.eclipse.findbugs_2.5.1.jar"
id="de.tsi.eclipse.findbugs" version="2.5.1">
<category name="Java Development"/>
</feature>
<feature url="features/de.tsi.eclipse.pmd_2.5.1.jar"
id="de.tsi.eclipse.pmd" version="2.5.1">
<category name="Java Development"/>
</feature>
<feature url="features/de.tsi.eclipse.subversive33_2.5.1.jar"
id="de.tsi.eclipse.subversive33" version="2.5.1">
<category name="Subversion"/>
</feature>
<feature url="features/de.tsi.eclipse.amateras_2.5.1.jar"
id="de.tsi.eclipse.amateras" version="2.5.1">
<category name="Web Development"/>
</feature>
<feature url="features/de.tsi.eclipse.html_tidy_2.5.1.jar"
id="de.tsi.eclipse.html_tidy" version="2.5.1">
<category name="Web Development"/>
</feature>
<feature url="features/de.tsi.eclipse.noref_2.5.1.jar"
id="de.tsi.eclipse.noref" version="2.5.1">
<category name="Java Development"/>
</feature>
<category-def name="Java Development" label="Java Development"/>
<category-def name="Subversion" label="Subversion"/>
<category-def name="Web Development" label="Web Development"/>
<category-def name="Issuetracking Integration" label="Issuetracking
Integration"/>
</site>
====

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: Problem to create update site for Ganymed [message #12839 is a reply to message #11561] Sat, 19 July 2008 06:05 Go to previous message
Eclipse UserFriend
Originally posted by: mliebelt.web.de

Hello all together,

just as an information, I solved my problem by doing the following:
1. Create all plugins and features by using "Build all" in PDE.
2. Create a new update site (on my local filesystem) that is a copy of the
old one.
3. Copied the created features and plugins into that new update site.
4. Copied the generated site.xml file (but only that one) to the new
created update site

In my opinion, this is less than optimal. I would like to use PDE in a P2
sense, which means that I get the additional meta information that P2
needs to speed up the appearance to the customer.

By the way, is it possible that even if you have an update site in your
intranet (which is available without a proxy), that you need to have set a
proxy so that other update site (or even feature and plugin information)
could be read from the internet?

When doing a test with the new created update site, the update manager
hang and I had to kill Eclipse and restart it, set the proxy in a proper
way. Only then it worked as expected.

Bye
Markus

On Tue, 08 Jul 2008 12:53:20 +0200, Markus Liebelt <mliebelt@web.de> wrote:

> Hello all together,
>
> I'm trying now for some days to upgrade the update site of our company
> to Ganymed, and I'm not really happy with what I have reached up to now.
>
> Currently, I have the following problems:
> * All provides features are listed in Ganymed as "Uncategorized".
> Because we provide categories for our features, I'm not at all happy
> with that. Even worse, because we bundle plugins of others with our
> configuration, additional help ... I would like to only see our entries.
> * When I follow the road to generate metadata for the update site (see
> http://wiki.eclipse.org/Equinox_p2_Metadata_Generator), I see all
> categories, but no features any more.
>
> This is what I have done:
> 1. I have created a new update site to ensure that nothing of the old
> site is there.
> 2. I have created the 4 categories we want to structure the features.
> 3. I have added the features to the categories they belong to.
> 4. I have created all features without any warning. I can find them in
> <update-site>/features and <update-site>/plugins.
> 5. I have created a new directory, installed there a fresh eclipse,
> created a new workspace and opened the "Software Updates..." dialog.
> 6. I have added there the site to the local directory (<update-site>).
>
> Then the problems are visible as described up.
>
> Does anyone has a clue what I am missing here?
>
> I have appended the created update site file site.xml to that email,
> just that you can see that there is no magic at all.
>
> Bye
> Markus
> =====
> <?xml version="1.0" encoding="UTF-8"?>
> <site>
> <feature url="features/de.tsi.eclipse.checkstyle_2.5.1.jar"
> id="de.tsi.eclipse.checkstyle" version="2.5.1">
> <category name="Java Development"/>
> </feature>
> <feature url="features/de.tsi.eclipse.eclemma_2.5.1.jar"
> id="de.tsi.eclipse.eclemma" version="2.5.1">
> <category name="Java Development"/>
> </feature>
> <feature url="features/de.tsi.eclipse.findbugs_2.5.1.jar"
> id="de.tsi.eclipse.findbugs" version="2.5.1">
> <category name="Java Development"/>
> </feature>
> <feature url="features/de.tsi.eclipse.pmd_2.5.1.jar"
> id="de.tsi.eclipse.pmd" version="2.5.1">
> <category name="Java Development"/>
> </feature>
> <feature url="features/de.tsi.eclipse.subversive33_2.5.1.jar"
> id="de.tsi.eclipse.subversive33" version="2.5.1">
> <category name="Subversion"/>
> </feature>
> <feature url="features/de.tsi.eclipse.amateras_2.5.1.jar"
> id="de.tsi.eclipse.amateras" version="2.5.1">
> <category name="Web Development"/>
> </feature>
> <feature url="features/de.tsi.eclipse.html_tidy_2.5.1.jar"
> id="de.tsi.eclipse.html_tidy" version="2.5.1">
> <category name="Web Development"/>
> </feature>
> <feature url="features/de.tsi.eclipse.noref_2.5.1.jar"
> id="de.tsi.eclipse.noref" version="2.5.1">
> <category name="Java Development"/>
> </feature>
> <category-def name="Java Development" label="Java Development"/>
> <category-def name="Subversion" label="Subversion"/>
> <category-def name="Web Development" label="Web Development"/>
> <category-def name="Issuetracking Integration" label="Issuetracking
> Integration"/>
> </site>
> ====
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: Problem to create update site for Ganymed [message #573492 is a reply to message #11561] Sat, 19 July 2008 06:05 Go to previous message
Eclipse UserFriend
Hello all together,

just as an information, I solved my problem by doing the following:
1. Create all plugins and features by using "Build all" in PDE.
2. Create a new update site (on my local filesystem) that is a copy of the
old one.
3. Copied the created features and plugins into that new update site.
4. Copied the generated site.xml file (but only that one) to the new
created update site

In my opinion, this is less than optimal. I would like to use PDE in a P2
sense, which means that I get the additional meta information that P2
needs to speed up the appearance to the customer.

By the way, is it possible that even if you have an update site in your
intranet (which is available without a proxy), that you need to have set a
proxy so that other update site (or even feature and plugin information)
could be read from the internet?

When doing a test with the new created update site, the update manager
hang and I had to kill Eclipse and restart it, set the proxy in a proper
way. Only then it worked as expected.

Bye
Markus

On Tue, 08 Jul 2008 12:53:20 +0200, Markus Liebelt <mliebelt@web.de> wrote:

> Hello all together,
>
> I'm trying now for some days to upgrade the update site of our company
> to Ganymed, and I'm not really happy with what I have reached up to now.
>
> Currently, I have the following problems:
> * All provides features are listed in Ganymed as "Uncategorized".
> Because we provide categories for our features, I'm not at all happy
> with that. Even worse, because we bundle plugins of others with our
> configuration, additional help ... I would like to only see our entries.
> * When I follow the road to generate metadata for the update site (see
> http://wiki.eclipse.org/Equinox_p2_Metadata_Generator), I see all
> categories, but no features any more.
>
> This is what I have done:
> 1. I have created a new update site to ensure that nothing of the old
> site is there.
> 2. I have created the 4 categories we want to structure the features.
> 3. I have added the features to the categories they belong to.
> 4. I have created all features without any warning. I can find them in
> <update-site>/features and <update-site>/plugins.
> 5. I have created a new directory, installed there a fresh eclipse,
> created a new workspace and opened the "Software Updates..." dialog.
> 6. I have added there the site to the local directory (<update-site>).
>
> Then the problems are visible as described up.
>
> Does anyone has a clue what I am missing here?
>
> I have appended the created update site file site.xml to that email,
> just that you can see that there is no magic at all.
>
> Bye
> Markus
> =====
> <?xml version="1.0" encoding="UTF-8"?>
> <site>
> <feature url="features/de.tsi.eclipse.checkstyle_2.5.1.jar"
> id="de.tsi.eclipse.checkstyle" version="2.5.1">
> <category name="Java Development"/>
> </feature>
> <feature url="features/de.tsi.eclipse.eclemma_2.5.1.jar"
> id="de.tsi.eclipse.eclemma" version="2.5.1">
> <category name="Java Development"/>
> </feature>
> <feature url="features/de.tsi.eclipse.findbugs_2.5.1.jar"
> id="de.tsi.eclipse.findbugs" version="2.5.1">
> <category name="Java Development"/>
> </feature>
> <feature url="features/de.tsi.eclipse.pmd_2.5.1.jar"
> id="de.tsi.eclipse.pmd" version="2.5.1">
> <category name="Java Development"/>
> </feature>
> <feature url="features/de.tsi.eclipse.subversive33_2.5.1.jar"
> id="de.tsi.eclipse.subversive33" version="2.5.1">
> <category name="Subversion"/>
> </feature>
> <feature url="features/de.tsi.eclipse.amateras_2.5.1.jar"
> id="de.tsi.eclipse.amateras" version="2.5.1">
> <category name="Web Development"/>
> </feature>
> <feature url="features/de.tsi.eclipse.html_tidy_2.5.1.jar"
> id="de.tsi.eclipse.html_tidy" version="2.5.1">
> <category name="Web Development"/>
> </feature>
> <feature url="features/de.tsi.eclipse.noref_2.5.1.jar"
> id="de.tsi.eclipse.noref" version="2.5.1">
> <category name="Java Development"/>
> </feature>
> <category-def name="Java Development" label="Java Development"/>
> <category-def name="Subversion" label="Subversion"/>
> <category-def name="Web Development" label="Web Development"/>
> <category-def name="Issuetracking Integration" label="Issuetracking
> Integration"/>
> </site>
> ====
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Previous Topic:Problem with reloading target platform
Next Topic:Extension point schema for org.eclipse.ui.editors (and others) cannot be found
Goto Forum:
  


Current Time: Fri May 09 19:48:36 EDT 2025

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

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

Back to the top