Maven2 & Relative Path Issue in Version 1.0-beta build 1492

Hi,

I have just upgraded to Version 1.0-beta build 1492 (TeamCity-xxx.tar.gz on Windows 2000) which has introduced an issue with relative paths to the pom.file.

My project is configured to check project files out from CVS to a relative directory e.g. TeamCity\buildAgent\work\MyProject\Java. Previously I had been able to configure the path to the pom file as %build.working.dir%/Java/ but this now generates the following:

+jetbrains.buildServer.RunBuildException: java.io.FileNotFoundException: C:\DOCUME1\PRODUC1\LOCALS~1\Temp\5\Java\pom.xml (The system cannot find the path specified) at jetbrains.buildServer.agent.runner.GenericProgramRunner.run(GenericProgramRunner.java:64) at jetbrains.buildServer.agent.impl.BuildAgentImpl$2.run(BuildAgentImpl.java:357)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException: C:\DOCUME1\PRODUC1\LOCALS~1\Temp\5\Java\pom.xml (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.]]>(FileInputStream.java:106) at com.intellij.openapi.util.JDOMUtil.loadDocument(JDOMUtil.java:185) at jetbrains.maven.MavenRunner.createPomCopy(MavenRunner.java:208) at jetbrains.maven.MavenRunner.getProgramParameters(MavenRunner.java:89) at jetbrains.buildServer.agent.runner.JavaProgramRunner.buildCommandLine(JavaProgramRunner.java:88) at jetbrains.buildServer.agent.runner.GenericProgramRunner.run(GenericProgramRunner.java:58) ... 2 more+

I have also tried various variations of Java/pom.file which results in:

jetbrains.buildServer.RunBuildException: java.io.FileNotFoundException: Java\pom.xml (The system cannot find the path specified) jetbrains.buildServer.RunBuildException: java.io.FileNotFoundException: Java\pom.xml (The system cannot find the path specified) at jetbrains.buildServer.agent.runner.GenericProgramRunner.run(GenericProgramRunner.java:64) at jetbrains.buildServer.agent.impl.BuildAgentImpl$2.run(BuildAgentImpl.java:357) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.FileNotFoundException: Java\pom.xml (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at com.intellij.openapi.util.JDOMUtil.loadDocument(JDOMUtil.java:185) at jetbrains.maven.MavenRunner.createPomCopy(MavenRunner.java:208) at jetbrains.maven.MavenRunner.getProgramParameters(MavenRunner.java:89) at jetbrains.buildServer.agent.runner.JavaProgramRunner.buildCommandLine(JavaProgramRunner.java:88) at jetbrains.buildServer.agent.runner.GenericProgramRunner.run(GenericProgramRunner.java:58) ... 2 more

Is this a known issue?

Regards,

Leanne

1 comment
Comment actions Permalink

i think this is a known issue in 1492
and have been resolved in 1529

0

Please sign in to leave a comment.