Donate Share

External diff Tool (Eclipse Plugin)

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Problem with default file path

You are viewing a single message from this topic. View all messages.

  1. 2009-01-03 11:35:36 UTC
    Is there any chance of this fix being implemented in the main branch of the tool? I recently fixed this myself and only noticed it had already had a fix when I came back to the site to raise a bug.

    Incidentally I fixed the issue as follows which I think is a slight improvement on the above fix as it's simpler.

    74,75c74,75
    < IPath path1 = firstResource.getFullPath();
    < IPath path2 = secondResource.getFullPath();
    ---
    > IPath path1 = firstResource.getLocation();
    > IPath path2 = secondResource.getLocation();
    81,88c80,82
    < IPath path = ResourcesPlugin.getWorkspace().getRoot().getRawLocation();
    < // MessageDialog.openInformation(
    < // shell,
    < // "External diff Tool Plug-in",
    < // "Path: " + path);
    <
    < String firstArg = path.toString() + path1.toString();
    < String secondArg = path.toString() + path2.toString();
    ---
    > String firstArg = path1.toString();
    > String secondArg = path2.toString();
    96c90
    <
    ---
    >
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.