uppercutbuild 1.4.0.0 → 1.4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/docs/CREDITS +1 -0
  2. data/lib/build.bat +5 -4
  3. data/lib/build/UppercuT.xml +1 -1
  4. data/lib/build/analyze.step +9 -9
  5. data/lib/build/analyzers/gallio.test.step +4 -4
  6. data/lib/build/analyzers/mbunit2.test.step +4 -4
  7. data/lib/build/analyzers/metrics.step +5 -5
  8. data/lib/build/analyzers/moma.step +5 -5
  9. data/lib/build/analyzers/ncover.step +5 -5
  10. data/lib/build/analyzers/ndepend.step +5 -5
  11. data/lib/build/analyzers/nitriq.step +6 -6
  12. data/lib/build/analyzers/nunit.test.step +5 -5
  13. data/lib/build/analyzers/storevil.test.step +5 -5
  14. data/lib/build/analyzers/test.step +17 -17
  15. data/lib/build/analyzers/xunit.test.step +5 -5
  16. data/lib/build/compile.step +12 -15
  17. data/lib/build/customize.build +3 -7
  18. data/lib/build/customizers/item.template +13 -14
  19. data/lib/build/default.build +32 -26
  20. data/lib/build/deploymentBuilder.step +7 -7
  21. data/lib/build/environmentBuilder.step +6 -6
  22. data/lib/build/gemsBuild.step +6 -6
  23. data/lib/build/gemsPrepare.step +7 -7
  24. data/lib/build/generateBuildInfo.step +4 -4
  25. data/lib/build/ilmerge.build +6 -6
  26. data/lib/build/nugetBuild.step +7 -9
  27. data/lib/build/nugetPrepare.step +7 -7
  28. data/lib/build/obfuscate.step +7 -7
  29. data/lib/build/open.build +6 -6
  30. data/lib/build/package.step +9 -9
  31. data/lib/build/policyChecks.step +4 -4
  32. data/lib/build/uc.exe +0 -0
  33. data/lib/build/updateAssemblies.build +6 -6
  34. data/lib/build/uppercut.dll +0 -0
  35. data/lib/build/uppercut.tasks.dll +0 -0
  36. data/lib/build/versionBuilder.step +7 -7
  37. data/lib/build/versioners/git.step +5 -5
  38. data/lib/build/versioners/hg.step +5 -5
  39. data/lib/build/versioners/svn.step +5 -5
  40. data/lib/build/versioners/tfs.step +5 -4
  41. data/lib/build/zip.build +11 -11
  42. data/lib/open.bat +5 -4
  43. data/lib/test.bat +7 -6
  44. data/lib/zip.bat +7 -5
  45. metadata +4 -5
  46. data/docs/README +0 -187
@@ -4,6 +4,7 @@ Committers
4
4
  ----------
5
5
  Rob Reynolds, Committer - lead developer and manager of the framework
6
6
  Dru Sellers, Committer - thought leader on direction
7
+ David Keaveny, Committer
7
8
 
8
9
  Other Credits
9
10
  -------------
@@ -8,11 +8,12 @@ if '%1' == '-?' goto usage
8
8
  if '%1' == '?' goto usage
9
9
  if '%1' == '/help' goto usage
10
10
 
11
- SET DIR=%~d0%~p0%
12
- SET NANT="%DIR%lib\Nant\nant.exe"
13
- SET build.config.settings="%DIR%settings\UppercuT.config"
11
+ SET DIR=%cd%
12
+ SET BUILD_DIR=%~d0%~p0%
13
+ SET NANT="%BUILD_DIR%lib\Nant\nant.exe"
14
+ SET build.config.settings="%DIR%\settings\UppercuT.config"
14
15
 
15
- %NANT% -logger:NAnt.Core.DefaultLogger -quiet /f:.\build\default.build -D:build.config.settings=%build.config.settings% %*
16
+ %NANT% -logger:NAnt.Core.DefaultLogger -quiet /f:%BUILD_DIR%build\default.build -D:build.config.settings=%build.config.settings% %*
16
17
 
