Re: The mess that is symlinks....

2014-09-27 Thread Kristian Rosenvold
I have created http://jira.codehaus.org/browse/MSHARED-350 http://jira.codehaus.org/browse/PLXUTILS-165 to deal with this. I'm convinced there is only one right thing (tm) to do, so I will do that :) Kristian 2014-09-26 22:26 GMT+02:00 Kristian Rosenvold : > I now have fully working implementa

Re: The mess that is symlinks....

2014-09-26 Thread Kristian Rosenvold
@Test public void followSymlinks(){ DirectoryScanner ds = new DirectoryScanner(); ds.setBasedir( new File("src/test/resources/symlinks/src/") ); ds.setFollowSymlinks( false ); ds.scan(); List included = Arrays.asList( ds.getIncludedFiles() );

The mess that is symlinks....

2014-09-26 Thread Kristian Rosenvold
I now have fully working implementations of zip/tar with symlink support. Unfortunately there is a slight mess in current symlink support that needs to be sorted out. Prior to java7, we were only able to (unreliably) detect that a directory was a symlink. Detecting symlink files was impossible. Wit