I have a maven project in which I am trying to execute a script (written in R). I put this script file in the source code directory. I found that this script is not running at all. However, when I move this script outside the jar file, it runs! Can someone tell me why, and give me some solutions for placing the script inside the jar, and also ensure its execution?
Thanks a lot!
source share