Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Category information is not added to content.xml(Using the ant task eclipse.publish.featuresAndBundles with site.xml\category.xml does not add category information into content.xml)
Category information is not added to content.xml [message #1631027] Mon, 23 February 2015 14:47 Go to next message
Gidi Gal is currently offline Gidi GalFriend
Messages: 42
Registered: July 2009
Member
Hello to the forum members,

I am trying to write ant script to build and publish some plugins that my team is developing. I am using eclipse.publish.featuresAndBundles ant task with the argument site. When I look in the output of ant I see:
[eclipse.publish.featuresAndBundles] Generating metadata for ..
[eclipse.publish.featuresAndBundles] Generation completed with success [1 seconds].

However, when I set a site pointing to the files I created I get "there are no categorized items" message. I tried comparing the results of running build from Eclipse UI from updateSite project and saw that in content.xml the category information was added and in my ant build it was not.

I'll be grateful for your thoughts about any reason that category information was not added to content.xml.

Thanks,
Gidi
Re: Category information is not added to content.xml [message #1638928 is a reply to message #1631027] Fri, 27 February 2015 11:15 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 23/02/2015 15:47, Gidi Gal wrote:
> Hello to the forum members,
>
> I am trying to write ant script to build and publish some plugins that
> my team is developing. I am using eclipse.publish.featuresAndBundles
> ant task with the argument site. When I look in the output of ant I see:
> [eclipse.publish.featuresAndBundles] Generating metadata for ..
> [eclipse.publish.featuresAndBundles] Generation completed with success
> [1 seconds].
>
> However, when I set a site pointing to the files I created I get "there
> are no categorized items" message. I tried comparing the results of
> running build from Eclipse UI from updateSite project and saw that in
> content.xml the category information was added and in my ant build it
> was not.
> I'll be grateful for your thoughts about any reason that category
> information was not added to content.xml.

I think you need this as well

https://wiki.eclipse.org/Equinox/p2/Publisher#Category_Publisher

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Previous Topic:Publishing a folder in P2 installation ?
Next Topic:Creating an Update Site
Goto Forum:
  


Current Time: Tue Mar 19 06:38:45 GMT 2024

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

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

Back to the top