Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Copying folders
Copying folders [message #855045] Tue, 24 April 2012 09:32 Go to next message
Eclipse UserFriend
Hello, I need to generated a folder, in the src-gen where its generated the code from dsl files. I explain:

I have this folder in the computer:

../res


and inside it more folders and files.

And in the dsl project I have something like that:

../myProject/
src-gen/example.php
example.mydsl

I want to generate the folder res inside src-gen. Is it posible???

../myProject/
src-gen/
example.php
res/
example.mydsl
Re: Copying folders [message #855154 is a reply to message #855045] Tue, 24 April 2012 11:11 Go to previous messageGo to next message
Eclipse UserFriend
You have to configure an OutputConfiguration for folder /res by providing an customized IOutputConfiguration, bind it in the runtime module of your DSL project and generate at least one file to this output configuration. The IFileSystemAccess has a method which takes the output configuration name as a second argument.

Regards,
~Karsten
Re: Copying folders [message #870302 is a reply to message #855154] Mon, 07 May 2012 11:33 Go to previous message
Eclipse UserFriend
Sorry, but I dont understand you. How and where can I do this???

Thanks a lot.
Previous Topic:Nested EPackage in ECore model cannot be imported in XText
Next Topic:using absolute path
Goto Forum:
  


Current Time: Sun Jul 06 11:47:51 EDT 2025

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

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

Back to the top