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,33 +4,32 @@
4
4
  <property name="build.config.settings" value="__NONE__" overwrite="false" />
5
5
  <include buildfile="${build.config.settings}" if="${file::exists(build.config.settings)}" />
6
6
  <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
7
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
8
- <property name="path.to.toplevel" value=".." />
7
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
8
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
9
9
  <property name="folder.build_scripts" value="build" overwrite="false" />
10
- <property name="dirs.build_scripts" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts}" />
11
10
  <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}" />
11
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}" />
13
12
  <property name="folder.code_build" value="build_output" overwrite="false" />
14
- <property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" />
13
+ <property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" />
15
14
  <property name="folder.code_drop" value="code_drop" overwrite="false" />
16
- <property name="dirs.drop" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_drop}" overwrite="false" />
15
+ <property name="dirs.drop" value="${dirs.current}${path.separator}${folder.code_drop}" overwrite="false" />
17
16
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
18
17
  <property name="folder.database" value="__DATABASE_FOLDER_NAME__" overwrite="false" />
19
- <property name="dirs.database" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.database}" overwrite="false" />
18
+ <property name="dirs.database" value="${dirs.current}${path.separator}${folder.database}" overwrite="false" />
20
19
  <property name="folder.reports" value="${project.name}.Reports" overwrite="false" />
21
- <property name="dirs.reports" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.reports}" overwrite="false" />
20
+ <property name="dirs.reports" value="${dirs.current}${path.separator}${folder.reports}" overwrite="false" />
22
21
  <property name="folder.file_server" value="file.server" overwrite="false" />
23
- <property name="dirs.file_server" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.file_server}" overwrite="false" />
22
+ <property name="dirs.file_server" value="${dirs.current}${path.separator}${folder.file_server}" overwrite="false" />
24
23
  <property name="folder.environment_files" value="environment.files" overwrite="false" />
25
- <property name="dirs.environment_files" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.environment_files}" overwrite="false" />
24
+ <property name="dirs.environment_files" value="${dirs.current}${path.separator}${folder.environment_files}" overwrite="false" />
26
25
  <property name="folder.deployment" value="deployment" overwrite="false" />
27
- <property name="dirs.deployment" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.deployment}" overwrite="false" />
26
+ <property name="dirs.deployment" value="${dirs.current}${path.separator}${folder.deployment}" overwrite="false" />
28
27
  <property name="folder.settings" value="settings" overwrite="false" />
29
- <property name="dirs.settings" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.settings}" overwrite="false" />
28
+ <property name="dirs.settings" value="${dirs.current}${path.separator}${folder.settings}" overwrite="false" />
30
29
  <property name="folder.documentation" value="docs" overwrite="false" />
31
- <property name="dirs.docs" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.documentation}" overwrite="false" />
30
+ <property name="dirs.docs" value="${dirs.current}${path.separator}${folder.documentation}" overwrite="false" />
32
31
  <property name="folder.references" value="lib" overwrite="false" />
33
- <property name="dirs.lib" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.references}" overwrite="false" />
32
+ <property name="dirs.lib" value="${dirs.current}${path.separator}${folder.references}" overwrite="false" />
34
33
 
35
34
  <target name="go" depends="run_tasks" />
36
35
 
@@ -6,15 +6,15 @@
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="default" />
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="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.code_drop" value="code_drop" overwrite="false" />
17
- <property name="dirs.drop" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_drop}" overwrite="false" />
17
+ <property name="dirs.drop" value="${dirs.current}${path.separator}${folder.code_drop}" overwrite="false" />
18
18
  <property name="log.build" value="${dirs.build}${path.separator}build.log" />
19
19
  <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
20
20
  <property name="project.name" value="__SOLUTION_NAME_WITHOUT_SLN_EXTENSION__" overwrite="false" />
@@ -30,7 +30,7 @@
30
30
  <property name="version.hash" value="${version.revision}" overwrite="false" />
