Permalink
Browse files

Fixed AppDomain unload exception handler, tweaked rakefile to create …

…build_output ready for ZIP and deployment
  • Loading branch information...
1 parent c84d894 commit abff8cd01eca1fcc2e167e1238501eafaee707c5 @phatboyg phatboyg committed Mar 16, 2011
Showing with 75 additions and 4,250 deletions.
  1. +1 −0 .gitignore
  2. +0 −1 build.custom/ilmerge.internalize.ignore.txt
  3. +0 −43 build.custom/ilmerge.post.build
  4. +0 −53 build.custom/ilmerge.pre.build
  5. +0 −29 build.custom/package.post.step
  6. +0 −24 build.custom/zip.pre.build
  7. BIN build/Castle.Core.dll
  8. BIN build/Castle.DynamicProxy2.dll
  9. BIN build/Castle.MicroKernel.dll
  10. BIN build/Castle.Windsor.dll
  11. +0 −5 build/UppercuT.xml
  12. +0 −79 build/analyze.step
  13. +0 −144 build/analyzers/gallio.test.step
  14. +0 −145 build/analyzers/mbunit2.test.step
  15. +0 −141 build/analyzers/moma.step
  16. +0 −186 build/analyzers/ncover.step
  17. +0 −102 build/analyzers/ndepend.step
  18. +0 −113 build/analyzers/nitriq.step
  19. +0 −189 build/analyzers/nunit.test.step
  20. +0 −100 build/analyzers/test.step
  21. +0 −210 build/compile.step
  22. +0 −85 build/csharp.functions
  23. +0 −41 build/customize.bat
  24. +0 −77 build/customize.build
  25. +0 −51 build/customizers/item.template
  26. +0 −172 build/default.build
  27. +0 −104 build/deploymentBuilder.step
  28. +0 −120 build/environmentBuilder.step
  29. +0 −114 build/gemsBuild.step
  30. +0 −160 build/gemsPrepare.step
  31. +0 −111 build/generateBuildInfo.step
  32. +0 −185 build/ilmerge.build
  33. +0 −116 build/open.build
  34. +0 −237 build/package.step
  35. +0 −82 build/policyChecks.step
  36. +0 −108 build/updateAssemblies.build
  37. BIN build/uppercut.dll
  38. BIN build/uppercut.tasks.dll
  39. +0 −158 build/versionBuilder.step
  40. +0 −107 build/versioners/git.step
  41. +0 −107 build/versioners/hg.step
  42. +0 −113 build/versioners/svn.step
  43. +0 −105 build/versioners/tfs.step
  44. +0 −167 build/zip.build
  45. +1 −1 build_support/ilmerge.rb
  46. +0 −37 deployment/scripts/database.deploy
  47. +0 −9 deployment/templates/AppDeployment.bat
  48. +0 −9 deployment/templates/DBDeployment.RESTORE.bat
  49. +0 −9 deployment/templates/DBDeployment.bat
  50. +17 −15 rakefile.rb
  51. +0 −77 settings/UppercuT.config
  52. +40 −0 src/Topshelf.Host/Topshelf.Host.csproj
  53. +2 −2 src/Topshelf.Specs/Topshelf.Specs.csproj
  54. +4 −4 src/Topshelf.sln
  55. +6 −3 src/Topshelf/Model/ShelfReference.cs
  56. +4 −0 src/Topshelf/Topshelf.csproj
