(This is part Java and part DOS, but mostly Java I think, so I'm posting it here.)
I'm on windows xp running a doclet from a .bat file and I want to direct all Javadoc output to a log file. Following is the contents of my .bat file:
But warnings and errors are displayed in the console and not in the log.txt file.
I'm on windows xp running a doclet from a .bat file and I want to direct all Javadoc output to a log file. Following is the contents of my .bat file:
Code:
@echo off
Title Javadoc
color 0E
del DocletExtractFile.xml
del log.txt
javadoc com.company.data -private -doclet CreateDocletExtractFile >> log.txt
pause
But warnings and errors are displayed in the console and not in the log.txt file.