Re: File type mapping in external task

2018-04-04 Thread Gilles Querret
Thank you Stefan ! I was a bit afraid of duplicating the logic for String to File mapping, but if it's just about using Project#resolveFile then I'll do it. Gilles On Wed, Apr 4, 2018 at 1:40 PM, Stefan Bodewig wrote: > On 2018-04-03, Gilles Querret wrote: > > > If I have an attribute mapped t

Re: File type mapping in external task

2018-04-04 Thread Stefan Bodewig
On 2018-04-03, Gilles Querret wrote: > If I have an attribute mapped to a File type (such as setSrcDir(File file) > { this.srcDir = file; } ), then passing an empty string (as in srcDir="" ) leads to srcDir set to baseDir (or current directory, not sure). baseDir :-) > Is there a way to trap th

File type mapping in external task

2018-04-03 Thread Gilles Querret
Hello all, If I have an attribute mapped to a File type (such as setSrcDir(File file) { this.srcDir = file; } ), then passing an empty string (as in