public
Description: CruiseControl.rb is a continuous integration tool, written in Ruby. It is quick to install, simple to use and easy to hack.
Homepage: http://cruisecontrolrb.thoughtworks.com/
Clone URL: git://github.com/benburkert/cruisecontrolrb.git
cruise add ... --trace prints out the entire backtrace

git-svn-id: http://cruisecontrolrb.rubyforge.org/svn/trunk@584 
c04ce798-636b-4ca8-9149-0f9336831111
alexeyv (author)
Fri Jan 04 10:06:01 -0800 2008
commit  486095663dd080873f95f5a882f29bed32553374
tree    50279efe260268cf96a294c0e78e7222c7293458
parent  010129a44dc7ebed73bdd76001a1a029e0513abb
...
1
2
3
 
4
5
6
...
1
 
 
2
3
4
5
0
@@ -1,6 +1,5 @@
0
 <?xml version="1.0" encoding="UTF-8"?>
0
-<module version="4" relativePaths="true" type="RUBY_MODULE">
0
- <component name="ModuleRootManager" />
0
+<module relativePaths="true" type="RUBY_MODULE" version="4">
0
   <component name="NewModuleRootManager" inherit-compiler-output="false">
0
     <content url="file://$MODULE_DIR$" />
0
     <orderEntry type="inheritedJdk" />
...
1
2
 
3
4
5
...
24
25
26
 
 
 
 
 
 
 
 
 
27
28
29
...
47
48
49
50
51
52
53
54
 
 
 
55
56
57
...
67
68
69
70
 
71
72
73
74
75
76
77
78
79
80
...
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
 
107
108
109
...
273
274
275
276
277
278
279
280
...
296
297
298
 
299
300
301
...
303
304
305
306
307
308
309
310
311
312
313
314
...
1
 
2
3
4
5
...
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
...
56
57
58
 
59
60
61
 
62
63
64
65
66
67
...
77
78
79
 
80
81
82
83
84
85
86
 
87
88
89
...
93
94
95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
97
98
99
100
101
...
265
266
267
 
 
268
269
270
...
286
287
288
289
290
291
292
...
294
295
296
 
297
298
299
300
301
 
302
303
0
@@ -1,5 +1,5 @@
0
 <?xml version="1.0" encoding="UTF-8"?>
0
-<project version="4" relativePaths="false">
0
+<project relativePaths="false" version="4">
0
   <component name="AntConfiguration">
0
     <defaultAnt bundledAnt="true" />
0
   </component>
0
@@ -24,6 +24,15 @@
0
             <option name="LABEL_INDENT_ABSOLUTE" value="false" />
0
           </value>
0
         </option>
0
+ <ADDITIONAL_INDENT_OPTIONS fileType="js">
0
+ <option name="INDENT_SIZE" value="4" />
0
+ <option name="CONTINUATION_INDENT_SIZE" value="8" />
0
+ <option name="TAB_SIZE" value="4" />
0
+ <option name="USE_TAB_CHARACTER" value="false" />
0
+ <option name="SMART_TABS" value="false" />
0
+ <option name="LABEL_INDENT_SIZE" value="0" />
0
+ <option name="LABEL_INDENT_ABSOLUTE" value="false" />
0
+ </ADDITIONAL_INDENT_OPTIONS>
0
       </value>
0
     </option>
0
     <option name="USE_PER_PROJECT_SETTINGS" value="true" />
0
@@ -47,11 +56,12 @@
0
       <entry name="?*.tld" />
0
     </wildcardResourcePatterns>
0
   </component>
0
- <component name="DataSourceManagerImpl" />
0
   <component name="DependenciesAnalyzeManager">
0
     <option name="myForwardDirection" value="false" />
0
   </component>
0
- <component name="DependencyValidationManager" />
0
+ <component name="DependencyValidationManager">
0
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
0
+ </component>
0
   <component name="EclipseCompilerSettings">
0
     <option name="DEBUGGING_INFO" value="true" />
0
     <option name="GENERATE_NO_WARNINGS" value="true" />
0
@@ -67,14 +77,13 @@
0
     <option name="MAXIMUM_HEAP_SIZE" value="128" />
0
   </component>
0
   <component name="EntryPointsManager">
0
- <entry_points />
0
+ <entry_points version="2.0" />
0
   </component>
0
   <component name="ExportToHTMLSettings">
0
     <option name="PRINT_LINE_NUMBERS" value="false" />
0
     <option name="OPEN_IN_BROWSER" value="false" />
0
     <option name="OUTPUT_DIRECTORY" />
0
   </component>
0
- <component name="GUI Designer component loader factory" />
0
   <component name="IdProvider" IDEtalkID="05736CB51757D63C002269C1E72B307B" />
