Or, we could just add a command line parameter (such as the industry standard "-" (that's a single dash)) to indicate that everything following the dash on the command line signifies parameters to be passed directly to the sub-processes without modification.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't know about using a - since the options being passed to javac will be using a -, and we want to differentiate JMake options from javac options.... maybe another character... maybe -- (two dashes)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Maybe I should have provided an example. Usage would be like:
jmake all - -deprecation
So anything before the - goes to jmake, anything after gets passed to the relevant subprocess (javac, javadoc, jar, etc). Many apps on linux use a syntax like this (although I cannot think of a specific example at this time).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
JMake should allow the user to pass options to javac.
Or, we could just add a command line parameter (such as the industry standard "-" (that's a single dash)) to indicate that everything following the dash on the command line signifies parameters to be passed directly to the sub-processes without modification.
I don't know about using a - since the options being passed to javac will be using a -, and we want to differentiate JMake options from javac options.... maybe another character... maybe -- (two dashes)?
Maybe I should have provided an example. Usage would be like:
jmake all - -deprecation
So anything before the - goes to jmake, anything after gets passed to the relevant subprocess (javac, javadoc, jar, etc). Many apps on linux use a syntax like this (although I cannot think of a specific example at this time).