ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 54393] New: FixCRLF is not creating unique file names
Date Wed, 09 Jan 2013 12:22:31 GMT

            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
    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:

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.

View raw message