Glenn Auld commented on VFS-199:
I'm very keen in getting this functionality into a current project (I can't believe it still hasn't been implemented in the main trunk via the patches or independently).
Firstly are there any downloadable VFS JARs available that incorporate the patches?
If not, what is the best method to apply them to the current VFS release (2.0)?
I have attempted to patch using the Eclipse patch system, but with little success.
So I have resorted to manually updating the HttpFileObject.java code based on the patch differences.
Once I have made all the changes and have a compile class file, will I be able to replace the existing class in the JAR file (with jar uf C:\folder\where\jar\is\the_jar_file.jar file.class) or is there more to it than that?
Haven't needed to patch before, so would appreciate any clear direction in this instance.
> Http/Https listChildren browse support
> Key: VFS-199
> URL: https://issues.apache.org/jira/browse/VFS-199 > Project: Commons VFS
> Issue Type: New Feature
> Affects Versions: 1.1
> Reporter: Andrew Franklin
> Attachments: HttpGetList.txt, VFS-199.patch
> I think this was lodged at some time ago as VFS-79: http://www.mail-archive.com/commons-dev@.../msg83701.html.
> Essentially the ability to browse http via the directory listing structure is reasonably important for a number of use cases.
> Mario noted in that previous bug that the parsing of the html isn't necessarily trivial but I've submitted a patch that meets my requirements. The patch uses java regular expressions which has the requirement of JVM > 1.4. Submitting in the hope that other users will find it useful and maybe we'll be able to tidy it to the point where it can be integrated into the vfs mainline.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira