Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/29/08 18:05:18 (16 years ago)
Author:
gkronber
Message:
  • fixed ticket #201 (Fix plugin dependencies for CEDMA plugins)
  • deleted classes DbPersistenceManager because the common code was moved to the PersistenceManager in HeuristicLab.Core.
Location:
trunk/sources/HeuristicLab.CEDMA.Server
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Server/HeuristicLab.CEDMA.Server.csproj

    r398 r403  
    6060  <ItemGroup>
    6161    <Compile Include="RunScheduler.cs" />
    62     <Compile Include="DbPersistenceManager.cs" />
    6362    <Compile Include="ServerApplication.cs" />
    6463    <Compile Include="HeuristicLabCedmaServerPlugin.cs" />
     
    7271  </ItemGroup>
    7372  <ItemGroup>
    74     <ProjectReference Include="..\HeuristicLab.CEDMA.Core\HeuristicLab.CEDMA.Core.csproj">
    75       <Project>{C27DDF6C-84DF-45EF-B82F-57A28DD51166}</Project>
    76       <Name>HeuristicLab.CEDMA.Core</Name>
    77     </ProjectReference>
    7873    <ProjectReference Include="..\HeuristicLab.CEDMA.DB.Interfaces\HeuristicLab.CEDMA.DB.Interfaces.csproj">
    7974      <Project>{4F9BB789-D561-436B-B226-2BF44B7D0804}</Project>
     
    10095      <Name>HeuristicLab.PluginInfrastructure</Name>
    10196    </ProjectReference>
    102     <ProjectReference Include="..\HeuristicLab.SequentialEngine\HeuristicLab.SequentialEngine.csproj">
    103       <Project>{B4BE8E53-BA06-4237-9A01-24255F880201}</Project>
    104       <Name>HeuristicLab.SequentialEngine</Name>
    105     </ProjectReference>
    10697  </ItemGroup>
    10798  <ItemGroup>
  • trunk/sources/HeuristicLab.CEDMA.Server/HeuristicLabCedmaServerPlugin.cs

    r352 r403  
    2929  [PluginFile(Filename = "HeuristicLab.CEDMA.Server.dll", Filetype = PluginFileType.Assembly)]
    3030  [Dependency(Dependency = "HeuristicLab.CEDMA.DB.Interfaces")]
     31  [Dependency(Dependency = "HeuristicLab.CEDMA.DB")]
     32  [Dependency(Dependency = "HeuristicLab.Grid")]
     33  [Dependency(Dependency = "HeuristicLab.Core")]
     34  [Dependency(Dependency = "HeuristicLab.Data")]
    3135  public class HeuristicLabCedmaServerPlugin : PluginBase {
    3236  }
  • trunk/sources/HeuristicLab.CEDMA.Server/RunScheduler.cs

    r398 r403  
    2828using HeuristicLab.Core;
    2929using System.Threading;
    30 using HeuristicLab.CEDMA.Core;
    3130using HeuristicLab.Grid;
    3231using System.Diagnostics;
     
    6968      }
    7069      foreach(AgentEntry entry in agents) {
    71         Agent agent = (Agent)DbPersistenceManager.Restore(entry.RawData);
    72         IOperatorGraph opGraph = agent.OperatorGraph;
    7370        Scope scope = new Scope();
    7471        // initialize CEDMA variables for the execution of the agent
    7572        scope.AddVariable(new Variable("AgentId", new IntData((int)entry.Id)));
    7673        scope.AddVariable(new Variable("CedmaServerUri", new StringData(serverUri)));
     74        IOperatorGraph opGraph = (IOperatorGraph)PersistenceManager.RestoreFromGZip(entry.RawData);
    7775        AtomicOperation op = new AtomicOperation(opGraph.InitialOperator, scope);
    7876        WaitHandle wHandle;
Note: See TracChangeset for help on using the changeset viewer.