Spoke to soon, it seems to be a problem with where javac is invoked. With the current makefiles that are created, the javac -d option has a relative path from where the source files are located, but javac is being invoked from the root project dir. I was able to modify the build.make file that is generated to include the full path for the -d option and things run fine.

So I either need to get cmake to include the full path in the javac -d option or get javac to run each subdir. Any thoughts?

Thanks
Richard


Well, good and bad news. I get the same error when I do an out-of-source build, but when I manually run the javac command from the makefile that cmake generated, the .class file is created fine. So it doesn't seem like it's a problem with cmake, it's gotta be some configuration/permission problem with my setup. Time to go find the sysadmin.

Thanks for the help
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to