Re: Source code + Documentation

"Jemerson Damasio" <[email protected]> Wed, 17 Sep 2008 11:32:03 -0300
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Message-ID <[email protected]>
------=_Part_68311_598902.1221661923823
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Maybe there is another known source, but I found this Javadoc and it might
be useful for other people.
https://hoth.stsci.edu/public/java/javacvs/


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
Jemerson Figueiredo Damasio
Bacharel em Ciencia da Computacao - UFCG
Pesquisador do CNPq/GMF - UFCG
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D


On Tue, Sep 9, 2008 at 3:48 PM, Ricardo Garcia <[email protected]>w=
rote:

>  Jemerson,
>
>
>
> You can use the RLogCommand, then you have all the info you need generate=
d
> by FileInfoEvent.
>
> Here's a detailed example of how can you get this:
>
>
>
>  GlobalOptions globalOptions =3D  new GlobalOptions();
>
>  globalOptions.setCVSRoot(CVSRoot.parse(<YOUR CVSROOT>).toString());
>
>  PServerConnection c =3D new PServerConnection(CVSRoot.parse(<YOUR CVSROO=
T>),
> SocketFactory.getDefault());
>
>  Client client =3D new Client(c, new StandardAdminHandler());
>
>  //
>
>  client.getEventManager().addCVSListener(new RLogParser());
>
> //
>
> c.open();
>
> //
>
> RlogCommand =3D new RlogCommand();
>
> cmd.setModule(<YOUR CVS MODULE>);
>
> //
>
> client.executeCommand(cmd, globalOptions);
>
> //
>
> c.close();
>
> //
>
>
>
> Now the FileInfoEvent at RLogParser Class:
>
> Supose I have a class (CVSFileHeader for Header and CVSFileDetails for
> details) that contains all info from ,v files.
>
> See how the Iterator gets the file informations that you need.
>
>
>
> public void fileInfoGenerated(FileInfoEvent info){
>
>         fcvs =3D new CVSFileHeader();
>
>         dcvs =3D new CVSFileDetails();
>
>         Vector vRevs =3D new Vector();
>
>          Vector vHeader =3D new Vector();
>
>         LogInformation li =3D (LogInformation)info.getInfoContainer();
>
>         //
>
>         Iterator iTRevisionList =3D li.getRevisionList().iterator();
>
>         //
>
>         fcvs.setAccesslist(li.getAccessList());
>
>         fcvs.setBranch(li.getBranch());
>
>         fcvs.setFilename(li.getFile().getAbsolutePath());
>
>         fcvs.setHeadrevision(li.getHeadRevision());
>
>         fcvs.setLocks(li.getLocks());
>
>         fcvs.setSelectedrevisions(li.getSelectedRevisions());
>
>         fcvs.setSymbolicnames((ArrayList) li.getAllSymbolicNames());
>
>         fcvs.setTotalrevisions(li.getTotalRevisions());
>
>         //
>
>         while (iTRevisionList.hasNext()){
>
>             LogInformation.Revision rev =3D
> (LogInformation.Revision)iTRevisionList.next();
>
>             dcvs.setAuthor(rev.getAuthor());
>
>             dcvs.setBranches(rev.getBranches());
>
>             dcvs.setCommitid(rev.getCommitID());
>
>
> dcvs.setFilename(rev.getLogInfoHeader().getFile().getAbsolutePath());
>
>             dcvs.setKopt(rev.getLogInfoHeader().getKeywordSubstitution())=
;
>
>             dcvs.setLines(rev.getLines());
>
>             dcvs.setMergepoint("");
>
>             dcvs.setMessage(rev.getMessage());
>
>             dcvs.setRevisiondate(rev.getDateString());
>
>             dcvs.setRevisionnumber(rev.getNumber());
>
>             dcvs.setState(rev.getState());
>
>             vRevs.add(dcvs);
>
>         }
>
>         fcvs.setDetalhesFromVector(vRevs);
>
>         vHeader.add(fcvs);
>
>     }
>
>
>
> This is not the best way to keep the information, but you can get the ide=
ia
> right?
>
>
>
> Regards
>
>
>
> Ricardo Garcia
>
>
>  ------------------------------
>
> *De:* Jemerson Damasio [mailto:[email protected]]
> *Enviada em:* ter=E7a-feira, 9 de setembro de 2008 15:26
> *Para:* [email protected]
> *Cc:* Pablo The Boss
>
> *Assunto:* Re: [javacvs-dev] Source code + Documentation
>
>
>
> Thanks Ricardo.
>
>    I understood it and was able to get the FileInformation, but noticed
> that it was not what I expected. What I really want is the set of
> informations about the remote file that resides on CVS, and that may answ=
er
> the questions like: "what version am I checking out?", "who was the autho=
r
> of this version?", "in what date this version was created?". In other wor=
ds,
> I wanna access the metadata provided by the Comma-V files, that CVS uses.
>    Better than that, suppose I wanna checkout a project for a certain dat=
e,
> I would prefer to gather the information about authors of files, commit
> messages, and file versions, other than retrieving the files, in fact.
>    Any ideas if this is possible?
>
>    Sorry if I'm being boring but, unfortunelly, I can't get the javadoc t=
o
> dig it by myself.
>
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Jemerson Figueiredo Damasio
> Bacharel em Ciencia da Computacao - UFCG
> Pesquisador do CNPq/GMF - UFCG
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
>  On Mon, Sep 8, 2008 at 4:48 PM, Ricardo Garcia <[email protected]=
r>
> wrote:
>
> Actually, the builder does not provide any information to its command. It
> takes the message output (by listening for MessageEvents from the
> EventManager) and package it into a FileInfoEvent to send to EventManager=
.
> Then you can use it in your CVSLinstener class (Main class in your exampl=
e).
>
>
>
> Check the UML attached (Made by Mr. Myron Ahn).
>
>
>
>
>  ------------------------------
>
> *De:* Jemerson Damasio [mailto:[email protected]]
> *Enviada em:* segunda-feira, 8 de setembro de 2008 16:19
> *Para:* [email protected]; Pablo The Boss
>
>
> *Assunto:* Re: [javacvs-dev] Source code + Documentation
>
>
>
> No, sorry if I wasn't clear enough.
> As I've read, the builders must provide data structures that represents t=
he
> data gathered by the command used. The checkout is running perfectly and
> files are already created on my local direcory. So, I have the command, t=
he
> builder, but can't the the corresponding data structure that the builder
> must provide. Any ideas?
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Jemerson Figueiredo Damasio
> Bacharel em Ciencia da Computacao - UFCG
> Pesquisador do CNPq/GMF - UFCG
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> On Mon, Sep 8, 2008 at 4:09 PM, Ricardo Garcia <[email protected]=
>
> wrote:
>
> Jamerson,
>
>
>
> What exactly are you trying to do with the builder? Do you want to set
> where to check out to?
>
>
>  ------------------------------
>
> *De:* Jemerson Damasio [mailto:[email protected]]
> *Enviada em:* segunda-feira, 8 de setembro de 2008 15:48
> *Para:* [email protected]
> *Assunto:* Re: [javacvs-dev] Source code + Documentation
>
>
>
> Guys,
>
>   I just can't understand how to get the structure generated by the build=
er
> I'm using. Here's what I'm doing:
>
>             CheckoutCommand command =3D new CheckoutCommand();
>
>             command.setRecursive(true);
>             command.setModule("DesignChecker/EvolutionMetricsMiner");
>             command.setPruneDirectories(true);
>
>             EventManager manager =3D client.getEventManager();
>             manager.addCVSListener(new Main());
>
>             UpdateBuilder builder =3D new UpdateBuilder(manager, localPat=
h);
>             command.setBuilder(builder);
>             boolean executeCommand =3D client.executeCommand(command,
> globalOptions);
>
>   Can anyone tell me what I must do now? I've already tryied to guess wha=
t
> to do, but coudn't.
>
> Thanx in advance.
>
>
>
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Jemerson Figueiredo Damasio
> Bacharel em Ciencia da Computacao - UFCG
> Pesquisador do CNPq/GMF - UFCG
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> On Thu, Sep 4, 2008 at 3:28 PM, Bob Beetcher <[email protected]> wrote=
:
>
> Not sure if this is useful, but a post I made to the news group a little
> while back tried to provide some tips on how to access and build the cvs
> client source:
>
>
>
> "Bob Beetcher" <[email protected]> wrote in message news:<fnvu4i$nvt$
> [email protected]>...
>
> > For anyone who might benefit from it, here are some my notes on accessi=
ng
>
>
> > the source for and building the javacvs client jar and javadoc.
>
> >
>
> >
>
> >
>
> > Using this URL,
>
> >
> http://www.netbeans.org/source/browse/javacvs/libsrc/org/netbeans/lib/cvs=
client/?only_with_tag=3DMAIN,
>
>
> > you can locate the top level cvs folder for the client source code. The=
n
>
> > using the "Show files using tag" drop down selection box, you can selec=
t
> a
>
> > tag value for a version of the files that's of interest to you. For
> myself,
>
> > I chose to use "last_stable_dev" tag.
>
> >
>
> >
>
> >
>
> > To get a local copy of and build the source, I installed the NetBeans I=
DE
>
>
> > and used its "Versioning" > "Checkout" dropdown menu option to bring up
> the
>
> > "Checkout" dialog. There, I used the default CVS Root of
>
> > ":pserver:[email protected]:/cvs" to connect to the server and
>
> > specified "javacvs" for the Module and "last_stable_dev" for the Tag to
>
> > checkout from. After the checkout completed, I chose the selection for =
a
>
> > "Java Class Library" in response to the prompt to create a new project
> from
>
> > the newly checked out javacvs source. After adding the "libsrc" folder
> from
>
> > the javacvs source to the new project's source files list in the projec=
t
>
> > properties, I was able to use the NetBeans build options to produce the
> jar
>
> > and the javadoc for the client.
>
>
>
>
>
> *>>> Note end - **Bob Beetcher** <<<*
>
> *From:* Jemerson Damasio [mailto:[email protected]]
> *Sent:* Thursday, September 04, 2008 11:22 AM
> *To:* [email protected]
> *Subject:* Re: [javacvs-dev] Source code + Documentation
>
>
>
> In fact, I was wrong saying "very poor documentation", I had found those
> you referenced and it's not that poor, but just there is no Javadoc, nor =
the
> source code there.
>
> Regard,
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Jemerson Figueiredo Damasio
> Bacharel em Ciencia da Computacao - UFCG
> Pesquisador do CNPq/GMF - UFCG
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> On Thu, Sep 4, 2008 at 11:42 AM, Peter Pis <[email protected]> wrote:
>
> Hi,
>
>   <nb_clone_main>lib.cvsclient
>
> Please "Documents" section in
> http://javacvs.netbeans.org/library/
>
> Regards,
> -Peter
>
>
>
> Jemerson Damasio wrote:
>
>     Hi everyone, would someone please tell me where can I get the source
> code of the JavaCVS? I've already tryied the CVS and the project site, bu=
t
> couldn't find it. I found an online version of the files, but navigating
> through the site is not good.
>    How about the API, only god knows where it is...
>    Is the project dead? I just can find very poor documentation.
>
>    Any help will be really appreciatted.
>      Thanks in advance,
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Jemerson Figueiredo Damasio
> Bacharel em Ciencia da Computacao - UFCG
> Pesquisador do CNPq/GMF - UFCG
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
>
>
> ---------------------------------------------------------------------
> 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]
>
>
>