17
18
  if %ERRORLEVEL% NEQ 0 goto errors
18
19
 
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" ?>
2
2
  <uppercut>
3
- <version>1.4.0.0</version>
3
+ <version>1.4.1.0</version>
4
4
  </uppercut>
@@ -6,11 +6,11 @@
6
6
  <include buildfile="${build.config.settings}" if="${file::exists(build.config.settings)}" />
7
7
  <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
8
8
  <property name="file.current.no_extension" value="analyze" />
9
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
10
- <property name="path.to.toplevel" value=".." />
9
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
10
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
11
11
  <property name="folder.build_scripts" value="build" overwrite="false" />
12
12
  <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
13
- <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}" />
13
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}" />
14
14
  <property name="is.replaced" value="false" />
15
15
  <property name="fail.build.on.error" value="true" />
16
16
 
@@ -33,12 +33,12 @@
33
33
  description="Analyzing project for quality indicators." />
34
34
 
35
35
  <target name="run_analyzers">
36
- <nant buildfile="${dirs.current}${path.separator}analyzers${path.separator}test.step" inheritall="true" />
37
- <nant buildfile="${dirs.current}${path.separator}analyzers${path.separator}ncover.step" inheritall="true" failonerror="false" />
38
- <nant buildfile="${dirs.current}${path.separator}analyzers${path.separator}ndepend.step" inheritall="true" failonerror="false" />
39
- <nant buildfile="${dirs.current}${path.separator}analyzers${path.separator}nitriq.step" inheritall="true" failonerror="false" />
40
- <nant buildfile="${dirs.current}${path.separator}analyzers${path.separator}metrics.step" inheritall="true" failonerror="false" />
41
- <nant buildfile="${dirs.current}${path.separator}analyzers${path.separator}moma.step" inheritall="true" failonerror="false" />
36
+ <nant buildfile="${dirs.current.file}${path.separator}analyzers${path.separator}test.step" inheritall="true" />
37
+ <nant buildfile="${dirs.current.file}${path.separator}analyzers${path.separator}ncover.step" inheritall="true" failonerror="false" />
38
+ <nant buildfile="${dirs.current.file}${path.separator}analyzers${path.separator}ndepend.step" inheritall="true" failonerror="false" />
39
+ <nant buildfile="${dirs.current.file}${path.separator}analyzers${path.separator}nitriq.step" inheritall="true" failonerror="false" />
40
+ <nant buildfile="${dirs.current.file}${path.separator}analyzers${path.separator}metrics.step" inheritall="true" failonerror="false" />
41
+ <nant buildfile="${dirs.current.file}${path.separator}analyzers${path.separator}moma.step" inheritall="true" failonerror="false" />
42
42
  </target>
43
43
 
44
44
  </project>
@@ -7,13 +7,13 @@
7
7
  <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
8
8
  <include buildfile="..${path.separator}csharp.functions" />
9
9
  <property name="file.current.no_extension" value="gallio.test" />
10
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
11
- <property name="path.to.toplevel" value="..${path.separator}.." />
10
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
11
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
12
12
  <property name="folder.build_scripts" value="build" overwrite="false" />
13
13
  <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
14
- <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
14
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
15
15
  <property name="folder.code_build" value="build_output" overwrite="false" />
16
- <property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
16
+ <property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
17
17
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
18
18
  <property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
19
19
  <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
@@ -7,13 +7,13 @@
7
7
  <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
8
8
  <include buildfile="..${path.separator}csharp.functions" />
9
9
  <property name="file.current.no_extension" value="mbunit2.test" />
10
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
11
- <property name="path.to.toplevel" value="..${path.separator}.." />
10
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
11
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
12
12
  <property name="folder.build_scripts" value="build" overwrite="false" />
13
13
  <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
