Ok this is weird.....
I made a GUI for the Javadoc (because I can hehehe).
I can run it on a source file called TestProject.java and it works wonderfully.
It won't work on any other file. If I change the filename to TestProject2.java (and the corresponding class inside it), it won't run. I don't get any errors, it just won't do it.
If I copy and paste the command I'm using into a DOS window, it works fine no matter what the file name is.
This is the line I am using:
p = Runtime.getRuntime().exec("javadoc -sourcePath C:\\Test -d C:\\Test\\Docs -private TestProject");
As far as I can tell I'm doing it right (because it works in DOS).
Any suggestions?
Cheers,
Trevor

