[fedora-java] generating eclipse dropin content.xml

Andrew Overholt overholt at redhat.com
Mon Feb 16 23:28:55 UTC 2009


* Robert Marcano <robert at marcanoonline.com> [2009-02-16 17:56]:
> but I do not know how to generate the content.xml (with only plugins
> and features directories, eclipse do not see them on the about
> window). Is there a way to generate it outside the pdebuild script?

Sure, you can use the p2 ant targets (make sure to run them with the
Eclipse antRunner application and not just plain ant).  I think there's
generate.p2.metadata among others.  But as it currently stands this is
just used to speed up initial installation so don't bend over backwards
trying to do it.  p2 will generate the same metadata upon first use and
plop it into the user's ~/.eclipse directory.

If they're not being seen, you may be a victim of:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=251167

Try running with -clean to see if they're picked up.  If they're still
not picked up, try putting the same directory somewhere on disk and
doing an installation from a local site and see if it completes or gives
dependency missing errors.

Andrew




More information about the java-devel mailing list