14
- <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
14
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
15
15
  <property name="folder.code_build" value="build_output" overwrite="false" />
16
- <property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
16
+ <property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
17
17
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
18
18
  <property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
19
19
  <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
@@ -6,13 +6,13 @@
6
6
  <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
7
7
  <include buildfile="..${path.separator}csharp.functions" />
8
8
  <property name="file.current.no_extension" value="metrics" />
9
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
10
- <property name="path.to.toplevel" value="..${path.separator}.." />
9
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
10
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
11
11
  <property name="folder.build_scripts" value="build" overwrite="false" />
12
12
  <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
13
- <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
13
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
14
14
  <property name="folder.code_build" value="build_output" overwrite="false" />
15
- <property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
15
+ <property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
16
16
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
17
17
  <property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
18
18
  <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
@@ -20,7 +20,7 @@
20
20
  <property name="folder.program_files" value="${environment::get-folder-path('ProgramFiles')}" />
21
21
  <property name="project.name" value="__SOLUTION_NAME_WITHOUT_SLN_EXTENSION__" overwrite="false" />
22
22
  <property name="folder.references" value="lib" overwrite="false" />
23
- <property name="dirs.lib" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.references}" overwrite="false" />
23
+ <property name="dirs.lib" value="${dirs.current}${path.separator}${folder.references}" overwrite="false" />
24
24
  <property name="dirs.metrics_results" value="${path::get-full-path(dirs.build_artifacts)}${path.separator}metrics" />
25
25
  <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" />
26
26
  <property name="file.metrics_results" value="${project.name}.Metrics.xml" />
@@ -7,20 +7,20 @@
7
7
  <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
8
8
  <include buildfile="..${path.separator}csharp.functions" />
9
9
  <property name="file.current.no_extension" value="moma" />
10
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
11
- <property name="path.to.toplevel" value="..${path.separator}.." />
10
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
11
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
12
12
  <property name="folder.build_scripts" value="build" overwrite="false" />
13
13
  <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
14
- <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
14
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
15
15
  <property name="folder.code_build" value="build_output" overwrite="false" />
16
- <property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
16
+ <property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
17
17
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
18
18
  <property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
19
19
  <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
20
20
  <property name="dirs.build_artifacts" value="${path::get-full-path(dirs.build)}${path.separator}${folder.build_artifacts}" />
21
21
  <property name="project.name" value="__SOLUTION_NAME_WITHOUT_SLN_EXTENSION__" overwrite="false" />
22
22
  <property name="folder.references" value="lib" overwrite="false" />
23
- <property name="dirs.lib" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.references}" overwrite="false" />
23
+ <property name="dirs.lib" value="${dirs.current}${path.separator}${folder.references}" overwrite="false" />
24
24
  <property name="dirs.moma_results" value="${path::get-full-path(dirs.build_artifacts)}${path.separator}monoMigrationAnalyzer" />
25
25
  <property name="app.moma" value="${path::get-full-path(dirs.lib)}${path.separator}MoMA${path.separator}MoMA.exe" overwrite="false" />
26
26
  <property name="file.moma_results" value="${project.name}.MoMAReport.html" />
@@ -7,13 +7,13 @@
7
7
  <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
8
8
  <include buildfile="..${path.separator}csharp.functions" />
9
9
  <property name="file.current.no_extension" value="ncover" />
10
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
11
- <property name="path.to.toplevel" value="..${path.separator}.." />
10
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
11
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
12
12
  <property name="folder.build_scripts" value="build" overwrite="false" />
13
13
  <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
14
- <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
14
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
15
15
  <property name="folder.code_build" value="build_output" overwrite="false" />
16
- <property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
16
+ <property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
17
17
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
18
18
  <property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
19
19
  <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
@@ -24,7 +24,7 @@
24
24
  <property name="number.satisfactory_coverage" value="85" overwrite="false" />
25
25
  <property name="fail.if_ncover_fails" value="false" overwrite="false" />
