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
@@ -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="package" />
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" />
@@ -123,7 +123,7 @@
123
123
  <target name="reports">
124
124
  <echo level="Warning" message="Packaging reports to ${dirs.drop}${path.separator}${folder.reports}."/>
125
125
  <copy todir="${dirs.drop}${path.separator}${folder.reports}">
126
- <fileset basedir="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.reports}">
126
+ <fileset basedir="${dirs.current}${path.separator}${folder.reports}">
127
127
  <exclude name="**${path.separator}*.template" />
128
128
  <include name="**/*.*" />
129
129
  </fileset>
@@ -133,7 +133,7 @@
133
133
  <target name="file_server">
134
134
  <echo level="Warning" message="Packaging file server items to ${dirs.drop}${path.separator}${folder.file_server}."/>
135
135
  <copy todir="${dirs.drop}${path.separator}${folder.file_server}">
136
- <fileset basedir="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.file_server}">
136
+ <fileset basedir="${dirs.current}${path.separator}${folder.file_server}">
137
137
  <exclude name="**${path.separator}*.template" />
138
138
  <include name="**/*.*" />
139
139
  </fileset>
@@ -159,7 +159,7 @@
159
159
  <target name="deployment_scripts">
160
160
  <echo level="Warning" message="Packaging deployment scripts to ${dirs.drop}${path.separator}${folder.deployment}."/>
161
161
  <copy todir="${dirs.drop}${path.separator}${folder.deployment}">
162
- <fileset basedir="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.deployment}">
162
+ <fileset basedir="${dirs.current}${path.separator}${folder.deployment}">
163
163
  <exclude name="**${path.separator}*.template" />
164
164
  <exclude name="templates${path.separator}**" />
165
165
  <include name="**/*.*" />
@@ -170,7 +170,7 @@
170
170
  <target name="settings_files">
171
171
  <echo level="Warning" message="Packaging settings files to ${dirs.drop}${path.separator}${folder.settings}."/>
172
172
  <copy todir="${dirs.drop}${path.separator}${folder.settings}">
173
- <fileset basedir="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.settings}">
173
+ <fileset basedir="${dirs.current}${path.separator}${folder.settings}">
174
174
  <include name="**/*.settings" />
175
175
  </fileset>
176
176
  </copy>
@@ -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="policyChecks" />
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.documentation" value="docs" overwrite="false" />
15
- <property name="dirs.docs" value="${path::get-full-path(dirs.current)}${path.separator}${path.to.toplevel}${path.separator}${folder.documentation}" />
15
+ <property name="dirs.docs" value="${path::get-full-path(dirs.current)}${path.separator}${folder.documentation}" />
16
16
  <property name="project.name" value="__SOLUTION_NAME_WITHOUT_SLN_EXTENSION__" overwrite="false" />
17
17
  <property name="file.installation_document" value="${dirs.docs}${path.separator}Installation${path.separator}Install.docx" overwrite="false" />
18
18
  <property name="fail.if_no_installation_document" value="false" overwrite="false" />
Binary file
@@ -6,18 +6,18 @@
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="updateAssemblies" />
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.separator}${folder.build_scripts_custom}" />
13
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${folder.build_scripts_custom}" />
14
14
  <property name="folder.code_drop" value="code_drop" overwrite="false" />
15
- <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" />
16
16
  <property name="folder.app.drop" value="${project.name}" overwrite="false" />
17
17
  <property name="project.name" value="__SOLUTION_NAME_WITHOUT_SLN_EXTENSION__" overwrite="false" />
18
18
  <property name="file.uppercut.assembly" value="uppercut.tasks.dll" />
19
- <property name="path.uppercut.assembly" value="${dirs.current}${path.separator}${file.uppercut.assembly}" />
20
- <property name="dirs.assemblies" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}assemblies" overwrite="false" />
19
+ <property name="path.uppercut.assembly" value="${dirs.current.file}${path.separator}${file.uppercut.assembly}" />
20
+ <property name="dirs.assemblies" value="${dirs.current}${path.separator}assemblies" overwrite="false" />
21
21
  <property name="is.replaced" value="false" />
22
22
  <property name="fail.build.on.error" value="true" />
