From npanday-users-return-197-apmail-incubator-npanday-users-archive=incubator.apache.org@incubator.apache.org Tue Sep 20 13:27:02 2011 Return-Path: X-Original-To: apmail-incubator-npanday-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-npanday-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 20F3C752B for ; Tue, 20 Sep 2011 13:27:02 +0000 (UTC) Received: (qmail 88075 invoked by uid 500); 20 Sep 2011 13:27:02 -0000 Delivered-To: apmail-incubator-npanday-users-archive@incubator.apache.org Received: (qmail 88052 invoked by uid 500); 20 Sep 2011 13:27:02 -0000 Mailing-List: contact npanday-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: npanday-users@incubator.apache.org Delivered-To: mailing list npanday-users@incubator.apache.org Received: (qmail 88043 invoked by uid 99); 20 Sep 2011 13:27:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2011 13:27:02 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eric.kolotyluk@gmail.com designates 209.85.213.175 as permitted sender) Received: from [209.85.213.175] (HELO mail-yx0-f175.google.com) (209.85.213.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2011 13:26:56 +0000 Received: by yxj17 with SMTP id 17so972064yxj.6 for ; Tue, 20 Sep 2011 06:26:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=cm3jCXzhGFzU3CJPDYCJL9KG3bWjiu6GGZ/pg91mbhg=; b=idnOkMJouo324A9zKvxBKewkKiL1ECtsdMrNSYtmDTjOClR8BLKPdqUWeEj+0w6+jo ip7YVMdo7KzooQ0bJXLddtm70MjCyU28HBpxVW6VrXi9jj/7iX9AZ9r2yzM0Z730mIU/ DGnpOnqu9a67LlR/gEeNq3IlGuj3S5HSr2TCU= Received: by 10.147.133.8 with SMTP id k8mr3443027yan.37.1316525196018; Tue, 20 Sep 2011 06:26:36 -0700 (PDT) Received: from [192.168.0.110] (S0106001517afb060.vc.shawcable.net. [24.83.20.81]) by mx.google.com with ESMTPS id 13sm11368870ans.9.2011.09.20.06.26.34 (version=SSLv3 cipher=OTHER); Tue, 20 Sep 2011 06:26:35 -0700 (PDT) Message-ID: <4E78948F.8040103@gmail.com> Date: Tue, 20 Sep 2011 06:26:39 -0700 From: Eric Kolotyluk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: npanday-users@incubator.apache.org Subject: Re: WPF Projects References: <4E7216AC.1000805@gmail.com> <4E73C284.6060401@gmail.com> <3E44EDDD-8758-4B3F-A40F-6AEC507CAAC7@apache.org> In-Reply-To: <3E44EDDD-8758-4B3F-A40F-6AEC507CAAC7@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Here is my npanday-settings.xml as created by NPanday. Microsoft Windows NT 6.1.7600.0 MICROSOFT 2.0.50727 2.0.50727 MICROSOFT 2.0.50727 2.0.50727 C:\Windows\Microsoft.NET\Framework64\v2.0.50727 C:\Program Files\Microsoft.NET\SDK\v2.0=20 64bit\ C:\Program Files\Microsoft.NET\SDK\v2.0=20 64bit\bin MICROSOFT 3.0 3.0 C:\Windows\Microsoft.NET\Framework64\v3.0 C:\Program Files\Microsoft.NET\SDK\v2.0=20 64bit\ C:\Windows\Microsoft.NET\Framework64\v2.0.50727 C:\Program Files\Microsoft.NET\SDK\v2.0=20 64bit\bin MICROSOFT 3.5 3.5 C:\Windows\Microsoft.NET\Framework64\v3.5 C:\Program Files (x86)\Microsoft=20 SDKs\Windows\v7.0A\Bin\ MICROSOFT 4.0 4.0 C:\Windows\Microsoft.NET\Framework64\v4.0.30319 C:\Program Files (x86)\Microsoft=20 SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\ 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 ther= e is one)? That seems to be missing something. > > As for the dependencies not being found - gac_msil/gac_msil4/gac_32 sho= uld be located from the GAC for the relevant .NET framework version you a= re using under c:\windows, not a remote repository. Do those DLLs exist t= here 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 JavaBin= ding plugin is throwing an exception. >> >> Is this a bug, a configuration problem, or the fact that I commented o= ut the dependencies? >> >> >> >> >> >> ------------------------------------------------------------------ >> 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 c= ompile >> >> >> ------------------------------------------------------------------ >> >> >> [INFO] Scanning for projects... >> [INFO] >> [INFO] ---------------------------------------------------------------= --------- >> [INFO] Building com.kodak.intersystem : intersystem-setup 0.0.2-SNAPSH= OT >> [INFO] ---------------------------------------------------------------= --------- >> [INFO] >> [INFO] --- maven-compile-plugin:1.4.0-incubating:initialize (default-i= nitialize) @ intersystem-setup --- >> SLF4J: Class path contains multiple SLF4J bindings. >> [INFO] Mojo Execution Time =3D 71 >> [INFO] >> SLF4J: Found binding in [jar:file:/C:/Users/10069959/.m2/repository/or= g/sonatype/gossip/gossip/1.0/gossip-1.0.jar!/org/slf4j/impl/StaticLoggerB= inder.class] >> [INFO] --- maven-resolver-plugin:1.4.0-incubating:resolve (default-res= olve) @ intersystem-setup --- >> SLF4J: Found binding in [jar:file:/C:/Users/10069959/.m2/repository/or= g/slf4j/slf4j-jdk14/1.5.11/slf4j-jdk14-1.5.11.jar!/org/slf4j/impl/StaticL= oggerBinder.class] >> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an ex= planation. >> [INFO] Mojo Execution Time =3D 0 >> [INFO] >> [INFO] --- NPanday.Plugin.Settings.JavaBinding:1.4.0-incubating:genera= te-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 p= ath: P:\Intersystem\main\platform.NET\intersystem-setup\target >> NPanday: Start Process =3D 2011-09-16 2:32:07 PM >> "parameterFile=3DC:\Users\10069959\AppData\Local\Temp\Plugin2029131605= 882746167.xml" "assemblyFile=3DP:\Intersystem\main\platform.NET\intersyst= em-setup\target\NPanday.Plugin.Msbuild.dll" "mojoName=3DNPanday.Plugin.Ms= build.MsbuildMojo" "startProcessAssembly=3DP:\Intersystem\main\platform.N= ET\intersystem-setup\target\NPanday.Plugin.Loader.exe" >> [INFO] >> [INFO] Unhandled Exception: System.TypeLoadException: The domain manag= er specified by the host could not be instantiated. >> [INFO] at System.AppDomain.CreateDomainManager(String domainManager= AssemblyName, String domainManagerTypeName) >> [INFO] at System.AppDomain.SetDomainManager(Evidence providedSecuri= tyInfo, Evidence creatorsSecurityInfo, IntPtr parentSecurityDescriptor, B= oolean publishAppDomain) >> [INFO] at System.AppDomain.SetDefaultDomainManager(String fullName,= String[] manifestPaths, String[] activationData) >> NPanday: End Process =3D 2011-09-16 2:32:12 PM; exit code =3D -5324596= 99 >> [INFO] NPANDAY-068-005: Choose executable path's parent as execution p= ath: P:\Intersystem\main\platform.NET\intersystem-setup\target >> [INFO] NPANDAY-068-005: Choose executable path's parent as execution p= ath: 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.Plug= in.Msbuild.JavaBinding:1.4.0-incubating:compile (default) on project inte= rsystem-setup: NPANDAY-xxx-000: NPANDAY-063-000: Execution Path =3D P:\In= tersystem\main\platform.NET\intersystem-setup\target, Executable =3D NPan= day.Plugin.Runner.exe, Args =3D [parameterFile=3DC:\Users\10069959\AppDat= a\Local\Temp\Plugin2029131605882746167.xml, assemblyFile=3DP:\Intersystem= \main\platform.NET\intersystem-setup\target\NPanday.Plugin.Msbuild.dll, m= ojoName=3DNPanday.Plugin.Msbuild.MsbuildMojo, startProcessAssembly=3DP:\I= ntersystem\main\platform.NET\intersystem-setup\target\NPanday.Plugin.Load= er.exe]: NPANDAY-040-001: Could not execute: Command =3D cmd.exe /X /C "= NPanday.Plugin.Runner.exe parameterFile=3DC:\Users\10069959\AppData\Local= \Temp\Plugin2029131605882746167.xml assemblyFile=3DP:\Intersystem\main\pl= atform.NET\intersystem-setup\target\NPanday.Plugin.Msbuild.dll mojoName=3D= NPanday.Plugin.Msbuild.MsbuildMojo startProcessAssembly=3DP:\Intersystem\= main\platform.NET\intersystem-setup\target\NPanday.Plugin.Loader.exe", Re= sult =3D -532459699 -> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with t= he -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/Mojo= ExecutionException >> 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 a= re 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 > > > >