26
26
  <property name="folder.references" value="lib" overwrite="false" />
27
- <property name="dirs.lib" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.references}" overwrite="false" />
27
+ <property name="dirs.lib" value="${dirs.current}${path.separator}${folder.references}" overwrite="false" />
28
28
  <property name="dirs.ncover_results" value="${path::get-full-path(dirs.build_artifacts)}${path.separator}ncover" />
29
29
  <property name="app.ncover.tester" value="${path::get-full-path(dirs.lib)}${path.separator}MbUnit2${path.separator}MbUnit.Cons.exe" overwrite="false" />
30
30
  <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 @@
7
7
  <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
8
8
  <include buildfile="..${path.separator}csharp.functions" />
9
9
  <property name="file.current.no_extension" value="ndepend" />
10
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
11
- <property name="path.to.toplevel" value="..${path.separator}.." />
10
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
11
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
12
12
  <property name="folder.build_scripts" value="build" overwrite="false" />
13
13
  <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
14
- <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
14
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
15
15
  <property name="folder.code_build" value="build_output" overwrite="false" />
16
- <property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
16
+ <property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
17
17
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
18
18
  <property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
19
19
  <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
20
20
  <property name="dirs.build_artifacts" value="${path::get-full-path(dirs.build)}${path.separator}${folder.build_artifacts}" />
21
21
  <property name="app.ndepend" value="C:${path.separator}Program Files${path.separator}NDepend${path.separator}NDepend.Console.exe" overwrite="false" />
22
22
  <property name="dirs.ndepend_results" value="${dirs.build_artifacts}${path.separator}ndepend" />
23
- <property name="files.ndepend_config" value="${path::get-full-path(dirs.current)}${path.separator}${path.to.toplevel}${path.separator}NDepend.xml" />
23
+ <property name="files.ndepend_config" value="${path::get-full-path(dirs.current)}${path.separator}NDepend.xml" />
24
24
 
25
25
  <property name="is.replaced" value="false" />
26
26
  <property name="fail.build.on.error" value="false" />
@@ -7,14 +7,14 @@
7
7
  <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
8
8
  <include buildfile="..${path.separator}csharp.functions" />
9
9
  <property name="file.current.no_extension" value="nitriq" />
10
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
11
- <property name="path.to.toplevel" value="..${path.separator}.." />
10
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
11
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
12
12
  <property name="project.name" value="__SOLUTION_NAME_WITHOUT_SLN_EXTENSION__" overwrite="false" />
13
13
  <property name="folder.build_scripts" value="build" overwrite="false" />
14
14
  <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
15
- <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
15
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
16
16
  <property name="folder.code_build" value="build_output" overwrite="false" />
17
- <property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
17
+ <property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
18
18
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
19
19
  <property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
20
20
  <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
@@ -22,8 +22,8 @@
22
22
 
23
23
  <property name="app.nitriq" value="C:${path.separator}Program Files (x86)${path.separator}NimblePros${path.separator}Nitriq Console + Pro${path.separator}Nitriq.Console.exe" overwrite="false" />
24
24
  <property name="dirs.nitriq_results" value="${dirs.build_artifacts}${path.separator}nitriq" />
25
- <property name="files.nitriq_project" value="${path::get-full-path(dirs.current)}${path.separator}${path.to.toplevel}${path.separator}nitriq.nitriqProj" />
26
- <property name="files.nitriq_queries" value="${path::get-full-path(dirs.current)}${path.separator}${path.to.toplevel}${path.separator}nitriq.nq" />
25
+ <property name="files.nitriq_project" value="${path::get-full-path(dirs.current)}${path.separator}nitriq.nitriqProj" />
26
+ <property name="files.nitriq_queries" value="${path::get-full-path(dirs.current)}${path.separator}nitriq.nq" />
27
27
  <property name="file.html.nitriq_results" value="${dirs.nitriq_results}${path.separator}${project.name}.nitriq-results.html" />
