RES: Source code + Documentation
"Ricardo Garcia" <[email protected]> Tue, 9 Sep 2008 15:48:32 -0300
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <[email protected]> |
------=_NextPart_000_008A_01C91293.833B3DC0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Jemerson,
=20
You can use the RLogCommand, then you have all the info you need =
generated
by FileInfoEvent.
Here=92s a detailed example of how can you get this:
=20
GlobalOptions globalOptions =3D new GlobalOptions();
globalOptions.setCVSRoot(CVSRoot.parse(<YOUR CVSROOT>).toString());
PServerConnection c =3D new PServerConnection(CVSRoot.parse(<YOUR =
CVSROOT>),
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();
//
=20
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.
=20
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());
=20
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);
}
=20
This is not the best way to keep the information, but you can get the =
ideia
right?
=20
Regards
=20
Ricardo Garcia
=20
_____ =20
De: Jemerson Damasio [mailto:[email protected]]=20
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
=20
Thanks Ricardo.=20
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: "what version am I checking out?", "who was the author of this
version?", "in what date this version was created?". In other words, 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 =
date,
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?
=20
Sorry if I'm being boring but, unfortunelly, I can't get the javadoc =
to
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=20
Bacharel em Ciencia da Computacao - UFCG=20
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]>
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 =
example).
=20
Check the UML attached (Made by Mr. Myron Ahn).
=20
=20
_____ =20
De: Jemerson Damasio [mailto:[email protected]]=20
Enviada em: segunda-feira, 8 de setembro de 2008 16:19
Para: [email protected]; Pablo The Boss
Assunto: Re: [javacvs-dev] Source code + Documentation
=20
No, sorry if I wasn't clear enough.=20
As I've read, the builders must provide data structures that represents =
the
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, =
the
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=20
Bacharel em Ciencia da Computacao - UFCG=20
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,
=20
What exactly are you trying to do with the builder? Do you want to set =
where
to check out to?
=20
_____ =20
De: Jemerson Damasio [mailto:[email protected]]=20
Enviada em: segunda-feira, 8 de setembro de 2008 15:48
Para: [email protected]
Assunto: Re: [javacvs-dev] Source code + Documentation
=20
Guys,
I just can't understand how to get the structure generated by the =
builder
I'm using. Here's what I'm doing:=20
CheckoutCommand command =3D new CheckoutCommand();
command.setRecursive(true);
command.setModule("DesignChecker/EvolutionMetricsMiner");
command.setPruneDirectories(true);
=20
EventManager manager =3D client.getEventManager();
manager.addCVSListener(new Main());
UpdateBuilder builder =3D new UpdateBuilder(manager, =
localPath);
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 =
what
to do, but coudn't.
Thanx in advance.
=20
=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=20
Bacharel em Ciencia da Computacao - UFCG=20
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:=20
=20
"Bob Beetcher" <[email protected]> wrote in message
news:<[email protected]>...
> For anyone who might benefit from it, here are some my notes on =
accessing=20
> the source for and building the javacvs client jar and javadoc.
>=20
>=20
>=20
> Using this URL,=20
>
http://www.netbeans.org/source/browse/javacvs/libsrc/org/netbeans/lib/cvs=
cli
ent/?only_with_tag=3DMAIN,=20
> you can locate the top level cvs folder for the client source code. =
Then=20
> using the "Show files using tag" drop down selection box, you can =
select a
> tag value for a version of the files that's of interest to you. For
myself,=20
> I chose to use "last_stable_dev" tag.
>=20
>=20
>=20
> To get a local copy of and build the source, I installed the NetBeans =
IDE=20
> and used its "Versioning" > "Checkout" dropdown menu option to bring =
up
the=20
> "Checkout" dialog. There, I used the default CVS Root of=20
> ":pserver:[email protected]:/cvs" to connect to the server and=20
> specified "javacvs" for the Module and "last_stable_dev" for the Tag =
to=20
> checkout from. After the checkout completed, I chose the selection for =
a=20
> "Java Class Library" in response to the prompt to create a new project
from=20
> the newly checked out javacvs source. After adding the "libsrc" folder
from=20
> the javacvs source to the new project's source files list in the =
project=20
> properties, I was able to use the NetBeans build options to produce =
the
jar=20
> and the javadoc for the client.
=20
=20
>>> Note end - Bob Beetcher <<<
From: Jemerson Damasio [mailto:[email protected]]=20
Sent: Thursday, September 04, 2008 11:22 AM
To: [email protected]
Subject: Re: [javacvs-dev] Source code + Documentation
=20
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=20
Bacharel em Ciencia da Computacao - UFCG=20
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, =
but
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
=20
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
=20
=20
=20
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
=20
------=_NextPart_000_008A_01C91293.833B3DC0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EstiloDeEmail18
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DPT-BR link=3Dblue vlink=3Dblue>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Jemerson,<o:p></o:p></span></font></=
p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>You can use the
RLogCommand, then you have all the info you need generated by =
FileInfoEvent.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>Here’s a =
detailed
example of how can you get this:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p>=
</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0GlobalOptions globalOptions =3D=A0 new
GlobalOptions();<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0globalOptions.setCVSRoot(CVSRoot.parse(<=
;YOUR
CVSROOT>).toString());<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0PServerConnection c =3D new
PServerConnection(CVSRoot.parse(<YOUR CVSROOT>),
SocketFactory.getDefault());<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0Client client =3D new Client(c, new =
StandardAdminHandler());<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0//<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0client.getEventManager().addCVSListener(ne=
w RLogParser());<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>//<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>c.open();<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>//<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>RlogCommand =3D new =
RlogCommand();<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>cmd.setModule(<YOUR CVS =
MODULE>);<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>//<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>client.executeCommand(cmd, =
globalOptions);<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>//<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>c.close();<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>//<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>Now the =
FileInfoEvent at
RLogParser Class:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>Supose I have a =
class
(CVSFileHeader for Header and CVSFileDetails for details) that contains =
all
info from ,v files.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>See how the =
Iterator gets
the file informations that you need.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p>=
</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>public void fileInfoGenerated(FileInfoEvent =
info){<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 fcvs =3D new =
CVSFileHeader();<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 dcvs =3D new =
CVSFileDetails();<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 Vector vRevs =3D new =
Vector();<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0=A0 Vector vHeader =3D =
new Vector();<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 LogInformation li =3D
(LogInformation)info.getInfoContainer();<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 =
//<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 Iterator =
iTRevisionList =3D
li.getRevisionList().iterator();<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 =
//<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 =
fcvs.setAccesslist(li.getAccessList());<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 =
fcvs.setBranch(li.getBranch());<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0
fcvs.setFilename(li.getFile().getAbsolutePath());<o:p></o:p></span></font=
></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 =
fcvs.setHeadrevision(li.getHeadRevision());<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 =
fcvs.setLocks(li.getLocks());<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 =
fcvs.setSelectedrevisions(li.getSelectedRevisions());<o:p></o:p></span></=
font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 =
fcvs.setSymbolicnames((ArrayList)
li.getAllSymbolicNames());<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0
fcvs.setTotalrevisions(li.getTotalRevisions());<o:p></o:p></span></font><=
/p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 =
//<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 while =
(iTRevisionList.hasNext()){<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
LogInformation.Revision rev =3D =
(LogInformation.Revision)iTRevisionList.next();<o:p></o:p></span></font><=
/p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
dcvs.setAuthor(rev.getAuthor());<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
dcvs.setBranches(rev.getBranches());<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
dcvs.setCommitid(rev.getCommitID());<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
dcvs.setFilename(rev.getLogInfoHeader().getFile().getAbsolutePath());<o:p=
></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
dcvs.setKopt(rev.getLogInfoHeader().getKeywordSubstitution());<o:p></o:p>=
</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
dcvs.setLines(rev.getLines());<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
dcvs.setMergepoint("");<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
dcvs.setMessage(rev.getMessage());<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
dcvs.setRevisiondate(rev.getDateString());<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
dcvs.setRevisionnumber(rev.getNumber());<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
dcvs.setState(rev.getState());<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
vRevs.add(dcvs);<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 =
}<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 =
fcvs.setDetalhesFromVector(vRevs);<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0=A0=A0=A0=A0 =
vHeader.add(fcvs);<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'>=A0=A0=A0 }<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3DCalibri><span lang=3DEN-US =
style=3D'font-size:
12.0pt;font-family:Calibri'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>This is not the =
best way
to keep the information, but you can get the ideia =
right?<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p>=
</span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>Regards<o:p></o:p=
></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p>=
</span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>Ricardo =
Garcia<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p>=
</span></font></p>
<div>
<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>
<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>
</span></font></div>
<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>De:</span></font></b><font size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> =
Jemerson Damasio
[mailto:[email protected]] <br>
<b><span style=3D'font-weight:bold'>Enviada em:</span></b> =
ter=E7a-feira, 9 de
setembro de 2008 15:26<br>
<b><span style=3D'font-weight:bold'>Para:</span></b> =
[email protected]<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> Pablo The Boss<br>
<b><span style=3D'font-weight:bold'>Assunto:</span></b> Re: =
[javacvs-dev] Source
code + Documentation</span></font><o:p></o:p></p>
</div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>Thanks =
Ricardo. <br>
<br>
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: "what version am I checking out?", "who =
was the
author of this version?", "in what date this version was =
created?".
In other words, I wanna access the metadata provided by the Comma-V =
files, that
CVS uses.<br>
Better than that, suppose I wanna checkout a project for a =
certain
date, I would prefer to gather the information about authors of files, =
commit
messages, and file versions, other than retrieving the files, in =
fact.<br>
Any ideas if this is possible?<br>
<br>
Sorry if I'm being boring but, unfortunelly, I can't get =
the
javadoc to dig it by myself.<br>
<br>
<br clear=3Dall>
=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>
<o:p></o:p></span></font></p>
<div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>On Mon, Sep 8, 2008 at 4:48 PM, Ricardo Garcia <<a
href=3D"mailto:[email protected]">[email protected]</a>&g=
t;
wrote:<o:p></o:p></span></font></p>
<div link=3Dblue vlink=3Dblue>
<div>
<p><font size=3D2 color=3Dnavy face=3DArial><span lang=3DEN-US =
style=3D'font-size:10.0pt;
font-family:Arial;color:navy'>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 example).</span></font><o:p></o:p></p>
<p><font size=3D2 color=3Dnavy face=3DArial><span lang=3DEN-US =
style=3D'font-size:10.0pt;
font-family:Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=3D2 color=3Dnavy face=3DArial><span lang=3DEN-US =
style=3D'font-size:10.0pt;
font-family:Arial;color:navy'>Check the UML attached (Made by Mr. Myron =
Ahn).</span></font><o:p></o:p></p>
<p><font size=3D2 color=3Dnavy face=3DArial><span lang=3DEN-US =
style=3D'font-size:10.0pt;
font-family:Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=3D2 color=3Dnavy face=3DArial><span lang=3DEN-US =
style=3D'font-size:10.0pt;
font-family:Arial;color:navy'> </span></font><o:p></o:p></p>
<div>
<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>
<hr size=3D2 width=3D"100%" align=3Dcenter>
</span></font></div>
<p><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>De:</span></font></b><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'> Jemerson Damasio =
[mailto:<a
href=3D"mailto:[email protected]" =
target=3D"_blank">[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:[email protected]" =
target=3D"_blank">[email protected]</a>;
Pablo The Boss<o:p></o:p></span></font></p>
<div>
<div>
<p class=3DMsoNormal><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma'><br>
<b><span style=3D'font-weight:bold'>Assunto:</span></b> Re: =
[javacvs-dev] Source
code + Documentation<o:p></o:p></span></font></p>
</div>
</div>
</div>
<div>
<div>
<p><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>
<div>
<p style=3D'margin-bottom:12.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>No, sorry if I wasn't clear enough. <br>
As I've read, the builders must provide data structures that represents =
the
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, the =
builder,
but can't the the corresponding data structure that the builder must =
provide.
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<o:p></o:p></span></font></p>
<div>
<p><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'>On Mon,
Sep 8, 2008 at 4:09 PM, Ricardo Garcia <<a
href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</a>>
wrote:<o:p></o:p></span></font></p>
<div link=3Dblue vlink=3Dblue>
<div>
<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>Jamerson,</span></font><o:p></o:p></p>
<p><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=3D2 color=3Dnavy face=3DArial><span lang=3DEN-US =
style=3D'font-size:10.0pt;
font-family:Arial;color:navy'>What exactly are you trying to do with the
builder? Do you want to set where to check out =
to?</span></font><o:p></o:p></p>
<p><font size=3D2 color=3Dnavy face=3DArial><span lang=3DEN-US =
style=3D'font-size:10.0pt;
font-family:Arial;color:navy'> </span></font><o:p></o:p></p>
<div>
<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>
<hr size=3D2 width=3D"100%" align=3Dcenter>
</span></font></div>
<p><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>De:</span></font></b><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'> Jemerson Damasio =
[mailto:<a
href=3D"mailto:[email protected]" =
target=3D"_blank">[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:[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><o:p></o:p></p>
</div>
<div>
<div>
<p><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>
<div>
<p style=3D'margin-bottom:12.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>Guys,<br>
<br>
I just can't understand how to get the structure generated by the
builder I'm using. Here's what I'm doing: <br>
<br>
CheckoutCommand
command =3D new CheckoutCommand();<br>
<br>
command.setRecursive(true);<br>
command.setModule("DesignChecker/EvolutionMetricsMiner");<br>
command.setPruneDirectories(true);<br>
<br>
EventManager =
manager =3D
client.getEventManager();<br>
manager.addCVSListener(new Main());<br>
<br>
UpdateBuilder =
builder
=3D new UpdateBuilder(manager, localPath);<br>
command.setBuilder(builder);<br>
boolean =
executeCommand
=3D client.executeCommand(command, globalOptions);<br>
<br>
Can anyone tell me what I must do now? I've already tryied to =
guess what
to do, but coudn't.<br>
<br>
Thanx in advance.<br>
<br>
<br>
<br>
<br clear=3Dall>
=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<o:p></o:p></span></font></p>
<div>
<p><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'>On Thu,
Sep 4, 2008 at 3:28 PM, Bob Beetcher <<a =
href=3D"mailto:[email protected]"
target=3D"_blank">[email protected]</a>> =
wrote:<o:p></o:p></span></font></p>
<div link=3Dblue vlink=3Dpurple>
<div>
<p><font size=3D2 color=3Dblue face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:11.0pt;color:blue'>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: </span></font><o:p></o:p></p>
<p><font size=3D2 color=3Dblue face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:11.0pt;color:blue'> </span></font><o:p></o:p></p>=
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>"Bob Beetcher" <<a
href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</a>>
wrote in message news:<fnvu4i$nvt$<a href=3D"mailto:[email protected]"
target=3D"_blank">[email protected]</a>>...</span><o:p></o:p></font></p>=
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> For anyone who might =
benefit from it,
here are some my notes on accessing </span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> the source for and building =
the
javacvs client jar and javadoc.</span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> =
</span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> =
</span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> =
</span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> Using this URL, =
</span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> <a
href=3D"http://www.netbeans.org/source/browse/javacvs/libsrc/org/netbeans=
/lib/cvsclient/?only_with_tag=3DMAIN"
target=3D"_blank">http://www.netbeans.org/source/browse/javacvs/libsrc/or=
g/netbeans/lib/cvsclient/?only_with_tag=3DMAIN</a>,
</span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> you can locate the top =
level cvs
folder for the client source code. Then </span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> using the "Show files =
using
tag" drop down selection box, you can select a =
</span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> tag value for a version of =
the files
that's of interest to you. For myself, </span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> I chose to use
"last_stable_dev" tag.</span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> =
</span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> =
</span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> =
</span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> To get a local copy of and =
build the
source, I installed the NetBeans IDE </span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> and used its =
"Versioning"
> "Checkout" dropdown menu option to bring up the =
</span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> "Checkout" =
dialog. There, I
used the default CVS Root of </span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>>
":pserver:[email protected]:/cvs" to connect to the =
server and
</span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> specified =
"javacvs" for the
Module and "last_stable_dev" for the Tag to =
</span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> checkout from. After the =
checkout
completed, I chose the selection for a </span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> "Java Class =
Library" in
response to the prompt to create a new project from =
</span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> the newly checked out =
javacvs source.
After adding the "libsrc" folder from =
</span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> the javacvs source to the =
new project's
source files list in the project </span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> properties, I was able to =
use the
NetBeans build options to produce the jar </span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>> and the javadoc for the =
client.</span><o:p></o:p></font></p>
<p style=3D'margin-left:36.0pt'><font size=3D2 color=3Dblue =
face=3D"Times New Roman"><span
lang=3DEN-US =
style=3D'font-size:11.0pt;color:blue'> </span></font><o:p></o:p></p>=
<p><font size=3D2 color=3Dblue face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:11.0pt;color:blue'> </span></font><o:p></o:p></p>=
<p><b><font size=3D2 color=3Dblue face=3D"Times New Roman"><span =
lang=3DEN-US
style=3D'font-size:10.0pt;color:blue;font-weight:bold'>>>> Note =
end - </span></font></b><b><font
size=3D2 color=3Dgreen><span lang=3DEN-US =
style=3D'font-size:10.0pt;color:green;
font-weight:bold'>Bob Beetcher</span></font></b><b><font size=3D2 =
color=3Dblue><span
lang=3DEN-US style=3D'font-size:10.0pt;color:blue;font-weight:bold'> =
<<<</span></font></b><o:p></o:p></p>
<div style=3D'border:none;border-top:solid windowtext =
1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color'>
<p><b><font size=3D2 face=3D"Times New Roman"><span lang=3DEN-US =
style=3D'font-size:
10.0pt;font-weight:bold'>From:</span></font></b><font size=3D2><span =
lang=3DEN-US
style=3D'font-size:10.0pt'> Jemerson Damasio [mailto:<a
href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</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:[email protected]" =
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><o:p></o:p></p>
</div>
<div>
<div>
<p><font size=3D3 face=3D"Times New Roman"><span lang=3DEN-US =
style=3D'font-size:12.0pt'> </span><o:p></o:p></font></p>
<div>
<p style=3D'margin-bottom:12.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US style=3D'font-size:12.0pt'>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.<br>
<br>
Regard,<br>
<br clear=3Dall>
=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><o:p></o:p></font></p>
<div>
<p><font size=3D3 face=3D"Times New Roman"><span lang=3DEN-US =
style=3D'font-size:12.0pt'>On
Thu, Sep 4, 2008 at 11:42 AM, Peter Pis <<a =
href=3D"mailto:[email protected]"
target=3D"_blank">[email protected]</a>> =
wrote:</span><o:p></o:p></font></p>
<p><font size=3D3 face=3D"Times New Roman"><span lang=3DEN-US =
style=3D'font-size:12.0pt'>Hi,<br>
<br>
<nb_clone_main>lib.cvsclient<br>
<br>
Please "Documents" section in<br>
<a href=3D"http://javacvs.netbeans.org/library/" =
target=3D"_blank">http://javacvs.netbeans.org/library/</a><br>
<br>
Regards,<br>
-Peter</span><o:p></o:p></font></p>
<div>
<div>
<p><font size=3D3 face=3D"Times New Roman"><span lang=3DEN-US =
style=3D'font-size:12.0pt'><br>
<br>
Jemerson Damasio wrote:</span><o:p></o:p></font></p>
<p><font size=3D3 face=3D"Times New Roman"><span lang=3DEN-US =
style=3D'font-size:12.0pt'>
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, =
but
couldn't find it. I found an online version of the files, but navigating
through the site is not good.<br>
How about the API, only god knows where it is...<br>
Is the project dead? I just can find very poor =
documentation.<br>
<br>
Any help will be really appreciatted.<br>
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><o:p></o:p></font></p>
<p style=3D'margin-bottom:12.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US =
style=3D'font-size:12.0pt'> </span><o:p></o:p></font></p>
</div>
</div>
<p style=3D'margin-bottom:12.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
lang=3DEN-US =
style=3D'font-size:12.0pt'>----------------------------------------------=
-----------------------<br>
To unsubscribe, e-mail: <a =
href=3D"mailto:[email protected]"
target=3D"_blank">[email protected]</a><br>
For additional commands, e-mail: <a =
href=3D"mailto:[email protected]"
target=3D"_blank">[email protected]</a></span><o:p></o:p></fo=
nt></p>
</div>
<p><font size=3D3 face=3D"Times New Roman"><span lang=3DEN-US =
style=3D'font-size:12.0pt'> </span><o:p></o:p></font></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
</div>
</div>
</div>
</div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><br>
---------------------------------------------------------------------<br>=
To unsubscribe, e-mail: <a =
href=3D"mailto:[email protected]">dev-unsubscribe@java=
cvs.netbeans.org</a><br>
For additional commands, e-mail: <a =
href=3D"mailto:[email protected]">[email protected]=
rg</a><o:p></o:p></span></font></p>
</div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</div>
</body>
</html>
------=_NextPart_000_008A_01C91293.833B3DC0--