Permalink
Browse files

removing the dependency on relative paths and defining a difference b…

…etween build relative and present working directory.
  • Loading branch information...
ferventcoder committed Aug 12, 2011
1 parent 405dbce commit ed6740b545f12d23b4bb023456accf8a23c3bf80
Showing with 845 additions and 874 deletions.
  1. +25 −11 ReleaseAssembliesForExternals.bat
  2. +9 −9 assemblies/build/analyze.step
  3. +4 −4 assemblies/build/analyzers/gallio.test.step
  4. +4 −4 assemblies/build/analyzers/mbunit2.test.step
  5. +5 −5 assemblies/build/analyzers/metrics.step
  6. +5 −5 assemblies/build/analyzers/moma.step
  7. +5 −5 assemblies/build/analyzers/ncover.step
  8. +5 −5 assemblies/build/analyzers/ndepend.step
  9. +6 −6 assemblies/build/analyzers/nitriq.step
  10. +5 −5 assemblies/build/analyzers/nunit.test.step
  11. +5 −5 assemblies/build/analyzers/storevil.test.step
  12. +17 −17 assemblies/build/analyzers/test.step
  13. +5 −5 assemblies/build/analyzers/xunit.test.step
  14. +12 −15 assemblies/build/compile.step
  15. +3 −7 assemblies/build/customize.build
  16. +13 −14 assemblies/build/customizers/item.template
  17. +25 −25 assemblies/build/default.build
  18. +7 −7 assemblies/build/deploymentBuilder.step
  19. +6 −6 assemblies/build/environmentBuilder.step
  20. +6 −6 assemblies/build/gemsBuild.step
  21. +7 −7 assemblies/build/gemsPrepare.step
  22. +4 −4 assemblies/build/generateBuildInfo.step
  23. +6 −6 assemblies/build/ilmerge.build
  24. +7 −9 assemblies/build/nugetBuild.step
  25. +7 −7 assemblies/build/nugetPrepare.step
  26. +7 −7 assemblies/build/obfuscate.step
  27. +6 −6 assemblies/build/open.build
  28. +9 −9 assemblies/build/package.step
  29. +4 −4 assemblies/build/policyChecks.step
  30. BIN assemblies/build/uc.exe
  31. +6 −6 assemblies/build/updateAssemblies.build
  32. BIN assemblies/build/uppercut.dll
  33. BIN assemblies/build/uppercut.tasks.dll
  34. +7 −7 assemblies/build/versionBuilder.step
  35. +5 −5 assemblies/build/versioners/git.step
  36. +5 −5 assemblies/build/versioners/hg.step
  37. +5 −5 assemblies/build/versioners/svn.step
  38. +5 −4 assemblies/build/versioners/tfs.step
  39. +11 −11 assemblies/build/zip.build
  40. +5 −4 build.bat
  41. +9 −9 build/analyze.step
  42. +4 −4 build/analyzers/gallio.test.step
  43. +4 −4 build/analyzers/mbunit2.test.step
  44. +5 −5 build/analyzers/metrics.step
  45. +5 −5 build/analyzers/moma.step
  46. +5 −5 build/analyzers/ncover.step
  47. +5 −5 build/analyzers/ndepend.step
  48. +6 −6 build/analyzers/nitriq.step
  49. +5 −5 build/analyzers/nunit.test.step
  50. +5 −5 build/analyzers/storevil.test.step
  51. +17 −17 build/analyzers/test.step
  52. +5 −5 build/analyzers/xunit.test.step
  53. +12 −15 build/compile.step
  54. +3 −7 build/customize.build
  55. +13 −14 build/customizers/item.template
  56. +25 −25 build/default.build
  57. +7 −7 build/deploymentBuilder.step
  58. +6 −6 build/environmentBuilder.step
  59. +6 −6 build/gemsBuild.step
  60. +7 −7 build/gemsPrepare.step
  61. +4 −4 build/generateBuildInfo.step
  62. +6 −6 build/ilmerge.build
  63. +7 −9 build/nugetBuild.step
  64. +7 −7 build/nugetPrepare.step
  65. +7 −7 build/obfuscate.step
  66. +6 −6 build/open.build
  67. +9 −9 build/package.step
  68. +4 −4 build/policyChecks.step
  69. BIN build/uc.exe
  70. +6 −6 build/updateAssemblies.build
  71. BIN build/uppercut.dll
  72. BIN build/uppercut.tasks.dll
  73. +7 −7 build/versionBuilder.step
  74. +5 −5 build/versioners/git.step
  75. +5 −5 build/versioners/hg.step
  76. +5 −5 build/versioners/svn.step
  77. +5 −4 build/versioners/tfs.step
  78. +11 −11 build/zip.build
  79. +5 −4 open.bat
  80. +5 −4 product/uppercut.build/build.bat
  81. +9 −9 product/uppercut.build/build/analyze.step
  82. +4 −4 product/uppercut.build/build/analyzers/gallio.test.step
  83. +4 −4 product/uppercut.build/build/analyzers/mbunit2.test.step
  84. +5 −5 product/uppercut.build/build/analyzers/metrics.step
  85. +5 −5 product/uppercut.build/build/analyzers/moma.step
  86. +5 −5 product/uppercut.build/build/analyzers/ncover.step
  87. +5 −5 product/uppercut.build/build/analyzers/ndepend.step
  88. +6 −6 product/uppercut.build/build/analyzers/nitriq.step
  89. +5 −5 product/uppercut.build/build/analyzers/nunit.test.step
  90. +5 −5 product/uppercut.build/build/analyzers/storevil.test.step
  91. +17 −17 product/uppercut.build/build/analyzers/test.step
  92. +5 −5 product/uppercut.build/build/analyzers/xunit.test.step
  93. +12 −15 product/uppercut.build/build/compile.step
  94. +3 −7 product/uppercut.build/build/customize.build
  95. +13 −14 product/uppercut.build/build/customizers/item.template
  96. +25 −25 product/uppercut.build/build/default.build
  97. +7 −7 product/uppercut.build/build/deploymentBuilder.step
  98. +6 −6 product/uppercut.build/build/environmentBuilder.step
  99. +6 −6 product/uppercut.build/build/gemsBuild.step
  100. +7 −7 product/uppercut.build/build/gemsPrepare.step
  101. +4 −4 product/uppercut.build/build/generateBuildInfo.step
  102. +6 −6 product/uppercut.build/build/ilmerge.build
  103. +7 −9 product/uppercut.build/build/nugetBuild.step
  104. +7 −7 product/uppercut.build/build/nugetPrepare.step
  105. +7 −7 product/uppercut.build/build/obfuscate.step
  106. +6 −6 product/uppercut.build/build/open.build
  107. +9 −9 product/uppercut.build/build/package.step
  108. +4 −4 product/uppercut.build/build/policyChecks.step
  109. +6 −6 product/uppercut.build/build/updateAssemblies.build
  110. +7 −7 product/uppercut.build/build/versionBuilder.step
  111. +5 −5 product/uppercut.build/build/versioners/git.step
  112. +5 −5 product/uppercut.build/build/versioners/hg.step
  113. +5 −5 product/uppercut.build/build/versioners/svn.step
  114. +5 −4 product/uppercut.build/build/versioners/tfs.step
  115. +11 −11 product/uppercut.build/build/zip.build
  116. +5 −4 product/uppercut.build/open.bat
  117. +7 −6 product/uppercut.build/test.bat
  118. +0 −1 product/uppercut.build/uppercut.build.csproj
  119. +7 −5 product/uppercut.build/zip.bat
  120. +5 −0 product/uppercut.console/Program.cs
  121. +2 −34 product/uppercut.console/Properties/AssemblyInfo.cs
  122. +3 −0 product/uppercut.console/uppercut.console.csproj
  123. +6 −7 product/uppercut.settings.editor/uppercut.settings.editor.csproj
  124. +5 −5 product/uppercut.tasks/CustomExtensionTask.cs
  125. +7 −7 settings/UppercuT.config
  126. +7 −6 test.bat
  127. +7 −5 zip.bat