28
28
 
29
29
  <property name="is.replaced" value="false" />
@@ -7,17 +7,17 @@
7
7
  <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
8
8
  <include buildfile="..${path.separator}csharp.functions" />
9
9
  <property name="file.current.no_extension" value="nunit.test" />
10
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
11
- <property name="path.to.toplevel" value="..${path.separator}.." />
10
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
11
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
12
12
  <property name="folder.build_scripts" value="build" overwrite="false" />
13
13
  <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
14
- <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
14
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
15
15
  <property name="folder.code_build" value="build_output" overwrite="false" />
16
- <property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
16
+ <property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
17
17
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
18
18
  <property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
19
19
  <property name="folder.references" value="lib" overwrite="false" />
20
- <property name="dirs.lib" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.references}" overwrite="false" />
20
+ <property name="dirs.lib" value="${dirs.current.file}${path.separator}${folder.references}" overwrite="false" />
21
21
  <property name="microsoft.framework" value="net-3.5" overwrite="false" />
22
22
  <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
23
23
  <property name="dirs.build_artifacts" value="${path::get-full-path(dirs.build)}${path.separator}${folder.build_artifacts}" />
@@ -7,17 +7,17 @@
7
7
  <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
8
8
  <include buildfile="..${path.separator}csharp.functions" />
9
9
  <property name="file.current.no_extension" value="storevil.test" />
10
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
11
- <property name="path.to.toplevel" value="..${path.separator}.." />
10
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
11
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
12
12
  <property name="folder.build_scripts" value="build" overwrite="false" />
13
13
  <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
14
- <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
14
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
15
15
  <property name="folder.code_build" value="build_output" overwrite="false" />
16
- <property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
16
+ <property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
17
17
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
18
18
  <property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
19
19
  <property name="folder.references" value="lib" overwrite="false" />
20
- <property name="dirs.lib" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.references}" overwrite="false" />
20
+ <property name="dirs.lib" value="${dirs.current}${path.separator}${folder.references}" overwrite="false" />
21
21
  <property name="microsoft.framework" value="net-3.5" overwrite="false" />
22
22
  <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
23
23
  <property name="dirs.build_artifacts" value="${path::get-full-path(dirs.build)}${path.separator}${folder.build_artifacts}" />
@@ -6,13 +6,13 @@
6
6
  <include buildfile="${build.config.settings}" if="${file::exists(build.config.settings)}" />
7
7
  <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
8
8
  <property name="file.current.no_extension" value="test" />
9
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
10
- <property name="path.to.toplevel" value="..${path.separator}.." />
9
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
10
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
11
11
  <property name="folder.build_scripts" value="build" overwrite="false" />
12
12
  <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
13
- <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
13
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
14
14
  <property name="folder.code_build" value="build_output" overwrite="false" />
15
- <property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
15
+ <property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
16
16
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
17
17
  <property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
18
18
  <property name="test.framework" value="mbunit" overwrite="false" />
@@ -24,7 +24,7 @@
24
24
  <target name="go" depends="load_uppercut_assemblies, run_tasks" />
25
25
 
26
26
  <property name="file.uppercut.assembly" value="uppercut.tasks.dll" />
27
- <property name="path.uppercut.assembly" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts}${path.separator}${file.uppercut.assembly}" />
27
+ <property name="path.uppercut.assembly" value="${dirs.current.file}${path.separator}..${path.separator}${file.uppercut.assembly}" />
28
28
  <target name="load_uppercut_assemblies">
29
29
  <loadtasks assembly="${path.uppercut.assembly}" if="${file::exists(path.uppercut.assembly)}" />
30
30
  </target>
@@ -46,26 +46,26 @@
46
46
  description="Testing project for quality." />
47
47
 
48
48
  <target name="run_tests">