------=_Part_68311_598902.1221661923823
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<div dir=3D"ltr">Maybe there is another known source, but I found this Java=
doc and it might be useful for other people.<br><a href=3D"https://hoth.sts=
ci.edu/public/java/javacvs/">https://hoth.stsci.edu/public/java/javacvs/</a=
><br>
<br><br clear=3D"all">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>Jemerson Figueiredo =
Damasio <br>Bacharel em Ciencia da Computacao - UFCG <br>Pesquisador do CNP=
q/GMF - UFCG<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
<br><br><div class=3D"gmail_quote">On Tue, Sep 9, 2008 at 3:48 PM, Ricardo =
Garcia <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">r=
[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmai=
l_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0p=
t 0pt 0.8ex; padding-left: 1ex;">










<div link=3D"blue" vlink=3D"blue" lang=3D"PT-BR">

<div>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;">Jemerson,</span></font></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">You can use the
RLogCommand, then you have all the info you need generated by FileInfoEvent=
.</span></font></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">Here's a detailed
example of how can you get this:</span></font></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">&nbsp;</span></font=
></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;GlobalOptions globalOptions =3D&nbsp;=
 new
GlobalOptions();</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;globalOptions.setCVSRoot(CVSRoot.pars=
e(&lt;YOUR
CVSROOT&gt;).toString());</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;PServerConnection c =3D new
PServerConnection(CVSRoot.parse(&lt;YOUR CVSROOT&gt;),
SocketFactory.getDefault());</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;Client client =3D new Client(c, new S=
tandardAdminHandler());</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;//</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;client.getEventManager().addCVSListen=
er(new RLogParser());</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">//</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">c.open();</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">//</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">RlogCommand =3D new RlogCommand();</span></=
font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">cmd.setModule(&lt;YOUR CVS MODULE&gt;);</sp=
an></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">//</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">client.executeCommand(cmd, globalOptions);<=
/span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">//</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">c.close();</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">//</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;</span></font></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">Now the FileInfoEve=
nt at
RLogParser Class:</span></font></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">Supose I have a cla=
ss
(CVSFileHeader for Header and CVSFileDetails for details) that contains all
info from ,v files.</span></font></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">See how the Iterato=
r gets
the file informations that you need.</span></font></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">&nbsp;</span></font=
></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">public void fileInfoGenerated(FileInfoEvent=
 info){</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
fcvs =3D new CVSFileHeader();</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
dcvs =3D new CVSFileDetails();</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Vector vRevs =3D new Vector();</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; Vector vHeader =3D new Vector();</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
LogInformation li =3D
(LogInformation)info.getInfoContainer();</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
//</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Iterator iTRevisionList =3D
li.getRevisionList().iterator();</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
//</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
fcvs.setAccesslist(li.getAccessList());</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
fcvs.setBranch(li.getBranch());</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
fcvs.setFilename(li.getFile().getAbsolutePath());</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
fcvs.setHeadrevision(li.getHeadRevision());</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
fcvs.setLocks(li.getLocks());</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
fcvs.setSelectedrevisions(li.getSelectedRevisions());</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
fcvs.setSymbolicnames((ArrayList)
li.getAllSymbolicNames());</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
fcvs.setTotalrevisions(li.getTotalRevisions());</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
//</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
while (iTRevisionList.hasNext()){</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; LogInformation.Revision rev =3D (LogInformation.Rev=
ision)iTRevisionList.next();</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; dcvs.setAuthor(rev.getAuthor());</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; dcvs.setBranches(rev.getBranches());</span></font><=
/p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; dcvs.setCommitid(rev.getCommitID());</span></font><=
/p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
dcvs.setFilename(rev.getLogInfoHeader().getFile().getAbsolutePath());</span=
></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
dcvs.setKopt(rev.getLogInfoHeader().getKeywordSubstitution());</span></font=
></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; dcvs.setLines(rev.getLines());</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; dcvs.setMergepoint(&quot;&quot;);</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; dcvs.setMessage(rev.getMessage());</span></font></p=
>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
dcvs.setRevisiondate(rev.getDateString());</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
dcvs.setRevisionnumber(rev.getNumber());</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; dcvs.setState(rev.getState());</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; vRevs.add(dcvs);</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
}</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
fcvs.setDetalhesFromVector(vRevs);</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
vHeader.add(fcvs);</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;&nbsp;&nbsp; }</span></font></p>