23
23
  <property name="app.ruby" value="C:\Ruby\bin\ruby.exe" overwrite="false" />
Binary file
Binary file
@@ -6,20 +6,20 @@
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="versionBuilder" />
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="project.name" value="__SOLUTION_NAME_WITHOUT_SLN_EXTENSION__" overwrite="false" />
17
17
  <property name="company.name" value="__COMPANY_NAME__" overwrite="false" />
18
18
  <property name="path_to_solution" value="." overwrite="false" />
19
19
  <property name="language.short" value="cs" overwrite="false" />
20
20
  <property name="language.long" value="CSharp" />
21
21
  <property name="file.version" value="SolutionVersion.${language.short}" overwrite="false" />
22
- <property name="path.file.version" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${path_to_solution}${path.separator}${file.version}" overwrite="false" />
22
+ <property name="path.file.version" value="${dirs.current}${path.separator}${path_to_solution}${path.separator}${file.version}" overwrite="false" />
23
23
  <property name="version.use_semanticversioning" value="false" overwrite="false" />
24
24
  <property name="version.major" value="1" overwrite="false" />
25
25
  <property name="version.minor" value="0" overwrite="false" />
@@ -34,8 +34,8 @@
34
34
  <property name="sign.key.use_relative_pathing" value="false" overwrite="false" />
35
35
  <property name="sign.key.relative_path_from_projects" value="..${path.separator}..${path.separator}" overwrite="false" />
36
36
  <property name="app.strongname" value="C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\sn.exe" 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="file.key.name.public" value="${dirs.build}${path.separator}public.${project.name}.snk" overwrite="false" />
40
40
  <property name="obfuscate" value="false" overwrite="false" />
41
41
 
@@ -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="git" />
9
- <property name="path.to.toplevel" value="..${path.separator}.." />
10
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
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${path.separator}" 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}versioners" />
13
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}versioners" />
14
14
  <property name="repository.path" value="__REPOSITORY_PATH__" overwrite="false" />
15
15
  <property name="version.revision" value="0" overwrite="false" />
16
16
  <property name="version.hash" value="0" overwrite="false" />
@@ -36,11 +36,11 @@
36
36
  description="Generating Assembly File." />
37
37
 
38
38
  <target name="get_revision">
39
- <echo level="Warning" message="Getting revision number from working directory ${directory::get-parent-directory(dirs.current)} or remotely at ${repository.path}."/>
39
+ <echo level="Warning" message="Getting revision number from working directory '${dirs.current}' or remotely at ${repository.path}."/>
40
40
  <!-- try to update the revision -->
41
41
  <getVersionFromGit
42
42
  gitExecutableWithPath="git"
43
- repoDirectory="."
43
+ repoDirectory="${dirs.current}"
44
44
  repoPath="${repository.path}"
45
45
  output="_revision.xml"
46
46
  failonerror="false"
@@ -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="hg" />
9
- <property name="path.to.toplevel" value="..${path.separator}.." />
10
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
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${path.separator}" 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}versioners" />
13
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}versioners" />
14
14
  <property name="repository.path" value="__REPOSITORY_PATH__" overwrite="false" />
15
15
  <property name="version.revision" value="0" overwrite="false" />
16
16
  <property name="version.hash" value="0" overwrite="false" />
@@ -36,11 +36,11 @@
36
36
  description="Generating Assembly File." />
37
37
 
38
38
  <target name="get_revision">
39
- <echo level="Warning" message="Getting revision number from working directory ${directory::get-parent-directory(dirs.current)} or remotely at ${repository.path}."/>
39
+ <echo level="Warning" message="Getting revision number from working directory '${dirs.current}' or remotely at ${repository.path}."/>
40
40
  <!-- try to update the revision -->
41
41
  <getVersionFromMercurial
42
42
  hgExecutableWithPath="hg"
43
- repoDirectory="."
43
+ repoDirectory="${dirs.current}"
44
44
  repoPath="${repository.path}"
45
45
  output="_revision.xml"
46
46
  failonerror="false"
@@ -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="svn" />
9
- <property name="path.to.toplevel" value="..${path.separator}.." />
10
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
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${path.separator}" 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}versioners" />
13
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}versioners" />
14
14
  <property name="repository.path" value="__REPOSITORY_PATH__" overwrite="false" />