49
- <nant buildfile="${dirs.current}${path.separator}mbunit2.test.step" inheritall="true" if="${test.framework=='mbunit2'}" />
50
- <nant buildfile="${dirs.current}${path.separator}gallio.test.step" inheritall="true" if="${test.framework=='gallio'}" />
51
- <nant buildfile="${dirs.current}${path.separator}nunit.test.step" inheritall="true" if="${test.framework=='nunit'}" />
52
- <nant buildfile="${dirs.current}${path.separator}xunit.test.step" inheritall="true" if="${test.framework=='xunit'}" />
49
+ <nant buildfile="${dirs.current.file}${path.separator}mbunit2.test.step" inheritall="true" if="${test.framework=='mbunit2'}" />
50
+ <nant buildfile="${dirs.current.file}${path.separator}gallio.test.step" inheritall="true" if="${test.framework=='gallio'}" />
51
+ <nant buildfile="${dirs.current.file}${path.separator}nunit.test.step" inheritall="true" if="${test.framework=='nunit'}" />
52
+ <nant buildfile="${dirs.current.file}${path.separator}xunit.test.step" inheritall="true" if="${test.framework=='xunit'}" />
53
53
  <call target="set_normal_failure_mode" />
54
54
  </target>
55
55
 
56
56
  <target name="all">
57
- <nant buildfile="${dirs.current}${path.separator}mbunit2.test.step" target="run_all_tests" inheritall="true" if="${test.framework=='mbunit2'}" />
58
- <nant buildfile="${dirs.current}${path.separator}gallio.test.step" target="run_all_tests" inheritall="true" if="${test.framework=='gallio'}" />
59
- <nant buildfile="${dirs.current}${path.separator}nunit.test.step" target="run_all_tests" inheritall="true" if="${test.framework=='nunit'}" />
60
- <nant buildfile="${dirs.current}${path.separator}xunit.test.step" target="run_all_tests" inheritall="true" if="${test.framework=='xunit'}" />
57
+ <nant buildfile="${dirs.current.file}${path.separator}mbunit2.test.step" target="run_all_tests" inheritall="true" if="${test.framework=='mbunit2'}" />
58
+ <nant buildfile="${dirs.current.file}${path.separator}gallio.test.step" target="run_all_tests" inheritall="true" if="${test.framework=='gallio'}" />
59
+ <nant buildfile="${dirs.current.file}${path.separator}nunit.test.step" target="run_all_tests" inheritall="true" if="${test.framework=='nunit'}" />
60
+ <nant buildfile="${dirs.current.file}${path.separator}xunit.test.step" target="run_all_tests" inheritall="true" if="${test.framework=='xunit'}" />
61
61
  <call target="set_normal_failure_mode" />
62
62
  </target>
63
63
 
64
64
  <target name="open_results">
65
- <nant buildfile="${dirs.current}${path.separator}mbunit2.test.step" target="open_results" inheritall="true" if="${test.framework=='mbunit2'}" />
66
- <nant buildfile="${dirs.current}${path.separator}gallio.test.step" target="open_results" inheritall="true" if="${test.framework=='gallio'}" />
67
- <nant buildfile="${dirs.current}${path.separator}nunit.test.step" target="open_results" inheritall="true" if="${test.framework=='nunit'}" />
68
- <nant buildfile="${dirs.current}${path.separator}xunit.test.step" target="open_results" inheritall="true" if="${test.framework=='xunit'}" />
65
+ <nant buildfile="${dirs.current.file}${path.separator}mbunit2.test.step" target="open_results" inheritall="true" if="${test.framework=='mbunit2'}" />
66
+ <nant buildfile="${dirs.current.file}${path.separator}gallio.test.step" target="open_results" inheritall="true" if="${test.framework=='gallio'}" />
67
+ <nant buildfile="${dirs.current.file}${path.separator}nunit.test.step" target="open_results" inheritall="true" if="${test.framework=='nunit'}" />
68
+ <nant buildfile="${dirs.current.file}${path.separator}xunit.test.step" target="open_results" inheritall="true" if="${test.framework=='xunit'}" />
69
69
  </target>
