ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Schwaebli <hans_schwae...@yahoo.com>
Subject How to enable logging when using Ant programatically?
Date Tue, 22 Aug 2006 07:58:23 GMT
I am using some Ant tasks programatically like:
    ReplaceRegExp r = new ReplaceRegExp();
  r.setProject(new Project());
  r.setFile(file);
  r.setFlags("");
  r.setMatch(removal);
  r.setReplace("-- removed line");
  r.execute();

  How can I enable logging? If I execute the program, which uses these lines above, the task
works but I don't see any logging on the console.

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message