<p><font face=3D"Calibri" size=3D"3"><span style=3D"font-size: 12pt; font-f=
amily: Calibri;" lang=3D"EN-US">&nbsp;</span></font></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">This is not the bes=
t way
to keep the information, but you can get the ideia right?</span></font></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">&nbsp;</span></font=
></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">Regards</span></fon=
t></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">&nbsp;</span></font=
></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">Ricardo Garcia</spa=
n></font></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">&nbsp;</span></font=
></p>

<div>

<div style=3D"text-align: center;" align=3D"center"><font face=3D"Times New=
 Roman" size=3D"3"><span style=3D"font-size: 12pt;">

<hr align=3D"center" size=3D"2" width=3D"100%">

</span></font></div>

<p><b><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; font=
-family: Tahoma; font-weight: bold;">De:</span></font></b><font face=3D"Tah=
oma" size=3D"2"><span style=3D"font-size: 10pt; font-family: Tahoma;"> Jeme=
rson Damasio
[mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">jemersonf=
[email protected]</a>] <br>
<b><span style=3D"font-weight: bold;">Enviada em:</span></b> ter=E7a-feira,=
 9 de
setembro de 2008 15:26<div class=3D"Ih2E3d"><br>
<b><span style=3D"font-weight: bold;">Para:</span></b> <a href=3D"mailto:de=
[email protected]" target=3D"_blank">[email protected]</a><br>
</div><b><span style=3D"font-weight: bold;">Cc:</span></b> Pablo The Boss<d=
iv><div></div><div class=3D"Wj3C7c"><br>
<b><span style=3D"font-weight: bold;">Assunto:</span></b> Re: [javacvs-dev]=
 Source
