Skip to main content


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 15:16 Go to next message
Marc Z is currently offline Marc ZFriend
Messages: 20
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 15:28 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
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


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: XBase dependency to xbase.lib [message #1060432 is a reply to message #1060425] Fri, 24 May 2013 15:37 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
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
Previous Topic:Creating xtext file as model from GMF
Next Topic:Blog post about Ecore EPackage import as reference
Goto Forum:
  


Current Time: Fri Apr 19 06:24:52 GMT 2024

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

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

Back to the top