You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-users@incubator.apache.org by Eric Kolotyluk <er...@gmail.com> on 2011/09/15 15:15:56 UTC

WPF Projects

Does anyone have any experience getting a WPF project/application to build?

Cheers, Eric

RE: WPF Projects

Posted by Khai Do <kh...@impinj.com>.
I had all sorts of issues last time I tried with npanday-1.3-incubating.  The biggest issue was this one..

https://issues.apache.org/jira/browse/NPANDAY-427
https://issues.apache.org/jira/browse/NPANDAY-426

-Khai


-----Original Message-----
From: Eric Kolotyluk [mailto:eric.kolotyluk@gmail.com] 
Sent: Thursday, September 15, 2011 8:16 AM
To: npanday-users@incubator.apache.org
Subject: WPF Projects

Does anyone have any experience getting a WPF project/application to build?

Cheers, Eric

Re: WPF Projects

Posted by Brett Porter <br...@apache.org>.
On 20/09/2011, at 1:15 PM, Brett Porter wrote:

> 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.

You might also want to refer to: https://issues.apache.org/jira/browse/NPANDAY-426

> 
> 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
>>> brett@apache.org
>>> http://brettporter.wordpress.com/
>>> http://au.linkedin.com/in/brettporter
>>> 
>>> 
>>> 
>>> 
> 
> --
> Brett Porter
> brett@apache.org
> http://brettporter.wordpress.com/
> http://au.linkedin.com/in/brettporter
> 
> 
> 
> 

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter





Re: WPF Projects

Posted by Eric Kolotyluk <er...@gmail.com>.
Here is my npanday-settings.xml as created by NPanday.

<?xml version="1.0" encoding="utf-8"?>
<npandaySettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<operatingSystem>Microsoft Windows NT 6.1.7600.0</operatingSystem>
<defaultSetup>
<vendorName>MICROSOFT</vendorName>
<vendorVersion>2.0.50727</vendorVersion>
<frameworkVersion>2.0.50727</frameworkVersion>
</defaultSetup>
<vendors>
<vendor>
<vendorName>MICROSOFT</vendorName>
<vendorVersion>2.0.50727</vendorVersion>
<frameworks>
<framework>
<frameworkVersion>2.0.50727</frameworkVersion>
<installRoot>C:\Windows\Microsoft.NET\Framework64\v2.0.50727</installRoot>
<sdkInstallRoot>C:\Program Files\Microsoft.NET\SDK\v2.0 
64bit\</sdkInstallRoot>
<executablePaths>
<executablePath>C:\Program Files\Microsoft.NET\SDK\v2.0 
64bit\bin</executablePath>
</executablePaths>
</framework>
</frameworks>
</vendor>
<vendor>
<vendorName>MICROSOFT</vendorName>
<vendorVersion>3.0</vendorVersion>
<frameworks>
<framework>
<frameworkVersion>3.0</frameworkVersion>
<installRoot>C:\Windows\Microsoft.NET\Framework64\v3.0</installRoot>
<sdkInstallRoot>C:\Program Files\Microsoft.NET\SDK\v2.0 
64bit\</sdkInstallRoot>
<executablePaths>
<executablePath>C:\Windows\Microsoft.NET\Framework64\v2.0.50727</executablePath>
<executablePath>C:\Program Files\Microsoft.NET\SDK\v2.0 
64bit\bin</executablePath>
</executablePaths>
</framework>
</frameworks>
</vendor>
<vendor>
<vendorName>MICROSOFT</vendorName>
<vendorVersion>3.5</vendorVersion>
<frameworks>
<framework>
<frameworkVersion>3.5</frameworkVersion>
<installRoot>C:\Windows\Microsoft.NET\Framework64\v3.5</installRoot>
<sdkInstallRoot>C:\Program Files (x86)\Microsoft 
SDKs\Windows\v7.0A\Bin\</sdkInstallRoot>
</framework>
</frameworks>
</vendor>
<vendor>
<vendorName>MICROSOFT</vendorName>
<vendorVersion>4.0</vendorVersion>
<frameworks>
<framework>
<frameworkVersion>4.0</frameworkVersion>
<installRoot>C:\Windows\Microsoft.NET\Framework64\v4.0.30319</installRoot>
<sdkInstallRoot>C:\Program Files (x86)\Microsoft 
SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\</sdkInstallRoot>
</framework>
</frameworks>
</vendor>
</vendors>
</npandaySettings>

