"cannot open .log file" error with ECJ logging
Hello,
I'm running RTC 1.0. I have recently added JUnit and compilation logs as a contribution to my build results. It worked fine for the JUnit case by following the docs, however I'm stuck regarding the compilation logs contribution. Here's my problem.
I compiled my project with Eclipse JDT compiler and added the next compiler argument in thejavac command so I can ask for the generation of a log:
(Naturally I made sure before in my Ant file that directory "${compilation.dir}/logs" is created)
It works correctly when I run my Ant file within Eclipse (i.e. with an Ant run configuration), but when this file is launched through RTC BuildSystem, I get the next error on thejavac command:
The message "cannot open .log file " is strange to me. The only .log file I'm aware of is the one within Eclipse metadata. I don't see why the Eclipse compiler would need to access such file. Basically, I don't understand where the problem could come from at that point. I've looked at RTC buildsystem install and I've seen an empty workspace directory. The .metadata directory contained no log file. I created an empty one... but it hasn't solved my problem (as I was expecting it to be honest). Any suggestions would be greatly appreciated :)
Thanks.
I'm running RTC 1.0. I have recently added JUnit and compilation logs as a contribution to my build results. It worked fine for the JUnit case by following the docs, however I'm stuck regarding the compilation logs contribution. Here's my problem.
I compiled my project with Eclipse JDT compiler and added the next compiler argument in the
compilerarg compiler="org.eclipse.jdt.core.JDTCompilerAdapter"
line="-warn:-unchecked -log ${compilation.dir}/logs/core-compilation-log.xml"
(Naturally I made sure before in my Ant file that directory "${compilation.dir}/logs" is created)
It works correctly when I run my Ant file within Eclipse (i.e. with an Ant run configuration), but when this file is launched through RTC BuildSystem, I get the next error on the
cannot open .log file: ../build-info/compilation/logs/core-compilation-log.xml
The message "
Thanks.