On 04/12/2014 07:39, Israel Malachi wrote:
line 46: extends AbstractFileObject<SmbFileSystem>

AbstractFileObject is not generic, and can't be parameterized, should I
erase <SmbFileSystem> ?
There are a couple of things you need to do like that as in VFS 2.0 those classes are not generic.
line 227: if (e.getErrorCode() == SmbException.ERRbadfile)

getErrorCode() and ERRbadfile are not defined in SmbException, what to do?

SmbException is a jCIFS class. I think you have to look for e.getNtStatus() instead.

I cannot correctly remember all of the details as I ended up writing my own SMB provider for Groovy-VFS.


--
Schalk W. Cronjé
Twitter / Ello / Toeter : @ysb33r


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to