Re: Question on direct (non-file) CVS access

J Z <[email protected]> Thu, 7 Oct 2004 21:33:34 -0700 (PDT)
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Message-ID <[email protected]>
Hi Murray,

I believe the answer is no, however, I have only
implemented one application with this package.  As far
as I know, javacvs will always create a parallel (cvs)
file structure, because it uses it for many purposes.

It allows various (different) clients to access the
same cvs structure primarily... but if all you need to
do is commit a file you have in memory, you'd have to
do the additional steps you described... write it to
the proper place and commit it.

Hope it helps and I hope I'm wrong for you!

John


--- Murray Altheim <[email protected]> wrote:

> Hi,
> 
> Pardon me if this is either a dumb question or one
> asked before,
> but I searched the archives and was unable to locate
> an answer.
> 
> I've been playing with JavaCVS for a few days now
> and just joined
> the mailing list. I'm trying to implement CVS
> support in a Java
> UI application that uses the Apache Xindice database
> to store XML
> files. I'd like to be able to behind-the-scenes
> provide CVS support
> for modifications to files in the XML DB repository,
> which has a
> 1 level deep (Documents stored in Collections)
> structure.
> 
> Question is: is there a way to support version
> control for the
> database without writing files out to disk? In
> trying to work
> through JavaCVS, my approach has been to create a
> mirror set of
> directories for the DB Collections, then as the user
> adds new
> Documents (generally, XML/DOM Documents), each of
> these is then
> serialized to a File within its appropriate
> directory, and the
> CVS actions are performing on the serialized file.
> What I'd like
> to do is avoid writing Files and just work directly
> with CVS,
> such that an add would basically be:
> 
>     serialized content  -->  CVS
> 
> without the intervening writing to File.
> 
> Conversely, is there way to import files from CVS
> directly into
> the application without having CVS write them as
> Files and then
> importing them?
> 
> Is there a way to do this kind of thing with
> JavaCVS?
> 
> Thanks very much!
> 
> Murray
> 
>
......................................................................
> Murray Altheim                   
> http://kmi.open.ac.uk/people/murray/
> Knowledge Media Institute
> The Open University, Milton Keynes, Bucks, MK7 6AA,
> UK               .
> 
>    The Rise of Pseudo Fascism -- David Neiwert
>    Part 1: The Morphing of the Conservative Movement
>     
>
http://dneiwert.blogspot.com/2004_09_19_dneiwert_archive.html#109028353137888956
>    Part 2: The Architecture of Fascism
>     
>
http://dneiwert.blogspot.com/2004_09_26_dneiwert_archive.html#109563628314780505
>    Part 3: The Pseudo-Fascist Campaign
>     
>
http://dneiwert.blogspot.com/2004_10_03_dneiwert_archive.html#109596147171278590
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [email protected]
> For additional commands, e-mail:
> [email protected]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com