Character corruption in the content.xml [message #816714] |
Fri, 09 March 2012 07:17 |
Shigekazu Takei Messages: 2 Registered: March 2012 |
Junior Member |
|
|
I have a problem with Eclipse-plugin update site.
Does anyone have the same problem or some advises??
The problem is partial character corruption in the content.xml when connecting to remote update site on Jenkins.
1, Building Eclipse-plugin with maven-tycho-plugin
on Jenkins 1.451 running at a remote server.
2, Set files to lastSuccessfulBuild/artifact
3, Try to install the built plugin by "Install New Software",
indicating the update site like this:
ex) ----/lastSuccessfulBuild/artifact/project_repository/target/site/
4, Eclipse can't resolve the repository,
because the contents in cache/content...jar get corrupted.
java.io.IOException: Element type "touchpoint" must be followed by either attribute specifications, ">" or "/>".
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryIO$Parser.parse(MetadataRepositoryIO.java:215)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryIO.read(MetadataRepositoryIO.java:63)
at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:107)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:749)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:651)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob.doLoad(LoadMetadataRepositoryJob.java:117)
at org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob.runModal(LoadMetadataRepositoryJob.java:102)
at org.eclipse.equinox.internal.p2.ui.sdk.PreloadingRepositoryHandler$2.runModal(PreloadingRepositoryHandler.java:82)
at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
In case I get the content.jar from browser, the content.xml does not have character corruption.
Additionally, when I tried same procedure on local Jenkins, the update site works.
I doubt some jenkins settings now, but can't figure out what setting affects this problem...
I would like to ask how to resolve this problem.
Thank you in advance!!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03189 seconds