Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Generate Files outside of the xtext project, relative to the projects location
Generate Files outside of the xtext project, relative to the projects location [message #1765662] Tue, 13 June 2017 08:25
Lukas Schaus is currently offline Lukas SchausFriend
Messages: 37
Registered: October 2016
Member
Hello,

I develop a DSL using XText 2.11. And I want that my generator saves the generated files in a path relative to my project location, but outside of the project folder.

I found that I can override the OutputConfigurationProvider in order to set a default output folder. I managed to specify an arbitrary folder name within the project folder or a subfolder of it. But I failed to set the folder outside of the project.

My next try was to set the relative path inside the generator but the FileSystemAccess2's generate operation permitts the desired functionality aswell.

The last approach was to use standard java file operations but that lead to the creation of a folder in the windows start menu.


I would be very glad if you could suggest me a possible approach for the intended behavior.

Thank you

Lukas
Previous Topic:Using an Xbase subset
Next Topic:Priority/Order of contentassist proposals (in particular templates)
Goto Forum:
  


Current Time: Sat Oct 23 12:33:23 GMT 2021

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

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

Back to the top