15
15
  <property name="version.revision" value="0" overwrite="false" />
16
16
  <property name="is.replaced" value="false" />
@@ -35,11 +35,11 @@
35
35
  description="Generating Assembly File." />
36
36
 
37
37
  <target name="get_revision">
38
- <echo level="Warning" message="Getting revision number from working directory '${dirs.current}${path.separator}${path.to.toplevel}${path.separator}' or remotely at ${repository.path}."/>
38
+ <echo level="Warning" message="Getting revision number from working directory '${dirs.current}' or remotely at ${repository.path}."/>
39
39
  <!-- try to update the revision -->
40
40
  <exec
41
41
  program="svn"
42
- workingdir="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}"
42
+ workingdir="${dirs.current}"
43
43
  commandline="info .\ --xml"
44
44
  output="_revision.xml"
45
45
  failonerror="false" />
@@ -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="tfs" />
9
- <property name="path.to.toplevel" value="..${path.separator}.." />
10
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
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${path.separator}" 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}versioners" />
13
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}versioners" />
14
14
  <property name="repository.path" value="__REPOSITORY_PATH__" overwrite="false" />
15
15
  <property name="version.revision" value="0" overwrite="false" />
16
16
  <property name="tfs.history.output" value="" overwrite="false" />
@@ -36,9 +36,10 @@
36
36
  description="Generating Assembly File." />
37
37
 
38
38
  <target name="get_revision">
39
+ <echo level="Warning" message="Getting revision number from working directory '${dirs.current}' or remotely at ${repository.path}."/>
39
40
  <exec
40
41
  program="tf"
41
- workingdir="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}"
42
+ workingdir="${dirs.current}"
42
43
  commandline="history .\ /r /noprompt /stopafter:1 /version:W"
43
44
  output="_revision.xml"
44
45
  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="zip" />
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_drop" value="code_drop" overwrite="false" />
15
- <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" />
16
16
  <property name="project.name" value="__SOLUTION_NAME_WITHOUT_SLN_EXTENSION__" overwrite="false" />
17
17
  <property name="version.use_semanticversioning" value="false" overwrite="false" />
18
18
  <property name="version.major" value="1" overwrite="false" />
@@ -23,7 +23,7 @@
23
23
  <property name="version.hash" value="${version.revision}" overwrite="false" />
24
24
  <property name="version" value="0" />
25
25
  <property name="file.uppercut.assembly" value="uppercut.tasks.dll" />
26
- <property name="path.uppercut.assembly" value="${dirs.current}${path.separator}${file.uppercut.assembly}" />
26
+ <property name="path.uppercut.assembly" value="${dirs.current.file}${path.separator}${file.uppercut.assembly}" />
27
27
  <property name="zip.file" value="${dirs.drop}${path.separator}${project.name}.zip" />
28
28
  <property name="zip.file.rename" value="${dirs.drop}${path.separator}${project.name}.v${version}.zip" />
29
29
  <property name="is.replaced" value="false" />
@@ -84,12 +84,12 @@
84
84
  </target>
85
85
 
86
86
  <target name="get_revision">
