Ok, now I can see how this relates to your later postings.

Can you post the ~/.m2/npanday-settings.xml file that you have (if there is 
one)? That seems to be missing something.

As for the dependencies not being found - gac_msil/gac_msil4/gac_32 should be 
located from the GAC for the relevant .NET framework version you are using 
under c:\windows, not a remote repository. Do those DLLs exist there for you? 
I'm wondering if Maven 3 has an issue with this capability.

- Brett

On 17/09/2011, at 7:41 AM, Eric Kolotyluk wrote:

> OK, this time I tried commenting out the dependencies, but the JavaBinding 
> plugin is throwing an exception.
> 
> Is this a bug, a configuration problem, or the fact that I commented out the 
> dependencies?
> 
> <!--
> <dependency>
> <groupId>WindowsBase</groupId>
> <artifactId>WindowsBase</artifactId>
> <version>3.0.0.0</version>
> <type>gac_msil</type>
> <classifier>31bf3856ad364e35</classifier>
> </dependency>
> <dependency>
> <groupId>PresentationCore</groupId>
> <artifactId>PresentationCore</artifactId>
> <version>3.0.0.0</version>
> <type>gac_32</type>
> <classifier>31bf3856ad364e35</classifier>
> </dependency>
> <dependency>
> <groupId>PresentationFramework</groupId>
> <artifactId>PresentationFramework</artifactId>
> <version>3.0.0.0</version>
> <type>gac_msil</type>
> <classifier>31bf3856ad364e35</classifier>
> </dependency>
> -->
> 
> 
> 
> ------------------------------------------------------------------
> Executing Maven
> Pom File: P:\Intersystem\main\platform.NET\intersystem-setup\pom.xml
> Goal: compile
> Arguments: compile
> NPanday Command: P:\Tools\Windows\x86\Apache\Maven 3.0.3\bin\mvn.bat compile
> 
> 
> ------------------------------------------------------------------
> 
> 
> [INFO] Scanning for projects...
> [INFO]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building com.kodak.intersystem : intersystem-setup 0.0.2-SNAPSHOT
> [INFO] 
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-compile-plugin:1.4.0-incubating:initialize 
> (default-initialize) @ intersystem-setup ---
> SLF4J: Class path contains multiple SLF4J bindings.
> [INFO] Mojo Execution Time = 71
> [INFO]
> SLF4J: Found binding in 
> [jar:file:/C:/Users/10069959/.m2/repository/org/sonatype/gossip/gossip/1.0/gossip-1.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> [INFO] --- maven-resolver-plugin:1.4.0-incubating:resolve (default-resolve) @ 
> intersystem-setup ---
> SLF4J: Found binding in 
> [jar:file:/C:/Users/10069959/.m2/repository/org/slf4j/slf4j-jdk14/1.5.11/slf4j-jdk14-1.5.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
> explanation.
> [INFO] Mojo Execution Time = 0
> [INFO]
> [INFO] --- 
> NPanday.Plugin.Settings.JavaBinding:1.4.0-incubating:generate-settings 
> (default-generate-settings) @ intersystem-setup ---
> [INFO]
> [INFO] --- NPanday.Plugin.Msbuild.JavaBinding:1.4.0-incubating:compile 
> (default) @ intersystem-setup ---
> [INFO] NPANDAY-068-005: Choose executable path's parent as execution path: 
> P:\Intersystem\main\platform.NET\intersystem-setup\target
> NPanday: Start Process = 2011-09-16 2:32:07 PM
> "parameterFile=C:\Users\10069959\AppData\Local\Temp\Plugin2029131605882746167.xml"
>  
> "assemblyFile=P:\Intersystem\main\platform.NET\intersystem-setup\target\NPanday.Plugin.Msbuild.dll"
>  "mojoName=NPanday.Plugin.Msbuild.MsbuildMojo" 
> "startProcessAssembly=P:\Intersystem\main\platform.NET\intersystem-setup\target\NPanday.Plugin.Loader.exe"
>  
> [INFO]
> [INFO] Unhandled Exception: System.TypeLoadException: The domain manager 
> specified by the host could not be instantiated.
> [INFO]    at System.AppDomain.CreateDomainManager(String 
> domainManagerAssemblyName, String domainManagerTypeName)
> [INFO]    at System.AppDomain.SetDomainManager(Evidence providedSecurityInfo, 
> Evidence creatorsSecurityInfo, IntPtr parentSecurityDescriptor, Boolean 
> publishAppDomain)
> [INFO]    at System.AppDomain.SetDefaultDomainManager(String fullName, 
> String[] manifestPaths, String[] activationData)
> NPanday: End Process = 2011-09-16 2:32:12 PM; exit code = -532459699
> [INFO] NPANDAY-068-005: Choose executable path's parent as execution path: 
> P:\Intersystem\main\platform.NET\intersystem-setup\target
> [INFO] NPANDAY-068-005: Choose executable path's parent as execution path: 
> P:\Intersystem\main\platform.NET\intersystem-setup\target
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 7.627s
> [INFO] Finished at: Fri Sep 16 14:32:12 PDT 2011
> [INFO] Final Memory: 13M/464M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.npanday.plugins:NPanday.Plugin.Msbuild.JavaBinding:1.4.0-incubating:compile
>  (default) on project intersystem-setup: NPANDAY-xxx-000: NPANDAY-063-000: 
> Execution Path = P:\Intersystem\main\platform.NET\intersystem-setup\target, 
> Executable = NPanday.Plugin.Runner.exe, Args = 
> [parameterFile=C:\Users\10069959\AppData\Local\Temp\Plugin2029131605882746167.xml,
>  
> assemblyFile=P:\Intersystem\main\platform.NET\intersystem-setup\target\NPanday.Plugin.Msbuild.dll,
>  mojoName=NPanday.Plugin.Msbuild.MsbuildMojo, 
> startProcessAssembly=P:\Intersystem\main\platform.NET\intersystem-setup\target\NPanday.Plugin.Loader.exe]:
>  NPANDAY-040-001: Could not execute: Command =  cmd.exe /X /C 
> "NPanday.Plugin.Runner.exe 
> parameterFile=C:\Users\10069959\AppData\Local\Temp\Plugin2029131605882746167.xml
>  
> assemblyFile=P:\Intersystem\main\platform.NET\intersystem-setup\target\NPanday.Plugin.Msbuild.dll
>  mojoName=NPanday.Plugin.Msbuild.MsbuildMojo 
> startProcessAssembly=P:\Intersystem\main\platform.NET\intersystem-setup\target\NPanday.Plugin.Loader.exe",
>  Result = -532459699 -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> NPanday Execution Failed!, with exit code: 1
> 
> On 2011-09-15 6:43 PM, Brett Porter wrote:
>> We have some integration test projects:
>> 
>> http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_328_VS2010WpfProjectSupportTest/
>> http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_245_WpfGeneratedResourcesHandlingTest/
>> 
>> It'd be good to know how your project differs, and what problem you are 
>> having.
>> 
>> Regards,
>> Brett
>> 
>> On 16/09/2011, at 1:15 AM, Eric Kolotyluk wrote:
>> 
>>> Does anyone have any experience getting a WPF project/application to build?
>>> 
>>> Cheers, Eric
>> --
>> Brett Porter
>> [email protected]
>> http://brettporter.wordpress.com/
>> http://au.linkedin.com/in/brettporter
>> 
>> 
>> 
>> 

--
Brett Porter
[email protected]
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter




Reply via email to