Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » XBase dependency to xbase.lib
XBase dependency to xbase.lib [message #1060425] Fri, 24 May 2013 11:16 Go to next message
Marc Z is currently offline Marc Z
Messages: 7
Registered: July 2012
Junior Member
Hi,

In order to fully enjoy Xbase syntax, I have to make sure that the org.eclipse.xtext.xbase.lib is included as a dependency in the MANIFEST of the project which consists of my DSL model.
This is only possible, if I create the project as an Eclipse plug-in project.

Is there another way to reference to the xbase.lib having my DSL model in a "normal" (not plug-in) project?

Marc
Re: XBase dependency to xbase.lib [message #1060430 is a reply to message #1060425] Fri, 24 May 2013 11:28 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 24570
Registered: July 2009
Senior Member
Marc,

You'd have to add it as a library to the Java Project's build path via
the properties for that Java project. Although I generally feel
compelled to point out to people that there's nothing that prevents a
PDE managed project from being used as an ordinary Java project to build
jars that will not be used with Eclipse. It's so much easier to manage
the dependencies and libraries verses messing directly with the
classpath for each and every project...


On 24/05/2013 5:16 PM, Marc Z wrote:
> Hi,
>
> In order to fully enjoy Xbase syntax, I have to make sure that the
> org.eclipse.xtext.xbase.lib is included as a dependency in the
> MANIFEST of the project which consists of my DSL model.
> This is only possible, if I create the project as an Eclipse plug-in
> project.
>
> Is there another way to reference to the xbase.lib having my DSL model
> in a "normal" (not plug-in) project?
>
> Marc
Re: XBase dependency to xbase.lib [message #1060432 is a reply to message #1060425] Fri, 24 May 2013 11:37 Go to previous message
Sven Efftinge is currently offline Sven Efftinge
Messages: 1668
Registered: July 2009
Senior Member
Yes, it is in maven central:
http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22org.eclipse.xtext.xbase.lib%22

Am 5/24/13 5:16 PM, schrieb Marc Z:
> Hi,
>
> In order to fully enjoy Xbase syntax, I have to make sure that the
> org.eclipse.xtext.xbase.lib is included as a dependency in the MANIFEST
> of the project which consists of my DSL model.
> This is only possible, if I create the project as an Eclipse plug-in
> project.
>
> Is there another way to reference to the xbase.lib having my DSL model
> in a "normal" (not plug-in) project?
>
> Marc


--
Need professional support for Xtext or other Eclipse Modeling technologies?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : http://blog.efftinge.de


--
Need professional support for Xtext and EMF?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Previous Topic:Creating xtext file as model from GMF
Next Topic:Blog post about Ecore EPackage import as reference
Goto Forum:
  


Current Time: Tue May 28 17:09:03 EDT 2013

Powered by FUDForum. Page generated in 0.01473 seconds