Hi All,
I`m currently trying to get my script to call a .class file. This file
accepts switches, followed by the arguments:-
Usage: java weblogic.deploy [options]
[list|deploy|undeploy|update|delete|refresh] password {name} {source}
So, I want to say something like this: -
java weblogic.deploy -port port_number -host host_name deploy password name
source
My question is: Is a switch followed by an argument counted as one, or are
they both separate? Which is right? : -
<arg value="-port"/> <-- This is what I`ve been trying at the moment
<arg value="7002"/>
OR
<arg value="-port 7002"/>
Are both methods right?
Cheers,
Tom
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>