code + Documentation</div></div></span></font></p>

</div><div><div></div><div class=3D"Wj3C7c">

<p><font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt=
;">&nbsp;</span></font></p>

<div>

<p style=3D"margin-bottom: 12pt;"><font face=3D"Times New Roman" size=3D"3"=
><span style=3D"font-size: 12pt;">Thanks Ricardo. <br>
<br>
&nbsp;&nbsp; I understood it and was able to get the FileInformation, but
noticed that it was not what I expected. What I really want is the set of
informations about the remote file that resides on CVS, and that may answer=
 the
questions like: &quot;what version am I checking out?&quot;, &quot;who was =
the
author of this version?&quot;, &quot;in what date this version was created?=
&quot;.
In other words, I wanna access the metadata provided by the Comma-V files, =
that
CVS uses.<br>
&nbsp;&nbsp; Better than that, suppose I wanna checkout a project for a cer=
tain
date, I would prefer to gather the information about authors of files, comm=
it
messages, and file versions, other than retrieving the files, in fact.<br>
&nbsp;&nbsp; Any ideas if this is possible?<br>
&nbsp; <br>
&nbsp;&nbsp; Sorry if I&#39;m being boring but, unfortunelly, I can&#39;t g=
et the
javadoc to dig it by myself.<br>
<br>
<br clear=3D"all">
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
Jemerson Figueiredo Damasio <br>
Bacharel em Ciencia da Computacao - UFCG <br>
Pesquisador do CNPq/GMF - UFCG<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
<br>
</span></font></p>

