|
|
Re: Creating Jackrabbit's CND file editor [message #554388 is a reply to message #554378] |
Sun, 22 August 2010 18:44 |
Sven Efftinge Messages: 1823 Registered: July 2009 |
Senior Member |
|
|
Did you read the documentation? It is installed into Eclipse Help as
well as availabel online : http://www.eclipse.org/Xtext/documentation/
Am 8/22/10 7:32 PM, schrieb Sergiy Shyrkov:
> Hello,
>
> I am new to Xtext (just watched one Webinar and couple of presentations)
> and would like to ask for help in getting started.
>
> As a test case I decided to crate a simple editor for
> http://jackrabbit.apache.org/node-type-notation.html files - actually,
> we need an extended version of them.
>
> There was an effort and working prototype of the editor as a part of the
> http://wiki.eclipse.org/JCR_Management Eclipse project, driven by Sandro
> Boehme, but it is stopped and it was using oaw syntax, so the code does
> not give me lot of clue on creating Xtext grammar.
>
> My main problem is representing custom namespaces (similar to XML
> namespaces), i.e.:
>
>
> <c = 'http://mycompany.org/core'>
> <org = 'http://mycompany.org/modules/organisation'>
>
> [org:empleyee] > c:person
> - org:employeeId
> ..
>
>
> Could you, please, point me out to examples (right now I checked only
> arithmetics and domain model ones) or documentation to start with?
> Just that I don't get into wrong direction.
>
> Thank you in advance!
>
> Kind regards
> Sergiy
--
--
Need professional support for Xtext or other Eclipse Modeling technologies?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : http://blog.efftinge.de
|
|
|
|
Powered by
FUDForum. Page generated in 0.03511 seconds