Re: API to create a temp file for the duration of task execution

2018-02-18 Thread Stefan Bodewig
On 2018-02-18, Al Le wrote: > 1. Is there an Ant API to create a temp file? Or should I just use the > standard Java API for this? There is FileUtils.createTempFile which of course uses the standard Java API under the covers, but allows you to specify whether the file should actually be created a

API to create a temp file for the duration of task execution

2018-02-18 Thread Al Le
Hello, I'd like to implement a custom task. Its implementation would perform following things: 1. Create a file (in .properties format) 2. Do some magic (the main logic of the task) which uses the file created in step 1. 3. Delete the file created in step 1. You see that the file from the