|
|
Re: [xPand] how to create directory hierarchy [message #518488 is a reply to message #518163] |
Thu, 04 March 2010 09:45 |
Urtzi Odriozola Messages: 27 Registered: March 2010 |
Junior Member |
|
|
Darius Jockel wrote on Wed, 03 March 2010 05:29 |
Maybe it is because you can not create a directory '\myDsl::TestProject'?
|
yes, of course. I knew that. Maybe I didn´t express what I wanted. The issue was if I was able to call supertype parameters from subtype <<DEFINE>> structure.
But I found a solution, that is just something like this:
<<DEFINE main FOR superType>>
<<EXPAND class(superType.parameter) FOREACH subType>>
<<ENDDEFINE>>
<<DEFINE class(String superTypeName) FOR subType>>
<<FILE superTypeName+"/"+supType.name+".java">>
// Java code
<<ENDFILE>>
<<ENDDEFINE>>
So, thank you for the replay!!!
Regards,
[Updated on: Thu, 04 March 2010 09:45] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02734 seconds