mbenson 2005/03/18 09:29:31
Modified: src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH
Java.java
Log:
Merging changes from v1.95
PR: 27154
Revision Changes Path
No revision
No revision
1.77.2.13 +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.77.2.12
retrieving revision 1.77.2.13
diff -u -r1.77.2.12 -r1.77.2.13
--- Java.java 16 Mar 2005 16:52:27 -0000 1.77.2.12
+++ Java.java 18 Mar 2005 17:29:31 -0000 1.77.2.13
@@ -842,4 +842,24 @@
w.close();
log(sw.toString(), Project.MSG_ERR);
}
+
+ /**
+ * accessor to the command line
+ *
+ * @return the current command line
+ * @since 1.6.3
+ */
+ public CommandlineJava getCommandLine() {
+ return cmdl;
+ }
+
+ /**
+ * get the system properties of the command line
+ *
+ * @return the current properties of this java invocation
+ * @since 1.6.3
+ */
+ public CommandlineJava.SysProperties getSysProperties() {
+ return cmdl.getSystemProperties();
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]