Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Can Tycho Compute target platform from local files instead of using nexus?

Tobias,

Thanks.  Now I know that my only option is to split my eclipse project to its own build path via a profile.  I'll vote on the bug.

Peter



On Thu, Apr 25, 2013 at 8:36 AM, Oberlies, Tobias <tobias.oberlies@xxxxxxx> wrote:

With regards to network traffic, I don’t think that target files are any better or worse than repositories with layout p2 in the POM.

 

For having p2 implement an update policy like Maven, there is only an open enhancement request [1] but nothing is implemented.

 

What does work is offline mode. You’d need to run without -o  though every now and then if the reference p2 repositories change.

 

Regards

Tobias

 

 

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=337022

 

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Jeff MAURY
Sent: Mittwoch, 24. April 2013 22:59
To: Tycho user list


Subject: Re: [tycho-user] Can Tycho Compute target platform from local files instead of using nexus?

 

The best way to do in Tycho is to use a target file and the target file will be referencing your Nexus P2 repository. I think this make no big difference except that if you use target file, then the content and index of the P2 repositories used by this target file will be cached somewhere in the Maven repository.

Jeff

 

On Wed, Apr 24, 2013 at 10:22 PM, Peter Kahn <citizenkahn@xxxxxxxxx> wrote:

Hi all,

We integrated tycho into a larger maven build.  Each time we build tycho starts "Computing target platform for MavenProject" and spends a minute chatting with our nexus p2 repository.  I'd like to configure tycho so it works similar to m2 snapshots and only checks nexus if the local p2 repository lacks files or once per day.

Is there a way to configur tycho to compute it's platform from $HOME/.m2/repository/p2 instead of the more remote nexus repository?


[INFO] Computing target platform for MavenProject: com....feature:4.0.0-SNAPSHOT @ trunk/.../pom.xml
[INFO] Loading repository 'http://download.eclipse.org/releases/juno' from mirror 'p2-internal-repository' at 'http://mynexus/nexus/content/groups/p2.group.public/'

Thanks

Peter


--
Peter Kahn
citizenkahn@xxxxxxxxx
http://www.google.com/profiles/citizenkahn
Awareness - Intention - Action


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




--
Jeff MAURY

Image removed by sender.


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury


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




--
Peter Kahn
citizenkahn@xxxxxxxxx
http://www.google.com/profiles/citizenkahn
Awareness - Intention - Action

Back to the top