70
70
 
71
71
  <target name="set_normal_failure_mode">
@@ -7,17 +7,17 @@
7
7
  <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
8
8
  <include buildfile="..${path.separator}csharp.functions" />
9
9
  <property name="file.current.no_extension" value="xunit.test" />
10
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
11
- <property name="path.to.toplevel" value="..${path.separator}.." />
10
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
11
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
12
12
  <property name="folder.build_scripts" value="build" overwrite="false" />
13
13
  <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
14
- <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
14
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" />
15
15
  <property name="folder.code_build" value="build_output" overwrite="false" />
16
- <property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
16
+ <property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
17
17
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
18
18
  <property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
19
19
  <property name="folder.references" value="lib" overwrite="false" />
20
- <property name="dirs.lib" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.references}" overwrite="false" />
20
+ <property name="dirs.lib" value="${dirs.current}${path.separator}${folder.references}" overwrite="false" />
21
21
  <property name="microsoft.framework" value="net-3.5" overwrite="false" />
22
22
  <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
23
23
  <property name="dirs.build_artifacts" value="${path::get-full-path(dirs.build)}${path.separator}${folder.build_artifacts}" />
@@ -6,22 +6,22 @@
6
6
  <include buildfile="${build.config.settings}" if="${file::exists(build.config.settings)}" />
7
7
  <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
8
8
  <property name="file.current.no_extension" value="compile" />
9
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
10
- <property name="path.to.toplevel" value=".." />
11
- <property name="folder.build_scripts" value="build" overwrite="false" />
9
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
10
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
11
+ <property name="W" value="build" overwrite="false" />
12
12
  <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
13
- <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}" />
13
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}" />
14
14
  <property name="folder.code_build" value="build_output" overwrite="false" />
15
- <property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
15
+ <property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
16
16
  <property name="dirs.build.windows.mono" value="${string::replace(dirs.build,'\','/')}" />
17
17
  <property name="folder.documentation" value="docs" overwrite="false" />
18
- <property name="dirs.docs" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.documentation}" />
18
+ <property name="dirs.docs" value="${dirs.current}${path.separator}${folder.documentation}" />
19
19
  <property name="folder.database" value="__DATABASE_FOLDER_NAME__" overwrite="false" />
20
- <property name="dirs.db" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.database}" />
20
+ <property name="dirs.db" value="${dirs.current}${path.separator}${folder.database}" />
21
21
  <property name="project.name" value="__SOLUTION_NAME_WITHOUT_SLN_EXTENSION__" overwrite="false" />
22
22
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
23
23
  <property name="folder.references" value="lib" overwrite="false" />
24
- <property name="dirs.lib" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.references}" overwrite="false" />
24
+ <property name="dirs.lib" value="${dirs.current}${path.separator}${folder.references}" overwrite="false" />
25
25
  <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
26
26
  <property name="dirs.build_artifacts" value="${path::get-full-path(dirs.build)}${path.separator}${folder.build_artifacts}" />
27
27
  <property name="dirs.build_results" value="${dirs.build_artifacts}${path.separator}compile" overwrite="false" />
@@ -33,9 +33,9 @@
33
33
  <property name="msbuild.override_output_path" value="true" overwrite="false" />
34
34
  <property name="msbuild.outputpath" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" />
35
35
  <property name="msbuild.outputpath.windows.mono" value="${string::replace(msbuild.outputpath,'\','/')}" />
