Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/28/12 10:02:01 (11 years ago)
Author:
fschoepp
Message:

#1888:

  • Added a administrator web interface for job management
  • Fixed Hive Client (PluginValidator) to find the assemblies within the right directories
  • Reorganized controller classes (Folders HL, Interfaces, Azure)
  • You may now successfully schedule and run jobs with the web ui.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OaaS/HeuristicLab.PluginInfrastructure/3.3/Manager/PluginValidator.cs

    r8200 r8958  
    488488    }
    489489
     490    private string AssemblyDirectory(Assembly assem) {
     491      string codeBase = assem.CodeBase;
     492      UriBuilder uri = new UriBuilder(codeBase);
     493      string path = Uri.UnescapeDataString(uri.Path);
     494      return Path.GetFullPath(path);     
     495    }
     496
    490497
    491498    private bool IsAnyDependencyDisabled(PluginDescription descr, List<PluginDescription> disabledPlugins) {
     
    512519            try {
    513520              string assemblyName = (from assembly in AppDomain.CurrentDomain.ReflectionOnlyGetAssemblies()
    514                                      where string.Equals(Path.GetFullPath(assembly.Location), Path.GetFullPath(assemblyLocation), StringComparison.CurrentCultureIgnoreCase)
     521                                     where string.Equals(Path.GetFullPath(assembly.Location), Path.GetFullPath(assemblyLocation), StringComparison.CurrentCultureIgnoreCase) ||
     522                                           string.Equals(AssemblyDirectory(assembly), Path.GetFullPath(assemblyLocation), StringComparison.CurrentCultureIgnoreCase)
    515523                                     select assembly.FullName).Single();
    516524              // now load the assemblies into the execution context 
Note: See TracChangeset for help on using the changeset viewer.