commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: Fwd: [VFS] VFS sandbox?
Date Thu, 04 Dec 2014 13:24:51 GMT
On Thu, Dec 4, 2014 at 8:23 AM, Gary Gregory <garydgregory@gmail.com> wrote:

> On Thu, Dec 4, 2014 at 8:13 AM, Schalk Cronj é <ysb33r@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).
>

Ah, here is the link
https://blogs.apache.org/infra/entry/subversion_master_undergoing_emergency_maintenance

Gary

>
> 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-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@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
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message