ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r677296 - in /ant/core/trunk: docs/manual/CoreTasks/javac.html src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
Date Wed, 16 Jul 2008 14:51:22 GMT
Author: bodewig
Date: Wed Jul 16 07:51:21 2008
New Revision: 677296

URL: http://svn.apache.org/viewvc?rev=677296&view=rev
Log:
note working directory for forked compilers.  PR 30542.

Modified:
    ant/core/trunk/docs/manual/CoreTasks/javac.html
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java

Modified: ant/core/trunk/docs/manual/CoreTasks/javac.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/javac.html?rev=677296&r1=677295&r2=677296&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/CoreTasks/javac.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/javac.html Wed Jul 16 07:51:21 2008
@@ -110,6 +110,8 @@
 switch <code>-depend</code> instead of <code>-Xdepend</code>.</p>
 <p>This task will drop all entries that point to non-existent
 files/directories from the classpath it passes to the compiler.</p>
+<p>The working directory for a forked executable (if any) is the
+  project's base directory.</p>
 <p><strong>Windows Note:</strong>When the modern compiler is used
 in unforked mode on Windows, it locks up the files present in the
 classpath of the <code>&lt;javac&gt;</code> task, and does not release
them.

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java?rev=677296&r1=677295&r2=677296&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
Wed Jul 16 07:51:21 2008
@@ -435,6 +435,10 @@
 
     /**
      * Do the compile with the specified arguments.
+     *
+     * <p>The working directory if the executed process will be the
+     * project's base directory.</p>
+     *
      * @param args - arguments to pass to process on command line
      * @param firstFileName - index of the first source file in args,
      * if the index is negative, no temporary file will ever be



Mime
View raw message