Re: Resetting global options on client?
Milos Kleint <[email protected]> Mon, 22 Jul 2002 11:40:07 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <[email protected]> |
Robbie Gibson wrote: > I am trying to build a small app around javaCVS which > will retrieve a list of files to be updated for a > given module, then ask for individual confirmation of > each one before performing a real update. This is > automation of my normal command-line workflow: > cvs -qn update ... > cvs -q update file1 file2 filen > > I'm using the GlobalOptions to specify the doNothing > flag, however it seems as if this object is only used > on the first call to > client.executeCommand (command, globalOptions) > > Is this correct? If not, what am I doing wrong? If > yes, what else do I need to do? hmm.. I create a new Client for every command (I do that primarily because a new pserver connection should be created for each command.. theoretically it's not necessary, however I believe some people reported problems with such approach.. cvs is not ready for that.) However I'm not sure I know the answer to your questions, looking at the sources is the safest way... > > I'm using the 3.3.1 Netbeans version of cvslib > (2002-03-04). > > Thanks for your help, > Robbie > > PS Is there a zip file/jar file available of the > source corresponding to this release? What is the > best way to get the source code matching the code that > I have? do a checkout of the javacvs module on the netbeans's cvs server. the library resides in the javacvs/libsrc using the -r release33 branch tag, you'll get the sources for 3.3.2 version (which almost or entirely matches the 3.3.1 sources..not sure here) some sources are available on the project's web page under "Files" category.