Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » [xbase] x-friends of org.eclipse.xtext.xbase
[xbase] x-friends of org.eclipse.xtext.xbase [message #663183] Mon, 04 April 2011 09:19 Go to next message
Maxim Frolov is currently offline Maxim FrolovFriend
Messages: 20
Registered: March 2010
Location: Aachen
Junior Member
Currently the Xbase bundle org.eclipse.xtext.xbase exports all packages to friends only (OSGi manifest of org.eclipse.xtext.xbase bundle exports every package with 'x-friends' parameter).

Using Xbase classes in own code causes warnings like this:
Discouraged access: The type IdentifiableSimpleNameProvider is not accessible due to restriction on required library D:\bin\eclipse-SDK-3.7M6-win32-x86_64\plugins\org.eclipse.xtext.xbase_2.0.0.v201103310511.jar


Why Xbase packages are not exported to the world?

Are they internal APIs?

Or are they just subject to change at this time and will be exposed with upcoming Xtext 2.0 release?

[Updated on: Mon, 04 April 2011 09:50]

Report message to a moderator

Re: x-friends of org.eclipse.xtext.xbase [message #663204 is a reply to message #663183] Mon, 04 April 2011 10:05 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Maxim,

the Xbase APIs are considered to be provisional. This is unlikely to
change for the 2.0 release but as soon as they are more mature, we'll
remove the export restriction for the affected packages.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 04.04.11 11:19, schrieb Maxim Frolov:
> Currently the Xbase bundle org.eclipse.xtext.xbase exports all packages
> to friends only (OSGi manifest of org.eclipse.xtext.xbase bundle exports
> every package with 'x-friends' parameter).
>
> Using Xbase classes in own code causes warnings like this:
> Discouraged access: The type IdentifiableSimpleNameProvider is not
> accessible due to restriction on required library
> D:\bin\eclipse-SDK-3.7M6-win32-x86_64\plugins\org.eclipse.xt ext.xbase_2.0.0.v201103310511.jar
>
>
>
> Why Xbase packages are not exported to the world?
> Are they internal APIs?
>
> Or are they just subject to change at this time and will be exposed with
> upcoming Xtext 2.0 release?
Previous Topic:Questio about JET (very old version) alternatives
Next Topic:Using single "'" / "Hiding" terminal rules
Goto Forum:
  


Current Time: Fri Apr 26 00:04:13 GMT 2024

Powered by FUDForum. Page generated in 0.03117 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top