Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/27/18 01:42:07 (7 years ago)
Author:
swagner
Message:

#2877: Generalized MergeConfigs scripts, cleaned app.config files, corrected post-build events

Location:
branches/2877_HiveImprovements/HeuristicLab.Clients.Hive.Slave.WindowsService/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2877_HiveImprovements/HeuristicLab.Clients.Hive.Slave.WindowsService/3.3/HeuristicLab.Clients.Hive.Slave.WindowsService-3.3.csproj

    r11623 r15660  
    185185</PreBuildEvent>
    186186  </PropertyGroup>
     187  <PropertyGroup>
     188    <PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
     189set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     190set ProjectDir=$(ProjectDir)
     191set SolutionDir=$(SolutionDir)
     192set OutDir=$(OutDir)
     193set TargetDir=$(TargetDir)
     194set TargetPath=$(TargetPath)
     195set Platform=$(PlatformName)
     196set Configuration=$(ConfigurationName)
     197
     198call "$(SolutionDir)MergeConfigs.cmd"
     199    </PostBuildEvent>
     200    <PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     201export ProjectDir=$(ProjectDir)
     202export SolutionDir=$(SolutionDir)
     203export OutDir=$(OutDir)
     204export TargetDir=$(TargetDir)
     205export TargetPath=$(TargetPath)
     206export Platform=$(PlatformName)
     207export Configuration=$(ConfigurationName)
     208
     209$SolutionDir/MergeConfigs.sh
     210</PostBuildEvent>
     211  </PropertyGroup>
    187212  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    188213       Other similar extension points exist, see Microsoft.Common.targets.
  • branches/2877_HiveImprovements/HeuristicLab.Clients.Hive.Slave.WindowsService/3.3/app.config

    r15361 r15660  
    22<configuration>
    33  <configSections>
    4     <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    5       <section name="HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
    6       <section name="HeuristicLab.Clients.Hive.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
    7     </sectionGroup>
    84  </configSections>
    95
    10   <userSettings>
    11     <HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings>
    12       <setting name="LastUsedFileName" serializeAs="String">
    13         <value>lastUsed.dat</value>
    14       </setting>
    15       <setting name="PluginCacheDir" serializeAs="String">
    16         <value>PluginCache</value>
    17       </setting>
    18       <setting name="PluginTempBaseDir" serializeAs="String">
    19         <value>PluginTemp</value>
    20       </setting>
    21       <setting name="ConfigurationName" serializeAs="String">
    22         <value>Configuration</value>
    23       </setting>
    24       <setting name="PluginInfrastructureDll" serializeAs="String">
    25         <value>HeuristicLab.PluginInfrastructure-3.3.dll</value>
    26       </setting>
    27       <setting name="ClientsHiveSlaveCoreDll" serializeAs="String">
    28         <value>HeuristicLab.Clients.Hive.SlaveCore-3.3.dll</value>
    29       </setting>
    30       <setting name="ClientsHiveDll" serializeAs="String">
    31         <value>HeuristicLab.Clients.Hive-3.3.dll</value>
    32       </setting>
    33       <setting name="HiveDll" serializeAs="String">
    34         <value>HeuristicLab.Hive-3.3.dll</value>
    35       </setting>
    36       <setting name="ClientsCommonDll" serializeAs="String">
    37         <value>HeuristicLab.Clients.Common-3.3.dll</value>
    38       </setting>
    39       <setting name="PluginLifetime" serializeAs="String">
    40         <value>3</value>
    41       </setting>
    42       <setting name="DirOpSleepTime" serializeAs="String">
    43         <value>00:00:01</value>
    44       </setting>
    45       <setting name="PluginDeletionRetries" serializeAs="String">
    46         <value>5</value>
    47       </setting>
    48       <setting name="PluginDeletionTimeout" serializeAs="String">
    49         <value>00:00:01</value>
    50       </setting>
    51       <setting name="ExecutorSemTimeouts" serializeAs="String">
    52         <value>00:00:46</value>
    53       </setting>
    54       <setting name="QueuesMaxThreads" serializeAs="String">
    55         <value>5000</value>
    56       </setting>
    57       <setting name="SlaveCommunicationServiceEndpoint" serializeAs="String">
    58         <value>SlaveCommunicationServiceEndpoint</value>
    59       </setting>
    60       <setting name="SlaveUser" serializeAs="String">
    61         <value>hiveslave</value>
    62       </setting>
    63       <setting name="SlavePwd" serializeAs="String">
    64         <value>hiveslave</value>
    65       </setting>
    66       <setting name="MaxLogCount" serializeAs="String">
    67         <value>1</value>
    68       </setting>
    69       <setting name="ExecutorQueueTimeout" serializeAs="String">
    70         <value>00:00:20</value>
    71       </setting>
    72       <setting name="NrOfCoresToScavenge" serializeAs="String">
    73         <value>-1</value>
    74       </setting>
    75       <setting name="ShutdownCommand" serializeAs="String">
    76         <value>shutdown.exe</value>
    77       </setting>
    78       <setting name="HeartbeatInterval" serializeAs="String">
    79         <value>00:00:40</value>
    80       </setting>
    81       <setting name="CheckpointInterval" serializeAs="String">
    82         <value>18:00:00</value>
    83       </setting>
    84       <setting name="CheckpointCheckInterval" serializeAs="String">
    85         <value>00:05:00</value>
    86       </setting>
    87     </HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings>
    88     <HeuristicLab.Clients.Hive.Settings>
    89       <setting name="MaxParallelUploads" serializeAs="String">
    90         <value>2</value>
    91       </setting>
    92       <setting name="HLBinaryName" serializeAs="String">
    93         <value>HeuristicLab 3.3.exe</value>
    94       </setting>
    95       <setting name="ResultPollingInterval" serializeAs="String">
    96         <value>00:00:20</value>
    97       </setting>
    98       <setting name="MaxParallelDownloads" serializeAs="String">
    99         <value>2</value>
    100       </setting>
    101       <setting name="MaxRepeatServiceCalls" serializeAs="String">
    102         <value>5</value>
    103       </setting>
    104       <setting name="AnonymousUserName" serializeAs="String">
    105         <value>anonymous</value>
    106       </setting>
    107       <setting name="EndpointConfigurationPriorities" serializeAs="Xml">
    108         <value>
    109           <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    110             <string>NetBinding_IHiveService</string>
    111             <string>WSHttpBinding_IHiveService</string>
    112           </ArrayOfString>
    113         </value>
    114       </setting>
    115       <setting name="MaxEndpointRetries" serializeAs="String">
    116         <value>3</value>
    117       </setting>
    118     </HeuristicLab.Clients.Hive.Settings>
    119   </userSettings>
    120 
    1216  <system.serviceModel>
    122     <bindings>
    123       <netTcpBinding>
    124         <binding name="NetBinding_IHiveService" receiveTimeout="00:20:00"
    125           sendTimeout="00:20:00" maxBufferPoolSize="2147483647" maxBufferSize="2147483647"
    126           maxReceivedMessageSize="2147483647">
    127           <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
    128             maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
    129           <security mode="TransportWithMessageCredential">
    130             <message clientCredentialType="UserName" />
    131           </security>
    132         </binding>
    133       </netTcpBinding>
    134       <wsHttpBinding>
    135         <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:20:00"
    136           sendTimeout="00:20:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
    137           <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
    138             maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
    139           <security>
    140             <message clientCredentialType="UserName" />
    141           </security>
    142         </binding>
    143       </wsHttpBinding>
    144     </bindings>
    145     <services>
    146       <service name="HeuristicLab.Clients.Hive.SlaveCore.SlaveCommunicationService">
    147         <endpoint address="net.pipe://localhost/HeuristicLabSlaveCom" binding="netNamedPipeBinding" contract="HeuristicLab.Clients.Hive.SlaveCore.ServiceContracts.ISlaveCommunication"/>
    148       </service>
    149     </services>
    150     <client>
    151       <endpoint name="SlaveCommunicationServiceEndpoint" address="net.pipe://localhost/HeuristicLabSlaveCom" binding="netNamedPipeBinding" contract="HeuristicLab.Clients.Hive.SlaveCore.ServiceContracts.ISlaveCommunication"/>
    152       <endpoint address="http://services.heuristiclab.com/Hive-3.3/HiveService.svc"
    153         binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService"
    154         contract="HeuristicLab.Clients.Hive.IHiveService" name="WSHttpBinding_IHiveService">
    155         <identity>
    156           <dns value="services.heuristiclab.com" />
    157         </identity>
    158       </endpoint>
    159       <endpoint address="net.tcp://services.heuristiclab.com/Hive-3.3/HiveService.svc"
    160         binding="netTcpBinding" bindingConfiguration="NetBinding_IHiveService"
    161         contract="HeuristicLab.Clients.Hive.IHiveService" name="NetBinding_IHiveService">
    162         <identity>
    163           <dns value="services.heuristiclab.com" />
    164         </identity>
    165       </endpoint>
    166     </client>
    1677  </system.serviceModel>
    1688
Note: See TracChangeset for help on using the changeset viewer.