Hello,

your problem is a Version Mismatch. The Generics will be there in 2.1, so if 
you want to Build the Sandbox you need to check Out the 2.0 tag. Or (which I 
think is better) you check put the project (Patent to Core and Sandbox) from 
the Trunk and Build both in one go. 

(Having Said that, we should raise the Version number in the POM)

It would actually be helpfull if you can Report back, if the new Version works 
in your Scenario: rember it is not an official release yet. (And I am not Sure 
of the mighty builds contain the sendbox)

Gruß
Bernd


> Am 04.12.2014 um 08:41 schrieb Israel Malachi <isra...@ellipsis.co.il>:
> 
> Hi all
> 
> I was trying to follow Gary's advice (and thank you again, Gary) but I ran
> into two issues when trying to build the classes
> 
> On SmbFileObject
> 
> line 46: extends AbstractFileObject<SmbFileSystem>
> 
> AbstractFileObject is not generic, and can't be parameterized, should I
> erase <SmbFileSystem> ?
> 
> line 227: if (e.getErrorCode() == SmbException.ERRbadfile)
> 
> getErrorCode() and ERRbadfile are not defined in SmbException, what to do?
> 
> 
> 
> ---------- Forwarded message ----------
> From: Gary Gregory <garydgreg...@gmail.com>
> Date: Mon, Dec 1, 2014 at 2:52 PM
> Subject: Re: [VFS] VFS sandbox?
> To: Commons Developers List <dev@commons.apache.org>
> 
> 
> Israel,
> 
> 
> The sandbox is not released as a jar for licensing reasons IIRC. You have
> to check it out of SVN and build it yourself.
> 
> Gary
> 
> On Mon, Dec 1, 2014 at 2:53 AM, Israel Malachi <isra...@ellipsis.co.il>
> wrote:
> 
>> Hello all!
>> I'm writing a program that uses the VFS (2.0) so I could manage SFTP and
>> samba connections.
>> When I try to reach smb server I get FileSystemException - Badly formed
> uri
>> I understand that I have to import the sandbox jar, but do I get it from?
> 
> 
> 
> --
> 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

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

Reply via email to