31
31
  <property name="run.ilmerge" value="false" overwrite="false" />
32
32
  <property name="file.uppercut.assembly" value="uppercut.tasks.dll" />
33
- <property name="path.uppercut.assembly" value="${dirs.current}${path.separator}${file.uppercut.assembly}" />
33
+ <property name="path.uppercut.assembly" value="${dirs.current.file}${path.separator}${file.uppercut.assembly}" />
34
34
  <property name="obfuscate" value="false" overwrite="false" />
35
35
  <property name="app.ruby" value="C:\Ruby\bin\ruby.exe" overwrite="false" />
36
36
  <property name="app.powershell" value="%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe" overwrite="false" />
@@ -76,8 +76,14 @@
76
76
 
77
77
  <target name="prepare">
78
78
  <echo level="Warning" message="Removing and adding ${dirs.build}."/>
79
- <delete dir="${dirs.build}" failonerror="false" />
80
79
  <mkdir dir="${dirs.build}" failonerror="false" />
80
+ <delete dir="${dirs.build}\build_artifacts" failonerror="false" />
81
+ <delete dir="${dirs.build}\${folder.documentation}" failonerror="false" />
82
+ <delete dir="${dirs.build}\${folder.environment_files}" failonerror="false" />
83
+ <delete dir="${dirs.build}\${folder.database}" failonerror="false" />
84
+ <delete dir="${dirs.build}\${folder.reports}" failonerror="false" />
85
+ <delete dir="${dirs.build}\${folder.file_server}" failonerror="false" />
86
+ <delete dir="${dirs.build}\${folder.app.drop}" failonerror="false" />
81
87
  </target>
82
88
 
83
89
  <target name="error_check">
@@ -90,28 +96,28 @@
90
96
  <call target="get_build_number" />
91
97
  <call target="get_drop_directory" />
92
98
 
93
- <nant buildfile="${dirs.current}${path.separator}policyChecks.step" inheritall="true" />
94
- <nant buildfile="${dirs.current}${path.separator}versionBuilder.step" inheritall="true" />
95
- <nant buildfile="${dirs.current}${path.separator}generateBuildInfo.step" inheritall="true" />
96
- <nant buildfile="${dirs.current}${path.separator}compile.step" inheritall="true" />
97
- <nant buildfile="${dirs.current}${path.separator}environmentBuilder.step" inheritall="true" />
98
- <nant buildfile="${dirs.current}${path.separator}analyze.step" inheritall="true" />
99
- <nant buildfile="${dirs.current}${path.separator}obfuscate.step" inheritall="true" if="${obfuscate}" />
100
- <nant buildfile="${dirs.current}${path.separator}package.step" inheritall="true" />
101
- <nant buildfile="${dirs.current}${path.separator}ilmerge.build" inheritall="true" if="${run.ilmerge}" />
102
- <nant buildfile="${dirs.current}${path.separator}gemsPrepare.step" inheritall="true" failonerror="false" />
103
- <nant buildfile="${dirs.current}${path.separator}gemsBuild.step" inheritall="true" failonerror="false" />
104
- <nant buildfile="${dirs.current}${path.separator}nugetPrepare.step" inheritall="true" failonerror="false" />
105
- <nant buildfile="${dirs.current}${path.separator}nugetBuild.step" inheritall="true" failonerror="false" />
99
+ <nant buildfile="${dirs.current.file}${path.separator}policyChecks.step" inheritall="true" />
100
+ <nant buildfile="${dirs.current.file}${path.separator}versionBuilder.step" inheritall="true" />
101
+ <nant buildfile="${dirs.current.file}${path.separator}generateBuildInfo.step" inheritall="true" />
102
+ <nant buildfile="${dirs.current.file}${path.separator}compile.step" inheritall="true" />
103
+ <nant buildfile="${dirs.current.file}${path.separator}environmentBuilder.step" inheritall="true" />
104
+ <nant buildfile="${dirs.current.file}${path.separator}analyze.step" inheritall="true" />
105
+ <nant buildfile="${dirs.current.file}${path.separator}obfuscate.step" inheritall="true" if="${obfuscate}" />
106
+ <nant buildfile="${dirs.current.file}${path.separator}package.step" inheritall="true" />
107
+ <nant buildfile="${dirs.current.file}${path.separator}ilmerge.build" inheritall="true" if="${run.ilmerge}" />
108
+ <nant buildfile="${dirs.current.file}${path.separator}gemsPrepare.step" inheritall="true" failonerror="false" />
109
+ <nant buildfile="${dirs.current.file}${path.separator}gemsBuild.step" inheritall="true" failonerror="false" />
110
+ <nant buildfile="${dirs.current.file}${path.separator}nugetPrepare.step" inheritall="true" failonerror="false" />
111
+ <nant buildfile="${dirs.current.file}${path.separator}nugetBuild.step" inheritall="true" failonerror="false" />
106
112
  </target>
