Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First extract the dtd file from the log4j.jar:

Code Block
  jar \-xvf ../log4j.jar org/apache/log4j/xml/log4j.dtd
  inflated: org/apache/log4j/xml/log4j.dtd

Now update/add the files to cmdrunner.jar:

Code Block


 jar \-uvf cmdrunner.jar org log4j.properties log4j.xml
  adding: org/(in = 0) (out= 0)(stored 0%)
  adding: org/apache/(in = 0) (out= 0)(stored 0%)
  adding: org/apache/log4j/(in = 0) (out= 0)(stored 0%)
  adding: org/apache/log4j/xml/(in = 0) (out= 0)(stored 0%)
  adding: org/apache/log4j/xml/log4j.dtd(in = 4913) (out= 1489)(deflated 69%)

...