<div>

<p><font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt=
;">On Mon, Sep 8, 2008 at 4:48 PM, Ricardo Garcia &lt;<a href=3D"mailto:ric=
[email protected]" target=3D"_blank">[email protected]</a>&gt;
wrote:</span></font></p>

<div link=3D"blue" vlink=3D"blue">

<div>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">Actually, the build=
er does not provide any
information to its command. It takes the message output (by listening for
MessageEvents from the EventManager) and package it into a FileInfoEvent to
send to EventManager. Then you can use it in your CVSLinstener class (Main
class in your example).</span></font></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">&nbsp;</span></font=
></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">Check the UML attac=
hed (Made by Mr. Myron Ahn).</span></font></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">&nbsp;</span></font=
></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">&nbsp;</span></font=
></p>

<div>

<div style=3D"text-align: center;" align=3D"center"><font face=3D"Times New=
 Roman" size=3D"3"><span style=3D"font-size: 12pt;">

<hr align=3D"center" size=3D"2" width=3D"100%">

</span></font></div>

<p><b><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; font=
-family: Tahoma; font-weight: bold;">De:</span></font></b><font face=3D"Tah=
oma" size=3D"2"><span style=3D"font-size: 10pt; font-family: Tahoma;"> Jeme=
rson Damasio [mailto:<a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a>] <br>

<b><span style=3D"font-weight: bold;">Enviada em:</span></b> segunda-feira,=
 8 de
setembro de 2008 16:19<br>
<b><span style=3D"font-weight: bold;">Para:</span></b> <a href=3D"mailto:de=
[email protected]" target=3D"_blank">[email protected]</a>;
Pablo The Boss</span></font></p>

<div>

<div>

<p><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; font-fa=
mily: Tahoma;"><br>
<b><span style=3D"font-weight: bold;">Assunto:</span></b> Re: [javacvs-dev]=
 Source
code + Documentation</span></font></p>

</div>

</div>

</div>

<div>

<div>

<p><font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt=
;">&nbsp;</span></font></p>

<div>

<p style=3D"margin-bottom: 12pt;"><font face=3D"Times New Roman" size=3D"3"=
><span style=3D"font-size: 12pt;">No, sorry if I wasn&#39;t clear enough. <=
br>
As I&#39;ve read, the builders must provide data structures that represents=
 the
