You'll need to read more about the JCR specification (that is the standard from JackRabbit). Look for the jsr170-1.0.pdf file in the archive downloadable here : http://jcp.org/aboutJava/communityprocess/final/jsr170/index.html
And read chapter 4, 6, 7 and 8 (this reads fast, don't worry, just skip details when it seems too obvious). Then you'll be a JCR-API expert ;) All the specification about versionning in JCR here in 8.2. Good luck, Frank Le 2009-12-29 à 8:35 AM, abhishek reddy a écrit : > hi, > > thanks for the link, i have tried its working fine > > can you tell me where the versioned files will be stored? > also tell me is there any way, to find out whether the documents are > modified or not and accordingly versioning them... > > thanks again. > > On Tue, Dec 29, 2009 at 4:55 PM, sunild <[email protected]> wrote: > >> Hi, >> >> Try running one first-hops from the jackrabbit website. >> Decide the content repository structure. Then apply mix:versionable node >> type to the nodes, which need to be versioned. >> >> Try to search through previous postings. You will get all of your >> questions answered in the jackrabbit previous postings only. >> >> BR/ >> Sunil Dhage. >> >> >> abhishek reddy wrote: >> >>> thanks for the reply........ >>> I wll just go through them........ >>> Requirement: >>> In a business process, the electronic documents (doc,text,excel,pdf,images >>> etc) will move from person to person.....and there is a scope that >>> contents >>> of docs might change from the user to user......so, when these docs are >>> modified they have to go as revisions to the next user, keepin the >>> original >>> doc as is......so, that we have track of changes made to the document. >>> can you please help me ragrding this.......how can i make use of >>> jackrabbit >>> in this case. >>> >>> Note: I dont want to apply versioning on the entire application, rather on >>> particular files.......in my case docs included in the business process. >>> >>> On Tue, Dec 29, 2009 at 1:15 PM, Mathieu Baudier <[email protected]> >>> wrote: >>> >>> >>> >>>> how to implement "Document versioning" concept . I have to maintain >>>>> >>>>> >>>> various >>>> >>>> >>>>> documents and version them. If a document is modified, it has to be >>>>> saved >>>>> >>>>> >>>> as >>>> >>>> >>>>> a new version, keeping the original document as is. I have to version >>>>> >>>>> >>>> only >>>> >>>> >>>>> some "x" documents. Is this possible with Jackrabbit? If possible please >>>>> guide me how to start? >>>>> >>>>> >>>> This page helped me to get started: >>>> http://wiki.apache.org/jackrabbit/ExamplesPage#Versioning_Basics >>>> >>>> then you apply these concepts to "file" nodes: >>>> http://wiki.apache.org/jackrabbit/ExamplesPage#Importing_a_File >>>> >>>> >>>> >>> >>> >>> >>> >>> >> >> > > > -- > Abhishek