36
- <property name="solution.path" value="${directory::get-parent-directory(dirs.current)}${path.separator}${path_to_solution}${path.separator}${project.name}.sln" />
37
- <property name="solution.path.windows.mono" value="${string::replace(directory::get-parent-directory(dirs.current),'\','/')}/${string::replace(path_to_solution,'\','/')}/${project.name}.sln" />
38
- <property name="solution.path" value="${directory::get-parent-directory(dirs.current)}${path.separator}${path_to_solution}${path.separator}${project.name}.vbp" if="${microsoft.framework =='vb6'}" />
36
+ <property name="solution.path" value="${dirs.current}${path.separator}${path_to_solution}${path.separator}${project.name}.sln" />
37
+ <property name="solution.path.windows.mono" value="${string::replace(dirs.current,'\','/')}/${string::replace(path_to_solution,'\','/')}/${project.name}.sln" />
38
+ <property name="solution.path" value="${dirs.current}${path.separator}${path_to_solution}${path.separator}${project.name}.vbp" if="${microsoft.framework =='vb6'}" />
39
39
  <property name="nant.settings.currentframework" value="mono-2.0" if="${platform::is-unix()}" />
40
40
  <property name="nant.settings.currentframework" value="net-3.5" if="${microsoft.framework !='vb6' and platform::is-windows()}" />
41
41
  <property name="app.xbuild" value="C:\Program Files (x86)\Mono-2.8\bin\xbuild.bat" overwrite="false" if="${platform::is-windows() and file::exists('C:\Program Files (x86)\Mono-2.8\bin\xbuild.bat')}" />
@@ -43,9 +43,6 @@
43
43
  <property name="app.xbuild" value="xbuild" overwrite="false" if="${platform::is-unix()}" />
44
44
  <property name="framework.multitargeting" value="false" />
45
45
  <property name="framework.multitargeting.delimiter" value="," />
46
- <property name="file.custom.step.before" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.pre.step" />
47
- <property name="file.custom.step.after" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.post.step" />
48
- <property name="file.custom.step.replace" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.replace.step" />
49
46
  <property name="is.replaced" value="false" />
50
47
  <property name="fail.build.on.error" value="true" />
51
48
  <property name="app.ruby" value="C:\Ruby\bin\ruby.exe" overwrite="false" />
@@ -54,7 +51,7 @@
54
51
  <target name="go" depends="load_uppercut_assemblies, run_tasks" />
55
52
 
56
53
  <property name="file.uppercut.assembly" value="uppercut.tasks.dll" />
57
- <property name="path.uppercut.assembly" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts}${path.separator}${file.uppercut.assembly}" />
54
+ <property name="path.uppercut.assembly" value="${dirs.current.file}${path.separator}${file.uppercut.assembly}" />
58
55
  <target name="load_uppercut_assemblies">
59
56
  <loadtasks assembly="${path.uppercut.assembly}" if="${file::exists(path.uppercut.assembly)}" />
60
57
  </target>
@@ -6,10 +6,10 @@
6
6
  <include buildfile="${build.config.settings}" if="${file::exists(build.config.settings)}" />
7
7
  <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
8
8
  <property name="file.current.no_extension" value="customize" />
9
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
10
- <property name="path.to.toplevel" value=".." />
9
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
10
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
11
11
  <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
12
- <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}" />
12
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}" />
13
13
  <property name="customize.step.name" value="__REPLACE__" overwrite="false" />
14
14
  <property name="customize.step.type" value="__REPLACE__" overwrite="false" />
15
15
  <property name="customize.step.type.lowered" value="${string::to-lower(customize.step.type)}" />
@@ -67,10 +67,6 @@
67
67
  file="${dirs.build_scripts_custom}${path.separator}${file.customized}"
68
68
  xpath="/project/@name"
69
69
  value="CUSTOM ${string::to-upper(customize.step.type)} ${string::to-upper(path::get-file-name-without-extension(customize.step.name))}" />
70
- <xmlpoke
71
- file="${dirs.build_scripts_custom}${path.separator}${file.customized}"
72
- xpath="/project/property[@name = 'path.to.toplevel']/@value"
73
- value="..${path.separator}.." if="${path.to.custom_file !=''}" />
74
70
  </target>
75
71
 
76
72
  <target name="report_finish_time">