Re: How to make CVS Import ignore the ignore list
Martin Entlicher <[email protected]> Thu, 18 Nov 2004 18:41:44 +0100
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <[email protected]> |
Andrew wrote: > Is the 4.0 libary still in beta with the rest of netbeans? Or are you > at a stable point right now? If I want to get the 4.0 library, do I > just check out the head from /cvs/javacvs? I couldn't find the > instruction for CVS checkout on the javacvs homepage. The library is likely stable already, we do not plan any changes there for 4.0. There are no P1/P2 issues. To get the 4.0 library, you should checkout javacvs from "release40" branch: cvs -d :pserver:[email protected]:/cvs co -r release40 javacvs The instruction of checkout are the same as instruction for checkout of NetBeans sources at http://www.netbeans.org/community/sources/cvs.html The library is at javacvs/libsrc folder, so it's enough to checkout javacvs/libsrc. The build script with the module manifest is in javacvs/libmodule, therefore you may want to checkout that as well, or the whole javacvs module. > Also, using netbeans 3.6, if you right click on a file->CVS->Import... > There is an option in the GUI for "File to ignore" Is that not > implemented? Or do that work? If so, can you tell me how they are > doing it from there? I don't know where the code for that GUI is. This does not work in release 3.6. This is the issue #47054. The arguments from the GUI are passed to JavaCvsCommand class, which calls the library. You can verify the arguments in Runtime. Regards, Martin > Thanks for your help! > Andrew > > Martin Entlicher wrote: > >> Andrew wrote: >> >>> What version is ImportCommand.addIgnoredFile in? I'm using the 3.6 >>> build and that method doesn't exist. So that doesn't help me... >> >> >> >> >> It's in 4.0. It was added as a fix of issue #47054. >> The original developer did not implement all options, so there is >> probably no way to do it in 3.6. You would have to patch the library. >> It should be O.K. to grab the ImportCommand class from trunk, compile >> it and replace it in the library jar. >> >> Regards, >> Martin >> >>> >>> Andrew >>> Martin Entlicher wrote: >>> >>>> Hi Andrew, >>>> >>>> .so files are ignored by default as described at >>>> https://www.cvshome.org/docs/manual/cvs-1.11.18/cvs_18.html#SEC178. >>>> There does not seem to be any direct API for "!", but from the code >>>> it looks that ImportCommand.addIgnoredFile("!") should work. >>>> >>>> Regards, >>>> Martin >>>> >>>> Andrew wrote: >>>> >>>>> Hello, >>>>> >>>>> I've just found a bug in my code that is using javacvs and I can't >>>>> fid out how to fix it. I am exporting code from one repository >>>>> and importing it into another. When I do this, everything (code, >>>>> jar files, scripts, etc) but some .so's I have get imported. The >>>>> .so's get ignored. I have no .cvsrc in my environment, so I don't >>>>> know why it is ignoring them. Does the CVS server ignore binary >>>>> files by default? >>>>> In anycase, I want to get able to tell the import command to >>>>> ignore the ignore list. i.e. do a cvs import -I! module >>>>> How can I do this with the javacvs Import command? >>>>> >>>>> Thanks! >>>>> Andrew >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [email protected] >>>>> For additional commands, e-mail: [email protected] >>>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >