Re: Source code + Documentation

"Jemerson Damasio" <[email protected]> Mon, 8 Sep 2008 16:19:01 -0300
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Message-ID <[email protected]>
------=_Part_81739_9385464.1220901541870
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

No, sorry if I wasn't clear enough.
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?

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


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 builder
> I'm using. Here's what I'm doing:
>
>             CheckoutCommand command = new CheckoutCommand();
>
>             command.setRecursive(true);
>             command.setModule("DesignChecker/EvolutionMetricsMiner");
>             command.setPruneDirectories(true);
>
>             EventManager manager = client.getEventManager();
>             manager.addCVSListener(new Main());
>
>             UpdateBuilder builder = new UpdateBuilder(manager, localPath);
>             command.setBuilder(builder);
>             boolean executeCommand = 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.
>
>
>
>
> ==================================
> Jemerson Figueiredo Damasio
> Bacharel em Ciencia da Computacao - UFCG
> Pesquisador do CNPq/GMF - UFCG
> ==================================
>
>  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 accessing
>
>
> > 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/cvsclient/?only_with_tag=MAIN,
>
>
> > you can locate the top level cvs folder for the client source code. Then
>
> > 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,
>
> > I chose to use "last_stable_dev" tag.
>
> >
>
> >
>
> >
>
> > To get a local copy of and build the source, I installed the NetBeans IDE
>
>
> > 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 project
>
> > 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,
>
> ==================================
> Jemerson Figueiredo Damasio
> Bacharel em Ciencia da Computacao - UFCG
> Pesquisador do CNPq/GMF - UFCG
> ==================================
>
> 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,
>
> ==================================
> Jemerson Figueiredo Damasio
> Bacharel em Ciencia da Computacao - UFCG
> Pesquisador do CNPq/GMF - UFCG
> ==================================
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
>
>

------=_Part_81739_9385464.1220901541870
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div dir="ltr">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 files are already created on my local direcory. So, I have the command, the builder, but can&#39;t the the corresponding data structure that the builder must provide. Any ideas?<br>
<br>==================================<br>Jemerson Figueiredo Damasio <br>Bacharel em Ciencia da Computacao - UFCG <br>Pesquisador do CNPq/GMF - UFCG<br>==================================<br>
<br><br><div class="gmail_quote">On Mon, Sep 8, 2008 at 4:09 PM, Ricardo Garcia <span dir="ltr">&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">










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

<div>

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

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

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

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

<div>

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

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

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

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">De:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> Jemerson Damasio
[mailto:<a href="mailto:[email protected]" target="_blank">[email protected]</a>] <br>
<b><span style="font-weight: bold;">Enviada em:</span></b> segunda-feira, 8 de
setembro de 2008 15:48<br>
<b><span style="font-weight: bold;">Para:</span></b> <a href="mailto:[email protected]" target="_blank">[email protected]</a><br>
<b><span style="font-weight: bold;">Assunto:</span></b> Re: [javacvs-dev] Source
code + Documentation</span></font></p>

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

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

<div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Guys,<br>
<br>
&nbsp; I just can&#39;t understand how to get the structure generated by the
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 = 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 manager =
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 builder
= 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 executeCommand
= client.executeCommand(command, globalOptions);<br>
<br>
&nbsp; Can anyone tell me what I must do now? I&#39;ve already tryied to guess what
to do, but coudn&#39;t.<br>
<br>
Thanx in advance.<br>
&nbsp;<br>
<br>
<br>
<br clear="all">
==================================<br>
Jemerson Figueiredo Damasio <br>
Bacharel em Ciencia da Computacao - UFCG <br>
Pesquisador do CNPq/GMF - UFCG<br>
==================================<br>
<br>
</span></font></p>

<div>

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


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

<div>

<p><font color="blue" face="Times New Roman" size="2"><span style="font-size: 11pt; color: blue;" lang="EN-US">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><span lang="EN-US"></span></p>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

<p><b><font color="blue" face="Times New Roman" size="2"><span style="font-size: 10pt; color: blue; font-weight: bold;" lang="EN-US">&gt;&gt;&gt; Note end - </span></font></b><b><font color="green" size="2"><span style="font-size: 10pt; color: green; font-weight: bold;" lang="EN-US">Bob Beetcher</span></font></b><b><font color="blue" size="2"><span style="font-size: 10pt; color: blue; font-weight: bold;" lang="EN-US"> &lt;&lt;&lt;</span></font></b><span lang="EN-US"></span></p>


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

<p><b><font face="Times New Roman" size="2"><span style="font-size: 10pt; font-weight: bold;" lang="EN-US">From:</span></font></b><font size="2"><span style="font-size: 10pt;" lang="EN-US"> Jemerson Damasio [mailto:<a href="mailto:[email protected]" target="_blank">[email protected]</a>] <br>

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

</div>

<div>

<div>

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

<div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">In fact, I was wrong saying &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="all">
==================================<br>
Jemerson Figueiredo Damasio <br>
Bacharel em Ciencia da Computacao - UFCG <br>
Pesquisador do CNPq/GMF - UFCG<br>
==================================</span></font></p>

<div>

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

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

<div>

<div>

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

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="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 navigating
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>
==================================<br>
Jemerson Figueiredo Damasio<br>
Bacharel em Ciencia da Computacao - UFCG<br>
Pesquisador do CNPq/GMF - UFCG<br>
==================================</span></font></p>

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

</div>

</div>

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

</div>

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

</div>

</div>

</div>

</div>

</div>

</div>

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

</div>

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

</div>


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

------=_Part_81739_9385464.1220901541870--