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=29391>.
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=29391

javac task uses user.dir for temporary file instead of java.io.tmpdir

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
            Summary|Default for javac 'tempdir' |javac task uses user.dir for
                   |should be the system temp   |temporary file instead of
                   |directory, not the current  |java.io.tmpdir
                   |directory                   |



------- Additional Comments From [EMAIL PROTECTED]  2004-06-04 17:59 -------
In fact the temp file, AFAICT, originally was created in java.io.tmpdir, but 
was changed to user.dir .  See bug 4590.  I think the solution was not effected 
by creating the file in user.dir, but by specifying the location of the file 
explicitly.  I am inclined to change this to java.io.tmpdir, because I agree 
that's where it belongs, but I don't know that it is actually the source of 
your distress...

user.dir is not = HOME or ~, it is equivalent to $PWD .  So given the fact that 
javac creates the temp file in the current directory, if your user does not 
have permission to create files at the root, that would probably be your 
problem.  The easiest workaround for you now is to use javac 
tmpdir="${java.io.tmpdir}".

As to the java.io.tmpdir issue... I have made the change and committed it to 
CVS HEAD.  I do NOT plan to merge this for 1.6.2 .  I'd rather let it sit in 
the main branch for awhile to make sure there are no issues.

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to