[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Single ZIP deployment

From: Aaron Digulla <digulla_at_hepe.com>
Date: 2005-10-23 15:27:42 CEST

Robert Schwebel wrote:
> Hi,
>
> It seems like it is currently not possible to have a single zip file
> of subclipse which is "just extracted" to the usual eclipse hierarchy,
> without using a local download site.
>
> How do other people handle eclipse deployment? We would like to bundle
> stuff for our customers on a CD, and as I currently can simply extract
> all other components by simply unzipping them from a script, it would be
> great if that worked with subclipse as well.

Try this command:

java -cp startup.jar org.eclipse.core.launcher.Main \
-application org.eclipse.update.core.standaloneUpdate \
-command mirror \
-from http://subclipse.tigris.org/update \
-to some_dir

creates a mirror of the Subclipse update site in the directory "some_dir".

You can then point Eclipse to "some_dir" by adding this as a local
mirror site and install the updates just as you always do.

The URL after "-from" is exactly the same which you would use in the
Update Manager. The command merges the downloads for you, so you can
just as easily mirror several sites and offer them to your users in one
convenient place.

I just noticed one thing: With Eclipse 3.0, the dependencies were *NOT*
resolved, so when one installed JDT 3.0.1, it wouldn't install the
platform 3.0.1 and Eclipse would no longer start. In that case, you must
manually delete the new directories or use the other commands of the
standaloneUpdate to disable them (see the Eclipse docs for more info).

Hope this helps,

-- 
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://www.philmann-dark.de/
Received on Sun Oct 23 23:27:42 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.