On 2011-09-19 8:15 PM, Brett Porter wrote:
> 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
>>> brett@apache.org
>>> http://brettporter.wordpress.com/
>>> http://au.linkedin.com/in/brettporter
>>>
>>>
>>>
>>>
> --
> Brett Porter
> brett@apache.org
> http://brettporter.wordpress.com/
> http://au.linkedin.com/in/brettporter
>
>
>
>


Re: WPF Projects

Posted by Brett Porter <br...@apache.org>.
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
>> brett@apache.org
>> http://brettporter.wordpress.com/
>> http://au.linkedin.com/in/brettporter
>> 
>> 
>> 
>> 

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter





Re: WPF Projects

Posted by Eric Kolotyluk <er...@gmail.com>.
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
> brett@apache.org
> http://brettporter.wordpress.com/
> http://au.linkedin.com/in/brettporter
>
>
>
>

Re: WPF Projects

Posted by Eric Kolotyluk <er...@gmail.com>.
OK, I tried copying the POM from the first one. Now I am getting

Could not find artifact 
System.Xaml:System.Xaml:dll:b77a5c561934e089:4.0.0.0 in nexus 
(http://nexus:8081/nexus/content/groups/public) -> [Help 1]

Should I be able to find these artifacts on the internet, or do I have 
to manually install them in my Nexus?

My POM looks like

<?xml version="1.0" encoding="utf-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.kodak.intersystem</groupId>
<artifactId>dotnet</artifactId>
<version>0.0.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>com.kodak.intersystem.dotnet</groupId>
<artifactId>intersystem-setup</artifactId>
<packaging>dotnet-executable</packaging>
<name>com.kodak.intersystem : intersystem-setup</name>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.npanday.plugins</groupId>
<artifactId>maven-compile-plugin</artifactId>
<version>1.4.0-incubating</version>
<extensions>true</extensions>
<configuration>
<frameworkVersion>4.0</frameworkVersion>
<includeSources>
<includeSource>Properties\AssemblyInfo.cs</includeSource>
<includeSource>Properties\Resources.Designer.cs</includeSource>
<includeSource>Properties\Settings.Designer.cs</includeSource>
<includeSource>src\main\csharp\com\kodak\intersystem\setup\App.xaml.cs</includeSource>
<includeSource>obj\x86\Debug\App.g.cs</includeSource>
<includeSource>src\main\csharp\com\kodak\intersystem\setup\MainWindow.xaml.cs</includeSource>
<includeSource>obj\x86\Debug\MainWindows.g.cs</includeSource>
<includeSource>src\main\csharp\com\kodak\intersystem\setup\Program.cs</includeSource>
<includeSource>src\main\csharp\com\kodak\intersystem\setup\Setup.cs</includeSource>
</includeSources>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.npanday.plugins</groupId>
<artifactId>NPanday.Plugin.Msbuild.JavaBinding</artifactId>
<version>1.4.0-incubating</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.npanday.plugins</groupId>
<artifactId>maven-resgen-plugin</artifactId>
<version>1.4.0-incubating</version>
<configuration>
<embeddedResources>
<embeddedResource>
<sourceFile>Properties\Resources.resx</sourceFile>
<name>WpfApplication8.Properties.Resources</name>
</embeddedResource>
</embeddedResources>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>System.Xaml</groupId>
<artifactId>System.Xaml</artifactId>
<version>4.0.0.0</version>
<type>gac_msil4</type>
<classifier>b77a5c561934e089</classifier>
</dependency>
<dependency>
<groupId>WindowsBase</groupId>
<artifactId>WindowsBase</artifactId>
<version>4.0.0.0</version>
<type>gac_msil4</type>
<classifier>31bf3856ad364e35</classifier>
</dependency>
<dependency>
<groupId>PresentationCore</groupId>
<artifactId>PresentationCore</artifactId>
<version>4.0.0.0</version>
<type>gac_32_4</type>
<classifier>31bf3856ad364e35</classifier>
</dependency>
<dependency>
<groupId>PresentationFramework</groupId>
<artifactId>PresentationFramework</artifactId>
<version>4.0.0.0</version>
<type>gac_msil4</type>
<classifier>31bf3856ad364e35</classifier>
</dependency>
</dependencies>
</project>

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
> brett@apache.org
> http://brettporter.wordpress.com/
> http://au.linkedin.com/in/brettporter
>
>
>
>

Re: WPF Projects

Posted by Brett Porter <br...@apache.org>.
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
brett@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter