Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
WinXP AbstractCvsTask problem....

WinXP AbstractCvsTask problem....

2004-01-19       - By Ryan Brent-rp6131
Reply:     1     2     3  

I recently upgraded from Windows2000 to WinXP and now my shiznik
doesn't work!

Once I call the execute method from AbstractCvsTask it never
returns.  I traced through the code and found that a
InvocationTargetException was occuring which is an instance of
IOException.  This exception gets thrown in the  Execute class.

I've tried Ant 1.5.3 and Ant 1.6.  Any ideas of why the process isn't
being spawned correctly?  Everything worked fine in Windows 2000.


Here is the main method of the code that I'm testing with.
   /**
    * @(protected) args the command line arguments
    */
   public static void main(String[] args) {
       String module = "cbl7x_env";

       File destination_file = new File("D:/");
       CvsCheckoutCommand cvs_checkout = new
CvsCheckoutCommand(module);
       cvs_checkout.setDest(destination_file);
       cvs_checkout.execute();
   }            

The execute method actually calls the execute method of
AbstractCvsTask in the ant.jar distribution.

Does anyone have any fixes or ideas on how to fix this problem?


Regards,
Brent Ryan -- Software Engineer

The information contained in this email is classified as:

General Business Information Motorola Internal Use Only Motorola Confidential
Proprietary Personal Memorandum



email: brent.ryan@(protected) <mailto:brent.ryan@(protected)>

Phone: (480) 814 - 4203

2way pager:   5168770@(protected) <mailto:5168770@(protected)>  or (888) 516 -
8770



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><FONT size=3><FONT
face="Times New Roman">&nbsp;</FONT>I recently upgraded from Windows2000 to
WinXP and now my shiznik<BR>doesn't work!<BR><BR>Once I call the execute
method&nbsp;from AbstractCvsTask it never<BR>returns.&nbsp; I traced through
the
code and found that a<BR>InvocationTargetException was occuring which is an
instance of<BR>IOException.<SPAN class=137330518-19012004>&nbsp;
This&nbsp;exception gets thrown in the&nbsp; Execute class.</SPAN><BR><BR>I've
tried Ant 1.5.3 and Ant 1.6.&nbsp; Any ideas of why the process isn't<BR>being
spawned correctly?&nbsp; Everything worked fine in Windows 2000.<BR><BR></FONT>
<DIV><SPAN class=137330518-19012004></SPAN><FONT face=Arial>H<SPAN
class=137330518-19012004>ere is the main method of the code that I'm testing
with.</SPAN><BR>&nbsp;&nbsp;&nbsp; /**<BR>&nbsp;&nbsp;&nbsp;&nbsp; * @(protected)
args
the command line arguments<BR>&nbsp;&nbsp;&nbsp;&nbsp; */<BR>&nbsp;&nbsp;&nbsp;
public static void main(String[] args)
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; String module =
"cbl7x_env";<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File
destination_file = new
File("D:/");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CvsCheckoutCommand
cvs_checkout =
new<BR>CvsCheckoutCommand(module);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;
cvs_checkout.setDest(destination_file);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;
cvs_checkout.execute();<BR>&nbsp;&nbsp;&nbsp;
}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR><BR>The
execute method actually calls the execute method of<BR>AbstractCvsTask in the
ant.jar distribution.<BR><BR>Does anyone have any fixes or ideas on how to fix
this problem?</FONT></DIV></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV align=left>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 12pt; LAYOUT-GRID-MODE: line">Regards,
<BR></SPAN><STRONG><SPAN style="FONT-SIZE: 12pt">Brent
Ryan</SPAN></STRONG><B><SPAN style="FONT-SIZE: 12pt"> --
</SPAN></B><STRONG><SPAN style="FONT-SIZE: 12pt">Software
Engineer</SPAN></STRONG><STRONG><SPAN
style="FONT-SIZE: 12pt; mso-bidi-font-weight: bold"><?xml:namespace prefix = o
ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></STRONG></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><B><SPAN
style="FONT-SIZE: 12pt; COLOR: gray">The information contained in this email is
classified as:</SPAN></B><B><SPAN
style="FONT-SIZE: 12pt"><o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><B><SPAN
style="FONT-SIZE: 12pt; BACKGROUND: yellow; COLOR: green"><SELECT name=D2>
 <OPTION value="" selected>General Business Information<OPTION
 value="">Motorola Internal Use Only<OPTION value="">Motorola Confidential
 Proprietary<OPTION value="">Personal
Memorandum</OPTION></SELECT></SPAN></B><B><SPAN
style="FONT-SIZE: 12pt"><o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><STRONG><SPAN
style="FONT-SIZE: 12pt; mso-bidi-font-weight: bold"><o:p>&nbsp;</o:p></SPAN><
/STRONG></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><B><U><SPAN
style="FONT-SIZE: 12pt; COLOR: #0000a0">email</SPAN></U></B><B><SPAN
style="FONT-SIZE: 12pt; COLOR: #0000a0">: <A
href="mailto:brent.ryan@(protected)">brent.ryan@(protected)</A></SPAN></B><U>
<SPAN
style="FONT-SIZE: 12pt; COLOR: #0000a0"><o:p></o:p></SPAN></U></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><B><U><SPAN
style="FONT-SIZE: 12pt; COLOR: #0000a0">Phone</SPAN></U></B><B><SPAN
style="FONT-SIZE: 12pt; COLOR: #0000a0">:&nbsp;(480) 814 - 4203</SPAN></B><SPAN
style="FONT-SIZE: 12pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><B><U><SPAN
style="FONT-SIZE: 12pt; COLOR: #0000a0">2way pager:</SPAN></U></B><B><SPAN
style="FONT-SIZE: 12pt; COLOR: #000099">&nbsp; </SPAN></B><B><SPAN
style="FONT-SIZE: 12pt; COLOR: #004080"><SPAN
style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></B><B><SPAN
style="FONT-SIZE: 12pt; COLOR: #000099"><A
href="mailto:5168770@(protected)">5168770@(protected)</A> or (888) 516 -
8770</SPAN></B><SPAN style="FONT-SIZE: 12pt"><o:p></o:p></SPAN></P></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.