I'm... actually I'm not sure where to start explaining all this. I'm writing a Java class that implements custom SourceVault functionality via the command line - this will eventually get called from within an Ant task. And if that makes sense to anyone, I'd be grateful if they could explain it to me...
Anyway, one thing I need to implement is an "update" method, which will basically checkout a file without overwriting the local copy, then check it back in. All in one smooth movement. I know that sounds a bit mad but... I don't request the stuff, I just build it

I'm clear on CHECKOUT, and COMMIT - I think. I've also discovered BATCH but I'm not exactly sure how to use it; I don't want to call a list of commands contained within a seperate file (as the commands are going to be dynamic)
So can someone tell me if it's possible - and more essentially give me an example of what such a line would look like - to construct a single command line that uses Vault's BATCH command to run both a CHECKOUT (without overwriting local) and a COMMIT, all at once?
Umm. Thanks

