Yes, we need to use getRoot() instead. It returns a Resource instance instead of a DirectoryResource

Em 20/05/2014, às 18:54, Daniel Cunha <> escreveu:

Hi folks,

I'm refactoring towards JDK 1.7 enhancements. But I see some alerts in project about deprecated method.
Exist other form to get root directory?

Actually the getRootDirectory of the Project is deprecated.

Daniel Cunha (soro)
forge-dev mailing list