How to get project directory in the overridden postProcess method?
I'm new to this community so I apologize if this is an FAQ.
I created a new action for my plugin which extends CreateFileFromTemplateAction class. In the overridden postProcess method I need to perform certain operation after the file is created. As a part of this process, I need to know the module base directory. Is there any way to do it? If yes, how?
Please sign in to leave a comment.
I guess I was too fast to post here. Found an answer - it's createdElement.getProject().getBasePath() :)