0
   <component name="InspectionProjectProfileManager">
0
     <option name="PROJECT_PROFILE" value="Project Default" />
0
@@ -84,26 +93,9 @@
0
       <profile version="1.0" is_locked="false">
0
         <option name="myName" value="Project Default" />
0
         <option name="myLocal" value="false" />
0
- <used_levels>
0
- <error>
0
- <option name="myName" value="ERROR" />
0
- <option name="myVal" value="300" />
0
- </error>
0
- <warning>
0
- <option name="myName" value="WARNING" />
0
- <option name="myVal" value="200" />
0
- </warning>
0
- <information>
0
- <option name="myName" value="INFO" />
0
- <option name="myVal" value="100" />
0
- </information>
0
- <server>
0
- <option name="myName" value="SERVER PROBLEM" />
0
- <option name="myVal" value="100" />
0
- </server>
0
- </used_levels>
0
       </profile>
0
     </profiles>
0
+ <list size="0" />
0
   </component>
0
   <component name="JavacSettings">
0
     <option name="DEBUGGING_INFO" value="true" />
0
@@ -273,8 +265,6 @@
0
   <component name="ProjectRootManager" version="2" assert-keyword="true" jdk-15="true" project-jdk-name="Ruby SDK 1.8.5" project-jdk-type="RUBY_SDK">
0
     <output url="file://$PROJECT_DIR$/classes" />
0
   </component>
0
- <component name="ProjectRunConfigurationManager" />
0
- <component name="RAILS_PROJECT_VIEW_PANE" />
0
   <component name="RUBY_DOC_SETTINGS">
0
     <RUBY_DOC NAME="DEFAULTS" VALUE="TRUE" />
0
     <RUBY_DOC NAME="NUMBER" VALUE="0" />
0
@@ -296,6 +286,7 @@
0
   <component name="VcsDirectoryMappings">
0
     <mapping directory="" vcs="" />
0
   </component>
0
+ <component name="WebServicesPlugin" addRequiredLibraries="true" />
0
   <component name="com.intellij.jsf.UserDefinedFacesConfigs">
0
     <option name="USER_DEFINED_CONFIGS">
0
       <value>
0
@@ -303,12 +294,10 @@
0
       </value>
0
     </option>
0
   </component>
0
- <component name="libraryTable" />
0
   <component name="uidesigner-configuration">
0
     <option name="INSTRUMENT_CLASSES" value="true" />
0
     <option name="COPY_FORMS_RUNTIME_TO_OUTPUT" value="true" />
0
     <option name="DEFAULT_LAYOUT_MANAGER" value="GridLayoutManager" />
0
   </component>
0
- <UsedPathMacros />
0
 </project>
0
 
...
99
100
101
102
 
103
104
105
...
99
100
101
 
102
103
104
105
0
@@ -99,7 +99,7 @@ module CommandLine
0
         File.open(options[:stderr], "a") {|io| io.write(e.message)}
0
       else
0
         STDERR.puts e.message
0
- STDERR.puts e.backtrace.join("\n")
0
+ STDERR.puts e.backtrace.map { |line| " #{line}" }
0
       end
0
       raise ExecutionError.new(cmd, full_cmd, options[:dir], nil, e.message)
0
     end
...
60
61
62
63
 
64
 
65
66
67
68
69
 
70
 
71
72
73
74
...
60
61
62
 
63
64
65
66
 
 
 
 
67
68
69
70
71
72
73
0
@@ -60,14 +60,13 @@ begin
0
     puts " http://subversion.tigris.org/faq.html#ssh-auth-cache"
0
     puts
0
   end
0
-
0
+
0
 rescue => e
0
+ STDERR.puts "FAILED: #{e.message}"
0
   if trace
0
- raise
0
- else
0
- STDERR.puts "FAILED: #{e.message}"
0
- exit -1
0
+ STDERR.puts e.backtrace.map { |line| " #{line}" }
0
   end
0
+ exit -1
0
 end
0
 
0
 puts "Project '#{project_name}' added."
0
\ No newline at end of file
...
89
90
91
92
 
93
94
95
...
89
90
91
 
92
93
94
95
0
@@ -89,7 +89,7 @@ rescue Exception => e
0
     CruiseControl::Log.fatal(e)
0
   rescue => logging_error
0
     STDERR.puts e.message
0
- STDERR.puts e.backtrace
0
+ STDERR.puts e.backtrace.map { |line| " #{line}" }
0
     STDERR.puts "Attempt to log the above error failed with this:"
0
     STDERR.puts logging_error.message
0
     STDERR.puts logging_error.backtrace

Comments

    No one has commented yet.