data gathered by the command used. The checkout is running perfectly and fi=
les
are already created on my local direcory. So, I have the command, the build=
er,
but can&#39;t the the corresponding data structure that the builder must pr=
ovide.
Any ideas?<br>
<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
Jemerson Figueiredo Damasio <br>
Bacharel em Ciencia da Computacao - UFCG <br>
Pesquisador do CNPq/GMF - UFCG<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D</span></font></p>

<div>

<p><font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt=
;">On Mon,
Sep 8, 2008 at 4:09 PM, Ricardo Garcia &lt;<a href=3D"mailto:ricardo.garcia=
@sfw.com.br" target=3D"_blank">[email protected]</a>&gt;
wrote:</span></font></p>

<div link=3D"blue" vlink=3D"blue">

<div>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;">Jamerson,</span></font></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">What exactly are yo=
u trying to do with the
builder? Do you want to set where to check out to?</span></font></p>

<p><font color=3D"navy" face=3D"Arial" size=3D"2"><span style=3D"font-size:=
 10pt; font-family: Arial; color: navy;" lang=3D"EN-US">&nbsp;</span></font=
></p>

<div>

<div style=3D"text-align: center;" align=3D"center"><font face=3D"Times New=
 Roman" size=3D"3"><span style=3D"font-size: 12pt;">

<hr align=3D"center" size=3D"2" width=3D"100%">

</span></font></div>

<p><b><font face=3D"Tahoma" size=3D"2"><span style=3D"font-size: 10pt; font=
-family: Tahoma; font-weight: bold;">De:</span></font></b><font face=3D"Tah=
oma" size=3D"2"><span style=3D"font-size: 10pt; font-family: Tahoma;"> Jeme=
rson Damasio [mailto:<a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a>] <br>

<b><span style=3D"font-weight: bold;">Enviada em:</span></b> segunda-feira,=
 8 de
setembro de 2008 15:48<br>
<b><span style=3D"font-weight: bold;">Para:</span></b> <a href=3D"mailto:de=
[email protected]" target=3D"_blank">[email protected]</a><br>
<b><span style=3D"font-weight: bold;">Assunto:</span></b> Re: [javacvs-dev]=
 Source
code + Documentation</span></font></p>

</div>

<div>

<div>

<p><font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt=
;">&nbsp;</span></font></p>

<div>

<p style=3D"margin-bottom: 12pt;"><font face=3D"Times New Roman" size=3D"3"=
><span style=3D"font-size: 12pt;">Guys,<br>
<br>
&nbsp; I just can&#39;t understand how to get the structure generated by th=
e
builder I&#39;m using. Here&#39;s what I&#39;m doing: <br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CheckoutCommand
command =3D new CheckoutCommand();<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
command.setRecursive(true);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
command.setModule(&quot;DesignChecker/EvolutionMetricsMiner&quot;);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
command.setPruneDirectories(true);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; EventManager manag=
er =3D
client.getEventManager();<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
manager.addCVSListener(new Main());<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; UpdateBuilder buil=
der
=3D new UpdateBuilder(manager, localPath);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
command.setBuilder(builder);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; boolean executeCom=
mand
=3D client.executeCommand(command, globalOptions);<br>
<br>
&nbsp; Can anyone tell me what I must do now? I&#39;ve already tryied to gu=
ess what
to do, but coudn&#39;t.<br>
<br>
Thanx in advance.<br>
&nbsp;<br>
<br>
<br>
<br clear=3D"all">
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
Jemerson Figueiredo Damasio <br>
Bacharel em Ciencia da Computacao - UFCG <br>
Pesquisador do CNPq/GMF - UFCG<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D</span></font></p>

<div>

<p><font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt=
;">On Thu,
Sep 4, 2008 at 3:28 PM, Bob Beetcher &lt;<a href=3D"mailto:Bob.Beetcher@sas=
.com" target=3D"_blank">[email protected]</a>&gt; wrote:</span></font></=
p>

<div link=3D"blue" vlink=3D"purple">

<div>

<p><font color=3D"blue" face=3D"Times New Roman" size=3D"2"><span style=3D"=
font-size: 11pt; color: blue;" lang=3D"EN-US">Not sure if this is useful, b=
ut a post I
made to the news group a little while back tried to provide some tips on ho=
w to
access and build the cvs client source: </span></font></p>

