Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Using a File located in workspace during Validation process
Using a File located in workspace during Validation process [message #1060591] Mon, 27 May 2013 04:17
Christophe g is currently offline Christophe g
Messages: 4
Registered: March 2013
Junior Member
Hello

I have a little question I couldn't solve so far.
I'm using ETL and EVL to perform a transformation on my generated model from Xtext. I use them as standalone through a call in the validation process from the embedded Eclipse workspace.

In order to work, both ETL and EVL needs to be provided a "File" instance of a file located on a folder of the "Xtext Eclipse".

I use the "platform:" URI code to access file from the embedded Eclipse workspace.
How can I create a File instance of a file in my xtext.base folder, without having to provide the full path to the file ?

I know the issue might sound Epsilon-related rather then Xtext-related, but the problem is just about loading a file, from Xtext validation process, so I thought here would be a better place to get some help.

Thanks for your help.

Best reguards,

Christophe

[Updated on: Mon, 27 May 2013 04:23]

Report message to a moderator

Previous Topic:Javadoc-style context/hover information for rules/keywords
Next Topic:Save Action Error
Goto Forum:
  


Current Time: Tue May 28 03:37:34 EDT 2013

Powered by FUDForum. Page generated in 0.01605 seconds