• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • Build & Test
  • drb
  • Reporter: teck
  • October 29, 2007
  • 0
  • Watchers: 0
  • July 27, 2012
  • October 29, 2007

Description

From the forums: http://forums.terracotta.org/forums/posts/list/579.page

If you don’t have svn in your path (or svn info fails for whatever reason), tcbuild gives a rather uninformative error message:

buildscripts/build-tc.rb:[28,30]:[841,887]: BUILD FAILED (RuntimeError) org.leafcutter.core.TaskRunnerException: Encountered before (: exec executable=svn errorproperty=executer_er ror_0 outputproperty=executer_output_0 failonerror=true resultproperty=executer_result_code_0 dir=C:\gonow\pro jetos\terracotta\terracotta-2.4.5-src\code\base(arg line=’“info” “C:\gonow\projetos\terracotta\terracotta-2.4. 5-src”’))(exec executable=C:\opt\j2sdk1.4.2_05\bin\java.exe errorproperty=executer_error_1 outputproperty=exec uter_output_1 failonerror=true resultproperty=executer_result_code_1 dir=C:\gonow\projetos\terracotta\terracot ta-2.4.5-src\code\base(arg line=”-version”)

Maybe the error message should be a little more obvious about what is wrong.

In one example,. someone had deleted all of the “.svn” directories which was making “svn info” fail. The error message was similar

Comments

jvoegele 2007-10-29

Fixed.

svn is used only for retrieving metadata for automated builds. As such, I’ve fixed the code to not crash if svn is not in path.