Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/03/10 18:32:57 (14 years ago)
Author:
epitzer
Message:

update to new PluginInfrastructure (#802)

Location:
branches/Persistence Test
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/Persistence Test

  • branches/Persistence Test/HeuristicLab.Tracing/3.2/HeuristicLab.Tracing-3.2.csproj

    r1959 r2744  
    8484  </ItemGroup>
    8585  <ItemGroup>
    86     <Compile Include="HiveLogger.cs" />
    8786    <Compile Include="Logger.cs" />
    8887    <Compile Include="HeuristicLabTracingPlugin.cs" />
     
    114113  <ItemGroup>
    115114    <Content Include="HeuristicLab.Hive.log4net.xml" />
    116     <Content Include="log4net licence.txt" />
     115    <Content Include="log4net licence.txt">
     116      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
     117    </Content>
    117118  </ItemGroup>
    118119  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  • branches/Persistence Test/HeuristicLab.Tracing/3.2/HeuristicLabTracingPlugin.cs

    r1534 r2744  
    33namespace HeuristicLab.Tracing {
    44
    5   [ClassInfo(Name = "HeuristicLab.Tracing-3.2")]
    6   [PluginFile(Filename = "HeuristicLab.Tracing-3.2.dll", Filetype = PluginFileType.Assembly)]
    7   [PluginFile(Filename = "log4net.dll", Filetype = PluginFileType.Assembly)]
    8   [PluginFile(Filename = "log4net licence.txt", Filetype = PluginFileType.License)]
    9   [PluginFile(Filename = "HeuristicLab.log4net.xml", Filetype = PluginFileType.Data)]
     5  [Plugin("HeuristicLab.Tracing-3.2")]
     6  [PluginFile("HeuristicLab.Tracing-3.2.dll", PluginFileType.Assembly)]
     7  [PluginFile("log4net.dll", PluginFileType.Assembly)]
     8  [PluginFile("log4net licence.txt", PluginFileType.License)]
     9  [PluginFile("HeuristicLab.log4net.xml", PluginFileType.Data)]
    1010  public class HeuristicLabPersistencePlugin : PluginBase {}
    1111
  • branches/Persistence Test/HeuristicLab.Tracing/3.2/Logger.cs

    r1933 r2744  
    1717      if (string.IsNullOrEmpty(Settings.Default.TracingLog4netConfigFile)) {
    1818        Settings.Default.TracingLog4netConfigFile =
    19           Path.Combine(
    20             PluginInfrastructure.Properties.Settings.Default.PluginDir,
    21             "HeuristicLab.log4net.xml");
     19            "HeuristicLab.log4net.xml";
    2220      }
    2321      XmlConfigurator.ConfigureAndWatch(
Note: See TracChangeset for help on using the changeset viewer.