|
Re: Acceleo 3 Create folder in an acceleo main [message #555955 is a reply to message #555935] |
Mon, 30 August 2010 11:10 |
|
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--
|
|
|
Powered by
FUDForum. Page generated in 0.04328 seconds