[forge-dev] Deprecated method

George Gastaldi ggastald at redhat.com
Tue May 20 19:08:00 EDT 2014


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 <danielsoro at gmail.com> 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.
> 
> -- 
> Att;
> Daniel Cunha (soro)
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140520/11957fc8/attachment.html 


More information about the forge-dev mailing list