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

btw. I hope you guys are on tycho-user/dev a lot of good things being discussed there ;)

including answer to my question about "download all of p2 repos" and the answer is that it doesn't download all, it just consider all in there as part of the target platform.

Alarmingly though there are users reporting that 0.13 increases their build times *alot* so we should look at that and report our findings at https://bugs.eclipse.org/bugs/show_bug.cgi?id=356888

/max

On Sep 23, 2011, at 11:43, Max Rydahl Andersen wrote:

>> At least for me, using a Macosx and materializing a RCP product, 0.13.0 is the only way to go.
> 
> Yes, 0.13 is interesting because it will allow us to build JBDS fully with it…but individual jboss tools modules seems to get to be paying a rather big price for it.
> 
>> 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>
> 
> im not following what exactly would go into the target file ? got an example of that?
> 
> (the biggest problem with target files is that they are much slower than simply implicitly resolving against a p2 repo (at least in the past ;) 
> 
>> 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>
> 
> I prefer to put that into settings.xml so it works like a mirror - but in any case it doesn't scale well when every developer in a team needs to manually do this.
> 
> /max
> 
>> 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
>> 
>> _______________________________________________
>> tycho-user mailing list
>> tycho-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/tycho-user
> 
> /max
> http://about.me/maxandersen
> 
> 
> 

/max
http://about.me/maxandersen





Back to the top