I’ve committed the beginnings of the JSR 203 file system implementation I was talking about to the nio-fs branch. All of it is under the VASSAL.tools.nio package, where VASSAL.tools.nio corresponds to what will be in java.nio in JDK7.
The VASSAL.tools.nio.channels and VASSAL.tools.nio.file packages contain mostly interfaces. The implementation is mostly in VASSAL.tools.nio.file.fs. What’s there are (incomplete) implementations for UNIX-style file systems and Windows-style file systems. Once we have those working, the next thing to do is create a read-only ZIP file system and a read-write ZIP file system (the former to be based on ZipFile, the latter on FileArchive, which is already in the trunk).
The first thing to do is write some tests for the methods in Path. I’ll probably start in on some of that over the weekend.
Calsir, I’m guessing that you haven’t written tests with JUnit before?