107
113
 
108
114
  <target name="get_revision">
109
- <nant buildfile="${dirs.current}${path.separator}versioners${path.separator}svn.step" inheritall="true" if="${source_control_type=='svn'}" failonerror="false" />
110
- <nant buildfile="${dirs.current}${path.separator}versioners${path.separator}tfs.step" inheritall="true" if="${source_control_type=='tfs'}" failonerror="false" />
111
- <nant buildfile="${dirs.current}${path.separator}versioners${path.separator}git.step" inheritall="true" if="${source_control_type=='git'}" failonerror="false" />
112
- <nant buildfile="${dirs.current}${path.separator}versioners${path.separator}hg.step" inheritall="true" if="${source_control_type=='hg'}" failonerror="false" />
113
- <!--<nant buildfile="${dirs.current}${path.separator}versioners${path.separator}vault.step" inheritall="true" if="${source_control_type=='vault'}" />-->
114
- <!--<nant buildfile="${dirs.current}${path.separator}versioners${path.separator}vss.step" inheritall="true" if="${source_control_type=='vss'}" />-->
115
+ <nant buildfile="${dirs.current.file}${path.separator}versioners${path.separator}svn.step" inheritall="true" if="${source_control_type=='svn'}" failonerror="false" />
116
+ <nant buildfile="${dirs.current.file}${path.separator}versioners${path.separator}tfs.step" inheritall="true" if="${source_control_type=='tfs'}" failonerror="false" />
117
+ <nant buildfile="${dirs.current.file}${path.separator}versioners${path.separator}git.step" inheritall="true" if="${source_control_type=='git'}" failonerror="false" />
118
+ <nant buildfile="${dirs.current.file}${path.separator}versioners${path.separator}hg.step" inheritall="true" if="${source_control_type=='hg'}" failonerror="false" />
119
+ <!--<nant buildfile="${dirs.current.file}${path.separator}versioners${path.separator}vault.step" inheritall="true" if="${source_control_type=='vault'}" />-->
120
+ <!--<nant buildfile="${dirs.current.file}${path.separator}versioners${path.separator}vss.step" inheritall="true" if="${source_control_type=='vss'}" />-->
115
121
 
116
122
  <property name="version.revision" value="${environment::get-variable('uc.app.revision')}" if="${environment::variable-exists('uc.app.revision')}" />
117
123
  <property name="version.hash" value="${environment::get-variable('uc.app.revision.hash')}" if="${environment::variable-exists('uc.app.revision.hash')}" />
@@ -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="deploymentBuilder" />
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="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.code_drop" value="code_drop" overwrite="false" />
17
- <property name="dirs.drop" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_drop}" overwrite="false" />
17
+ <property name="dirs.drop" value="${dirs.current}${path.separator}${folder.code_drop}" overwrite="false" />
18
18
  <property name="folder.deployment" value="deployment" overwrite="false" />
