Application plugin class path to long

My little application (but with jetty and some other stuff) evaluates a classpath with somewhat more than 6000 characters. This seems to be to long for windows so I get an error log “command line to long”.

I can solve this by patching the script with regexp so the classpath will change from file list to pattern:

set CLASSPATH=%APP_HOME%\lib*;

I think would be slightly better if I could configure the plugin so it would accept a relative path with glob pattern like so:

startScripts {

classpath = “./lib/*”}