charlie Lazin wrote:I can just use a relative path so that my .bat file would look something like:
javac -d ..\classes\ -classpath ..\classes;%root_dir%\lib\one.jar; -sourcepath ..\src ..\src\NewClass.java
were the .. signifies that I'm running this batch file from the build directory so go up one level and down into the src folder to find the .java file.
This above doesn't work and I get a file ..\src\NewClass.java not found error.
What you are describing should work fine. I have done this myself many times.
And BTW, welcome to the ranch...
Henry