How can I pass a parameter to Jetty

(Tony Nelson) #1

I simply want to pass options like:

-Dtapestry.production-mode=false -Dtapestry.execution-mode=development

to the Jetty plugin. I’ve googled quite a bit but can’t seem to find syntax that works with 1.0-milestone-6

Thanks in advance Tony Nelson

(Benjamin Muschko) #2

You could set the options in your GRADLE_OPTS variable of your Gradle start script under gradle-1.0-milestone-6/bin.

(Tony Nelson) #3

Thank you very much. I must have misspelled it when I tried yesterday.

Is there anyway to express this configuration in the build.gradle file or is it best to create a separate shell script or windows cmd file?