witty-crayon-22786
09/19/2019, 5:02 PMwitty-crayon-22786
09/19/2019, 5:02 PMaverage-vr-56795
09/19/2019, 5:03 PMExecuteProcessRequest(
args = ["compile blah"],
digest = blah,
nailgun_execute_process_request = ExecuteProcessRequest(
argv = ["-XmX10G", "org.pantsbuild.Zinc"],
digest = blurgle,
),
)
and the logic would only activate if nailgun_execute_process_request
is non-emptywitty-crayon-22786
09/19/2019, 5:03 PMaverage-vr-56795
09/19/2019, 5:03 PMaverage-vr-56795
09/19/2019, 5:04 PMaverage-vr-56795
09/19/2019, 5:04 PMwitty-crayon-22786
09/19/2019, 5:04 PMwitty-crayon-22786
09/19/2019, 5:04 PMaverage-vr-56795
09/19/2019, 5:05 PMwitty-crayon-22786
09/19/2019, 5:06 PMwitty-crayon-22786
09/19/2019, 5:08 PM-cp
arg to find your classpath, and strip anything before our "best guess at the main class"... in the first PR) is fairly easy to evolve into a 100% solution, then that would be lovely.red-balloon-89377
09/19/2019, 5:08 PMwitty-crayon-22786
09/19/2019, 5:09 PMwitty-crayon-22786
09/19/2019, 5:09 PMred-balloon-89377
09/19/2019, 5:09 PMred-balloon-89377
09/19/2019, 5:09 PMwitty-crayon-22786
09/19/2019, 5:09 PMred-balloon-89377
09/19/2019, 5:09 PMwitty-crayon-22786
09/19/2019, 5:10 PMwitty-crayon-22786
09/19/2019, 5:10 PMwitty-crayon-22786
09/19/2019, 5:10 PM$ java -cp . Thing -- hello!
Hello world! 2
$ java -Dsomething=something -cp . Thing -- hello!
Hello world! 2
$ java -cp . Thing -- -Dsomething=something hello!
Hello world! 3
$ java -cp . -Dsomething=somethin Thing -- hello!
Hello world! 2
witty-crayon-22786
09/19/2019, 5:12 PM--
for a second)red-balloon-89377
09/19/2019, 5:12 PMwitty-crayon-22786
09/19/2019, 5:12 PMThing
(the main class name here) to the programred-balloon-89377
09/19/2019, 5:12 PMred-balloon-89377
09/19/2019, 5:12 PMwitty-crayon-22786
09/19/2019, 5:12 PMred-balloon-89377
09/19/2019, 5:12 PMwitty-crayon-22786
09/19/2019, 5:13 PM