core/src/main/java/org/apache/commons/vfs2/tasks/VfsTask.java
/**
     * Resolves a URI to a file, relative to the project's base directory.
     *
     * @param uri The URI to resolve.
     */
Resolves a URI to a file, relative to the project's base directory.
@param uri The URI to resolve.
Resolves a URI to a file relative to the project ' s base directory . @param uri The URI to resolve .
protected FileObject resolveFile(final String uri)
        throws FileSystemException
    {
        if (manager == null)
        {
            StandardFileSystemManager mngr = new StandardFileSystemManager();
            mngr.setLogger(new AntLogger());
            mngr.init();
            manager = mngr;
            getProject().addBuildListener(new CloseListener());
        }
        return manager.resolveFile(getProject().getBaseDir(), uri);
    }
protected FileObject resolveFile ( final String uri ) throws FileSystemException { if ( manager == null ) { StandardFileSystemManager mngr = new StandardFileSystemManager ( ) ; mngr . setLogger ( new AntLogger ( ) ) ; mngr . init ( ) ; manager = mngr ; getProject ( ) . addBuildListener ( new CloseListener ( ) ) ; } return manager . resolveFile ( getProject ( ) . getBaseDir ( ) , uri ) ; }
Resolves a URI to a file, relative to the project's base directory.
Resolves a URI to a file relative to the project ' s base directory .