Reflection filter (again)
Monkey Forums/Monkey Programming/Reflection filter (again)
| ||
How can I add the entry point of my project to the reflection filter? I mean the main monkey file. All other files can be reflected using "relative" notation to this file, but how can I reflect this file and avoid the "*" thingy as I don't want to reflect EVERYTHING . Any ideas? how I love there was a #REFLECT_THIS_FILE flag or something. This would make files "moveable" between folder without making the source code fail to work. |
| ||
Ok, I've added a new built in constant MODPATH that contains module path of file currently being built - you can use it like this: #REFLECTION_FILTER+="${MODPATH}" |
| ||
Thanks!!! I appreciate it a lot! |
| ||
Thanks. That makes thing easier. |