19
19
  <property name="dirs.deployment" value="${dirs.drop}${path.separator}${folder.deployment}" overwrite="false" />
20
20
  <property name="folder.settings" value="settings" overwrite="false" />
21
21
  <property name="dirs.deployment.settings" value="${dirs.drop}${path.separator}${folder.settings}" overwrite="false" />
22
- <property name="dirs.deployment.templates" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.deployment}${path.separator}templates" overwrite="false" />
22
+ <property name="dirs.deployment.templates" value="${dirs.current}${path.separator}${folder.deployment}${path.separator}templates" overwrite="false" />
23
23
  <property name="dirs.deployment.templates.holding" value="${dirs.deployment}${path.separator}templateHolding" overwrite="false" />
24
- <property name="dirs.src.deployment.settings.templates" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.deployment}${path.separator}Settings" overwrite="false" />
24
+ <property name="dirs.src.deployment.settings.templates" value="${dirs.current}${path.separator}${folder.deployment}${path.separator}Settings" overwrite="false" />
25
25
  <property name="dirs.deployment.settings.templates.holding" value="${dirs.deployment}${path.separator}settingsHolding" overwrite="false" />
26
26
  <property name="dirs.deployment.settings.templates" value="${dirs.drop}${path.separator}${folder.deployment}${path.separator}Settings" overwrite="false" />
27
27
 
@@ -6,19 +6,19 @@
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="environmentBuilder" />
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="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.code_drop" value="code_drop" overwrite="false" />
17
- <property name="dirs.drop" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_drop}" overwrite="false" />
17
+ <property name="dirs.drop" value="${dirs.current}${path.separator}${folder.code_drop}" overwrite="false" />
18
18
  <property name="folder.environment_files" value="environment.files" overwrite="false" />
19
19
  <property name="dirs.build.environmentfiles" value="${dirs.build}${path.separator}${folder.environment_files}" overwrite="false" />
20
20
  <property name="folder.settings" value="settings" overwrite="false" />
21
- <property name="dirs.environments.settings" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.settings}" overwrite="false" />
21
+ <property name="dirs.environments.settings" value="${dirs.current}${path.separator}${folder.settings}" overwrite="false" />
22
22
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
23
23
  <property name="folder.database" value="__DATABASE_FOLDER_NAME__" overwrite="false" />
24
24
  <property name="folder.documentation" value="docs" overwrite="false" />
@@ -6,15 +6,15 @@
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="gemsBuild" />
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="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.code_drop" value="code_drop" overwrite="false" />
17
- <property name="dirs.drop" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_drop}" overwrite="false" />
17
+ <property name="dirs.drop" value="${dirs.current}${path.separator}${folder.code_drop}" overwrite="false" />
18
18
  <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
19
19
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
20
20
  <property name="folder.database" value="__DATABASE_FOLDER_NAME__" overwrite="false" />
@@ -25,7 +25,7 @@
25
25
  <property name="folder.settings" value="settings" overwrite="false" />
26
26
  <property name="folder.documentation" value="docs" overwrite="false" />
27
27
  <property name="folder.gems" value="gems" overwrite="false" />
28
- <property name="dirs.gems" value="${path.to.toplevel}${path.separator}${folder.gems}" overwrite="false" />
28
+ <property name="dirs.gems" value="${dirs.current}${path.separator}${folder.gems}" overwrite="false" />
29
29
  <property name="dirs.drop.gems" value="${dirs.drop}${path.separator}${folder.gems}" overwrite="false" />
30
30
  <property name="folder.gems.exists" value="${directory::exists(dirs.gems)}" />
31
31
  <property name="version.major" value="1" overwrite="false" />
@@ -6,15 +6,15 @@
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="gemsPrepare" />
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="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.code_drop" value="code_drop" overwrite="false" />
17
- <property name="dirs.drop" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_drop}" overwrite="false" />
17
+ <property name="dirs.drop" value="${dirs.current}${path.separator}${folder.code_drop}" overwrite="false" />
18
18
  <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
