Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[EGL] Create a folder
https://www.eclipse.org/forums/index.php/mv/msg/441297/989885/#msg_989885
[%
for (c in Package.all()) {%]
[%=c.name%];
[%}%]
I want to create a new folder for each Package in my project, but I can't find how to do it using EGL.
For example, if I have the packages: Color and Weight. I want to have a folder ../src/Color and a folder ../src/Weight.
Can anybody help me? Thanks in advance.
PS: And it's being hard for me to find info about EGL and its operations. If you could point me to manuals or documentation about it would be appreciated.]]>Patricia Fernández2012-12-09T11:25:45-00:00Re: [EGL] Create a folder
https://www.eclipse.org/forums/index.php/mv/msg/441297/989887/#msg_989887
In EGL, an appropriate folder structure should be created automatically to accommodate the generated files. For example, if you try to generate c:/foo/bar/something.txt, the foo and bar folders will be created automatically if they don't exist. If you need to explicitly create directories, I'd suggest creating a Java tool [1] that provides this functionality and calling it from EGL. The definitive EGL reference is Chapter 7 of the Epsilon book [2], however, as EGL builds on top of EOL I'd suggest going through Chapter 3 first.