[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File type mapping in external task

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 <MyTask
srcDir="" ) leads to srcDir set to baseDir (or current directory, not sure).
Is there a way to trap the empty string in the setter ? Or is it required
to change the setter to accept a String parameter, and create the File
object from the string ?



Riverside Software
15d route de Bellevue • 69440 Mornant • France
Mob : +33 662.525.532