Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Standalone update: error with -to specified
Standalone update: error with -to specified [message #251837] Fri, 11 June 2004 11:35 Go to next message
Eclipse UserFriend
Hi,

when I try the 'Installing a feature from a remote site' from

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-update-home/doc/working/documentation/standalone_update .html

and specify the directory of an Eclipse installation where I want the
feature installed to (with the -to option), I get an error message (in the
log file) that says: 'Site already exists.'

What's going wrong here?

Thanks && ciao,
Leif
Re: Standalone update: error with -to specified [message #251999 is a reply to message #251837] Fri, 11 June 2004 20:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dorian.birsan.net

"Leif Frenzel" <lfrenzel@innoopract.de> wrote in message
news:caciun$d64$1@eclipse.org...
> Hi,
>
> when I try the 'Installing a feature from a remote site' from
>
>
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-update-home/doc/working/documentation/standalone_update .html
>
> and specify the directory of an Eclipse installation where I want the
> feature installed to (with the -to option), I get an error message (in the
> log file) that says: 'Site already exists.'
>
> What's going wrong here?

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.

-dorian

>
> Thanks && ciao,
> Leif
>
>
Re: Standalone update: error with -to specified [message #252014 is a reply to message #251999] Sat, 12 June 2004 03:28 Go to previous messageGo to next message
Eclipse UserFriend
> 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 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:Ant CVS task error=2 - and my PATH is set!?
Next Topic:Adding dynamically a menu to the menu bar
Goto Forum:
  


Current Time: Sat Jul 19 08:04:22 EDT 2025

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

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

Back to the top