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 Antoine Levy-Lambert
Reply:     1     2     3  

Ryan Brent-rp6131 wrote:

>  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:***
>
> * ***
>
> * *
>
> *_email_**: brent.ryan@(protected) <mailto:brent.ryan@(protected)>*__
>
> *_Phone_**: (480) 814 - 4203*
>
> *_2way pager:_**  ** **5168770@(protected) <mailto:5168770@(protected)>
> or (888) 516 - 8770*
>
>  
>
>------------------------------------------------------------------------
>
You need to check whether there is a cvs.exe in your path. That should
be it.
Antoine


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