How to handle Paths from remote errors?

Hi,

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:


compile.module.teamcitytest.production:
    [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\Main.java:6: 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?

Thanks,
Dirk

0
1 comment
Avatar
Permanently deleted user

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

Kind regards,
Marina
0

Please sign in to leave a comment.