@@ -1,11 +1,25 @@
@echo off
::Project UppercuT - http://uppercut.googlecode.com
::No edits to this file are required - http://uppercut.pbwiki.com
SET DIR=%~d0%~p0%
call "%DIR%build.bat"
SET build.config.settings="%DIR%Settings\UppercuT.config"
"%DIR%lib\Nant\nant.exe" /f:.\build\updateAssemblies.build -D:build.config.settings=%build.config.settings%
@echo off
::Project UppercuT - http://uppercut.googlecode.com
::No edits to this file are required - http://uppercut.pbwiki.com
SET DIR=%cd%
SET BUILD_DIR=%~d0%~p0%
call "%BUILD_DIR%build.bat" %*
if %ERRORLEVEL% NEQ 0 goto errors
SET NANT="%DIR%\lib\Nant\nant.exe"
SET build.config.settings="%DIR%\settings\UppercuT.config"
%NANT% /f:%BUILD_DIR%build\updateAssemblies.build -D:build.config.settings=%build.config.settings%
if %ERRORLEVEL% NEQ 0 goto errors
goto finish
:errors
EXIT /B %ERRORLEVEL%
:finish
@@ -6,11 +6,11 @@
<include buildfile="${build.config.settings}" if="${file::exists(build.config.settings)}" />
<property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
<property name="file.current.no_extension" value="analyze" />
<property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
<property name="path.to.toplevel" value=".." />
<property name="dirs.current" value="${directory::get-current-directory()}" />
<property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
<property name="folder.build_scripts" value="build" overwrite="false" />
<property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
<property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}" />
<property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}" />
<property name="is.replaced" value="false" />
<property name="fail.build.on.error" value="true" />
@@ -33,12 +33,12 @@
description="Analyzing project for quality indicators." />
<target name="run_analyzers">
<nant buildfile="${dirs.current}${path.separator}analyzers${path.separator}test.step" inheritall="true" />
<nant buildfile="${dirs.current}${path.separator}analyzers${path.separator}ncover.step" inheritall="true" failonerror="false" />
<nant buildfile="${dirs.current}${path.separator}analyzers${path.separator}ndepend.step" inheritall="true" failonerror="false" />
<nant buildfile="${dirs.current}${path.separator}analyzers${path.separator}nitriq.step" inheritall="true" failonerror="false" />
<nant buildfile="${dirs.current}${path.separator}analyzers${path.separator}metrics.step" inheritall="true" failonerror="false" />
<nant buildfile="${dirs.current}${path.separator}analyzers${path.separator}moma.step" inheritall="true" failonerror="false" />
<nant buildfile="${dirs.current.file}${path.separator}analyzers${path.separator}test.step" inheritall="true" />
<nant buildfile="${dirs.current.file}${path.separator}analyzers${path.separator}ncover.step" inheritall="true" failonerror="false" />
<nant buildfile="${dirs.current.file}${path.separator}analyzers${path.separator}ndepend.step" inheritall="true" failonerror="false" />
<nant buildfile="${dirs.current.file}${path.separator}analyzers${path.separator}nitriq.step" inheritall="true" failonerror="false" />
<nant buildfile="${dirs.current.file}${path.separator}analyzers${path.separator}metrics.step" inheritall="true" failonerror="false" />
<nant buildfile="${dirs.current.file}${path.separator}analyzers${path.separator}moma.step" inheritall="true" failonerror="false" />
</target>
</project>
@@ -7,13 +7,13 @@
<property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
<include buildfile="..${path.separator}csharp.functions" />
<property name="file.current.no_extension" value="gallio.test" />
<property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
<property name="path.to.toplevel" value="..${path.separator}.." />
<property name="dirs.current" value="${directory::get-current-directory()}" />
<property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
<property name="folder.build_scripts" value="build" overwrite="false" />
<property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
<property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
<property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
<property name="folder.code_build" value="build_output" overwrite="false" />
<property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
<property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
<property name="folder.app.drop" value="${project.name}" overwrite="false" />
<property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
<property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
@@ -7,13 +7,13 @@
<property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
<include buildfile="..${path.separator}csharp.functions" />
<property name="file.current.no_extension" value="mbunit2.test" />
<property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
<property name="path.to.toplevel" value="..${path.separator}.." />
<property name="dirs.current" value="${directory::get-current-directory()}" />
<property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
<property name="folder.build_scripts" value="build" overwrite="false" />
<property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
<property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
<property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
<property name="folder.code_build" value="build_output" overwrite="false" />
<property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
<property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
<property name="folder.app.drop" value="${project.name}" overwrite="false" />
<property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
<property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
@@ -6,21 +6,21 @@
<property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
<include buildfile="..${path.separator}csharp.functions" />
<property name="file.current.no_extension" value="metrics" />
<property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
<property name="path.to.toplevel" value="..${path.separator}.." />
<property name="dirs.current" value="${directory::get-current-directory()}" />
<property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
<property name="folder.build_scripts" value="build" overwrite="false" />
<property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
<property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
<property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
<property name="folder.code_build" value="build_output" overwrite="false" />
<property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
<property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
<property name="folder.app.drop" value="${project.name}" overwrite="false" />
<property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
<property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
<property name="dirs.build_artifacts" value="${path::get-full-path(dirs.build)}${path.separator}${folder.build_artifacts}" />
<property name="folder.program_files" value="${environment::get-folder-path('ProgramFiles')}" />
<property name="project.name" value="__SOLUTION_NAME_WITHOUT_SLN_EXTENSION__" overwrite="false" />
<property name="folder.references" value="lib" overwrite="false" />
<property name="dirs.lib" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.references}" overwrite="false" />
<property name="dirs.lib" value="${dirs.current}${path.separator}${folder.references}" overwrite="false" />
<property name="dirs.metrics_results" value="${path::get-full-path(dirs.build_artifacts)}${path.separator}metrics" />
<property name="app.metrics" value="${path::get-full-path(folder.program_files)}${path.separator}Microsoft Visual Studio 10.0${path.separator}Team Tools${path.separator}Static Analysis Tools${path.separator}FxCop${path.separator}Metrics.exe" overwrite="false" />
<property name="file.metrics_results" value="${project.name}.Metrics.xml" />
@@ -7,20 +7,20 @@
<property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
<include buildfile="..${path.separator}csharp.functions" />
<property name="file.current.no_extension" value="moma" />
<property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
<property name="path.to.toplevel" value="..${path.separator}.." />
<property name="dirs.current" value="${directory::get-current-directory()}" />
<property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
<property name="folder.build_scripts" value="build" overwrite="false" />
<property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
<property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
<property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
<property name="folder.code_build" value="build_output" overwrite="false" />
<property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
<property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
<property name="folder.app.drop" value="${project.name}" overwrite="false" />
<property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
<property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
<property name="dirs.build_artifacts" value="${path::get-full-path(dirs.build)}${path.separator}${folder.build_artifacts}" />
<property name="project.name" value="__SOLUTION_NAME_WITHOUT_SLN_EXTENSION__" overwrite="false" />
<property name="folder.references" value="lib" overwrite="false" />
<property name="dirs.lib" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.references}" overwrite="false" />
<property name="dirs.lib" value="${dirs.current}${path.separator}${folder.references}" overwrite="false" />
<property name="dirs.moma_results" value="${path::get-full-path(dirs.build_artifacts)}${path.separator}monoMigrationAnalyzer" />
<property name="app.moma" value="${path::get-full-path(dirs.lib)}${path.separator}MoMA${path.separator}MoMA.exe" overwrite="false" />
<property name="file.moma_results" value="${project.name}.MoMAReport.html" />
@@ -7,13 +7,13 @@
<property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
<include buildfile="..${path.separator}csharp.functions" />
<property name="file.current.no_extension" value="ncover" />
<property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
<property name="path.to.toplevel" value="..${path.separator}.." />
<property name="dirs.current" value="${directory::get-current-directory()}" />
<property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
<property name="folder.build_scripts" value="build" overwrite="false" />
<property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
<property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
<property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
<property name="folder.code_build" value="build_output" overwrite="false" />
<property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
<property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
<property name="folder.app.drop" value="${project.name}" overwrite="false" />
<property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
<property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
@@ -24,7 +24,7 @@
<property name="number.satisfactory_coverage" value="85" overwrite="false" />
<property name="fail.if_ncover_fails" value="false" overwrite="false" />
<property name="folder.references" value="lib" overwrite="false" />
<property name="dirs.lib" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.references}" overwrite="false" />
<property name="dirs.lib" value="${dirs.current}${path.separator}${folder.references}" overwrite="false" />
<property name="dirs.ncover_results" value="${path::get-full-path(dirs.build_artifacts)}${path.separator}ncover" />
<property name="app.ncover.tester" value="${path::get-full-path(dirs.lib)}${path.separator}MbUnit2${path.separator}MbUnit.Cons.exe" overwrite="false" />
<property name="app.ncover" value="${path::get-full-path(dirs.lib)}${path.separator}NCover${path.separator}NCover.Console.exe" overwrite="false" />
@@ -7,20 +7,20 @@
<property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
<include buildfile="..${path.separator}csharp.functions" />
<property name="file.current.no_extension" value="ndepend" />
<property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
<property name="path.to.toplevel" value="..${path.separator}.." />
<property name="dirs.current" value="${directory::get-current-directory()}" />
<property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
<property name="folder.build_scripts" value="build" overwrite="false" />
<property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
<property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
<property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
<property name="folder.code_build" value="build_output" overwrite="false" />
<property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
<property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
<property name="folder.app.drop" value="${project.name}" overwrite="false" />
<property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
<property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
<property name="dirs.build_artifacts" value="${path::get-full-path(dirs.build)}${path.separator}${folder.build_artifacts}" />
<property name="app.ndepend" value="C:${path.separator}Program Files${path.separator}NDepend${path.separator}NDepend.Console.exe" overwrite="false" />
<property name="dirs.ndepend_results" value="${dirs.build_artifacts}${path.separator}ndepend" />
<property name="files.ndepend_config" value="${path::get-full-path(dirs.current)}${path.separator}${path.to.toplevel}${path.separator}NDepend.xml" />
<property name="files.ndepend_config" value="${path::get-full-path(dirs.current)}${path.separator}NDepend.xml" />
<property name="is.replaced" value="false" />
<property name="fail.build.on.error" value="false" />
Oops, something went wrong.

0 comments on commit ed6740b

Please sign in to comment.