gradle application plugin rocks and creates the following directory structure
app bin - scripts to start the server lib - jar files {anything else from src/dist just goes in app}
The thing I can't figure out is the scripts do not make the server run in the app directory which is annoying. Is there a way so that it can be configured and will run in the app directory ? (or a way to make it set the user.dir to .. relative from the bin directory).
This is quite frustrating since I have to do some sort of check and error out saying the program must be run from app diretory so then I know how to lookup files.
Right now, if you have a property -Dlogback.configurationFile=config/logback.xml
and you run the start script from anywhere on the machine other than the app directory, logging silently stops working.
thanks, Dean