[Xmltask-users] Using XML task, log4j error
Brought to you by:
bagnew
From: Adithya V.S.S <ad...@gm...> - 2009-05-27 23:46:43
|
Hi brain, I am using XML task to insert some appenders into an XML file my source and the destination file is same like the one below- ------------------------------------------------------------------------- <?xml version="1.0" encoding="UTF-8"?> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="null" threshold="null"> <appender class="org.apache.log4j.RollingFileAppender" name="APPLOGFILE"> <param name="File" value="workshop.log"/> <param name="Append" value="true"/> <param name="MaxFileSize" value="3000KB"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{DATE} %-5p %-15c{1}: %m%n"/> </layout> </appender> <root> <priority value="fatal"/> </root> </log4j:configuration> When i use xml task , it gives me an error saying *log4j:error Cannot find the declaration of element 'log4j:configuration* , i kept the *log4j.dtd* in the same location where my build file exists but it still gives me the same error. Please help me out, what should be done in solving this -- adi |