View
@@ -2,6 +2,7 @@ build_output/*
build_artifacts/*
code_drop/*
log/*
+tests/*
**/*.suo
**/*.user
@@ -1 +0,0 @@
-Spark.*
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<project name="ILMergeBuilder" default="go">
- <!-- Project UppercuT - http://projectuppercut.org -->
- <property name="build.config.settings" value="__NONE__" overwrite="false" />
- <include buildfile="${build.config.settings}" if="${file::exists(build.config.settings)}" />
- <property name="file.current.no_extension" value="ilmerge" />
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
- <property name="path.to.toplevel" value=".." />
- <property name="folder.build_scripts" value="build" overwrite="false" />
- <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
- <property name="dirs.build_scripts_custom" value="${dirs.current}\..\${folder.build_scripts_custom}" />
- <property name="folder.code_drop" value="code_drop" overwrite="false" />
- <property name="dirs.drop" value="${dirs.current}\${path.to.toplevel}\${folder.code_drop}" overwrite="false" />
- <property name="folder.app.drop" value="${project.name}" overwrite="false" />
-
- <property name="dirs.merge.from" value="${dirs.drop}\ilmerge" overwrite="false" />
-<property name="file.merge.name" value="Topshelf.dll" overwrite="false" />
-
- <target name="go" depends="delete_merged_files, push_topshelf_down, delete_merge_directory" />
-
- <target name="delete_merged_files">
- <echo message="Before putting merged assembly back in drop folders, remove the assemblies that were used in the merge."/>
- <delete>
- <fileset basedir="${dirs.drop}\${folder.app.drop}">
- <include name="**/Magnum.*" />
- <include name="**/Stact.*" />
- <include name="**/Newtonsoft.*" />
- <include name="**/Spark.dll" />
- </fileset>
- </delete>
- </target>
-
- <target name="push_topshelf_down">
- <echo message="Pushing ${file.merge.name} down to code drop directories." />
- <copy file="${dirs.merge.from}\${file.merge.name}" todir="${dirs.drop}\${folder.app.drop}" overwrite="true" />
- </target>
-
- <target name="delete_merge_directory">
- <echo message="Removing ${dirs.merge.from} directory." />
- <delete dir="${dirs.merge.from}" failonerror="false" />
- </target>
-
-</project>
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<project name="ILMergeBuilder" default="go">
- <!-- Project UppercuT - http://projectuppercut.org -->
- <property name="build.config.settings" value="__NONE__" overwrite="false" />
- <include buildfile="${build.config.settings}" if="${file::exists(build.config.settings)}" />
- <property name="file.current.no_extension" value="ilmerge" />
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
- <property name="path.to.toplevel" value=".." />
- <property name="folder.build_scripts" value="build" overwrite="false" />
- <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
- <property name="dirs.build_scripts_custom" value="${dirs.current}\..\${folder.build_scripts_custom}" />
- <property name="folder.code_drop" value="code_drop" overwrite="false" />
- <property name="dirs.drop" value="${dirs.current}\${path.to.toplevel}\${folder.code_drop}" overwrite="false" />
- <property name="folder.app.drop" value="${project.name}" overwrite="false" />
-
- <property name="dirs.merge.from" value="${dirs.drop}\ilmerge" overwrite="false" />
- <property name="dirs.merge.to" value="${dirs.drop}\merged" overwrite="false" />
- <property name="file.merge.name" value="Topshelf.dll" overwrite="false" />
- <!-- exe winexe dll -->
- <property name="merge.target.type" value="dll" overwrite="false" />
-
- <target name="go" depends="set_environment_variables, prepare_merge_from_directory" />
-
- <target name="set_environment_variables">
- <property name="dirs.merge.from" value="${dirs.drop}\ilmerge" />
- <property name="file.merge.name" value="Topshelf.dll" />
- <property name="merge.target.type" value="dll" />
- <setenv name="uc.dirs.merge.from" value="${dirs.merge.from}"/>
- <setenv name="uc.file.merge.name" value="${file.merge.name}"/>
- <setenv name="uc.merge.target.type" value="${merge.target.type}"/>
- </target>
-
- <target name="prepare_merge_from_directory">
- <echo message="Before merging - Get things into ${dirs.merge.from}."/>
- <mkdir dir="${dirs.merge.from}" />
- <echo message="Copying files from '${dirs.drop}\${folder.app.drop}' to ${dirs.merge.from}."/>
- <copy todir="${dirs.merge.from}">
- <fileset basedir="${dirs.drop}\${folder.app.drop}">
- <include name="Topshelf.dll" />
- <include name="Magnum.FileSystem.dll" />
- <include name="Newtonsoft.Json.dll" />
- <include name="Magnum.dll" />
- <include name="Spark.dll" />
- <include name="Stact.dll" />
- <include name="Stact.ServerFramework.dll" />
- <include name="log4net.dll" />
- </fileset>
- </copy>
- </target>
-
-
-
-</project>
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<project name="Packager" default="go">
- <!-- Project UppercuT - http://projectuppercut.org -->
- <property name="build.config.settings" value="__NONE__" overwrite="false" />
- <include buildfile="${build.config.settings}" if="${file::exists(build.config.settings)}" />
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
- <property name="folder.code_build" value="build_output" overwrite="false" />
- <property name="dirs.build" value="${dirs.current}\..\${folder.code_build}" />
- <property name="folder.code_drop" value="code_drop" overwrite="false" />
- <property name="dirs.drop" value="${dirs.current}\..\${folder.code_drop}" overwrite="false" />
- <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
- <property name="dirs.drop.build.artifacts" value="${dirs.drop}\${folder.build_artifacts}" overwrite="false" />
- <property name="folder.app.drop" value="app" overwrite="false" />
- <property name="folder.deployment" value="deployment" overwrite="false" />
- <property name="dirs.lib" value="${dirs.current}\..\lib" overwrite="false" />
-
- <target name="go" depends="move_samples" description="Packaging" />
-
- <target name="move_samples">
- <mkdir dir="${dirs.drop}\${folder.app.drop}\samples" />
- <move todir="${dirs.drop}\${folder.app.drop}\samples">
- <fileset basedir="${dirs.drop}\${folder.app.drop}">
- <include name="*.config" />
- <include name="Stuff*.*" />
- </fileset>
- </move>
- <delete dir="${dirs.drop}\${folder.app.drop}\Bottle" />
- </target>
-</project>
View
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<project name="ZipPreRunner" default="go">
- <!-- Project UppercuT - http://projectuppercut.org -->
- <property name="build.config.settings" value="__NONE__" overwrite="false" />
- <include buildfile="${build.config.settings}" if="${file::exists(build.config.settings)}" />
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
- <property name="folder.code_drop" value="code_drop" overwrite="false" />
- <property name="dirs.drop" value="${dirs.current}\..\${folder.code_drop}" overwrite="false" />
- <property name="folder.build_artifacts" value="build_artifacts" overwrite="false" />
- <property name="dirs.drop.build.artifacts" value="${dirs.drop}\${folder.build_artifacts}" overwrite="false" />
- <property name="folder.app.drop" value="app" overwrite="false" />
- <property name="folder.deployment" value="deployment" overwrite="false" />
- <property name="dirs.lib" value="${dirs.current}\..\lib" overwrite="false" />
-
- <target name="go" depends="remove_build_artifacts" description="Packaging" />
-
- <target name="remove_build_artifacts">
- <echo message="Removing ${dirs.drop.build.artifacts}."/>
- <delete dir="${dirs.drop.build.artifacts}" failonerror="false" />
- <delete dir="${dirs.drop}\deployment" failonerror="false" />
- </target>
-
-
-</project>
View
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
View
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<uppercut>
- <version>1.0.3.0</version>
-</uppercut>
-
View
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<project name="Analyzer" default="go">
- <!-- Project UppercuT - http://projectuppercut.org -->
- <!-- DO NOT EDIT THIS FILE - Add custom tasks in BuildTasks.Custom folder with file by the same name - find out more at http://uppercut.pbwiki.com -->
- <property name="build.config.settings" value="__NONE__" overwrite="false" />
- <include buildfile="${build.config.settings}" if="${file::exists(build.config.settings)}" />
- <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
- <property name="file.current.no_extension" value="analyze" />
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
- <property name="path.to.toplevel" value=".." />
- <property name="folder.build_scripts" value="build" overwrite="false" />
- <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
- <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}" />
- <property name="file.custom.step.before" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.pre.step" />
- <property name="file.custom.step.after" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.post.step" />
- <property name="file.custom.step.replace" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.replace.step" />
- <property name="is.replaced" value="false" />
- <property name="fail.build.on.error" value="true" />
-
- <target name="go" depends="run_tasks" />
-
- <target name="run_tasks">
- <echo message="Running ${project::get-name()} tasks." />
- <call target="prepare" if="${target::exists('prepare')}" />
- <call target="custom_tasks_before" if="${target::exists('custom_tasks_before')}" />
- <call target="custom_tasks_replace" if="${target::exists('custom_tasks_replace')}" />
- <call target="run_normal_tasks" if="${not is.replaced}" />
- <call target="custom_tasks_after" if="${target::exists('custom_tasks_after')}" />
- </target>
-
- <target name="run_normal_tasks"
- depends="run_analyzers"
- description="Analyzing project for quality indicators." />
-
- <target name="custom_tasks_before">
- <echo message="Running custom tasks if ${file.custom.step.before} exists." />
- <nant buildfile="${file.custom.step.before}" inheritall="true" if="${file::exists(file.custom.step.before)}" failonerror="${fail.build.on.error}" />
- <exec program="powershell.exe" if="${file::exists(file.custom.step.before + '.ps1')}" failonerror="${fail.build.on.error}">
- <arg value="${path::get-full-path(file.custom.step.before + '.ps1')}" />
- </exec>
- <exec program="ruby.exe" if="${file::exists(file.custom.step.before + '.rb')}" failonerror="${fail.build.on.error}">
- <arg value="${path::get-full-path(file.custom.step.before + '.rb')}" />
- </exec>
- </target>
-
- <target name="custom_tasks_replace">
- <echo message="Running custom tasks instead of normal tasks if ${file.custom.step.replace} exists." />
- <property name="is.replaced" value="true" if="${file::exists(file.custom.step.replace)}" />
- <nant buildfile="${file.custom.step.replace}" inheritall="true" if="${file::exists(file.custom.step.replace)}" failonerror="${fail.build.on.error}" />
- <property name="is.replaced" value="true" if="${file::exists(file.custom.step.replace + '.ps1')}" />
- <exec program="powershell.exe" if="${file::exists(file.custom.step.replace + '.ps1')}" failonerror="${fail.build.on.error}" >
- <arg value="${path::get-full-path(file.custom.step.replace + '.ps1')}" />
- </exec>
- <property name="is.replaced" value="true" if="${file::exists(file.custom.step.replace + '.rb')}" />
- <exec program="ruby.exe" if="${file::exists(file.custom.step.replace + '.rb')}" failonerror="${fail.build.on.error}" >
- <arg value="${path::get-full-path(file.custom.step.replace + '.rb')}" />
- </exec>
- </target>
-
- <target name="run_analyzers">
- <nant buildfile="${dirs.current}${path.separator}analyzers${path.separator}test.step" inheritall="true" />
- <nant buildfile="${dirs.current}${path.separator}analyzers${path.separator}ncover.step" inheritall="true" failonerror="false" />
- <nant buildfile="${dirs.current}${path.separator}analyzers${path.separator}ndepend.step" inheritall="true" failonerror="false" />
- <nant buildfile="${dirs.current}${path.separator}analyzers${path.separator}nitriq.step" inheritall="true" failonerror="false" />
- <nant buildfile="${dirs.current}${path.separator}analyzers${path.separator}moma.step" inheritall="true" failonerror="false" />
- </target>
-
- <target name="custom_tasks_after">
- <echo message="Running custom tasks if ${file.custom.step.after} exists." />
- <nant buildfile="${file.custom.step.after}" inheritall="true" if="${file::exists(file.custom.step.after)}" failonerror="${fail.build.on.error}" />
- <exec program="powershell.exe" if="${file::exists(file.custom.step.after + '.ps1')}" failonerror="${fail.build.on.error}" >
- <arg value="${path::get-full-path(file.custom.step.after + '.ps1')}" />
- </exec>
- <exec program="ruby.exe" if="${file::exists(file.custom.step.after + '.rb')}" failonerror="${fail.build.on.error}" >
- <arg value="${path::get-full-path(file.custom.step.after + '.rb')}" />
- </exec>
- </target>
-
-</project>
Oops, something went wrong.

0 comments on commit abff8cd

Please sign in to comment.