RES: Re: Checkout error! Possible Bug?

"Ricardo Garcia" <[email protected]> Tue, 30 Sep 2008 15:35:33 -0300
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Message-ID <[email protected]>
------=_NextPart_000_005C_01C92312.2D8A1F60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Jamerson,

=20

Could you post your code region so we can see how you are checking out =
the
files?

=20

Thanks

=20

  _____ =20

De: Jemerson Damasio [mailto:[email protected]]=20
Enviada em: ter=E7a-feira, 30 de setembro de 2008 15:30
Para: [email protected]
Assunto: Re: [javacvs-dev] Re: Checkout error! Possible Bug?

=20

I've noticed that if I specify an invalid file it checkouts everything =
too.
So, I suppose I'm specifying the file name incorrectly, but I've already
tried all possible variations and can't do it right...=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 30 de septiembre de 2008 15:03, Jemerson Damasio =
<[email protected]>
wrote:

After a week out of the problem I'm back now. Despite of it, I saw some
examples and everyone uses the setFile of the CheckoutCommand just like =
I
do. But for me it doesn't work.
Well, at least it doesn't do what I expect. Ok. Let me understand. =
Through
this method I should be able to specify which files I wanna checkout, =
right?
I've also tryied command.setCVSCommand('F', "DesiredClass.java"), but it
also doesn't work. Both always extracts everything into the cvsroot
directory.
My doubt is simple: does it works? Has anyone ever used this and faced =
this
problem?




=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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 23 de septiembre de 2008 18:01, Jemerson Damasio =
<[email protected]>
wrote:

First, thanks for solving my problem. It works! =3DD
About the files, yes, they're on the specified module, down into a =
hierarchy
of directory, but they are. I tried two possible variations: (1) the =
name
itself of the real file and (2) the ,v name, that I can also verify that =
is
actually there.
Any suggestion?




=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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 Tue, Sep 23, 2008 at 5:39 PM, Ricardo Garcia =
<[email protected]>
wrote:

Jemerson,

=20

Have you tried adding this command after you instantiate Client class?

=20

client.setLocalPath(<MY_LOCAL_PATH>);

=20

With this, you indicate where to checkout you files to.

=20

Regarding the setFiles method, in the array passed to it, are the files =
with
the module path that these files belong?

=20

Att,

=20

Ricardo

=20

=20

  _____ =20

De: Jemerson Damasio [mailto:[email protected]]=20
Enviada em: ter=E7a-feira, 23 de setembro de 2008 17:26
Para: [email protected]; Pablo The Boss
Assunto: [javacvs-dev] Re: Checkout error! Possible Bug?

=20

Another question. I'm trying to use the Command setFiles method in order =
to
retrieve only a few desired files, but it doesn't seems to work. In =
fact,
when I add the line, it doesn't checkout anything. Omg... this is =
tiring.


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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 Tue, Sep 23, 2008 at 4:18 PM, Jemerson Damasio <[email protected]>
wrote:

Hi everyone,

   I don't know what is going wrong. Possibly a bug. My localPath =
variable
points to /home/Me/CheckoutDir. My class CVSCheckoutListener tells me,
through the fileInfoGenerated method, that the files are in the =
CheckoutDir.
But, in fact, the files are being created at My_Project_Path/null/
   It's clear that my variable is becoming null (what is not caused by =
me,
FOR SURE) somewhere inside the JavaCVS and being interpreted as a =
relative
path. Can anyone give me a hint of how to avoid this problem?
=20
   Here is my code:

            GlobalOptions globalOptions =3D  new GlobalOptions();
            globalOptions.setCVSRoot(CVSRoot.parse(cvsroot).toString());
            PServerConnection c =3D new
PServerConnection(CVSRoot.parse(cvsroot), SocketFactory.getDefault());
            Client client =3D new Client(c, new StandardAdminHandler());
            client.getEventManager().addCVSListener(new
CVSCheckoutListener());
            c.open();

            CheckoutCommand command =3D new CheckoutCommand();
            command.setRecursive(true);
            command.setModule(myModule);
            command.setPruneDirectories(true);

            EventManager eventManager =3D client.getEventManager();

            UpdateBuilder builder =3D new UpdateBuilder(eventManager,
localPath);
            command.setBuilder(builder);
            boolean executeCommand =3D client.executeCommand(command,
globalOptions);


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=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

=20

=20

=20

=20


