[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

( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-ant-development/msg01747.html on line 86
Call Stack
10.0007363032{main}( ).../msg01747.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-ant-development/msg01747.html on line 86
Call Stack
10.0007363032{main}( ).../msg01747.html:0