RunAs Plugin not compiling

I am using TeamCity 6.5.3 and I want to use RunAs plugin provided by JetBrains.
As per the documentation in the plugin we have downloaded the plugin and trying to compile the RunAsCommandLineProcessor.java class
This class is giving compilation error for implementing process method. The class in the plugin has the method signature

public ProgramCommandLine process(@NotNull final AgentRunningBuild build, @NotNull final ProgramCommandLine origCommandLine)

However the interface BuildCommandLineProcessor that is implemented by RunAsCommandLineProcessor class has the method signature

ProgramCommandLine process(@NotNull BuildRunnerContext runnerContext, @NotNull ProgramCommandLine origCommandLine) throws RunBuildException;

Since AgentRunningBuild class does not implement BuildRunnerContext in its heirarchy we are getting the compilation error.

Reuest you to help us get this compilation error resolved.

Is it possible for you to send us compiled and ready to use RunAs.zip file which we could directly install in our TeamCity?

Also the current step given has process given for only IntelliJ IDEA IDE , it will be great if the process for using it from Eclipse could also be shared with us.

Regards,
Ruby

2 comments
Comment actions Permalink

I fixed compilation problem, in TeamCity 6.5.3 we've made a little change in the relatively new API used by the plugin.
Pre-built version of the plugin can also be downloaded from teamcity.jetbrains.com: http://teamcity.jetbrains.com/viewLog.html?buildId=lastPinned&buildTypeId=bt332&tab=artifacts&guest=1
So far I do not have plans to add Eclipse project files to the RunAs plugin as I am not using Eclipse here, in JetBrains ;). But, I would welcome such patch.

0
Comment actions Permalink

Hi Pavel,
Thanks forfixing the issue and  providing the prebuilt plugin :)

Regards,
Ruby

0

Please sign in to leave a comment.