Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho now supports alternative Target locations

You may want to look into the mirror-target-to-repo goal of https://github.com/jbosstools/jbosstools-maven-plugins/wiki.

Mit freundlichen Grüßen / Best regards

Michael Keppler

LTO Release Engineering (ETAS/ESW-CI) 
Tel. +49 711 3423-2429 | Fax +49 711 89661-0 | Michael.Keppler@xxxxxxxx



-----Ursprüngliche Nachricht-----
Von: tycho-user-bounces@xxxxxxxxxxx <tycho-user-bounces@xxxxxxxxxxx> Im Auftrag von Christoph Läubrich
Gesendet: Mittwoch, 8. Juli 2020 14:14
An: tycho-user@xxxxxxxxxxx
Betreff: Re: [tycho-user] Tycho now supports alternative Target locations

That would be possible, the problem is only that such a target can be quite large.

If you think that you have a strong usecase for this I think it would be best added to the following ticket:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=550549

Am 08.07.20 um 12:01 schrieb Johan Compagner:
> Hi,
> 
> wouldn't it now be nice if there was some tycho command to say "make 
> this target local" ?
> and from that day on tycho uses the local definition that it cached 
> somewhere (maven repo) of that specific target version?
> 
> this is now our target pom:
> 
> https://github.com/Servoy/servoy-eclipse/blob/master/launch_targets/po
> m.xml
> 
> i could add a profile there that would "localize" the target fully..
> And from that moment on tycho uses the local target.
> 
> we do get a lot of these things:
> 
> Jul 08, 2020 9:53:48 AM org.apache.http.impl.execchain.RetryExec 
> execute
> INFO: I/O exception (org.apache.http.NoHttpResponseException) caught 
> when processing request to {s}->https://download.eclipse.org:443: The 
> target server failed to respond Jul 08, 2020 9:53:48 AM 
> org.apache.http.impl.execchain.RetryExec execute
> INFO: Retrying request to {s}->https://download.eclipse.org:443
> [INFO] Fetching p2.index from 
> https://download.eclipse.org/egit/updates-5.7/
> [INFO] Adding repository https://download.eclipse.org/egit/updates-5.7
> [INFO] Adding repository
> https://download.eclipse.org/tools/orbit/downloads/drops/R201602211921
> 58/repository
> [INFO] Fetching p2.index from
> http://developer.servoy.com/p2_repository/dltk_repository/2020.06/ 
> (177B) [INFO] Adding repository
> http://developer.servoy.com/p2_repository/dltk_repository/2020.06
> [INFO] Resolving dependencies of MavenProject: 
> com.servoy:com.servoy.eclipse.model:2020.6.0.3582 @ 
> /var/lib/jenkins/jobs/release/jobs/servoy-eclipse/workspace/com.servoy
> .eclipse.model/.polyglot.build.properties
> Jul 08, 2020 9:53:59 AM org.apache.http.impl.execchain.RetryExec 
> execute
> INFO: I/O exception (org.apache.http.NoHttpResponseException) caught 
> when processing request to {s}->https://download.eclipse.org:443: The 
> target server failed to respond Jul 08, 2020 9:53:59 AM 
> org.apache.http.impl.execchain.RetryExec execute
> INFO: Retrying request to {s}->https://download.eclipse.org:443
> 
> and our target resolvement is taken quite some time for a lot of 
> projects
> 
> So for me if tycho would have support now for getting a local (dir) 
> target then it would be even nicer if that could be fully automated 
> from a target definition
> 
> Kind of what we now do in our local eclipse.
> 
> So all our developers are exporting that target file to there local 
> disk and then have a special local.target pointing to that output and 
> using that as the actual target in eclipse.
> Because it is very annoying that sometimes if there is a network 
> problem developers are suddenly getting all kinds of problems because 
> Eclipse decided to check the target and failed todo so.
> 
> 
> On Wed, 8 Jul 2020 at 07:49, Christoph Läubrich <laeubi@xxxxxxxxxxxxxx 
> <mailto:laeubi@xxxxxxxxxxxxxx>> wrote:
> 
>     Until now it was only possible to use P2 based Update-sites with Tycho,
>     from now on the other location types (Directory, Feature, Installation)
>     are also supported.
> 
>     The feature is available in the up-comming 2.0 release line and as the
>     feature is relative new it would be good if people can test the feature
>     and give feedback if something is missing there.
> 
>     If using this feature the following things should be taken into account:
> 
>     * Because of the nature of file based locations you probably always
>     wan't to include the target project in the reactor build when you
>     reference files from that project as the reactor build is the only
>     source for tycho to find 'projects'. The same applies if you reference
>     other projects.
>     * only a very small subset of the available variables are supported at
>     the moment: Environment Variables, System-Properties and Project
>     references, if you feel something essential is missing please open a
>     bug
>     so we can add support for this.
>     _______________________________________________
>     tycho-user mailing list
>     tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
>     To unsubscribe from this list, visit
>     https://www.eclipse.org/mailman/listinfo/tycho-user
> 
> 
> 
> --
> Johan Compagner
> Servoy
> 
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/tycho-user
> 
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user

Back to the top