------=_NextPart_000_005C_01C92312.2D8A1F60
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;}
 /* 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>&nbsp;</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'>Could you post =
your code
region so we can see how you are checking out the =
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'><o:p>&nbsp;</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'>Thanks<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>&nbsp;</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, 30 de
setembro de 2008 15:30<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] Re:
Checkout error! Possible Bug?</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>&nbsp;</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'>I've noticed =
that if I
specify an invalid file it checkouts everything too. So, I suppose I'm
specifying the file name incorrectly, but I've already tried all =
possible
variations and can't do it right... <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 &nbsp;<br>
Bacharel em Ciencia da Computacao - UFCG &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <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 30 de septiembre de 2008 15:03, Jemerson Damasio &lt;<a
href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</a>&gt;
wrote:<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'>After a week out of the problem I'm back now. Despite of it, I =
saw some
examples and everyone uses the setFile of the CheckoutCommand just like =
I do.
But for me it doesn't work.<br>
Well, at least it doesn't do what I expect. Ok. Let me understand. =
Through this
method I should be able to specify which files I wanna checkout, =
right?<br>
I've also tryied command.setCVSCommand('F', =
&quot;DesiredClass.java&quot;), but
it also doesn't work. Both always extracts everything into the cvsroot
directory.<br>
My doubt is simple: does it works? Has anyone ever used this and faced =
this
problem?<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'><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 &nbsp;<br>
Bacharel em Ciencia da Computacao - UFCG &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <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>

<div>

<div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>On 23 de septiembre de 2008 18:01, Jemerson Damasio &lt;<a
href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</a>&gt;
wrote:<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'>First, thanks for solving my problem. It works! =3DD<br>
About the files, yes, they're on the specified module, down into a =
hierarchy of
directory, but they are. I tried two possible variations: (1) the name =
itself
of the real file and (2) the ,v name, that I can also verify that is =
actually
there.<br>
Any suggestion?<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'><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>

<div>

<div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>On Tue, Sep 23, 2008 at 5:39 PM, Ricardo Garcia &lt;<a
href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</a>&gt;
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'>Jemerson,</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'>&nbsp;</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'>Have you tried adding this command after =
you
instantiate Client class?</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'>&nbsp;</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'>client.setLocalPath(&lt;MY_LOCAL_PATH&gt;);=
</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'>&nbsp;</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'>With this, you indicate where to checkout =
you
files 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'>&nbsp;</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'>Regarding the setFiles method, in the =
array
passed to it, are the files with the module path that these files =
belong?</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'>&nbsp;</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'>Att,</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'>&nbsp;</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'>Ricardo</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'>&nbsp;</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'>&nbsp;</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> =
ter=E7a-feira, 23 de setembro
de 2008 17:26<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<br>
<b><span style=3D'font-weight:bold'>Assunto:</span></b> [javacvs-dev] =
Re:
Checkout error! Possible Bug?</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'>&nbsp;<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'>Another question. I'm trying to use the =
Command
setFiles method in order to retrieve only a few desired files, but it =
doesn't
seems to work. In fact, when I add the line, it doesn't checkout =
anything.
Omg... this is tiring.<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 Tue,
Sep 23, 2008 at 4:18 PM, Jemerson Damasio &lt;<a
href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</a>&gt;
wrote:<o:p></o:p></span></font></p>

<div>

<p><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'>Hi
everyone,<br>
<br>
&nbsp;&nbsp; I don't know what is going wrong. Possibly a bug. My =
localPath
variable points to /home/Me/CheckoutDir. My class CVSCheckoutListener =
tells me,
through the fileInfoGenerated method, that the files are in the =
CheckoutDir.
But, in fact, the files are being created at My_Project_Path/null/<br>
&nbsp;&nbsp; It's clear that my variable is becoming null (what is not =
caused
by me, FOR SURE) somewhere inside the JavaCVS and being interpreted as a
relative path. Can anyone give me a hint of how to avoid this =
problem?<br>
&nbsp;<br>
&nbsp;&nbsp; Here is my code:<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; GlobalOptions
globalOptions =3D&nbsp; new GlobalOptions();<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
globalOptions.setCVSRoot(CVSRoot.parse(cvsroot).toString());<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
PServerConnection c =3D
new PServerConnection(CVSRoot.parse(cvsroot), =
SocketFactory.getDefault());<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Client client =
=3D new
Client(c, new StandardAdminHandler());<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
client.getEventManager().addCVSListener(new CVSCheckoutListener());<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; c.open();<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CheckoutCommand
command =3D new CheckoutCommand();<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(myModule);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
command.setPruneDirectories(true);<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; EventManager
eventManager =3D client.getEventManager();<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; UpdateBuilder =
builder
=3D new UpdateBuilder(eventManager, 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
=3D client.executeCommand(command, globalOptions);<br>
<br>
<br>
Thanks in advance,<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>

</div>

<p><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'>&nbsp;<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>&nbsp;</o:p></span></font></p>

</div>

</div>

</div>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

</div>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

</body>

</html>

------=_NextPart_000_005C_01C92312.2D8A1F60--