Error while updating RCP app through Eclipse Update Framework [message #330974] |
Wed, 20 August 2008 07:52  |
Eclipse User |
|
|
|
Hi All...
My update action code is like...
public void run() {
BusyIndicator.showWhile(window.getShell().getDisplay(),
new Runnable(){
public void run() {
UpdateJob job = new UpdateJob("Searching for Updates", false, false);
UpdateManagerUI.openInstaller(window.getShell(), job);
}
});
}
and I am getting error like
"Errors while parsing update policy [The entity name must immediately
follow the '&' in the entity reference.]
The entity name must immediately follow the '&' in the entity reference.
"
the log entry...
!SESSION 2008-08-20 13:11:37.953
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_09
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.update.core 4 0 2008-08-20 13:13:09.984
!MESSAGE Errors while parsing update policy [The entity name must
immediately follow the '&' in the entity reference.]
!STACK 0
org.xml.sax.SAXParseException: The entity name must immediately follow the
'&' in the entity reference.
at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(D OMParser.java:264)
at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(DocumentBuilderImpl.java:292)
at
org.eclipse.update.internal.search.UpdatePolicy.load(UpdateP olicy.java:122)
at
org.eclipse.update.internal.operations.UpdateUtils.loadUpdat ePolicy(UpdateUtils.java:534)
at
org.eclipse.update.search.UpdateSearchRequest.performSearch( UpdateSearchRequest.java:272)
at org.eclipse.update.ui.UpdateJob.runUpdates(UpdateJob.java:20 7)
at org.eclipse.update.ui.UpdateJob.run(UpdateJob.java:168)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
What 'll be the fix?
Thanks,
-arun
|
|
|
Re: Error while updating RCP app through Eclipse Update Framework [message #330976 is a reply to message #330974] |
Wed, 20 August 2008 09:05   |
Eclipse User |
|
|
|
I guess either your platform.xml or your your site.xml is not a well
formed XML. Can you check that?
- Prakash
www.eclipse-tips.com
Arunagiri wrote:
> Hi All...
>
> My update action code is like...
>
> public void run() {
> BusyIndicator.showWhile(window.getShell().getDisplay(),
> new Runnable(){
> public void run() {
> UpdateJob job = new UpdateJob("Searching for
> Updates", false, false);
> UpdateManagerUI.openInstaller(window.getShell(),
> job);
> }
>
> });
> }
>
> and I am getting error like
> "Errors while parsing update policy [The entity name must immediately
> follow the '&' in the entity reference.]
> The entity name must immediately follow the '&' in the entity reference.
> "
>
> the log entry...
>
> !SESSION 2008-08-20 13:11:37.953
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.5.0_09
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.update.core 4 0 2008-08-20 13:13:09.984
> !MESSAGE Errors while parsing update policy [The entity name must
> immediately follow the '&' in the entity reference.]
> !STACK 0
> org.xml.sax.SAXParseException: The entity name must immediately follow
> the '&' in the entity reference.
> at
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(D OMParser.java:264)
>
> at
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(DocumentBuilderImpl.java:292)
>
> at
> org.eclipse.update.internal.search.UpdatePolicy.load(UpdateP olicy.java:122)
> at
> org.eclipse.update.internal.operations.UpdateUtils.loadUpdat ePolicy(UpdateUtils.java:534)
>
> at
> org.eclipse.update.search.UpdateSearchRequest.performSearch( UpdateSearchRequest.java:272)
>
> at org.eclipse.update.ui.UpdateJob.runUpdates(UpdateJob.java:20 7)
> at org.eclipse.update.ui.UpdateJob.run(UpdateJob.java:168)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> What 'll be the fix?
>
> Thanks,
> -arun
>
|
|
|
Re: Error while updating RCP app through Eclipse Update Framework [message #330980 is a reply to message #330976] |
Wed, 20 August 2008 11:08   |
Eclipse User |
|
|
|
My site.xml is simple,
<?xml version="1.0" encoding="UTF-8"?>
<site>
<category-def name="OMS" label="OMS Features"/>
<feature
url=" features/com.touchpoint.pharma.outlet.claims.feature_1.0.0.j ar "
id="com.touchpoint.pharma.outlet.claims.feature" version="1.0.0">
<category name="OMS"/>
</feature>
</site>
I don't know where is the errorrrr?
Regards,
Arunagiri.K
|
|
|
|
Powered by
FUDForum. Page generated in 0.03184 seconds