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

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:


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] 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> 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
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user


--
Johan Compagner
Servoy

Back to the top