Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Fail build if p2 repository reference in target file is not found?

I've submitted an issue for this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=410698

I'm not sure I agree with the resolution you mention though. This should fail fast if the repo is not found on the server, it doesn't matter much if the cached value is months or minutes old.


On Thu, Jun 6, 2013 at 7:07 PM, Jeff MAURY <jeffmaury@xxxxxxxxxxxxx> wrote:
Bruno,

I think you can file a JIRA as Tycho should have discarded the local cached value as it was several monthes old.

Regards
Jeff


On Thu, Jun 6, 2013 at 8:03 PM, Bruno Medeiros <bruno.do.medeiros@xxxxxxxxx> wrote:
Hello.

Is there a way to fail a Tycho build if a required p2 repository referenced in a .target platform configuration is missing?

This is what's happening in this situation:
[INFO] Computing target platform for MavenProject: org.dsource:descent.compiler:0.6.1.qualifier @ D:\projects\DDT\descent.compiler\pom.xml
[WARNING] Failed to access p2 repository http://download.eclipse.org/tools/orbit/downloads/drops/S20130308121626/repository, use local cache.

The build was latently broken. But locally it still succeeded due to the local cache, and so this problem went unnoticed for a few months, until a build was attempted on a new machine.

--
Bruno Medeiros

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




--
Jeff MAURY


"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




--
Bruno Medeiros

Back to the top