Remote Run Eclipse Plugin

Greetings:

I am very new to TC and in the evaluation stage. My configuration is: TC 3.0.1 + Eclipse 3.3 + SVN.

I have the main server and 3 distributed Build agents running without a problem.


However I cannot perform a remote run/delayed commit. It seems that the generated patch has an incorrect path where the plugin has inserted a '/' in the directory OPSBusiness.
The error:
Error while applying patch: Remote run tries to change file 'V2_R1/OPS/Business/src/main/java/ca/gc/agr/ops/accounting/ar/recovery/service/RecoveryResult.java'. The file is absent in the agent working directory.

The actual path should read : V2_R1/OPSBusiness/src..... (with no slash between OPS and Business)

Anyone have a similar issue?

SVN root:
http://x.x.x:7777/DPS/branches/V2_R1/OPSBusiness
with a checkout rule:
+:.=>/V2_R1/OPSBusiness

Thanks in advance.

7 comments

Jeff,

What directory structure do you have on your computer running Eclipse?
Could you please look up the full changed file URL on the My Changes page (in the popup near "Remote Run change" text for your personal change) and note it also?

Do you have any hints as to what is special in "OPSBusiness" directory that the '/' is inserted in it?

--
Best regards,

Yegor Yarko
Project Manager
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Thanks for the reply.

Each SVN Root is checked out as a separate project in eclipse.

Is there any special requirements to setting up eclipse projects that allow personal builds to work?

The first example was from OPSBusiness, this next example is from another project OPSShared.

The file path on my machine is:
C:\Projects\DPS_V2B\OPSShared\src\main\java\ca\gc\agr\ops\shared\program\domain\ShrProgram.java

The file name from general my changes tab is:
svn://75007486-f72a-0410-a957-8787a5783e45|branches/V2_R1/OPSShared/src/main/java/ca/gc/agr/ops/shared/program/domain/ShrProgram.java

The file name from the my changes tab (found between overview and build log) Shows the error:
V2_R1/OPS/Shared/src/main/java/ca/gc/agr/ops/shared/program/domain/ShrProgram.java

The complete build log for this error is:

Checking for changes
: Building in C:\dev\BuildAgent\work\4f980e0600e7f4df
: Clearing temporary directory: C:\dev\BuildAgent\temp\buildTmp
: Updating project sources
: Clearing C:\dev\BuildAgent\work\4f980e0600e7f4df\V2_R1\OPS
: Checking C:\dev\BuildAgent\work\4f980e0600e7f4df\V2_R1\OPS out to svn
: Clearing C:\dev\BuildAgent\work\4f980e0600e7f4df\V2_R1\OPSBusiness
: Checking C:\dev\BuildAgent\work\4f980e0600e7f4df\V2_R1\OPSBusiness out to svn
: Clearing C:\dev\BuildAgent\work\4f980e0600e7f4df\V2_R1\OPSCommon
: Checking C:\dev\BuildAgent\work\4f980e0600e7f4df\V2_R1\OPSCommon out to svn
: Clearing C:\dev\BuildAgent\work\4f980e0600e7f4df\V2_R1\OPSConfig
: Checking C:\dev\BuildAgent\work\4f980e0600e7f4df\V2_R1\OPSConfig out to svn
: Clearing C:\dev\BuildAgent\work\4f980e0600e7f4df\V2_R1\OPSDatabase
: Checking C:\dev\BuildAgent\work\4f980e0600e7f4df\V2_R1\OPSDatabase out to svn
: Clearing C:\dev\BuildAgent\work\4f980e0600e7f4df\V2_R1\OPSShared
: Checking C:\dev\BuildAgent\work\4f980e0600e7f4df\V2_R1\OPSShared out to svn
: Clearing C:\dev\BuildAgent\work\4f980e0600e7f4df\V2_R1\OPSWeb
: Checking C:\dev\BuildAgent\work\4f980e0600e7f4df\V2_R1\OPSWeb out to svn
: Failed to map VCS path '75007486-f72a-0410-a957-8787a5783e45|branches/V2_R1/OPSShared/src/main/java/ca/gc/agr/ops/shared/program/domain/ShrProgram.java'. Build configuration have few intersecting VCS root of type svn.The item could be mapped to: V2_R1/OPSShared/src/main/java/ca/gc/agr/ops/shared/program/domain/ShrProgram.java. But was mapped only to: V2_R1/OPS/Shared/src/main/java/ca/gc/agr/ops/shared/program/domain/ShrProgram.java
: Personal changes: replace: 'C:\dev\BuildAgent\work\4f980e0600e7f4df\V2_R1\OPS\Shared\src\main\java\ca\gc\agr\ops\shared\program\domain\ShrProgram.java'
: Error while applying patch: Remote run tries to change file 'V2_R1/OPS/Shared/src/main/java/ca/gc/agr/ops/shared/program/domain/ShrProgram.java'. The file is absent in the agent working directory.
: Publishing artifacts (<1s)
: Will process paths:
: Publishing artifacts 'teamcity-info.xml' to root artifacts directory
: Artifacts path teamcity-info.xml not found
: Publishing artifacts 'coverage.ec' to root artifacts directory
: Artifacts path coverage.ec not found
: Publishing artifacts 'coverage.em' to root artifacts directory
: Artifacts path coverage.em not found
: Publishing artifacts 'coverage.txt' to root artifacts directory
: Artifacts path coverage.txt not found
: Publishing artifacts 'coverage' to root artifacts directory
: Artifacts path coverage not found
: Build finished

Hope you can help, thanks.

0

Jeff,

This seems to be a bug in our code related to intersecting Subversion roots.
I filed it as http://www.jetbrains.net/jira/browse/TW-4318
Please watch it so that additional questions may be asked if needed.
I hope we will be able to fix it before TeamCity 3.1 (planned in February)

As a possible workaround I can suggest to eliminate a VCS root that checks out to "\V2_R1\OPS" directory, if that is possible.

--
Best regards,

Yegor Yarko
Project Manager
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Thanks for verifying that.

Please explain what you mean by intersecting subversion roots.
Do you mean that we have one root called OPS and others that are pre-fixed with the word OPS?

Cheers

0

Jeff,

Sorry for the delay in replying, I missed your last comment somehow.

Do you mean that we have one root called OPS and others that are pre-fixed with the word OPS?


It seems I was a bit wrong here: you do not have SVN roots that are checked out into parent and child directories as I initially thought.

Anyway, the issue states the actual setup and I hope we will be able to resolve it soon.

--
Best regards,

Yegor Yarko
Project Manager
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Thanks.

Yes I upgraded to the EAP as soon as it was available and this problem has been corrected.

However the area of the remote run/delayed commit has been a problem area for me.
One problem is:
http://intellij.net/forums/thread.jspa?threadID=272917&tstart=0

And I just found another problem last night. I will post another thread on the topic but it deals with the issue of remote run changes (new tests) not being executed. More on that later.

0

Please sign in to leave a comment.