[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] build failures with latest snapshot

Thanks for the responses. I'll update our build accordingly.

For the record, here is the bug for handling optional dependencies
during compile-time:

 351842: builds fails when implicit target is used and optional
dependency is specified as non greedy in p2.inf
 https://bugs.eclipse.org/bugs/show_bug.cgi?id=351842

I would prefer if optional dependencies were resolved by default and
didn't need to be specified in the build.properties.

Steffen


On Fri, Aug 26, 2011 at 4:20 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:
> For optional dependencies, I think it is common to have optional runtime
> dependencies that are required for compilation, so I think we need a way
> to decouple compile- and run- time dependencies. Currently,
> jars.extra.classpath can be used to express compile-only dependencies,
> but I am not sure if this is the best solution going forward.
>
> For feature id matching bundle ID... just don't do it. I realize this
> will cause migration problems, but this never worked reliably
> before and there are no plans to support artifactId != bundle/feature ID
> in Tycho going forward (see [1]).
>
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=353384
>
> --
> Regards,
> Igor
>
> On 11-08-26 9:42 AM, Steffen Pingel wrote:
>>
>> Since the latest Tycho snapshot release Mylyn builds are starting to
>> fail. From a quick glance, there are two changes: Optional
>> dependencies are no longer resolved (we use implicit targets in
>> nightly builds) and Maven artifact ids are now expected to match
>> feature and plug-in ids.
>>
>> Concerning the optional dependencies, is the Tycho behavior going to
>> change again or do these now need to be marked as greedy in all
>> manifests (assuming that's the cause of the problem)?
>>
>> Changing artifact ids is easy but what is the recommended strategy in
>> case a plug-in and feature use the same id?
>>
>> Thanks,
>>
>> Steffen
>>
> _______________________________________________
> tycho-dev mailing list
> tycho-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-dev
>



-- 
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com