|
|
Re: Standalone update: error with -to specified [message #252014 is a reply to message #251999] |
Sat, 12 June 2004 03:28   |
Eclipse User |
|
|
|
> What exactly are you doing?
> What is the command you launch, and what is the current platform.xml
(before
> launching) ? platform.xml is located in
> eclipse/configuration/org.eclipse.update.
I'm on Windows. I create a directory C:\test and extract the SDK there. No I
run from the console
[snip]
C:\test\eclipse>java -cp startup.jar
org.eclipse.core.launcher.Main -application
org.eclipse.update.core.standaloneUpdate -command install -from
http://dev.ecli
pse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-hom e/optionalSite/
-fea
tureId com.example.root -version 1.0.0 -to C:/test/eclipse
[snap]
I get:
[snip]
Command failed. Please check log file
C:\test\eclipse\workspace\.metadata\.log f
or details.
[snap]
and in the log file is
[snip]
!SESSION Jun 12, 2004
09:10:42.718 ---------------------------------------------
eclipse.buildId=I200405290105
java.version=1.4.2_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -application
org.eclipse.update.core.standaloneUpdate -command install -from
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-update-home
/optionalSite/ -featureId com.example.root -version 1.0.0 -to
C:/test/eclipse
!ENTRY org.eclipse.update.core 4 0 Jun 12, 2004 09:10:42.718
!MESSAGE Site already exists.
[snap]
If I run Eclipse first (so that the platform.xml exists), it's exactly the
same. The platform.xml:
[snip]
<?xml version="1.0" encoding="UTF-8"?>
<!--Created on Sat Jun 12 09:15:00 CEST 2004-->
<config version="3.0" date="1087024500125" transient="false">
<site url="platform:/base/" enabled="true" updateable="true"
policy="USER-EXCLUDE">
<feature id="org.eclipse.platform" primary="true" version="3.0.0"
application="org.eclipse.ui.ide.workbench"
url="features/org.eclipse.platform_3.0.0/"/>
<feature id="org.eclipse.platform.source" version="3.0.0"
url="features/org.eclipse.platform.source_3.0.0/"/>
<feature id="org.eclipse.jdt" version="3.0.0"
url="features/org.eclipse.jdt_3.0.0/"/>
<feature id="org.eclipse.jdt.source" version="3.0.0"
url="features/org.eclipse.jdt.source_3.0.0/"/>
<feature id="org.eclipse.pde" version="3.0.0"
url="features/org.eclipse.pde_3.0.0/"/>
<feature id="org.eclipse.sdk" version="3.0.0"
url="features/org.eclipse.sdk_3.0.0/"/>
</site>
</config>
[snap]
It works fine if I specify any other directory, e.g. C:\test\ext The feature
is the installed as extension. Subsequent updates to that extension
directory work also. So the problem seems to have to do with installing to
the base installation only.
Thanks for your help!
Ciao,
Leif
|
|
|
Re: Standalone update: error with -to specified [message #252314 is a reply to message #252014] |
Mon, 14 June 2004 10:44  |
Eclipse User |
|
|
|
Originally posted by: dorian.birsan.net
Thanks Leif.
Could you please open a bug on Platform Update ? Thanks.
In the meanwhile, try installing without the -to flag (it should default to
base location) or by using -to platform:/base/
-dorian
"Leif Frenzel" <himself@leiffrenzel.de> wrote in message
news:caeaqj$udn$1@eclipse.org...
> > What exactly are you doing?
> > What is the command you launch, and what is the current platform.xml
> (before
> > launching) ? platform.xml is located in
> > eclipse/configuration/org.eclipse.update.
> I'm on Windows. I create a directory C:\test and extract the SDK there. No
I
> run from the console
>
> [snip]
> C:\test\eclipse>java -cp startup.jar
> org.eclipse.core.launcher.Main -application
> org.eclipse.update.core.standaloneUpdate -command install -from
> http://dev.ecli
>
pse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-hom e/optionalSite/
> -fea
> tureId com.example.root -version 1.0.0 -to C:/test/eclipse
> [snap]
>
> I get:
>
> [snip]
> Command failed. Please check log file
> C:\test\eclipse\workspace\.metadata\.log f
> or details.
> [snap]
>
> and in the log file is
>
> [snip]
> !SESSION Jun 12, 2004
> 09:10:42.718 ---------------------------------------------
> eclipse.buildId=I200405290105
> java.version=1.4.2_01
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> Command-line arguments: -application
> org.eclipse.update.core.standaloneUpdate -command install -from
>
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-update-home
> /optionalSite/ -featureId com.example.root -version 1.0.0 -to
> C:/test/eclipse
> !ENTRY org.eclipse.update.core 4 0 Jun 12, 2004 09:10:42.718
> !MESSAGE Site already exists.
> [snap]
>
> If I run Eclipse first (so that the platform.xml exists), it's exactly the
> same. The platform.xml:
>
> [snip]
> <?xml version="1.0" encoding="UTF-8"?>
> <!--Created on Sat Jun 12 09:15:00 CEST 2004-->
> <config version="3.0" date="1087024500125" transient="false">
> <site url="platform:/base/" enabled="true" updateable="true"
> policy="USER-EXCLUDE">
> <feature id="org.eclipse.platform" primary="true" version="3.0.0"
> application="org.eclipse.ui.ide.workbench"
> url="features/org.eclipse.platform_3.0.0/"/>
> <feature id="org.eclipse.platform.source" version="3.0.0"
> url="features/org.eclipse.platform.source_3.0.0/"/>
> <feature id="org.eclipse.jdt" version="3.0.0"
> url="features/org.eclipse.jdt_3.0.0/"/>
> <feature id="org.eclipse.jdt.source" version="3.0.0"
> url="features/org.eclipse.jdt.source_3.0.0/"/>
> <feature id="org.eclipse.pde" version="3.0.0"
> url="features/org.eclipse.pde_3.0.0/"/>
> <feature id="org.eclipse.sdk" version="3.0.0"
> url="features/org.eclipse.sdk_3.0.0/"/>
> </site>
> </config>
> [snap]
>
> It works fine if I specify any other directory, e.g. C:\test\ext The
feature
> is the installed as extension. Subsequent updates to that extension
> directory work also. So the problem seems to have to do with installing to
> the base installation only.
>
> Thanks for your help!
>
> Ciao,
> Leif
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.15001 seconds