87
- <nant buildfile="${dirs.current}${path.separator}versioners${path.separator}svn.step" inheritall="true" if="${source_control_type=='svn'}" />
88
- <nant buildfile="${dirs.current}${path.separator}versioners${path.separator}tfs.step" inheritall="true" if="${source_control_type=='tfs'}" />
89
- <nant buildfile="${dirs.current}${path.separator}versioners${path.separator}git.step" inheritall="true" if="${source_control_type=='git'}" />
90
- <nant buildfile="${dirs.current}${path.separator}versioners${path.separator}hg.step" inheritall="true" if="${source_control_type=='hg'}" failonerror="false" />
91
- <!--<nant buildfile="${dirs.current}${path.separator}versioners${path.separator}vault.step" inheritall="true" if="${source_control_type=='vault'}" />-->
92
- <!--<nant buildfile="${dirs.current}${path.separator}versioners${path.separator}vss.step" inheritall="true" if="${source_control_type=='vss'}" />-->
87
+ <nant buildfile="${dirs.current.file}${path.separator}versioners${path.separator}svn.step" inheritall="true" if="${source_control_type=='svn'}" />
88
+ <nant buildfile="${dirs.current.file}${path.separator}versioners${path.separator}tfs.step" inheritall="true" if="${source_control_type=='tfs'}" />
89
+ <nant buildfile="${dirs.current.file}${path.separator}versioners${path.separator}git.step" inheritall="true" if="${source_control_type=='git'}" />
90
+ <nant buildfile="${dirs.current.file}${path.separator}versioners${path.separator}hg.step" inheritall="true" if="${source_control_type=='hg'}" failonerror="false" />
91
+ <!--<nant buildfile="${dirs.current.file}${path.separator}versioners${path.separator}vault.step" inheritall="true" if="${source_control_type=='vault'}" />-->
92
+ <!--<nant buildfile="${dirs.current.file}${path.separator}versioners${path.separator}vss.step" inheritall="true" if="${source_control_type=='vss'}" />-->
93
93
 
94
94
  <property name="version.revision" value="${environment::get-variable('uc.app.revision')}" if="${environment::variable-exists('uc.app.revision')}" />
95
95
  <property name="version.revision" value="${environment::get-variable('BUILD_VCS_NUMBER')}" if="${version.revision == '0' and environment::variable-exists('BUILD_VCS_NUMBER')}" />
@@ -3,8 +3,9 @@
3
3
  ::Project UppercuT - http://uppercut.googlecode.com
4
4
  ::No edits to this file are required - http://uppercut.pbwiki.com
5
5
 
6
- SET DIR=%~d0%~p0%
7
- SET NANT="%DIR%lib\Nant\nant.exe"
8
- SET build.config.settings="%DIR%settings\UppercuT.config"
6
+ SET DIR=%cd%
7
+ SET BUILD_DIR=%~d0%~p0%
8
+ SET NANT="%BUILD_DIR%lib\Nant\nant.exe"
9
+ SET build.config.settings="%DIR%\settings\UppercuT.config"
9
10
 
10
- %NANT% -logger:NAnt.Core.DefaultLogger -quiet /f:.\build\open.build -D:build.config.settings=%build.config.settings%
11
+ %NANT% -logger:NAnt.Core.DefaultLogger -quiet /f:%BUILD_DIR%build\open.build -D:build.config.settings=%build.config.settings%
@@ -10,16 +10,17 @@ if '%1' == '-?' goto usage
10
10
  if '%1' == '?' goto usage
11
11
  if '%1' == '/help' goto usage
12
12
 
13
- SET DIR=%~d0%~p0%
14
- SET NANT="%DIR%lib\Nant\nant.exe"
15
- SET build.config.settings="%DIR%settings\UppercuT.config"
13
+ SET DIR=%cd%
14
+ SET BUILD_DIR=%~d0%~p0%
15
+ SET NANT="%BUILD_DIR%lib\Nant\nant.exe"
16
+ SET build.config.settings="%DIR%\settings\UppercuT.config"
16
17
 
17
- %NANT% /f:.\build\compile.step -D:build.config.settings=%build.config.settings%
18
+ %NANT% /f:%BUILD_DIR%build\compile.step -D:build.config.settings=%build.config.settings%
18
19
 
19
20
  if %ERRORLEVEL% NEQ 0 goto errors
20
21
 
21
- %NANT% -logger:NAnt.Core.DefaultLogger -quiet /f:.\build\analyzers\test.step %1 -D:build.config.settings=%build.config.settings%
22
- %NANT% -logger:NAnt.Core.DefaultLogger -quiet /f:.\build\analyzers\test.step open_results -D:build.config.settings=%build.config.settings%
22
+ %NANT% -logger:NAnt.Core.DefaultLogger -quiet /f:%BUILD_DIR%build\analyzers\test.step %1 -D:build.config.settings=%build.config.settings%
23
+ %NANT% -logger:NAnt.Core.DefaultLogger -quiet /f:%BUILD_DIR%build\analyzers\test.step open_results -D:build.config.settings=%build.config.settings%
23
24
 
24
25
  if %ERRORLEVEL% NEQ 0 goto errors
25
26
 