<p><font color=3D"blue" face=3D"Times New Roman" size=3D"2"><span style=3D"=
font-size: 11pt; color: blue;" lang=3D"EN-US">&nbsp;</span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&quot;Bob Beetcher&quot; &lt=
;<a href=3D"mailto:[email protected]" target=3D"_blank">Bob.Beetcher@sas=
.com</a>&gt;
wrote in message news:&lt;fnvu4i$nvt$<a href=3D"mailto:[email protected]" tar=
get=3D"_blank">[email protected]</a>&gt;...</span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; For anyone who might be=
nefit from it,
here are some my notes on accessing </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; the source for and buil=
ding the
javacvs client jar and javadoc.</span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; Using this URL, </span>=
</font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; <a href=3D"http://www.n=
etbeans.org/source/browse/javacvs/libsrc/org/netbeans/lib/cvsclient/?only_w=
ith_tag=3DMAIN" target=3D"_blank">http://www.netbeans.org/source/browse/jav=
acvs/libsrc/org/netbeans/lib/cvsclient/?only_with_tag=3DMAIN</a>,
</span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; you can locate the top =
level cvs
folder for the client source code. Then </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; using the &quot;Show fi=
les using
tag&quot; drop down selection box, you can select a </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; tag value for a version=
 of the files
that&#39;s of interest to you. For myself, </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; I chose to use
&quot;last_stable_dev&quot; tag.</span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; To get a local copy of =
and build the
source, I installed the NetBeans IDE </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; and used its &quot;Vers=
ioning&quot;
&gt; &quot;Checkout&quot; dropdown menu option to bring up the </span></fon=
t></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; &quot;Checkout&quot; di=
alog. There, I
used the default CVS Root of </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt;
&quot;:pserver:[email protected]:/cvs&quot; to connect to the server=
 and
</span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; specified &quot;javacvs=
&quot; for the
Module and &quot;last_stable_dev&quot; for the Tag to </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; checkout from. After th=
e checkout
completed, I chose the selection for a </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; &quot;Java Class Librar=
y&quot; in
response to the prompt to create a new project from </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; the newly checked out j=
avacvs source.
After adding the &quot;libsrc&quot; folder from </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; the javacvs source to t=
he new project&#39;s
source files list in the project </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; properties, I was able =
to use the
NetBeans build options to produce the jar </span></font></p>

<p style=3D"margin-left: 36pt;"><font face=3D"Times New Roman" size=3D"3"><=
span style=3D"font-size: 12pt;" lang=3D"EN-US">&gt; and the javadoc for the=
 client.</span></font></p>

<p style=3D"margin-left: 36pt;"><font color=3D"blue" face=3D"Times New Roma=
n" size=3D"2"><span style=3D"font-size: 11pt; color: blue;" lang=3D"EN-US">=
&nbsp;</span></font></p>

<p><font color=3D"blue" face=3D"Times New Roman" size=3D"2"><span style=3D"=
font-size: 11pt; color: blue;" lang=3D"EN-US">&nbsp;</span></font></p>

<p><b><font color=3D"blue" face=3D"Times New Roman" size=3D"2"><span style=
=3D"font-size: 10pt; color: blue; font-weight: bold;" lang=3D"EN-US">&gt;&g=
t;&gt; Note end - </span></font></b><b><font color=3D"green" size=3D"2"><sp=
an style=3D"font-size: 10pt; color: green; font-weight: bold;" lang=3D"EN-U=
S">Bob Beetcher</span></font></b><b><font color=3D"blue" size=3D"2"><span s=
tyle=3D"font-size: 10pt; color: blue; font-weight: bold;" lang=3D"EN-US"> &=
lt;&lt;&lt;</span></font></b></p>


<div style=3D"border-style: solid none none; border-color: -moz-use-text-co=
lor; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">

<p><b><font face=3D"Times New Roman" size=3D"2"><span style=3D"font-size: 1=
0pt; font-weight: bold;" lang=3D"EN-US">From:</span></font></b><font size=
=3D"2"><span style=3D"font-size: 10pt;" lang=3D"EN-US"> Jemerson Damasio [m=
ailto:<a href=3D"mailto:[email protected]" target=3D"_blank">jemersonfd@=
gmail.com</a>] <br>

<b><span style=3D"font-weight: bold;">Sent:</span></b> Thursday, September =
04, 2008
11:22 AM<br>
<b><span style=3D"font-weight: bold;">To:</span></b> <a href=3D"mailto:dev@=
javacvs.netbeans.org" target=3D"_blank">[email protected]</a><br>
<b><span style=3D"font-weight: bold;">Subject:</span></b> Re: [javacvs-dev]=
 Source
