Having a scenario in my current Grails project where need to add some independent executable to files at proper location. These files would not be used anywhere inside the Grails project but would be called from Bash shell to send some messages to Messaging queue (RabbitMQ for example).
What is the best place inside a Grails project to add these scripts.
Should add these to already existing script folder inside the Grails project structure.
Or should add these by directly creating a folder (say) in root as below
project>
|grails-app
|scripts
|lib
|target
|web-app
|**imeiscripts** > My scripts here
Also, is it possible to run these scripts from IntelliJ Idea with supplying arguments?