ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bas <bas_bu...@yahoo.co.in>
Subject How to call CVS task from user defined listener
Date Tue, 29 Jul 2003 16:21:50 GMT
Hi,
  I need to execute the CVS task from my user defined listener in Java. I tried with the following.
 
     Cvs cvs = new Cvs();
     String cvsCommand = "log -r"+fileVersion+" -N "+filePath;
     cvs.setCommand(cvsCommand);
     File file = new File("output.txt");
     cvs.setOutput(file);
     cvs.execute();
 
But I am getting exception while executing the cvs.execute command. am i missing anything..
Please Help me.
 
with luv,
bas
    

SMS using the Yahoo! Messenger;Download latest version.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message