code + Documentation</span></font></p>

</div>

<div>

<div>

<p><font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt=
;" lang=3D"EN-US">&nbsp;</span></font></p>

<div>

<p style=3D"margin-bottom: 12pt;"><font face=3D"Times New Roman" size=3D"3"=
><span style=3D"font-size: 12pt;" lang=3D"EN-US">In fact, I was wrong sayin=
g &quot;very poor
documentation&quot;, I had found those you referenced and it&#39;s not that=
 poor,
but just there is no Javadoc, nor the source code there.<br>
<br>
Regard,<br>
<br clear=3D"all">
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
Jemerson Figueiredo Damasio <br>
Bacharel em Ciencia da Computacao - UFCG <br>
Pesquisador do CNPq/GMF - UFCG<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D</span></font></p>

<div>

<p><font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt=
;" lang=3D"EN-US">On
Thu, Sep 4, 2008 at 11:42 AM, Peter Pis &lt;<a href=3D"mailto:Peter.Pis@sun=
.com" target=3D"_blank">[email protected]</a>&gt; wrote:</span></font></p>

<p><font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt=
;" lang=3D"EN-US">Hi,<br>
<br>
&nbsp; &lt;nb_clone_main&gt;lib.cvsclient<br>
<br>
Please &quot;Documents&quot; section in<br>
<a href=3D"http://javacvs.netbeans.org/library/" target=3D"_blank">http://j=
avacvs.netbeans.org/library/</a><br>
<br>
Regards,<br>
-Peter</span></font></p>

<div>

<div>

<p><font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt=
;" lang=3D"EN-US"><br>
<br>
Jemerson Damasio wrote:</span></font></p>

<p><font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt=
;" lang=3D"EN-US">&nbsp;
&nbsp; Hi everyone, would someone please tell me where can I get the source
code of the JavaCVS? I&#39;ve already tryied the CVS and the project site, =
but
couldn&#39;t find it. I found an online version of the files, but navigatin=
g
through the site is not good.<br>
&nbsp; &nbsp;How about the API, only god knows where it is...<br>
&nbsp; &nbsp;Is the project dead? I just can find very poor documentation.<=
br>
<br>
&nbsp; &nbsp;Any help will be really appreciatted.<br>
&nbsp; &nbsp; &nbsp;Thanks in advance,<br>
<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
Jemerson Figueiredo Damasio<br>
Bacharel em Ciencia da Computacao - UFCG<br>
Pesquisador do CNPq/GMF - UFCG<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D</span></font></p>

<p style=3D"margin-bottom: 12pt;"><font face=3D"Times New Roman" size=3D"3"=
><span style=3D"font-size: 12pt;" lang=3D"EN-US">&nbsp;</span></font></p>

</div>

</div>

<p style=3D"margin-bottom: 12pt;"><font face=3D"Times New Roman" size=3D"3"=
><span style=3D"font-size: 12pt;" lang=3D"EN-US">--------------------------=
-------------------------------------------<br>
To unsubscribe, e-mail: <a href=3D"mailto:[email protected].=
org" target=3D"_blank">[email protected]</a><br>
For additional commands, e-mail: <a href=3D"mailto:[email protected]=
s.org" target=3D"_blank">[email protected]</a></span></font></p=
>

</div>

<p><font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt=
;" lang=3D"EN-US">&nbsp;</span></font></p>

</div>

</div>

</div>

</div>

</div>

</div>

<p><font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt=
;">&nbsp;</span></font></p>

</div>

</div>

</div>

</div>

</div>

</div>

<p><font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt=
;">&nbsp;</span></font></p>

</div>

</div>

</div>

</div>

</div>

<p><font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt=
;"><br>
---------------------------------------------------------------------<br>
To unsubscribe, e-mail: <a href=3D"mailto:[email protected].=
org" target=3D"_blank">[email protected]</a><br>
For additional commands, e-mail: <a href=3D"mailto:[email protected]=
s.org" target=3D"_blank">[email protected]</a></span></font></p=
>

</div>

<p><font face=3D"Times New Roman" size=3D"3"><span style=3D"font-size: 12pt=
;">&nbsp;</span></font></p>

</div>

</div></div></div>

</div>


</blockquote></div><br></div>

------=_Part_68311_598902.1221661923823--