Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] tycho 0.13.0 released

Hi Max,

At least for me, using a Macosx and materializing a RCP product, 0.13.0 is the only way to go. But I can tell you that there are two options to avoid this download. I've listen some problems related a performance (https://bugs.eclipse.org/bugs/show_bug.cgi?id=356888) but I had no much problem with that.

1) You could create a TargetPlatform project using a target platform definition file that points to some local site or directories. This way you cant point you target-platform-configuration plugin to use it. I had no time to test this improvement yet: https://bugs.eclipse.org/bugs/show_bug.cgi?id=342808, but I will in a couple weeks.

<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<resolver>p2</resolver>
<pomDependencies>consider</pomDependencies>
<target>
<artifact>
<groupId>${project.groupId}</groupId>
<artifactId>my.target.project</artifactId>
<version>${project.version}</version>
<classifier>indigo</classifier>
</artifact>
</target>
</configuration>
</plugin>


2) you can download the entire P2 site locally, setup some local http server pointing to its folder and add the URL of the local p2 site to your POM:

<repository>
<id>Downloaded_P2</id>
<url>${my-local-site}</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<layout>p2</layout>

cheers

On 22/09/11 07:35, Max Rydahl Andersen wrote:
Great stuff, but got one question to:

"For p2 repositories specified in the POM as repositories with layout=p2, the entire content of the p2 repository is added to the target platform. (This is effectively the same behaviour as before, but the concept of an "implicit target platform" no longer exists.)"

Does this mean tycho will now always download the *complete* set of p2 repo's locally before it will start building a module ?

I hope that is not the case since that's gonna *kill* our CI builds where we reference p2 repos and use implicit target platform to speed things
up immensely (using target platforms slows things *Alot* and managing a concise target platform for every module is something we've avoided until now)

/max

On Sep 21, 2011, at 10:18, Sievers, Jan wrote:

Tycho 0.13.0 was released and is available from maven central.

See the release notes [1] and list of bug fixes and enhancements [2] for details.

--
Tycho Team

[1] http://wiki.eclipse.org/Tycho/Release_Notes/0.13
[2] https://bugs.eclipse.org/bugs/buglist.cgi?classification=Technology&product=Tycho&query_format=advanced&resolution=FIXED&target_milestone=0.13.0
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
/max
http://about.me/maxandersen



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



Back to the top