Re: Source code + Documentation

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

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_80929_29422346.1220899656982
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div dir="ltr">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><br><div class="gmail_quote">On Thu, Sep 4, 2008 at 3:28 PM, Bob Beetcher <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="purple" lang="EN-US">

<div>

<p><span style="font-size: 11pt; 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></p>

<p><span style="font-size: 11pt; color: blue;">&nbsp;</span></p>

<p style="margin-left: 0.5in;">&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;...</p>

<p style="margin-left: 0.5in;">&gt; For anyone who might
benefit from it, here are some my notes on accessing </p>

<p style="margin-left: 0.5in;">&gt; the source for and building
the javacvs client jar and javadoc.</p>

<p style="margin-left: 0.5in;">&gt; </p>

<p style="margin-left: 0.5in;">&gt; </p>

<p style="margin-left: 0.5in;">&gt; </p>

<p style="margin-left: 0.5in;">&gt; Using this URL, </p>

<p style="margin-left: 0.5in;">&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>,
</p>

<p style="margin-left: 0.5in;">&gt; you can locate the top
level cvs folder for the client source code. Then </p>

<p style="margin-left: 0.5in;">&gt; using the &quot;Show files
using tag&quot; drop down selection box, you can select a </p>

<p style="margin-left: 0.5in;">&gt; tag value for a version of
the files that&#39;s of interest to you. For myself, </p>

<p style="margin-left: 0.5in;">&gt; I chose to use
&quot;last_stable_dev&quot; tag.</p>

<p style="margin-left: 0.5in;">&gt; </p>

<p style="margin-left: 0.5in;">&gt; </p>

<p style="margin-left: 0.5in;">&gt; </p>

<p style="margin-left: 0.5in;">&gt; To get a local copy of and
build the source, I installed the NetBeans IDE </p>

<p style="margin-left: 0.5in;">&gt; and used its
&quot;Versioning&quot; &gt; &quot;Checkout&quot; dropdown menu option to bring
up the </p>

<p style="margin-left: 0.5in;">&gt; &quot;Checkout&quot;
dialog. There, I used the default CVS Root of </p>

<p style="margin-left: 0.5in;">&gt;
&quot;:pserver:[email protected]:/cvs&quot; to connect to the server and
</p>

<p style="margin-left: 0.5in;">&gt; specified &quot;javacvs&quot;
for the Module and &quot;last_stable_dev&quot; for the Tag to </p>

<p style="margin-left: 0.5in;">&gt; checkout from. After the
checkout completed, I chose the selection for a </p>

<p style="margin-left: 0.5in;">&gt; &quot;Java Class
Library&quot; in response to the prompt to create a new project from </p>

<p style="margin-left: 0.5in;">&gt; the newly checked out
javacvs source. After adding the &quot;libsrc&quot; folder from </p>

<p style="margin-left: 0.5in;">&gt; the javacvs source to the
new project&#39;s source files list in the project </p>

<p style="margin-left: 0.5in;">&gt; properties, I was able to
use the NetBeans build options to produce the jar </p>

<p style="margin-left: 0.5in;">&gt; and the javadoc for the
client.</p>

<p style="margin-left: 0.5in;"><span style="font-size: 11pt; color: blue;">&nbsp;</span></p>

<p><span style="font-size: 11pt; color: blue;">&nbsp;</span></p>

<p><b><span style="font-size: 10pt; color: blue;">&gt;&gt;&gt; Note end - </span></b><b><span style="font-size: 10pt; color: green;">Bob Beetcher</span></b><b><span style="font-size: 10pt; color: blue;">
&lt;&lt;&lt;</span></b><span style="font-size: 11pt; color: blue;"></span></p>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> Jemerson Damasio
[mailto:<a href="mailto:[email protected]" target="_blank">[email protected]</a>] <br>
<b>Sent:</b> Thursday, September 04, 2008 11:22 AM<br>
<b>To:</b> <a href="mailto:[email protected]" target="_blank">[email protected]</a><br>
<b>Subject:</b> Re: [javacvs-dev] Source code + Documentation</span></p>

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

<p>&nbsp;</p>

<div>

<p style="margin-bottom: 12pt;">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>
==================================<br>
<br>
</p>

<div>

<p>On Thu, Sep 4, 2008 at 11:42 AM, Peter Pis &lt;<a href="mailto:[email protected]" target="_blank">[email protected]</a>&gt; wrote:</p>

<p>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</p>

<div>

<div>

<p><br>
<br>
Jemerson Damasio wrote:</p>

<p>&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>
==================================</p>

<p style="margin-bottom: 12pt;">&nbsp;</p>

</div>

</div>

<p style="margin-bottom: 12pt;">---------------------------------------------------------------------<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></p>

</div>

<p>&nbsp;</p>

</div>

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

</div>


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

------=_Part_80929_29422346.1220899656982--