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=38144>. 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=38144 ------- Additional Comments From [EMAIL PROTECTED] 2006-01-06 11:14 ------- Also, that aint how we execute java apps in Ant (1) you create a new Java() task instance and configure that. That way we handle all the different platform issues, like special return codes on OpenVMS, classpath setup, etc. (2) Please dont try and set the entire command line with something like that cmd.setExecutable("java -classpath "+JDTCorePath+ " org.eclipse.jdt.internal.compiler.batch.Main"); That will not work as expected for too many reasons to go into here. (3) finally, there is no need to include some third party code to get env variables. If you do (1) properly, you dont need it in the task, but if you do need to get system variables, we have some broadly tested code in Exec to do just that, which is what <property env> does. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
