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?

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

Back to the top