Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Generating Update Site Using PDE Build
Generating Update Site Using PDE Build [message #310522] Wed, 06 December 2006 20:44
Eclipse UserFriend
Originally posted by: cjcool.comcast.net

I am using Eclipse 3.2.1 and the corresponding PDE builder to generate a ZIP
representing my product. This works fine. However, I also want to generate
an update site based on my features but I haven't been able to get the
results I need.

According to the PDE Automation document
( http://www.eclipse.org/articles/Article-PDE-Automation/autom ation.html)
under the 'Build Update Site' section, there is a description of how to
build an update site using a target for features. Although this ant task
completes successfully and creates the JARs for my features/plugins, the
task does not create JARs for the features that are included in my feature
files.

For example, in one of my feature.xml files I have the following includes:

<includes id="org.eclipse.jdt" version="0.0.0" search-location="self" />
<includes id="org.eclipse.gef" version="0.0.0" search-location="self" />
<includes id="org.eclipse.platform" version="0.0.0" search-location="self"
/>
<includes id="org.eclipse.emf" version="0.0.0" search-location="self" />
<includes id="org.eclipse.jem" version="0.0.0" search-location="self" />
<includes id="org.eclipse.wst" version="0.0.0" search-location="self" />
<includes id="org.eclipse.wst.sdk" version="0.0.0" search-location="self"
/>
<includes id="org.eclipse.xsd" version="0.0.0" search-location="self" />

But the generated update site does not contain jars for these
features/plugins. If I take what PDE build produces and push it to my update
website, I get the following error when trying to update my plugins:

Unable to retrieve remote reference:
http://myupdatesite/myupdates/features/org.eclipse.jdt_3.2.1 .r321_v20060905-R4C

Note that for 'search-location' I have used the 'both' and 'self' values but
I still do not get the included features. If I manually copy the included
feature JARs to my update site, then the Update Manager is able to download
the new versions of my plugins.

I have also tried the 'outputUpdateJars=true' option in my build.properties
file. Although this builds my product ZIP as if it could be used for an
update site, it isn't what I was looking for. I could probably use this
solution and hack in an ant task to extract the feature/plugin JARs, but I'd
rather find a solution that is base on PDE Build.

In my build.properties file I have the 'baseLocation' property pointed at my
eclipse area: "/myproduct/target/base/win32/eclipse".

The build.xml file in my features area was generated from Eclipse using the
Create Ant Build File option. I have not modified anything in this file.

Thanks,

Chris
Previous Topic:go directly to the corresponding configuration page
Next Topic:Problem w/ update site and feature size
Goto Forum:
  


Current Time: Sun Oct 20 05:16:55 GMT 2024

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

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

Back to the top