Hi Kenney,
On 04/11/05, Kenney Westerhof <[EMAIL PROTECTED]> wrote:
> 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/
>
> ?
Yep, that's right. On Windows the canoncial path also converts the
drive letter to uppercase, which is the root cause of the test
failures.
> 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.
Moving to one or the other would fix things, so for the eclipse plugin
we should really use whatever eclipse itself uses. A quick test shows
that eclipse creates canoncial paths - shall we move to that instead?
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]