English 中文(简体)
TeamCity + git-teamcity plugin: ParseException
原标题:

Alright, I ve trying to set up a TeamCity server the past few hours, but this as really gotten me stuck. I ve got everything working, agents are running, plugin is installed, but when I run the build process it instantly crashes with the following log error:

Error collecting changes for VCS root  git@github.com:chrisjowen/nLess.git:master  #1  
java.lang.RuntimeException: java.text.ParseException: Unparseable date:
"Mon Nov 16 15:01:08 2009 +0100"

We already have a TeamCity setup on a remote server, but I didn t set it up myself. I just want to be able to do the same thing personally, because I d like to see if we can benefit from this at work.

I use the exact same TeamCity configuration as the remote one, and I updated git to the latest version.

The date you see is the date of the last commit on the master branch on the github repository, so it must be something in the VCS plugin. Anyone encounter this? Or even better, anyone know what I should do to solve this?

Additional info: Windows XP Professional (32 bit), English
TeamCity Professional Version 4.5.5 (build 9103)
git-teamcity plugin available here: http://github.com/chrisortman/git-teamcity


Use http://github.com/petemounce/git-teamcity, this fork fixes the issue I had. The dateformat didn t specify a locale, so it used the default. This fork explicitly sets the US locale, which works when you re using a different locale (mine was set to nl).

最佳回答

I found it myself. Apparently, even if windows is set to English, my JRE is set to Dutch. I ll have to figure out why that is now ;-)

问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签