Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho and "Imported Packages"

1. is package org.eclipse.xtend2.lib exported by bundle org.eclipse.xtext.xtend2.lib without restriction (x-internal, x-friends,...)?

2. did you declare Import-Package: org.eclipse.xtend2.lib in your bundle manifest?

If the answer to both is yes, this could be a bug and we need a sample project to analyse.


-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Aaron Digulla
Sent: Freitag, 30. März 2012 10:29
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Tycho and "Imported Packages"


 From the documentation, I gathered that Tycho supports "Imported  
Packages" but when I compile Xtext 2.2 projects, I get this error:

1. ERROR in (at line 43)
         import org.eclipse.xtend2.lib.StringConcatenation;
Access restriction: The type StringConcatenation is not accessible due  
to restriction on classpath entry  

When I add the plugin org.eclipse.xtext.xtend2.lib to "Required  
Plug-ins", the error goes away.



Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."         
tycho-user mailing list

Back to the top