You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2008/07/16 16:51:22 UTC
svn commit: r677296 - in /ant/core/trunk: docs/manual/CoreTasks/javac.html
src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
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><javac></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