Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/30/09 13:07:31 (15 years ago)
Author:
kgrading
Message:

changed loading behavior back to byte array loading and removed dependency (#547)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/PluginManager.cs

    r1655 r1715  
    196196     
    197197
    198       DiscoveryService dService = new DiscoveryService();
     198      //DiscoveryService dService = new DiscoveryService();
    199199      //get the declaring plugin of the job
    200       PluginInfo jobPlugin = dService.GetDeclaringPlugin(jobType);
     200      //PluginInfo jobPlugin = dService.GetDeclaringPlugin(jobType);
    201201
    202202      //get all the plugins that have dependencies with the jobplugin
    203       List<PluginInfo> depPlugins = GetDependentPluginsRec(jobPlugin);
     203      //List<PluginInfo> depPlugins = GetDependentPluginsRec(jobPlugin);
    204204      //insert all jobs into one list
    205       depPlugins.Add(jobPlugin);
     205      //depPlugins.Add(jobPlugin);
    206206     
    207207      if (sandboxed) {
     
    211211        FileIOPermission fPerm = new FileIOPermission(PermissionState.None);
    212212             
    213         foreach (PluginInfo plugin in depPlugins) {
     213        /*foreach (PluginInfo plugin in depPlugins) {
    214214            foreach(String assemblies in plugin.Assemblies)
    215215              fPerm.AddPathList(FileIOPermissionAccess.AllAccess, assemblies);
    216216        }
    217217       
    218         pset.AddPermission(fPerm);
     218        pset.AddPermission(fPerm);*/
    219219
    220220      } else {
     
    229229      NotifyListeners(PluginManagerAction.Initializing, "All plugins");
    230230
    231       //if (assemblyFiles != null && assemblyFiles.Count > 0)
    232       //  remoteRunner.LoadPlugins(assemblyFiles);
     231      if (assemblyFiles != null && assemblyFiles.Count > 0)
     232        remoteRunner.LoadPlugins(assemblyFiles);
    233233     
    234       if (depPlugins != null && depPlugins.Count > 0) {       
     234      /*if (depPlugins != null && depPlugins.Count > 0) {       
    235235        remoteRunner.LoadPlugins(depPlugins);
    236       }
     236      }*/
    237237      NotifyListeners(PluginManagerAction.Initialized, "All plugins");
    238238      return applicationDomain;
Note: See TracChangeset for help on using the changeset viewer.