stevel 2004/10/08 02:34:41 Modified: src/main/org/apache/tools/ant/taskdefs Java.java Log: accessors to command line are occasionally useful when working with java Revision Changes Path 1.95 +20 -0 ant/src/main/org/apache/tools/ant/taskdefs/Java.java Index: Java.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Java.java,v retrieving revision 1.94 retrieving revision 1.95 diff -u -r1.94 -r1.95 --- Java.java 6 Oct 2004 22:41:52 -0000 1.94 +++ Java.java 8 Oct 2004 09:34:40 -0000 1.95 @@ -906,4 +906,24 @@ w.close(); log(sw.toString(), Project.MSG_ERR); } + + /** + * accessor to the command line + * + * @return the current command line + * @since 1.7 + */ + public CommandlineJava getCommandLine() { + return cmdl; + } + + /** + * get the system properties of the command line + * + * @return the current properties of this java invocation + * @since 1.7 + */ + public CommandlineJava.SysProperties getSysProperties() { + return cmdl.getSystemProperties(); + } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]