Re: Caching problems

Martin Entlicher <[email protected]> Fri, 16 Jan 2004 18:16:52 +0100
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Organization Sun Microsystems
Message-ID <[email protected]>
Currently the javacvs library (javacvs/libsrc) does not depend on NetBeans at
all. It's a standalone source code, which is buildable and executable without
any other part of NetBeans.

I would like to keep this approach for the future, so that the usage of javacvs
library is flexible enough.

The only thing that changed in 3.6 is, that the javacvs library is now used
from another NetBeans module (cvs profile under "vcsgeneric" module). Therefore
NetBeans are dependent on the javacvs library, but the library is not dependent
on NetBeans.

The website (javacvs.netbeans.org) needs some update. I will hopefully find
some time to update the web for 3.6 release.

Thanks,
Martin

Ojares Rami EINT wrote:
> 
> Thank you Martin for the answer.
> 
> By the way, I have not following netbeans (because I use jEdit).
> I understand that javacvs is a sub project of netbeans and
> lately you (Martin) have been telling about the future relations
> of javacvs and other netbeans components. I did not quite understand
> what was going on.
> 
> My concern is whether javacvs will maintain it's independence.
> It has not been very separate (website & cvs hidden somewhere in
> netbeans).
> 
> So I would like to know how independent is the planned future of javacvs.
> 
> - rami
> 
> >-----Original Message-----
> >From: [email protected] [mailto:[email protected]]
> >Sent: Friday, January 16, 2004 6:22 PM
> >To: [email protected]
> >Subject: Re: [javacvs-dev] Caching problems
> >
> >
> >Well, my impression is, that one connection should be used just for one
> >command. This is why there is implemented a warning in the
> >library. This looks
> >like a limitation of the cvs server that it needs an extra
> >connection for every
> >command.
> >
> >It should not be possible to get the contents of deleted
> >files. But perhaps
> >there is some staled information about these files from the
> >status command, so
> >perhaps the server is confused.
> >
> >-Martin
> >
> >Ojares Rami EINT wrote:
> >>
> >> Hi,
> >>
> >> There seems to be some internal caching going on under the hood.
> >>
> >> I want to do the following:
> >>
> >> - find all the files that NEEDS_MERGE with status command
> >> - Delete those files.
> >> - Do a normal update
> >>
> >> When I use the same client object to execute both of those
> >> commands instead of doing a normal update for the deleted
> >> files from server to local javacvs reports a conflict
> >> as if the files were not deleted at all.
> >>
> >> Javacvs behaves normally only if I use separate clients
> >> that have separate connection objects.
> >>
> >> Reusing the same AdminHandler does not have any effect
> >> (which would be to me more understandable) but it seems
> >> the contents of the deleted files seem to be cached/related
> >> to the connection used.
> >>
> >> Could someone point me where does the update get the contents
> >> of the deleted file because I can not find it.
> >>
> >> - rami ojares
> >>
> >> ---------------------------------------------------------------------
> >> 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]