[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [condor-users] a question about Java application arguments setting

I am new to Condor. I am writing a condor submit file
as follows:

Executable = print.class
Universe = Java
Arguments = print
input = print.in
output = print.out
error = print.error
Log = print.log


Would you please let me know how to get the input
file name in print.java, currently I hard-coded the
input file name in print.java.

Pass it as an argument:

Arguments = print print.in

Then parse the command-line in your Java program to see what the input file name is.


Condor Support Information: http://www.cs.wisc.edu/condor/condor-support/ To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with unsubscribe condor-users <your_email_address>