ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26559] New: - New 'tempdir' javac attribute is ignored by 1.6.0 and 1.6.1
Date Fri, 30 Jan 2004 19:32:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26559>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26559

New 'tempdir' javac attribute is ignored by 1.6.0 and 1.6.1

           Summary: New 'tempdir' javac attribute is ignored by 1.6.0 and
                    1.6.1
           Product: Ant
           Version: 1.6.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: steve@scheffler.us


The attribute name is 'tempdir'; however, the variable name in the Javac source 
file is 'tmpDir'.  As a result, a tempdir value specified in a build file will 
never be used.  The temp output will always be directed to user.dir.  

Normally, this is ok and even preferred.  In some situation however this blocks 
builds.  I'm working in a clearcase environment where the temp output must NOT 
be directed back to the ClearCase view.  First and foremost there's a 
significant performance penalty to writing temp files to a view.  Second, when 
using ClearCase on windows you won't always have write permissions back to the 
directory containing your build file.  In those situations javac will not 
complete when your command length exceeds 4096 characters.

The fix is simple, just rename tmpDir to tempdir in the Javac source file.

I verified that this defect is present also in the latest 1.6.1-beta load.

I'll be glad to help or make the change even if you need.  I've not pitched in 
to an open source initiative before but I'm eager to start.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message