How to handle Paths from remote errors?


what is the preferred way to handle Ant builds with Team City? Suppose that there is an error in a Java file which needs to be fixed from Eclipse. The console error log in Eclipse shows:

    [mkdir] Created dir: C:\TeamCity\buildAgent\work\7f2083497bea1638\Teamcitytest\bin
    [javac] Compiling 1 source file to C:\TeamCity\buildAgent\work\7f2083497bea1638\Teamcitytest\bin
    [javac] C:\TeamCity\buildAgent\work\7f2083497bea1638\Teamcitytest\src\org\stuff\test\Main\ unclosed string literal
    [javac] System.out.println(test");
    [javac]                        ^
    [javac] 1 error

It's not possible to open the file that broke the build on the local machine with a single click because the ant error messages contains the local path on the build agent (which is running on a diffrent OS than the developer machines). What's the best way to handle that?


1 comment
Comment actions Permalink

The question perhaps no longer relevant. If it's not please leave a comment or create a separate thread.

Kind regards,

Please sign in to leave a comment.