On Thu, 3 Nov 2005, Mark Hobson wrote: Hi,
> Hi there, > > The svn trunk eclipse plugin tests are failing for me under cygwin. > The problem is that some parts of the project/classpath/setting > writers are using absolute paths, and in others they're using > canonical paths. > > The abstract test always replaces ${basedir} with either the basedir > system property if specfied or the absolute path. For me, under > cygwin the basedir system property starts with "c:" (tests fail) > whereas under dos it starts with "C:" (tests pass). > > If I change the test basedir to either explicitly canonical (starts > with "C:") or absolute (starts with "c:") then different tests fail. > So the question is - should all file paths in eclipse generated files > be canonical or absolute? Because at the moment they seem to be a > hybrid. I didn't realize the exact difference. I think I added the 'canonical' versions, and the 'absolute' versions were implicit. They should ofcourse be the same. Is this correct: /path/a/b/ /path/c symlinked to /path/a/b/ - absolute -> just makes a path absolute, preserving symlinks: cwd = /path/c; absolute('target/') -> /path/c/target/ - canonical: cwd = /path/c; canonical('target/') -> /path/a/b/target/ ? I don't know which version would be the correct one. I think maven2 internally uses Absolute paths to resolve $basedir, so I guess the eclipse plugin should use that too. -- Kenney > > Cheers, > > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]