I'm a little bit of lost with the -sourcepath switch. I'm structuring my project like this
And my make.bat isCode:classes + class destination docs + documentation src + java files make.bat
But it only gets the last file. Say I have dtgen.java and Server.java, it only gets Server.java to be compiled and the class gets to classes and Server.html to doc+generated htmls.Code:javac -d classes -sourcepath src/*.java javadoc -d doc -sourcepath src/*.java
What should I put after -sourcepath switch? Right now, I ended up to putting make.bat to src folder having a content like
Thanks in advance.Code:javac -d ../classes *.java javadoc -d ../doc *.java




Reply With Quote