On Thu, Dec 4, 2014 at 8:13 AM, Schalk Cronj é <ysb...@gmail.com> wrote:

> 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> ?
>>
>
Yes, it is generic:

public abstract class AbstractFileObject<AFS extends AbstractFileSystem>
implements FileObject

Note that the SVN server is down. If you have old sources, you'll have to
wait until it comes back alive. There is an Apache blog post somewhere that
is tracking the status (I don't have the link handy).

Gary



>  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
>
>


-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to