Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Problem with Access Restriction Error

>From a/META-INF/MANIFEST.MF:

Require-Bundle: org.eclipse.xtext.xbase;resolution:=optional;visibility:=reexport

I don't know how an optional dependency can be re-exported.
I'm not sure whether it makes sense. 

That said, optional dependencies should be on the compile classpath by default, see related

https://wiki.eclipse.org/Tycho/Release_Notes/0.14
https://bugs.eclipse.org/bugs/show_bug.cgi?id=351842


looks like this behaviour does not apply to re-exported optional dependencies.
I'm not sure if this should be considered a Tycho bug.

Anyways you can use jars.extra.classpath [1] if you don't want a runtime dependency in MANIFEST.MF.

Regards,
Jan

[1] https://www.eclipse.org/tycho/sitedocs/BuildProperties.html 



> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
> On Behalf Of Christian Dietrich
> Sent: Montag, 19. Januar 2015 08:25
> To: Tycho-user@xxxxxxxxxxx
> Subject: Re: [tycho-user] Problem with Access Restriction Error
> 
> Hi,
> 
> any news on that? should i file a bug?
> 
> Thanks,
> Christian
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top