ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54393] New: FixCRLF is not creating unique file names
Date Wed, 09 Jan 2013 12:22:31 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54393

            Bug ID: 54393
           Summary: FixCRLF is not creating unique file names
           Product: Ant
           Version: 1.7.1
          Hardware: PC
                OS: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
          Assignee: notifications@ant.apache.org
          Reporter: jan.stolze@cofely.nl
    Classification: Unclassified

FixCRLF is not creating unique file names, which gives complication when
building several projects at the same time, like we do using Hudson. 

Proposed fix in FixCRLF file should be:

The 
private void processFile(String file) throws BuildException
method should use the following call on FILE_UTILS.createTempFile:

File tmpFile = FILE_UTILS.createTempFile("fixcrlf", "", null, true, true);

so last argument changed into true here, which causes Java to create a unique
temporary file.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message