- Timestamp:
- 04/30/09 13:07:31 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Core/3.2/Core.cs
r1655 r1715 211 211 files.AddRange(plugininfo.PluginFiles); 212 212 213 AppDomain appDomain = PluginManager.Manager.CreateAndInitAppDomainWithSandbox(e.Result.Job.Id.ToString(), sandboxed, typeof(Engine.HiveEngine), files);213 AppDomain appDomain = PluginManager.Manager.CreateAndInitAppDomainWithSandbox(e.Result.Job.Id.ToString(), sandboxed, null, files); 214 214 appDomain.UnhandledException += new UnhandledExceptionEventHandler(appDomain_UnhandledException); 215 215 lock (engines) { -
trunk/sources/HeuristicLab.Hive.Client.Core/3.2/HeuristicLab.Hive.Client.Core-3.2.csproj
r1655 r1715 143 143 <Name>HeuristicLab.Hive.Contracts-3.2</Name> 144 144 </ProjectReference> 145 <ProjectReference Include="..\..\HeuristicLab.Hive.Engine\3.2\HeuristicLab.Hive.Engine-3.2.csproj">146 <Project>{C8FEDAC1-0326-4293-B585-F0FEDDEDFC11}</Project>147 <Name>HeuristicLab.Hive.Engine-3.2</Name>148 </ProjectReference>149 145 <ProjectReference Include="..\..\HeuristicLab.Hive.JobBase\3.2\HeuristicLab.Hive.JobBase-3.2.csproj"> 150 146 <Project>{21187322-52DD-4243-80A4-A85F0263E63B}</Project> -
trunk/sources/HeuristicLab.PluginInfrastructure/PluginManager.cs
r1655 r1715 196 196 197 197 198 DiscoveryService dService = new DiscoveryService();198 //DiscoveryService dService = new DiscoveryService(); 199 199 //get the declaring plugin of the job 200 PluginInfo jobPlugin = dService.GetDeclaringPlugin(jobType);200 //PluginInfo jobPlugin = dService.GetDeclaringPlugin(jobType); 201 201 202 202 //get all the plugins that have dependencies with the jobplugin 203 List<PluginInfo> depPlugins = GetDependentPluginsRec(jobPlugin);203 //List<PluginInfo> depPlugins = GetDependentPluginsRec(jobPlugin); 204 204 //insert all jobs into one list 205 depPlugins.Add(jobPlugin);205 //depPlugins.Add(jobPlugin); 206 206 207 207 if (sandboxed) { … … 211 211 FileIOPermission fPerm = new FileIOPermission(PermissionState.None); 212 212 213 foreach (PluginInfo plugin in depPlugins) {213 /*foreach (PluginInfo plugin in depPlugins) { 214 214 foreach(String assemblies in plugin.Assemblies) 215 215 fPerm.AddPathList(FileIOPermissionAccess.AllAccess, assemblies); 216 216 } 217 217 218 pset.AddPermission(fPerm); 218 pset.AddPermission(fPerm);*/ 219 219 220 220 } else { … … 229 229 NotifyListeners(PluginManagerAction.Initializing, "All plugins"); 230 230 231 //if (assemblyFiles != null && assemblyFiles.Count > 0)232 //remoteRunner.LoadPlugins(assemblyFiles);231 if (assemblyFiles != null && assemblyFiles.Count > 0) 232 remoteRunner.LoadPlugins(assemblyFiles); 233 233 234 if (depPlugins != null && depPlugins.Count > 0) {234 /*if (depPlugins != null && depPlugins.Count > 0) { 235 235 remoteRunner.LoadPlugins(depPlugins); 236 } 236 }*/ 237 237 NotifyListeners(PluginManagerAction.Initialized, "All plugins"); 238 238 return applicationDomain;
Note: See TracChangeset
for help on using the changeset viewer.