Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Acceleo 3 Create folder in an acceleo main
Acceleo 3 Create folder in an acceleo main [message #555935] Mon, 30 August 2010 09:54 Go to next message
poltrox  is currently offline poltrox Friend
Messages: 16
Registered: June 2010
Junior Member
Hi,

I want to know if we can create folder in an acceleo main ?
My goal is to create the package arborecence of my genereted class with the help information of my model and generate her in this folder.


thanks for response
Re: Acceleo 3 Create folder in an acceleo main [message #555955 is a reply to message #555935] Mon, 30 August 2010 11:10 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------030701010307060405000706
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Poltrox,

all you need is specify the whole structure in your file block.

When you launch an Acceleo generation, you specify a "root folder" which
is the starting directory where files will be generated. Let's call this
folder "$ROOT$".

When you create a file block as such :
[file ('my/folder/structure/my.file', false)]
....
[/file]

It will be generated in :
$ROOT$/my/folder/structure/my.file

Laurent Goubet
Obeo

poltrox wrote:
> Hi,
>
> I want to know if we can create folder in an acceleo main ?
> My goal is to create the package arborecence of my genereted class with
> the help information of my model and generate her in this folder.
>
>
> thanks for response


--------------030701010307060405000706
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="laurent_goubet.vcf"

YmVnaW46dmNhcmQNCmZuOkxhdXJlbnQgR291YmV0DQpuOkdvdWJldDtMYXVy ZW50DQpvcmc6
PGEgaHJlZj0iaHR0cDovL3d3dy5vYmVvLmZyIj5PYmVvPC9hPg0KZW1haWw7 aW50ZXJuZXQ6
bGF1cmVudC5nb3ViZXRAb2Jlby5mcg0KdXJsOmh0dHA6Ly93d3cub2Jlby5m cg0KdmVyc2lv
bjoyLjENCmVuZDp2Y2FyZA0KDQo=
--------------030701010307060405000706--
Previous Topic:[Acceleo 3] Prevent elements from being parsed more than once
Next Topic:[XPAND] Couldn't resolve type for Long
Goto Forum:
  


Current Time: Fri Apr 19 13:39:08 GMT 2024

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

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

Back to the top