19
19
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
20
20
  <property name="folder.database" value="__DATABASE_FOLDER_NAME__" overwrite="false" />
@@ -25,7 +25,7 @@
25
25
  <property name="folder.settings" value="settings" overwrite="false" />
26
26
  <property name="folder.documentation" value="docs" overwrite="false" />
27
27
  <property name="folder.gems" value="gems" overwrite="false" />
28
- <property name="dirs.gems" value="${path.to.toplevel}${path.separator}${folder.gems}" overwrite="false" />
28
+ <property name="dirs.gems" value="${dirs.current}${path.separator}${folder.gems}" overwrite="false" />
29
29
  <property name="dirs.drop.gems" value="${dirs.drop}${path.separator}${folder.gems}" overwrite="false" />
30
30
  <property name="folder.gems.exists" value="${directory::exists(dirs.gems)}" />
31
31
  <property name="version.use_semanticversioning" value="false" overwrite="false" />
@@ -96,7 +96,7 @@
96
96
 
97
97
  <target name="copy_notices_to_doc_folder">
98
98
  <echo level="Warning" message="Packaging readme file to ${dirs.drop.gems}${path.separator}docs."/>
99
- <copy file="${dirs.current}${path.separator}..${path.separator}README.markdown" tofile="${dirs.drop.gems}${path.separator}docs${path.separator}README" failonerror="false" />
99
+ <copy file="${dirs.current}README.markdown" tofile="${dirs.drop.gems}${path.separator}docs${path.separator}README" failonerror="false" />
100
100
 
101
101
  <echo level="Warning" message="Packaging other legal stuff to ${dirs.drop.gems}${path.separator}docs."/>
102
102
  <copy todir="${dirs.drop.gems}${path.separator}docs" failonerror="false">
@@ -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="generateBuildInfo" />
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.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
10
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
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="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="file.build_info" value="${dirs.build}${path.separator}_BuildInfo.xml" />
17
17
  <property name="project.name" value="__SOLUTION_NAME_WITHOUT_SLN_EXTENSION__" overwrite="false" />
18
18
  <property name="company.name" value="__COMPANY_NAME__" overwrite="false" />
@@ -5,21 +5,21 @@
5
5
  <include buildfile="${build.config.settings}" if="${file::exists(build.config.settings)}" />
6
6
  <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
7
7
  <property name="file.current.no_extension" value="ilmerge" />
8
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
9
- <property name="path.to.toplevel" value=".." />
8
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
9
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
10
10
  <property name="folder.build_scripts" value="build" overwrite="false" />
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="folder.code_drop" value="code_drop" overwrite="false" />
14
- <property name="dirs.drop" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_drop}" overwrite="false" />
14
+ <property name="dirs.drop" value="${dirs.current}${path.separator}${folder.code_drop}" overwrite="false" />
15
15
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
16
- <property name="dirs.lib" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}lib" overwrite="false" />
16
+ <property name="dirs.lib" value="${dirs.current}${path.separator}lib" overwrite="false" />
17
17
  <property name="dirs.ilmerge.folder" value="${dirs.lib}${path.separator}ILMerge" />
18
18
  <property name="app.ilmerge" value="${dirs.ilmerge.folder}${path.separator}ILMerge.exe" overwrite="false" />
19
19
  <property name="dirs.merge.log" value="${dirs.drop}${path.separator}build_artifacts${path.separator}ilmerge" />
20
20
  <property name="log.merge" value="ilmerge.log" />
21
21
  <property name="file.uppercut.assembly" value="uppercut.tasks.dll" />
22
- <property name="path.uppercut.assembly" value="${dirs.current}${path.separator}${file.uppercut.assembly}" />
22
+ <property name="path.uppercut.assembly" value="${dirs.current.file}${path.separator}${file.uppercut.assembly}" />
23
23
  <property name="app.ruby" value="C:\Ruby\bin\ruby.exe" overwrite="false" />
