Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Preferred way to offer zipped, standalone update sites?

Hi,

some of our users are working behind corporate firewalls which block or
otherwise disfigure .jar or .pack.gz files. To accommodate those users,
I am searching for a solution that packs (.zip and/or .tar.gz) a
(composite) update site such that it can be used standalone. However,
standalone should not mean completely self-contained. No need to ship
the entire Eclipse IDE, just to deliver our plugins...

Here's the solutions I have explored so far:

- Use tycho-p2-extras-plugin:mirror [1] + assembly:single

The mirror goal gives me pretty good control over why update sites are
included. Unfortunately, the goal seems to download all IUs anew on each
execution [2]. :-( Also, the maven-assembly-plugin is a bit heavy-weight
for just packing a directory.

- Use the tycho-p2-repository-plugin's includeAllDependencies option

AFAIK, includeAllDependencies takes its contents from the target
platform, which may or may not be the same content that the users of our
composite update site see. :-(

Also, I would have to create a new, nearly identical eclipse-repsitory
project (the only difference to the existing one being the value of
includeAllDependencies); while I can run multiple executions of
tycho-p2-repository:assemble-repository and :assembly-repository in a
single eclipse-repository project, I cannot get one of the executions to
use an output directory different from
${project.build.directory}/repository so I have to have another project.

Are there any other options I have missed?

Any pointers are greatly appreciated.

Andreas

[1]
<http://eclipse.org/tycho/sitedocs-extras/tycho-p2-extras-plugin/mirror-mojo.html>
[2] <https://bugs.eclipse.org/bugs/show_bug.cgi?id=463203>
[3]
<http://www.eclipse.org/tycho/sitedocs/tycho-p2/tycho-p2-repository-plugin/assemble-repository-mojo.html#includeAllDependencies>

-- 
Codetrails GmbH
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Phone: +49-6151-276-7092
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940


Back to the top