Hello,
My code is located in my module action and needs to open a file that is
located in my-module/app/file.txt.
I tried with
VirtualFile vf = VirtualFile.fromRelativePath("app/myfile.txt");
But it takes the path of the application that uses my module.
Do you know how the solution?
Cheers,
C.
My code is located in my module action and needs to open a file that is
located in my-module/app/file.txt.
I tried with
VirtualFile vf = VirtualFile.fromRelativePath("app/myfile.txt");
But it takes the path of the application that uses my module.
Do you know how the solution?
Cheers,
C.