10 Replies Last post: Jan 26, 2010 12:36 PM by Yegor Yarko  
steven dunning Newbie 26 posts since
May 28, 2009
Currently Being Moderated

May 28, 2009 5:50 PM

Groovy Plugin Will Not Load

Plugin does not seem to work with TC 4.5.1.  Receive the following error and server does not start:

ERROR -   jetbrains.buildServer.SERVER - Failed to initialize TeamCity server, due to error (enable debug to see the whole stacktrace):org/codehaus/groovy/control/CompilationFailedException

Grant Hall Newbie 12 posts since
Jun 19, 2009
Currently Being Moderated
Jun 19, 2009 8:37 PM in response to: steven dunning
Re: Groovy Plugin Will Not Load

Does anyone know the latest on this? We are also trying to get the Groovy Plugin to work with Team City 4.5.x. So far no luck. If anyone has found an acceptable workaround or knows the possible release date on an updated plugin I would be eternally grateful

 

Thanks

Yegor Yarko JetBrains 1,459 posts since
May 5, 2004
Currently Being Moderated
Jun 20, 2009 12:15 AM in response to: Grant Hall
Re: Groovy Plugin Will Not Load

Grant,

 

The plugin works fine for me. Could you provide any details like server logs, errors, etc. ?

Please doublecheck you performed all the installation steps correctly.

Grant Hall Newbie 12 posts since
Jun 19, 2009
Currently Being Moderated
Jun 20, 2009 1:02 AM in response to: Yegor Yarko
Re: Groovy Plugin Will Not Load

Don't know why, when I checked the logs again last time the server did not restart correctly. I restarted again and behold the Groovy-Plug worked! Thanks for taking time out of your day to answer my question.

 

Grant-

Yegor Yarko JetBrains 1,459 posts since
May 5, 2004
Currently Being Moderated
Jun 20, 2009 12:15 AM in response to: steven dunning
Re: Groovy Plugin Will Not Load

Steven,

 

Did you put additional groovy libs into WEB-INF/lib ?

 

If yes, please post the full log.

 

UPD: Sorry, missed the date of the post

Yegor Yarko JetBrains 1,459 posts since
May 5, 2004
Currently Being Moderated
Jan 22, 2010 10:45 PM in response to: steven dunning
Re: Groovy Plugin Will Not Load

Steven,

 

Seems, there is an issue with references to GroovyPlug-provided params from build configuration settings.

 

Sorry for the inconvenience.

 

Actually, due to TW-4527 fix, TeamCity 5.0 provides last affected revision in the standard "build.vcs.number.*" properties.

Yegor Yarko JetBrains 1,459 posts since
May 5, 2004
Currently Being Moderated
Jan 25, 2010 10:16 PM in response to: Yegor Yarko
Re: Groovy Plugin Will Not Load

Steven,

 

The issue is in fact in the way the plugin provides lastIncluded* properties, not the core of TeamCity.

 

Can you please try updated GroovyPropertiesProvider.groovy script from build #28?

You can install the new build. If you modified the file yourself, you will need to use updated verison. If you did not modified the scripts, just installing a new build should help.

Yegor Yarko JetBrains 1,459 posts since
May 5, 2004
Currently Being Moderated
Jan 26, 2010 12:36 PM in response to: steven dunning
Re: Groovy Plugin Will Not Load

Steven,

 

NP : )
Actually we do try to make TeamCity contain all the necessary functionality without need to install extra plugins as a kind of workaround.

More Like This

  • Retrieving data ...