DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30542>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30542 Javac working directory Summary: Javac working directory Product: Ant Version: 1.6.2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Modifying our current Ant build system to work with IBM's J9 JVM. This is a CDC JVM which does not support all the command line options that javac supports. I managed to almost get it working using the standard options - I had to set sourcepath to "" (it doesn't support that flag), specify the executable, fork the process and use compiler=javac1.1 so that it doesn't use the @files flag as that also isn't supported. The one issue I found (currently I have hacked the source) was that when the DefaultCompilerAdapter::executeExternalCompile function puts together the command line it sets the working directory to the project base dir. Due to the fact j9 does not support sourcepath flag, it is best to run it from the root of your sourcetree so that any implicitly needed files are automatically found. Therefore it would be really handy if there was a way to set the working directory e.g. perhaps if sourcepath not set, and src is set then set working dir to that. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]