[go: up one dir, main page]

Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » UpdateSItePublisher Error(Error running the UpdateSitePublisher)
UpdateSItePublisher Error [message #669276] Mon, 09 May 2011 17:11 Go to next message
Mark Russell is currently offline Mark RussellFriend
Messages: 32
Registered: July 2009
Location: Pittsburgh PA USA
Member
I'm trying to generate P2 metadata from a site.xml using org.eclipse.equinox.p2.publisher.UpdateSitePublisher. When I run it I get this error:
Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 org.eclipse.equinox.internal.p2.updatesite.SiteModel cannot be cast to org.eclipse.equinox.internal.p2.updatesite.SiteFeature java.lang.ClassCastException: org.eclipse.equinox.internal.p2.updatesite.SiteModel cannot be cast to org.eclipse.equinox.internal.p2.updatesite.SiteFeature

That does not help me to diagnose the issue. Is there a way to turn on more verbose output?

Thanks for Your Help,


Mark Russell
Software Engineer in Test
Google, Inc
Re: UpdateSItePublisher Error [message #669281 is a reply to message #669276] Mon, 09 May 2011 17:50 Go to previous message
Mark Russell is currently offline Mark RussellFriend
Messages: 32
Registered: July 2009
Location: Pittsburgh PA USA
Member
OK this is my error. The code I was using to generate the site.xml created bad XML. The way I figured this out was to go back to Generator and it gave me a stack trace which lead me to the subtle xml error. How come UpdateSitePublisher could not give me a more meaningful error?

Mark Russell
Software Engineer in Test
Google, Inc
Previous Topic:Generate update site during headless build?
Next Topic:Connection refused during install
Goto Forum:
  


Current Time: Fri Dec 13 15:24:20 GMT 2024

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

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

Back to the top