@@ -3,15 +3,17 @@
3
3
  ::Project UppercuT - http://uppercut.googlecode.com
4
4
  ::No edits to this file are required - http://uppercut.pbwiki.com
5
5
 
6
- SET DIR=%~d0%~p0%
6
+ SET DIR=%cd%
7
+ SET BUILD_DIR=%~d0%~p0%
8
+
7
9
  ::This is gone once teamcity can call multiple files
8
- call "%DIR%build.bat" %*
10
+ call "%BUILD_DIR%build.bat" %*
9
11
  if %ERRORLEVEL% NEQ 0 goto errors
10
12
 
11
- SET NANT="%DIR%lib\Nant\nant.exe"
12
- SET build.config.settings="%DIR%settings\UppercuT.config"
13
+ SET NANT="%BUILD_DIR%lib\Nant\nant.exe"
14
+ SET build.config.settings="%DIR%\settings\UppercuT.config"
13
15
 
14
- %NANT% -logger:NAnt.Core.DefaultLogger -quiet /f:.\build\zip.build -D:build.config.settings=%build.config.settings% %*
16
+ %NANT% -logger:NAnt.Core.DefaultLogger -quiet /f:%BUILD_DIR%build\zip.build -D:build.config.settings=%build.config.settings% %*
15
17
 
16
18
  if %ERRORLEVEL% NEQ 0 goto errors
17
19
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uppercutbuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0.0
4
+ version: 1.4.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,12 +10,12 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-08-10 00:00:00.000000000 -05:00
13
+ date: 2011-08-19 00:00:00.000000000 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: thor
18
- requirement: &24624480 !ruby/object:Gem::Requirement
18
+ requirement: &26113380 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,7 +23,7 @@ dependencies:
23
23
  version: 0.13.8
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *24624480
26
+ version_requirements: *26113380
27
27
  description: ! "UppercuT is THE conventional build for .NET! \nUppercuT seeks to
28
28
  solve both maintenance concerns and ease of build to help you concentrate on what
29
29
  you really want to do: write code. Upgrading the build should take seconds, not
@@ -344,7 +344,6 @@ files:
344
344
  - docs/logo/UppercuT_Logo_Small.jpg
345
345
  - docs/logo/UppercuT_logo_small.png
346
346
  - docs/NOTICE
347
- - docs/README
348
347
  - docs/Samples/CC.NET/ReadMe.txt
349
348
  - docs/Samples/CC.NET/server/ccnet.config
350
349
  - docs/Samples/CC.NET/webdashboard/dashboard.config