24
24
  <property name="app.powershell" value="%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe" overwrite="false" />
25
25
 
@@ -6,15 +6,16 @@
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="nugetBuild" />
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="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.code_drop" value="code_drop" overwrite="false" />
17
- <property name="dirs.drop" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_drop}" overwrite="false" />
17
+ <property name="dirs.drop" value="${dirs.current}${path.separator}${folder.code_drop}" overwrite="false" />
18
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
18
19
  <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
19
20
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
20
21
  <property name="folder.database" value="__DATABASE_FOLDER_NAME__" overwrite="false" />
@@ -25,7 +26,7 @@
25
26
  <property name="folder.settings" value="settings" overwrite="false" />
26
27
  <property name="folder.documentation" value="docs" overwrite="false" />
27
28
  <property name="folder.nuget" value="nuget" overwrite="false" />
28
- <property name="dirs.nuget" value="${path.to.toplevel}${path.separator}${folder.nuget}" overwrite="false" />
29
+ <property name="dirs.nuget" value="${dirs.current}${path.separator}${folder.nuget}" overwrite="false" />
29
30
  <property name="dirs.drop.nuget" value="${dirs.drop}${path.separator}${folder.nuget}" overwrite="false" />
30
31
  <property name="folder.nuget.exists" value="${directory::exists(dirs.nuget)}" />
31
32
  <property name="version.major" value="1" overwrite="false" />
@@ -37,9 +38,6 @@
37
38
  <property name="app.nuget" value="${path::get-full-path(app.nuget)}" />
38
39
  <property name="app.nuget.exists" value="${file::exists(app.nuget)}" />
39
40
 
40
- <property name="file.custom.step.before" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.pre.step" />
41
- <property name="file.custom.step.after" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.post.step" />
42
- <property name="file.custom.step.replace" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.replace.step" />
43
41
  <property name="is.replaced" value="false" />
44
42
  <property name="fail.build.on.error" value="false" />
45
43
 
@@ -6,16 +6,16 @@
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="nugetPrepare" />
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="project.name" value="app" overwrite="false" />
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}" />
14
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}" />
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.code_drop" value="code_drop" overwrite="false" />
18
- <property name="dirs.drop" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_drop}" overwrite="false" />
18
+ <property name="dirs.drop" value="${dirs.current}${path.separator}${folder.code_drop}" overwrite="false" />
19
19
  <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
20
20
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
21
21
  <property name="folder.database" value="__DATABASE_FOLDER_NAME__" overwrite="false" />
@@ -26,7 +26,7 @@
26
26
  <property name="folder.settings" value="settings" overwrite="false" />
27
27
  <property name="folder.documentation" value="docs" overwrite="false" />
28
28
  <property name="folder.nuget" value="nuget" overwrite="false" />
29
- <property name="dirs.nuget" value="${path.to.toplevel}${path.separator}${folder.nuget}" overwrite="false" />
29
+ <property name="dirs.nuget" value="${dirs.current}${path.separator}${folder.nuget}" overwrite="false" />
30
30
  <property name="dirs.drop.nuget" value="${dirs.drop}${path.separator}${folder.nuget}" overwrite="false" />
31
31
  <property name="folder.nuget.exists" value="${directory::exists(dirs.nuget)}" />
32
32
  <property name="version.use_semanticversioning" value="false" overwrite="false" />
@@ -94,7 +94,7 @@
94
94
 
95
95
  <target name="copy_notices_to_doc_folder">
96
96
  <echo level="Warning" message="Packaging readme file to ${dirs.drop.nuget}${path.separator}docs."/>
97
- <copy file="${dirs.current}${path.separator}..${path.separator}README.markdown" tofile="${dirs.drop.nuget}${path.separator}docs${path.separator}README" failonerror="false" />
97
+ <copy file="${dirs.current}README.markdown" tofile="${dirs.drop.nuget}${path.separator}docs${path.separator}README" failonerror="false" />
98
98
 
