argsfile problem
Stephen Felts
stephen.felts at oracle.com
Tue Mar 29 16:37:16 UTC 2016
For you gradle experts, the syntax below is obviously wrong.
options.compilerArgs << '@/argsfile'
Maybe we can get the gradle folks to recognize @filename and expand it into their argsfile?
-----Original Message-----
From: Stephen Felts
Sent: Tuesday, March 29, 2016 12:33 PM
To: jigsaw-dev
Subject: argsfile problem
Here’s an interesting problem.
I have a lot of JDK9-specific command line options.
I decided to try to put them into an argsfile.
I then tried to use the @argsfile in a gradle script using something like
options.compilerArgs=’@/argsfile’
I was getting a ‘javac: invalid flag: @/argsfile’ and couldn’t figure out why.
The answer is that gradle is using an argsfile so I ended up with an argsfile within an argsfile.
More information about the jigsaw-dev
mailing list