Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] how to consume update site zip?

No. As of 0.16, dependency resolution happens before actual build is
started, so it is not possible to perform any pre-build actions. We plan
to move dependency resolution to later/proper build phase eventually,
but this is a lot of work and it is unlikely to happen soon. The easiest
short-term solution is to wrap the build is a shell script and
download/unzip such zip repositories there.

--
Regards,
Igor

On 2013-01-04 12:41 PM, Max Spring wrote:
Hi Igor,
thank you for your quick response.
Is there a phase I can attach my own unpack action which would then run
prior to Tycho loading the repositories?
Regards,
-Max


On 01/03/2013 07:20 PM, Igor Fedorenko wrote:
Tycho does not currently support this and there are no plans to
implement such support in Tycho as far as I know.

I think Jan and Tobias wanted to implement Nexus plugin to make zipped
p2 repositories deployed to Nexus directly usable from Tycho or any p2
client, but I will let them comment on this.

--
Regards,
Igor

On Thu, Jan 3, 2013 at 8:32 PM, Max Spring <m2spring@xxxxxxxxxxxxx>
wrote:
I'm trying to consume a zipped-up update site sitting in a Maven
repository
[1].
Tycho (0.16.0) doesn't like the naive way ("..." indicates omission):

   <repository>
     <id>activiti</id>
     <layout>p2</layout>
     <url>https://...updatesite-5.11.1.zip</url>
   </repository>

It complains

   No repository found at https://...updatesite-5.11.1.zip

Or course, I could use the maven-dependency-plugin to unpack the zip
and use
a file:// URL.
That works, but I doesn't work in one aggregator.
(I brought this up last Aug [2].)

Is there any alternative?

Any suggestion would be highly appreciated.

-Max

[1]
https://maven.alfresco.com/nexus/content/groups/public/org/activiti/designer/org.activiti.designer.updatesite/5.11.1/org.activiti.designer.updatesite-5.11.1.zip

[2] http://dev.eclipse.org/mhonarc/lists/tycho-user/msg03177.html
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top