Xtext Classpath-Based global scoping [message #898961] |
Sun, 29 July 2012 11:38  |
Eclipse User |
|
|
|
In the Xtext Documentation I found the following:
"By default Xtext leverages the classpath mechanism since it is well designed and already understood by most of our users. The available tooling provided by JDT and PDE to configure the classpath adds even more value. However, it is just a default: You can reuse the infrastructure without using Java and independent from the JDT."
When I configure classpath-based global scoping as described in the help, the scoping works only if my project is Java Project (has Java Nature and Java Builder).
In other case, it doesn't work.
The questions is how I can reuse the infrastructure (classpath-based global scoping) without using Java and JDT?
|
|
|
|
Re: Xtext Classpath-Based global scoping [message #899056 is a reply to message #898961] |
Mon, 30 July 2012 07:32  |
Eclipse User |
|
|
|
On 2012-29-07 17:38, Sandra Shklyaeva wrote:
> In the Xtext Documentation I found the following:
>
> "By default Xtext leverages the classpath mechanism since it is well
> designed and already understood by most of our users. The available
> tooling provided by JDT and PDE to configure the classpath adds even
> more value. However, it is just a default: You can reuse the
> infrastructure without using Java and independent from the JDT."
>
> When I configure classpath-based global scoping as described in the
> help, the scoping works only if my project is Java Project (has Java
> Nature and Java Builder).
> In other case, it doesn't work.
>
> The questions is how I can reuse the infrastructure (classpath-based
> global scoping) without using Java and JDT?
If you want to look at a project that is using Eclipse Projects and that
sets up depedencies between projects based on meta data in the projects,
you can look at cloudsmith / geppetto @ github. No JDT functionality is
used in Geppetto.
Note that if you package a product that does not include jdt, there are
a couple of other things to also deal with regarding aggregatin of error
markers in the project/package/navigator views. (See the "jdt-ersatz"
stuff in geppetto what is needed).
Regards
- henrik
|
|
|
Powered by
FUDForum. Page generated in 0.05080 seconds