Author: brett
Date: Wed Feb 8 11:01:27 2012
New Revision: 1241863
URL: http://svn.apache.org/viewvc?rev=1241863&view=rev
Log:
more logging to GAC resolution to trace cause of Jenkins failure on 64-bit
architecture
Modified:
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/Converter/Algorithms/AbstractPomConverter.cs
Modified:
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/Converter/Algorithms/AbstractPomConverter.cs
URL:
http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/Converter/Algorithms/AbstractPomConverter.cs?rev=1241863&r1=1241862&r2=1241863&view=diff
==============================================================================
---
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/Converter/Algorithms/AbstractPomConverter.cs
(original)
+++
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/Converter/Algorithms/AbstractPomConverter.cs
Wed Feb 8 11:01:27 2012
@@ -757,10 +757,13 @@ namespace NPanday.ProjectImporter.Conver
// resolve from GAC
if (refs.Count > 0)
{
+ log.DebugFormat("GAC references for {0} version {1} platform
{2}: {3}", reference.Name,
+ reference.Version, projectDigest.Platform,
string.Join(", ", refs.ToArray()));
+
// Assembly is found at the gac
if (refs.Count > 1)
{
- log.Warn("Found more than one reference for a single
version, using the first only: " + string.Join(", ", refs.ToArray()));
+ log.Warn("Found more than one reference for a single
version, using the first only");
}
System.Reflection.Assembly a =
System.Reflection.Assembly.ReflectionOnlyLoad(new
System.Reflection.AssemblyName(refs[0]).FullName);