99
99
  <echo level="Warning" message="Packaging other legal stuff to ${dirs.drop.nuget}${path.separator}docs."/>
100
100
  <copy todir="${dirs.drop.nuget}${path.separator}docs" failonerror="false">
@@ -6,15 +6,15 @@
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="obfuscate" />
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="folder.references" value="lib" overwrite="false" />
15
- <property name="dirs.lib" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.references}" overwrite="false" />
15
+ <property name="dirs.lib" value="${dirs.current}${path.separator}${folder.references}" overwrite="false" />
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="project.name" value="__SOLUTION_NAME_WITHOUT_SLN_EXTENSION__" overwrite="false" />
19
19
  <property name="company.name" value="__COMPANY_NAME__" overwrite="false" />
20
20
  <property name="path_to_solution" value="." overwrite="false" />
@@ -34,8 +34,8 @@
34
34
 
35
35
  <property name="sign.project_with_key" value="false" overwrite="false" />
36
36
  <property name="sign.key.use_relative_pathing" value="false" overwrite="false" />
37
- <property name="file.key.name.private" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${project.name}.snk" overwrite="false" />
38
- <property name="file.key.name.private" value="${path.to.toplevel}${path.separator}${project.name}.snk" overwrite="false" if="${sign.key.use_relative_pathing}" />
37
+ <property name="file.key.name.private" value="${dirs.current}${path.separator}${project.name}.snk" overwrite="false" />
38
+ <property name="file.key.name.private" value="${project.name}.snk" overwrite="false" if="${sign.key.use_relative_pathing}" />
39
39
  <property name="obsfucate" value="false" overwrite="false" />
40
40
  <property name="app.eazfuscator" value="..${path.separator}${folder.references}${path.separator}Eazfuscator.NET${path.separator}Eazfuscator.NET.exe" overwrite="false" />
41
41
  <property name="args.obfuscator" value="" overwrite="false" />
@@ -6,12 +6,12 @@
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="open" />
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}" />
14
- <property name="dirs.solution" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${path_to_solution}" />
13
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}" />
14
+ <property name="dirs.solution" value="${dirs.current}${path.separator}${path_to_solution}" />
15
15
  <property name="solution.path" value="${path::get-full-path(dirs.solution)}${path.separator}${project.name}.sln" />
16
16
  <property name="solution.path.full" value="${path::get-full-path(solution.path)}" />
17
17
  <property name="language.short" value="cs" overwrite="false" />
@@ -20,7 +20,7 @@
20
20
  <property name="app.visual_studio" value="${environment::get-folder-path('ProgramFiles')}\Common Files\Microsoft Shared\MSEnv\VSLauncher.exe" />
21
21
  <property name="app.monodevelop" value="monodevelop" />
22
22
  <property name="file.uppercut.assembly" value="uppercut.tasks.dll" />
23
- <property name="path.uppercut.assembly" value="${dirs.current}${path.separator}${file.uppercut.assembly}" />
23
+ <property name="path.uppercut.assembly" value="${dirs.current.file}${path.separator}${file.uppercut.assembly}" />
24
24
  <property name="is.replaced" value="false" />
25
25
  <property name="fail.build.on.error" value="false" />
26
26
  <property name="app.ruby" value="C:\Ruby\bin\ruby.exe" overwrite="false" />
@@ -46,7 +46,7 @@
46
46
 
47
47
  <target name="build_version">
48
48
  <echo message="Checking for dependent version file." />
49
- <nant buildfile="${dirs.current}${path.separator}versionBuilder.step" inheritall="true" if="${file::exists(path.file.version) == false}" />
49
+ <nant buildfile="${dirs.current.file}${path.separator}versionBuilder.step" inheritall="true" if="${file::exists(path.file.version) == false}" />
50
50
  </target>
51
51
 
52
52
  <target name="open_visual_studio">