ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <>
Subject using one task in another, project.createTask()
Date Wed, 15 Jun 2005 22:03:21 GMT
Ant Gurus, I am having a little trouble using the XSLTProcess task from within the logger/listener
that I am writing. Here is the code that is causing me greif:
  XSLTProcess xslt = (XSLTProcess) project.createTask("xslt");
  xslt.setBasedir(new File("."));
  xslt.setIn(new File("log.xml"));
  xslt.setOut(new File("log.html"));
I don't thing I am calling the project.createTask() correclty, the xslt object is null when
I step through this with the degugger. Any help is appreciated.

Robert Anderson
Sr. System Engineer
Nike - Global Trade IT


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message