Changeset 12694 for branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Services.Hive.JanitorService/3.3
- Timestamp:
- 07/09/15 13:07:30 (9 years ago)
- Location:
- branches/HeuristicLab.Problems.Orienteering
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.Orienteering
- Property svn:mergeinfo changed
-
Property
svn:global-ignores
set to
*.nuget
packages
-
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Services.Hive.JanitorService/3.3/HeuristicLab.Services.Hive.JanitorService-3.3.csproj
r8600 r12694 11 11 <RootNamespace>HeuristicLab.Services.Hive.JanitorService</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Services.Hive.JanitorService-3.3</AssemblyName> 13 <TargetFrameworkVersion>v4. 0</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> 14 14 <TargetFrameworkProfile> 15 15 </TargetFrameworkProfile> … … 25 25 <WarningLevel>4</WarningLevel> 26 26 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> 27 <Prefer32Bit>false</Prefer32Bit> 27 28 </PropertyGroup> 28 29 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> … … 36 37 </DocumentationFile> 37 38 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> 39 <Prefer32Bit>false</Prefer32Bit> 38 40 </PropertyGroup> 39 41 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> … … 45 47 <ErrorReport>prompt</ErrorReport> 46 48 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> 49 <Prefer32Bit>false</Prefer32Bit> 47 50 </PropertyGroup> 48 51 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> … … 56 59 <ErrorReport>prompt</ErrorReport> 57 60 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> 61 <Prefer32Bit>false</Prefer32Bit> 58 62 </PropertyGroup> 59 63 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> … … 65 69 <ErrorReport>prompt</ErrorReport> 66 70 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> 71 <Prefer32Bit>false</Prefer32Bit> 67 72 </PropertyGroup> 68 73 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> … … 76 81 <ErrorReport>prompt</ErrorReport> 77 82 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> 83 <Prefer32Bit>false</Prefer32Bit> 78 84 </PropertyGroup> 79 85 <PropertyGroup> … … 137 143 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 138 144 <PropertyGroup> 139 <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)145 <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir) 140 146 set ProjectDir=$(ProjectDir) 141 147 set SolutionDir=$(SolutionDir) … … 143 149 144 150 call PreBuildEvent.cmd</PreBuildEvent> 145 <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">151 <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' "> 146 152 export ProjectDir=$(ProjectDir) 147 153 export SolutionDir=$(SolutionDir) -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Services.Hive.JanitorService/3.3/JanitorService.Designer.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Services.Hive.JanitorService/3.3/JanitorService.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Services.Hive.JanitorService/3.3/Program.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 20 20 #endregion 21 21 22 using System; 23 using System.Configuration.Install; 24 using System.Reflection; 22 25 using System.ServiceProcess; 23 26 24 27 namespace HeuristicLab.Services.Hive.JanitorService { 25 28 static class Program { 26 /// <summary> 27 /// The main entry point for the application. 28 /// </summary> 29 static void Main() { 30 ServiceBase[] ServicesToRun; 31 ServicesToRun = new ServiceBase[] 32 { 33 new JanitorService() 34 }; 35 ServiceBase.Run(ServicesToRun); 29 private static void Main(string[] args) { 30 // Install as service, see http://stackoverflow.com/a/12703878 31 if (Environment.UserInteractive) { 32 try { 33 string parameter = string.Concat(args); 34 switch (parameter) { 35 case "--install": 36 ManagedInstallerClass.InstallHelper(new[] { Assembly.GetExecutingAssembly().Location }); 37 break; 38 case "--uninstall": 39 ManagedInstallerClass.InstallHelper(new[] { "/u", Assembly.GetExecutingAssembly().Location }); 40 break; 41 } 42 } 43 catch (Exception ex) { 44 Console.WriteLine("Error on (un)install of Hive Slave service: " + Environment.NewLine + ex); 45 } 46 } else { 47 ServiceBase[] ServicesToRun; 48 ServicesToRun = new ServiceBase[] 49 { 50 new JanitorService() 51 }; 52 ServiceBase.Run(ServicesToRun); 53 } 36 54 } 37 55 } -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Services.Hive.JanitorService/3.3/ProjectInstaller.Designer.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Services.Hive.JanitorService/3.3/ProjectInstaller.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Services.Hive.JanitorService/3.3/Properties/AssemblyInfo.cs.frame
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 32 32 [assembly: AssemblyCompany("")] 33 33 [assembly: AssemblyProduct("HeuristicLab")] 34 [assembly: AssemblyCopyright("(c) 2002-201 4HEAL")]34 [assembly: AssemblyCopyright("(c) 2002-2015 HEAL")] 35 35 [assembly: AssemblyTrademark("")] 36 36 [assembly: AssemblyCulture("")] … … 55 55 // [assembly: AssemblyVersion("1.0.*")] 56 56 [assembly: AssemblyVersion("3.3.0.0")] 57 [assembly: AssemblyFileVersion("3.3.1 0.$WCREV$")]57 [assembly: AssemblyFileVersion("3.3.11.$WCREV$")] -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Services.Hive.JanitorService/3.3/app.config
r7189 r12694 1 1 <?xml version="1.0"?> 2 2 <configuration> 3 <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4. 0"/></startup></configuration>3 <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
Note: See TracChangeset
for help on using the changeset viewer.