RES: Source code + Documentation
"Ricardo Garcia" <[email protected]> Mon, 8 Sep 2008 16:09:04 -0300
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <[email protected]> |
------=_NextPart_000_0081_01C911CD.37237BD0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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:<[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/cvscli ent/?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] ------=_NextPart_000_0081_01C911CD.37237BD0 Content-Type: text/html; charset="us-ascii" 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=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <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;} /* 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'>Jamerson,<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'>What exactly are = you trying to do with the builder? Do you want to set where to check out = to?<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> = segunda-feira, 8 de setembro de 2008 15:48<br> <b><span style=3D'font-weight:bold'>Para:</span></b> = [email protected]<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'>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<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 Thu, Sep 4, 2008 at 3:28 PM, Bob Beetcher <<a href=3D"mailto:[email protected]">[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><span = lang=3DEN-US><o:p></o:p></span></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><span = lang=3DEN-US><o:p></o:p></span></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>>...<o:p></o:p></span></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 <o:p></o:p></span></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.<o:p></o:p></span></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'>> = <o:p></o:p></span></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'>> = <o:p></o:p></span></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'>> = <o:p></o:p></span></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, = <o:p></o:p></span></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>, <o:p></o:p></span></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 <o:p></o:p></span></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 = <o:p></o:p></span></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, <o:p></o:p></span></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.<o:p></o:p></span></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'>> = <o:p></o:p></span></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'>> = <o:p></o:p></span></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'>> = <o:p></o:p></span></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 <o:p></o:p></span></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 = <o:p></o:p></span></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 <o:p></o:p></span></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 <o:p></o:p></span></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 = <o:p></o:p></span></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 <o:p></o:p></span></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 = <o:p></o:p></span></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 = <o:p></o:p></span></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 <o:p></o:p></span></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 <o:p></o:p></span></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.<o:p></o:p></span></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><span lang=3DEN-US><o:p></o:p></span></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><span = lang=3DEN-US><o:p></o:p></span></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><span lang=3DEN-US><o:p></o:p></span></p> <div style=3D'border:none;border-top:solid windowtext = 1.0pt;padding:3.0pt 0cm 0cm 0cm; border-color:-moz-use-text-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><span = lang=3DEN-US><o:p></o:p></span></p> </div> <div> <div> <p><font size=3D3 face=3D"Times New Roman"><span lang=3DEN-US = 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 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<o:p></o:p></span></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:<o:p></o:p></span></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<o:p></o:p></span></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:<o:p></o:p></span></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<o:p></o:p></span></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'> <o:p></o:p></span></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><o:p></o:p></span></fo= nt></p> </div> <p><font size=3D3 face=3D"Times New Roman"><span lang=3DEN-US = style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p> </div> </div> </div> </div> </div> </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_0081_01C911CD.37237BD0--