@@ -1,187 +0,0 @@
1
- Project UppercuT - Builds in Seconds, Not Days
2
- =======
3
-
4
- ![UppercuT](https://github.com/chucknorris/uppercut/raw/master/docs/logo/UppercuT_Logo_Small.jpg "UppercuT - insanely easy. Insanely.")
5
-
6
- # LICENSE
7
- Apache 2.0 - see docs/legal (just LEGAL in the zip folder)
8
-
9
- # IMPORTANT
10
- NOTE: If you are looking at the source - please run build.bat before opening the solution. It creates the SolutionVersion.cs file that is necessary for a successful build.
11
-
12
- # INFO
13
- ## Overview
14
- UppercuT is a conventional automated .NET build framework (templated NAnt). UppercuT is the insanely easy to use build framework.
15
-
16
- It seeks to solve both maintenance concerns and ease of build to help you concentrate on what you really want to do: write code. Upgrading the build should take seconds, not hours. And that is where UppercuT will beat any other automated build system hands down.
17
-
18
- UppercuT uses conventions and has a simple configuration file for you to edit. Getting from zero to build takes literally less than five minutes. If you are still writing your own build scripts, you are working too hard.
19
-
20
- UppercuT is extremely powerful because it is customizable and extendable. Every step of the build process is customizable with a pre, post and replace hook.
21
-
22
- UppercuT is not a build server, but it integrates nicely with CruiseControl.NET, TeamCity, Hudson, etc.
23
-
24
- ## Join the mailing list
25
- Ask questions - get answers - [http://groups.google.com/group/chucknorrisframework](http://groups.google.com/group/chucknorrisframework)
26
-
27
- ## Getting started with UppercuT
28
- ### Downloads
29
- You can download UppercuT from [http://code.google.com/p/uppercut/downloads/list](http://code.google.com/p/uppercut/downloads/list)
30
-
31
- You can also obtain a copy from the build server at [http://teamcity.codebetter.com](http://teamcity.codebetter.com).
32
-
33
- ### Gems
34
- If you have Ruby 1.8.6+ (and Gems 1.3.7+) installed, you can get the current release of UppercuT to your machine the fastest!
35
-
36
- 1. Type 'gem install uppercutbuild'
37
- 2. At the top level directory (trunk or branch name) type 'uppercutbuild init' for bringing in uppercut for the first time or 'uppercutbuild upgrade' if you already uppercut and are just wanting to upgrade the build folder.
38
-
39
- ### Source
40
- This is the best way to get to the bleeding edge of the code.
41
-
42
- 1. Clone the source down to your machine.
43
- `git clone git://github.com/chucknorris/uppercut.git`
44
- 2. Type `cd uppercut`
45
- 3. Type `git config core.autocrlf false` to set line endings to auto convert for this repository
46
- 4. Type `git status`. You should not see any files to change.
47
- 5. Run `build.bat`. NOTE: You must have git on the path (open a regular command line and type git).
48
-
49
- # REQUIREMENTS
50
- * .NET Framework 3.5
51
- * Source control on the command line and in PATH environment variable - svn for Subversion / tf for TFS / git for Git
52
-
53
- # DONATE
54
- Donations Accepted - If you enjoy using this product or it has saved you time and money in some way, please consider making a donation.
55
- It helps keep to the product updated, pays for site hosting, etc. https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4410250
56
-
57
- # RELEASE NOTES
58
- =1.x.x.x=
59
- * Adding in support for StorEvil.
60
-
61
- ==1.4.0.0==
62
- * FIX: Issue 33 - Cannot build .NET 1.0 and 1.1 Solutions - see http://code.google.com/p/uppercut/issues/detail?id=33 for details. (412)
63
- * Issue 37 - Enhancement: Add support for Microsoft's built-in code metrics. New settings have been added to the uppercut.config: <property name="app.metric" value="C:${path.separator}Program Files (x86)${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" /> - see http://code.google.com/p/uppercut/issues/detail?id=37 for details. (410)
64
- * Issue 34 - Enhancement: MSBuild output is logged for CC.NET to merge in - see http://code.google.com/p/uppercut/issues/detail?id=34 for details. (410)
65
- * Issue 36 - Enhancement: Open creates SolutionVersion if missing - see http://code.google.com/p/uppercut/issues/detail?id=36 for details. (407)
66
- * FIX: Issue 35 - Open fails on Windows platform when VSLauncher.exe is missing - see http://code.google.com/p/uppercut/issues/detail?id=35 for details. (407)
67
- * Issue 28 - Enhancement: Allow setting of Ruby and PowerShell path via variable - see http://code.google.com/p/uppercut/issues/detail?id=28 for details. (405)
68
- * Issue 38 - Enhancement - Pass properties to ruby/powershell extensions. New settings have been added to the uppercut.config: <property name="app.ruby" value="C:\Ruby\bin\ruby.exe" overwrite="false" /> <property name="app.powershell" value="%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe" overwrite="false" /> and this setting has been removed: <property name="allow.powershell.unrestricted" value="false" overwrite="false" /> - see http://code.google.com/p/uppercut/issues/detail?id=38 for details. (404)
69
- * Console Logging is very reduced with all detail to build.log. (400)
70
- * Issue 32: Upgrade to NAnt 0.91 Alpha 2 - see http://code.google.com/p/uppercut/issues/detail?id=32 for details. (400)
71
- * FIX: Settings file values should be able to have more than one other settings value token - see https://github.com/chucknorris/uppercut/issues/3 for details. (400)
72
- * FIX : Nunit now generates a report when the tests fail. (399)
73
- * FIX: Issue 31 - Log file copied to code_drop directory before build is complete - see http://code.google.com/p/uppercut/issues/detail?id=31 for details. (396)
74
- * Issue 29 - Handle Readonly Files during build - allows you to build against source controls that mark files readonly (looking at you TFS) - see http://code.google.com/p/uppercut/issues/detail?id=29 for details. (396)
75
- * FIX: Obfuscation should find files that are versioning with SemVer. (395)
76
- * Allowing arguments to be passed into the build.bat file as pass through to nant. (389)
77
- * NuGet support enhancements to allow subdirectories for building multiple nuget packages in a single solution. (388)
78
- * Adding in _PublishedApplications known folder. - see http://code.google.com/p/uppercut/issues/detail?id=27 for details. (386)
79
-
80
- ==1.3.0.0==
81
- * Fix for spaces in the path when trying to resolve the revision for SVN - see http://code.google.com/p/uppercut/issues/detail?id=25 for details. (385)
82
- * xUnit Support for automated testing. Will handle multiple test assemblies for you. (384)
83
-
84
- =1.2.0.0=
85
- * NuGet Support. New settings have been added to the uppercut.config: <property name="app.nuget" value="..${path.separator}${folder.references}${path.separator}NuGet${path.separator}NuGet.exe" overwrite="false" /> and a tool that goes under the lib folder: NuGet - see http://code.google.com/p/uppercut/issues/detail?id=20 for details. (378)
86
-
87
- =1.1.1.0=
88
- * Including Eazfuscator in the output (375)
89
- * Adding a build.log to the output of the build - see http://code.google.com/p/uppercut/issues/detail?id=22 for details. (373)
90
-
91
- =1.1.0.0=
92
- * Added support for obfuscation. New settings have been added to the uppercut.config: <property name="obfuscation" value="false" overwrite="false" /> <property name="app.eazfuscator" value="..${path.separator}${folder.references}${path.separator}Eazfuscator.NET${path.separator}Eazfuscator.NET.exe" overwrite="false" /> and a tool that goes under the lib folder: Eazfuscator.NET - see http://code.google.com/p/uppercut/issues/detail?id=21 for details. (372)
93
-
94
- =1.0.6.0=
95
- * Updating xbuild for use with 32bit windows machines. (369)
96
- * Gallio NAnt tasks were not being loaded - see http://code.google.com/p/uppercut/issues/detail?id=17 for details. (368)
97
-
98
- =1.0.5.0=
99
- * Now builds mono correctly on windows. (366)
100
-
101
- =1.0.4.0=
102
- * Gems builds default to not using the build date as part of the version. A new setting has been added to the uppercut.config: <property name="use.gem.build_date" value="false" overwrite="false" /> (364)
103
- * Gems builds now include a version suffix so you can be in prerelease mode or dev mode when using semantic versioning. A new setting has been added to the uppercut.config: <property name="version.gem.suffix" value="" overwrite="false" /> (364)
104
- * ILMerge step now merges the xml documents together. (363)
105
-
106
- =1.0.3.0=
107
- * Fixed a bug with path to solution no longer being respected at v1 after Linux patch. (361)
108
- * Upgraded Mono Migration Analyzer to v2.6 (360)
109
-
110
- =1.0.2.0=
111
- * Default versioning follows the old scheme. Semantic versioning is accomplished by adding this to your config file: <property name="version.use_semanticversioning" value="true" overwrite="false" /> (r357)
112
- * Gem building failure will not fail the build. (r357)
113
- * UppercuT reported version fix. (r357)
114
-
115
- =1.0.1.0=
116
- * UppercuT has an option to use the old versioning as well. You need to add this to your config file: <property name="version.use_semanticversioning" value="false" overwrite="false" /> (r354)
117
- * Linux fixes for opening items (from Svein Ackenhausen) (r355)
118
-
119
- =1.0.0.0=
120
- * UppercuT now uses semantic versioning See http://SemVer.org for details. You need to add this to your config file: <property name="version.patch" value="0" overwrite="false" /> (r351)
121
- * UppercuT now builds on Linux (patch from Svein Ackenhausen). (r350)
122
- * Non multi targeting now works like it did before any of this multitargeting started. (r348)
123
-
124
- =0.9.0.346=
125
- * Fixed general compile issues related to multi-targeting changes from last release (r346)
126
- * Gems by default are now versioned with datestamp on the end (YYYYMMDD) (r342)
127
- * Changed the default test framework to NUnit. (r340)
128
- * Changed 'uppercutbuild install to 'uppercutbuild init' (r339)
129
-
130
- =0.9.0.337=
131
- * ILMerge is now a step of the build process. Please check the configuration for the new setting. (r337)
132
- * UppercuT now has the command 'uppercutbuild upgrade'. (r336)
133
- * Zip will not include the gems folder. (r334)
134
- * UppercuT (through gems) can copy UppercuT to a solution directory by issuing 'uppercutbuild install' at the top level directory (trunk or branch name). (r333)
135
-
136
- =0.9.0.328=
137
- * Now supports building gems - see http://code.google.com/p/uppercut/issues/detail?id=16 for details. (r328)
138
- * The version hash for SVN and TFS should just use version.revision. (r321)
139
- * General fix - when a step of the build process fails the build, any extensions or custom tasks related to it should also fail the build. (r319)
140
-
141
- =0.9.0.318=
142
- * Nitriq support. Please check for a new setting in the config. (r317)
143
- * OutputPath is configurable not to be overridden by UppercuT - see http://code.google.com/p/uppercut/issues/detail?id=15 for details. Please check for a new setting in the config. (r316)
144
- * Multi-targeting for building your product on several frameworks at once - see http://code.google.com/p/uppercut/issues/detail?id=14 for details. (r316)
145
- * Zip uses the version hash (which is only different if you are git or mercurial). (r313)
146
-
147
- =0.9.0.306=
148
- * Added a framework switch for NUnit - handling .NET 4.0 Support (r305)
149
- * Zip.build handles HG versioning (r304)
150
- * Nitriq support. Please check for a new setting in the config. (r302)
151
- * NUnit default is now 2.5.5. (r300)
152
- * CLS Compliance is now an opt in setting. Please check for a new setting in the config. (r299)
153
-
154
- =0.9.0.297=
155
- * .NET 4.0 Support (r296)
156
- * Fixed a bug with property setting in tfs.step (r293)
157
- * Uppercut now houses it's assemblies in the build folder. Please ensure you compare your NAnt folder and remove the assemblies that are no longer there if upgrading (r292)
158
-
159
- =0.9.0.286=
160
- * NUnit tester now runs console version. This fixes a TestFixtureSetup issue - see http://code.google.com/p/uppercut/issues/detail?id=10 for details (r285)
161
-
162
- =0.9.0.282=
163
- * Mercurial (HG) support for versioning (r282)
164
-
165
- =0.9.0.273=
166
- * Enhanced Git Versioning to better work with Hudson (r272)
167
-
168
- =0.9.0.266=
169
- * Adding the ability to use PowerShell to write custom tasks. To run powershell - you need to set unrestricted if you are not going to sign the scripts. Because this possibly exposes a possible security hole, it is turned off by default. There is a property (allow.powershell.unrestricted) you can set to true in the Uppercut.config file. Look in the external tools section for the setting. (r266)
170
- * Adding the ability to use Ruby to write custom tasks. (r265)
171
- * Enhanced support of Git versioning on TeamCity. (r263)
172
- * Fixed a small bug in NAnt related to running .NET 4.0. (r262)
173
- * DocBuilder will do both .template and .xml now. (r247)
174
-
175
- =0.9.0.246=
176
- * Fixed - Git versioning had an issue with creating the initial tag for versioning - see http://code.google.com/p/uppercut/issues/detail?id=9 for details (r243)
177
- * Zip nows versions the zip file name by default. Check your zip.post.build. You may need to remove or change zip.post.build. (r240)
178
- * Support for .NET 4.0 beta2 has been added. (r238)
179
-
180
- =0.9.0.235=
181
- * UppercuT supports Git for versioning - The numbering system is branch specific.
182
- * Added ILMERGE tasks to the samples
183
- * Code is now built to a folder under build_output. This is the same folder it goes to under code_drop, so in the case of uppercut, build_output\UppercuT\ instead of just build_output.
184
- * BREAKING CHANGE: For your custom tasks, you may need to make changes.
185
-
186
- # CREDITS
187
- see docs/legal/CREDITS (just LEGAL/Credits in the zip folder)