I am facing issue with absolute/relative path and org.apache.commons.io.FileUtils on Unix box.
Issue is:-
I am using cleanDirectory(..)
and copyDirectory(..)
of FileUtils
. It works fine if I use absolute path /userName/data/feeds
but gives IllegalArgumentException when I use paths like /data/feeds
and data/feeds
.
Please suggest any probable solution. I don't want to use absolute path in my code!!!
Waiting for comments....