npanday fails to compile an asp application. FileNotFoundException is thrown 
-----------------------------------------------------------------------------

                 Key: NPANDAY-331
                 URL: https://issues.apache.org/jira/browse/NPANDAY-331
             Project: NPanday
          Issue Type: Bug
          Components: Maven Plugins
    Affects Versions: 1.2.1
         Environment: windows 7 pro, german, 32bit. java 6, maven 2.0.9
            Reporter: sergio rupena


I have a pom with an asp application (packaging type asp).

* I can succesfully compile it one machine: windows 7 pro, 64 bit, english
* I cannot compile it on the following machine: windows 7 pro, 32 bit, german.

(Issue with the language version of the operating system ????)

Npanday exits  with the following error:

Loading Plugin: 
C:\Users\sergio\.m2\pab\gac_msil\NPanday.Plugin.Msbuild\1.2__npanday.plugin
Creating Plugin Domain Manager
[INFO]
[INFO] Unbehandelte Ausnahme: System.IO.FileNotFoundException: Die Datei oder 
Assembly "NPanday.Model.Pom, Version=1.2.0.0, Culture=neutral, 
PublicKeyToken=4b435f4d76e2f0e6" oder eine Abhängigkeit davon wurde nicht 
gefunden. Das System kann die angegebene Datei nicht finden.
[INFO] NPanday: End Process = 11.10.2010 21:18:40; exit code = -532459699
Dateiname: "NPanday.Model.Pom, Version=1.2.0.0, Culture=neutral, 
PublicKeyToken=4b435f4d76e2f0e6"
[INFO]
[INFO] Server stack trace:
[INFO]    bei System.Signature._GetSignature(SignatureStruct& signature, Void* 
pCorSig, Int32 cCorSig, IntPtr fieldHandle, IntPtr methodHandle, IntPtr 
declaringTypeHandle)
[INFO]    bei System.Signature.GetSignature(SignatureStruct& signature, Void* 
pCorSig, Int32 cCorSig, RuntimeFieldHandle fieldHandle, RuntimeMethodHandle 
methodHandle, RuntimeTypeHandle declaringTypeHandle)
[INFO]    bei System.Signature..ctor(RuntimeFieldHandle fieldHandle, 
RuntimeTypeHandle declaringTypeHandle)
[INFO]    bei System.Reflection.RtFieldInfo.get_FieldType()
[INFO]    bei 
NPanday.Plugin.Injector.Impl.FieldInjectorRepository.getFieldInjectorFor(FieldInfo
 fieldInfo)
[INFO]    bei NPanday.Plugin.AbstractMojo.InjectFields(String configurationFile)
[INFO]    bei 
System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr
 md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, 
Object[]& outArgs)
[INFO]    bei 
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle
 md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, 
Object[]& outArgs)
[INFO]    bei 
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage 
msg, Int32 methodPtr, Boolean fExecuteInContext)
[INFO]
[INFO] Exception rethrown at [0]:
[INFO]    bei 
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, 
IMessage retMsg)
[INFO]    bei 
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, 
Int32 type)
[INFO]    bei NPanday.Plugin.AbstractMojo.InjectFields(String configurationFile)
[INFO]    bei NPanday.Plugin.Loader.PluginLoader.CreateAbstractMojoFor(String 
mojoName, FileInfo pluginAssemblyFile, FileInfo paramFile, AppDomain 
applicationDomain)
[INFO]    bei NPanday.Plugin.Loader.PluginLoader.Main(String[] args)
[INFO]
[INFO] WRN: Protokollierung der Assemblybindung ist AUS.
[INFO] Sie können die Protokollierung der Assemblybindungsfehler aktivieren, 
indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] 
(DWORD) auf 1 festlegen.
[INFO] Hinweis: Die Protokollierung der Assemblybindungsfehler f?hrt zu einer 
gewissen Leistungseinbuße.
[INFO] Sie können dieses Feature deaktivieren, indem Sie den Registrierungswert 
[HKLM\Software\Microsoft\Fusion!EnableLog] entfernen.
[INFO]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] NPANDAY-xxx-000

Embedded error: NPANDAY-063-000: Execution Path = 
C:\Users\sergio\.m2\pab\gac_msil\NPanday.Plugin.Runner\1.2__npanday.plugin, 
Command = 
[parameterFile=C:\Users\sergio\AppData\Local\Temp\Plugin6163399308512823019.xml,
 
assemblyFile=C:\Users\sergio\.m2\pab\gac_msil\NPanday.Plugin.Msbuild\1.2__npanday.plugin\NPanday.Plugin.Msbuild.dll,
 mojoName=NPanday.Plugin.Msbuild.MsbuildMojo, startProcessAssembly=
C:\Users\sergio\.m2\pab\gac_msil\NPanday.Plugin.Loader\1.2__npanday.plugin\NPanday.Plugin.Loader.exe]
NPANDAY-040-001: Could not execute: Command = CMD.EXE /X /C 
NPanday.Plugin.Runner.exe 
parameterFile=C:\Users\sergio\AppData\Local\Temp\Plugin6163399308512823019.xml 
assemblyFile=C:\Users\sergio\.m2\pab\gac_msil\NPanday.Plugin.Msbuild\1.2__npanday.plugin\NPanday.Plugin.Msbuild.dll
 mojoName=NPanday.Plugin.Msbuild.MsbuildMojo 
startProcessAssembly=C:\Users\sergio\.m2\pab\gac_msil\NPanday.Plugin.Loader
\1.2__npanday.plugin\NPanday.Plugin.Loader.exe, Result = -532459699
[INFO] ------------------------------------------------------------------------

It looks like the plugin cannot find the "NPanday.Model.Pom.dll"  ( but it is 
in my  repo under 
(C:\Users\sergio\.m2\uac\gac_msil\NPanday.Model.Pom\1.2__npanday.model\NPanday.Model.Pom.dll)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to