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 AKEHURST David <Da...@uk.thalesgroup.com> on 2014/04/18 09:01:36 UTC

WPF

Has anyone has any luck getting WPF code to build with npanday?


outside of Visual Studio, using maven from command line.

cheers



David Akehurst
Software Architect

Thales UK
1 Linthouse Road, Glasgow G51 4BZ, UK
www.thalesgroup.com/uk

Tel: +44 (0)141 440 4512.  Mob:  Fax: +44 (0) 141 440 4051.
e-mail: david.akehurst@uk.thalesgroup.com 

Please consider the environment before printing a hard copy of this e-mail. 

The information contained in this e-mail is confidential. It is intended only for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful. If you have received this e-mail in error, please inform us immediately on +44 (0)141 440 4000 and delete it and all copies from your system. 

Thales Corporate Services Limited. A company registered in England and Wales. Registered Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Weybridge, Surrey KT15 2NX. Registered Number: 959962.  

Thales UK Limited. A company registered in England and Wales. Registered Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Weybridge, Surrey KT15 2NX. Registered Number: 868273
 


RE: WPF

Posted by AKEHURST David <Da...@uk.thalesgroup.com>.
I can't get them to work on windows either?

what am I missing?


David Akehurst
Software Architect

Thales UK
1 Linthouse Road, Glasgow G51 4BZ, UK
www.thalesgroup.com/uk

Tel: +44 (0)141 440 4512.  Mob:  Fax: +44 (0) 141 440 4051.
e-mail: david.akehurst@uk.thalesgroup.com 

Please consider the environment before printing a hard copy of this e-mail. 

The information contained in this e-mail is confidential. It is intended only for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful. If you have received this e-mail in error, please inform us immediately on +44 (0)141 440 4000 and delete it and all copies from your system. 

Thales Corporate Services Limited. A company registered in England and Wales. Registered Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Weybridge, Surrey KT15 2NX. Registered Number: 959962.  

Thales UK Limited. A company registered in England and Wales. Registered Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Weybridge, Surrey KT15 2NX. Registered Number: 868273
 

-----Original Message-----
From: Brett Porter [mailto:brett@porterclan.net] On Behalf Of Brett Porter
Sent: 22 April 2014 10:53
To: npanday-users@incubator.apache.org
Subject: Re: WPF


On 22 Apr 2014, at 7:37 pm, AKEHURST David <Da...@uk.thalesgroup.com> wrote:

> thanks for the point to examples,
> 
> looking at those examples, they use gac_msil4 as a type for some dependencies,
> 
> a) I can't get these to resolve....what am I missing,
> b) separate issue really, but does gac_msil4 type work on linux?

Probably not - they'd likely only have configuration for Windows (they resolve to the system paths of the .net 4.0 global assembly cache).

Mono support is in need of a maintainer.

- Brett

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


Re: WPF

Posted by Brett Porter <br...@apache.org>.
On 22 Apr 2014, at 7:37 pm, AKEHURST David <Da...@uk.thalesgroup.com> wrote:

> thanks for the point to examples,
> 
> looking at those examples, they use gac_msil4 as a type for some dependencies,
> 
> a) I can't get these to resolve....what am I missing,
> b) separate issue really, but does gac_msil4 type work on linux?

Probably not - they'd likely only have configuration for Windows (they resolve to the system paths of the .net 4.0 global assembly cache).

Mono support is in need of a maintainer.

- Brett

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


RE: WPF

Posted by AKEHURST David <Da...@uk.thalesgroup.com>.
thanks for the point to examples,

looking at those examples, they use gac_msil4 as a type for some dependencies,

a) I can't get these to resolve....what am I missing,
b) separate issue really, but does gac_msil4 type work on linux?

cheers



David Akehurst
Software Architect

Thales UK
1 Linthouse Road, Glasgow G51 4BZ, UK
www.thalesgroup.com/uk

Tel: +44 (0)141 440 4512.  Mob:  Fax: +44 (0) 141 440 4051.
e-mail: david.akehurst@uk.thalesgroup.com 

Please consider the environment before printing a hard copy of this e-mail. 

The information contained in this e-mail is confidential. It is intended only for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful. If you have received this e-mail in error, please inform us immediately on +44 (0)141 440 4000 and delete it and all copies from your system. 

Thales Corporate Services Limited. A company registered in England and Wales. Registered Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Weybridge, Surrey KT15 2NX. Registered Number: 959962.  

Thales UK Limited. A company registered in England and Wales. Registered Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Weybridge, Surrey KT15 2NX. Registered Number: 868273
 

-----Original Message-----
From: Brett Porter [mailto:brett@porterclan.net] On Behalf Of Brett Porter
Sent: 18 April 2014 11:18
To: npanday-users@incubator.apache.org
Subject: Re: WPF

Hi David,

Due to some of the tasks these require (converting XAML to .g.cs files), I've found it usually needs an msbuild execution in there, as they have no command line equivalent that I could find. YMMV.

I'd suggest generating a POM from Visual Studio and using that as a starting point, which you might then be able to reproduce for other projects. You'll see some examples in the integration tests: http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_328_VS2010WpfProjectSupportTest/pom.xml?revision=1572444&view=markup

Regards,
Brett

On 18 Apr 2014, at 7:01 pm, AKEHURST David <Da...@uk.thalesgroup.com> wrote:

> Has anyone has any luck getting WPF code to build with npanday?
> 
> 
> outside of Visual Studio, using maven from command line.
> 
> cheers
> 
> 
> 
> David Akehurst
> Software Architect
> 
> Thales UK
> 1 Linthouse Road, Glasgow G51 4BZ, UK
> www.thalesgroup.com/uk
> 
> Tel: +44 (0)141 440 4512.  Mob:  Fax: +44 (0) 141 440 4051.
> e-mail: david.akehurst@uk.thalesgroup.com 
> 
> Please consider the environment before printing a hard copy of this e-mail. 
> 
> The information contained in this e-mail is confidential. It is intended only for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful. If you have received this e-mail in error, please inform us immediately on +44 (0)141 440 4000 and delete it and all copies from your system. 
> 
> Thales Corporate Services Limited. A company registered in England and Wales. Registered Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Weybridge, Surrey KT15 2NX. Registered Number: 959962.  
> 
> Thales UK Limited. A company registered in England and Wales. Registered Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Weybridge, Surrey KT15 2NX. Registered Number: 868273
> 
> 

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


Re: When will 1.5 Be Released

Posted by Brett Porter <br...@apache.org>.
Hi Eric,

Greg saw this as well - https://issues.apache.org/jira/browse/NPANDAY-631

As far as I can tell, it seems to be that there's a newer "assembler" snapshot downloaded, but still using an older compile plugin. Is there a reason that might be the case in your environment, or can you build the full npanday tree locally?

I agree the best resolution would be to get a consistent release out - I took a run at that at the start of July, and should be able to have another pass soon. More hands always welcome...

Cheers,
Brett

On 31 Jul 2014, at 4:14 am, Eric Kolotyluk <er...@gmail.com> wrote:

> I had my NPanday project working a few months ago back in March/April, but when I tried building my project recently it failed. It 1.5 likely to be released any time soon? I don't really have the energy to do another round of troubleshooting on the SNAPSHOT when I have not changed anything in months.
> 
> Cheers, Eric
> 
> D:\Users\Eric\Software\Project\Repositories\csharp-windows-elevate>mvn clean compile
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] csharp-windows-elevate
> [INFO] elevate-exe
> [INFO] elevate-mklink-exe
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building csharp-windows-elevate 0.0.24-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ csharp-windows-elevate ---
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ csharp-windows-elevate ---
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building elevate-exe 0.0.24-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ elevate ---
> [INFO]
> [INFO] --- maven-compile-plugin:1.5.0-incubating-SNAPSHOT:initialize (default-initialize) @ elevate ---
> [INFO] NPANDAY-148-009: Took 12ms to resolve dependencies for net.kolotyluk.windows.elevate:elevate:dotnet-executable:0.0.24-SNAPSHOT with filter org.apache.maven.artifact.resolver.filter.AndArtifactFilter@62bfd79a
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] csharp-windows-elevate ............................ SUCCESS [0.309s]
> [INFO] elevate-exe ....................................... FAILURE [0.693s]
> [INFO] elevate-mklink-exe ................................ SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2.772s
> [INFO] Finished at: Wed Jul 30 10:53:29 PDT 2014
> [INFO] Final Memory: 35M/1963M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.npanday.plugins:maven-compile-plugin:1.5.0-incubating-SNAPSHOT:initialize (default-initialize) on project elevate: Execution default-initialize of goal org.apache.npanday.plugins:maven-compile-plugin:1.5.0-incubating-SNAPSHOT:initialize f
> ailed: An API incompatibility was encountered while executing org.apache.npanday.plugins:maven-compile-plugin:1.5.0-incubating-SNAPSHOT:initialize: java.lang.NoSuchMethodError: npanday.assembler.AssemblerContext.init(Lorg/apache/maven/project/MavenProject;)V
> [ERROR] -----------------------------------------------------
> [ERROR] realm = plugin>org.apache.npanday.plugins:maven-compile-plugin:1.5.0-incubating-SNAPSHOT
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = file:/C:/Users/Eric/.m2/repository/org/apache/npanday/plugins/maven-compile-plugin/1.5.0-incubating-SNAPSHOT/maven-compile-plugin-1.5.0-incubating-SNAPSHOT.jar
> [ERROR] urls[1] = file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-registry/1.5.0-incubating-SNAPSHOT/dotnet-registry-1.5.0-incubating-SNAPSHOT.jar
> [ERROR] urls[2] = file:/C:/Users/Eric/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
> [ERROR] urls[3] = file:/C:/Users/Eric/.m2/repository/net/sf/kxml/kxml2/2.1.8/kxml2-2.1.8.jar
> [ERROR] urls[4] = file:/C:/Users/Eric/.m2/repository/xmlpull/xmlpull/1.1.3.4a/xmlpull-1.1.3.4a.jar
> [ERROR] urls[5] = file:/C:/Users/Eric/.m2/repository/org/reflections/reflections/0.9.5/reflections-0.9.5.jar
> [ERROR] urls[6] = file:/C:/Users/Eric/.m2/repository/javassist/javassist/3.12.1.GA/javassist-3.12.1.GA.jar
> [ERROR] urls[7] = file:/C:/Users/Eric/.m2/repository/org/slf4j/slf4j-api/1.5.11/slf4j-api-1.5.11.jar
> [ERROR] urls[8] = file:/C:/Users/Eric/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
> [ERROR] urls[9] = file:/C:/Users/Eric/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
> [ERROR] urls[10] = file:/C:/Users/Eric/.m2/repository/org/codehaus/gmaven/gmaven-mojo/1.2/gmaven-mojo-1.2.jar
> [ERROR] urls[11] = file:/C:/Users/Eric/.m2/repository/org/codehaus/gmaven/runtime/gmaven-runtime-api/1.2/gmaven-runtime-api-1.2.jar
> [ERROR] urls[12] = file:/C:/Users/Eric/.m2/repository/org/codehaus/gmaven/feature/gmaven-feature-api/1.2/gmaven-feature-api-1.2.jar
> [ERROR] urls[13] = file:/C:/Users/Eric/.m2/repository/org/codehaus/gmaven/runtime/gmaven-runtime-1.5/1.2/gmaven-runtime-1.5-1.2.jar
> [ERROR] urls[14] = file:/C:/Users/Eric/.m2/repository/org/codehaus/gmaven/feature/gmaven-feature-support/1.2/gmaven-feature-support-1.2.jar
> [ERROR] urls[15] = file:/C:/Users/Eric/.m2/repository/org/codehaus/gmaven/runtime/gmaven-runtime-support/1.2/gmaven-runtime-support-1.2.jar
> [ERROR] urls[16] = file:/C:/Users/Eric/.m2/repository/org/sonatype/gshell/gshell-io/2.0/gshell-io-2.0.jar
> [ERROR] urls[17] = file:/C:/Users/Eric/.m2/repository/org/sonatype/gossip/gossip/1.0/gossip-1.0.jar
> [ERROR] urls[18] = file:/C:/Users/Eric/.m2/repository/com/thoughtworks/qdox/qdox/1.8/qdox-1.8.jar
> [ERROR] urls[19] = file:/C:/Users/Eric/.m2/repository/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
> [ERROR] urls[20] = file:/C:/Users/Eric/.m2/repository/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.jar
> [ERROR] urls[21] = file:/C:/Users/Eric/.m2/repository/org/codehaus/groovy/groovy-all/1.7.0/groovy-all-1.7.0.jar
> [ERROR] urls[22] = file:/C:/Users/Eric/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar
> [ERROR] urls[23] = file:/C:/Users/Eric/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
> [ERROR] urls[24] = file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-assembler/1.5.0-incubating-SNAPSHOT/dotnet-assembler-1.5.0-incubating-SNAPSHOT.jar
> [ERROR] urls[25] = file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-model-assembly-plugins/1.5.0-incubating-SNAPSHOT/dotnet-model-assembly-plugins-1.5.0-incubating-SNAPSHOT.jar
> [ERROR] urls[26] = file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-core/1.5.0-incubating-SNAPSHOT/dotnet-core-1.5.0-incubating-SNAPSHOT.jar
> [ERROR] urls[27] = file:/C:/Users/Eric/.m2/repository/org/codehaus/plexus/plexus-archiver/2.0/plexus-archiver-2.0.jar
> [ERROR] urls[28] = file:/C:/Users/Eric/.m2/repository/org/codehaus/plexus/plexus-io/2.0/plexus-io-2.0.jar
> [ERROR] urls[29] = file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-executable/1.5.0-incubating-SNAPSHOT/dotnet-executable-1.5.0-incubating-SNAPSHOT.jar
> [ERROR] urls[30] = file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-model-executable-plugins/1.5.0-incubating-SNAPSHOT/dotnet-model-executable-plugins-1.5.0-incubating-SNAPSHOT.jar
> [ERROR] urls[31] = file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-model-compiler-plugins/1.5.0-incubating-SNAPSHOT/dotnet-model-compiler-plugins-1.5.0-incubating-SNAPSHOT.jar
> [ERROR] urls[32] = file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-vendor/1.5.0-incubating-SNAPSHOT/dotnet-vendor-1.5.0-incubating-SNAPSHOT.jar
> [ERROR] urls[33] = file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-model-settings/1.5.0-incubating-SNAPSHOT/dotnet-model-settings-1.5.0-incubating-SNAPSHOT.jar
> [ERROR] urls[34] = file:/C:/Users/Eric/.m2/repository/org/apache/commons/commons-exec/1.1/commons-exec-1.1.jar
> [ERROR] urls[35] = file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-plugin/1.5.0-incubating-SNAPSHOT/dotnet-plugin-1.5.0-incubating-SNAPSHOT.jar
> [ERROR] urls[36] = file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-model-configuration-appenders/1.5.0-incubating-SNAPSHOT/dotnet-model-configuration-appenders-1.5.0-incubating-SNAPSHOT.jar
> [ERROR] urls[37] = file:/C:/Users/Eric/.m2/repository/org/slf4j/slf4j-jdk14/1.5.11/slf4j-jdk14-1.5.11.jar
> [ERROR] urls[38] = file:/C:/Users/Eric/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
> [ERROR] urls[39] = file:/C:/Users/Eric/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar
> [ERROR] urls[40] = file:/C:/Users/Eric/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar
> [ERROR] urls[41] = file:/C:/Users/Eric/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar
> [ERROR] urls[42] = file:/C:/Users/Eric/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
> [ERROR] urls[43] = file:/C:/Users/Eric/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
> [ERROR] urls[44] = file:/C:/Users/Eric/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
> [ERROR] urls[45] = file:/C:/Users/Eric/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
> [ERROR] urls[46] = file:/C:/Users/Eric/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
> [ERROR] urls[47] = file:/C:/Users/Eric/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
> [ERROR] urls[48] = file:/C:/Users/Eric/.m2/repository/com/google/guava/guava/10.0.1/guava-10.0.1.jar
> [ERROR] urls[49] = file:/C:/Users/Eric/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import  from realm ClassRealm[project>net.kolotyluk.windows.elevate:elevate:0.0.24-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
> [ERROR]
> [ERROR] -----------------------------------------------------
> [ERROR] -> [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/PluginContainerException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :elevate
> D:\Users\Eric\Software\Project\Repositories\csharp-windows-elevate>
> 


When will 1.5 Be Released

Posted by Eric Kolotyluk <er...@gmail.com>.
I had my NPanday project working a few months ago back in March/April, 
but when I tried building my project recently it failed. It 1.5 likely 
to be released any time soon? I don't really have the energy to do 
another round of troubleshooting on the SNAPSHOT when I have not changed 
anything in months.

Cheers, Eric

D:\Users\Eric\Software\Project\Repositories\csharp-windows-elevate>mvn 
clean compile
[INFO] Scanning for projects...
[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] csharp-windows-elevate
[INFO] elevate-exe
[INFO] elevate-mklink-exe
[INFO]
[INFO] 
------------------------------------------------------------------------
[INFO] Building csharp-windows-elevate 0.0.24-SNAPSHOT
[INFO] 
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
csharp-windows-elevate ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ 
csharp-windows-elevate ---
[INFO]
[INFO] 
------------------------------------------------------------------------
[INFO] Building elevate-exe 0.0.24-SNAPSHOT
[INFO] 
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ elevate ---
[INFO]
[INFO] --- maven-compile-plugin:1.5.0-incubating-SNAPSHOT:initialize 
(default-initialize) @ elevate ---
[INFO] NPANDAY-148-009: Took 12ms to resolve dependencies for 
net.kolotyluk.windows.elevate:elevate:dotnet-executable:0.0.24-SNAPSHOT 
with filter 
org.apache.maven.artifact.resolver.filter.AndArtifactFilter@62bfd79a
[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] csharp-windows-elevate ............................ SUCCESS [0.309s]
[INFO] elevate-exe ....................................... FAILURE [0.693s]
[INFO] elevate-mklink-exe ................................ SKIPPED
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 2.772s
[INFO] Finished at: Wed Jul 30 10:53:29 PDT 2014
[INFO] Final Memory: 35M/1963M
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.npanday.plugins:maven-compile-plugin:1.5.0-incubating-SNAPSHOT:initialize 
(default-initialize) on project elevate: Execution default-initialize of 
goal 
org.apache.npanday.plugins:maven-compile-plugin:1.5.0-incubating-SNAPSHOT:initialize 
f
ailed: An API incompatibility was encountered while executing 
org.apache.npanday.plugins:maven-compile-plugin:1.5.0-incubating-SNAPSHOT:initialize: 
java.lang.NoSuchMethodError: 
npanday.assembler.AssemblerContext.init(Lorg/apache/maven/project/MavenProject;)V
[ERROR] -----------------------------------------------------
[ERROR] realm = 
plugin>org.apache.npanday.plugins:maven-compile-plugin:1.5.0-incubating-SNAPSHOT
[ERROR] strategy = 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = 
file:/C:/Users/Eric/.m2/repository/org/apache/npanday/plugins/maven-compile-plugin/1.5.0-incubating-SNAPSHOT/maven-compile-plugin-1.5.0-incubating-SNAPSHOT.jar
[ERROR] urls[1] = 
file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-registry/1.5.0-incubating-SNAPSHOT/dotnet-registry-1.5.0-incubating-SNAPSHOT.jar
[ERROR] urls[2] = 
file:/C:/Users/Eric/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
[ERROR] urls[3] = 
file:/C:/Users/Eric/.m2/repository/net/sf/kxml/kxml2/2.1.8/kxml2-2.1.8.jar
[ERROR] urls[4] = 
file:/C:/Users/Eric/.m2/repository/xmlpull/xmlpull/1.1.3.4a/xmlpull-1.1.3.4a.jar
[ERROR] urls[5] = 
file:/C:/Users/Eric/.m2/repository/org/reflections/reflections/0.9.5/reflections-0.9.5.jar
[ERROR] urls[6] = 
file:/C:/Users/Eric/.m2/repository/javassist/javassist/3.12.1.GA/javassist-3.12.1.GA.jar
[ERROR] urls[7] = 
file:/C:/Users/Eric/.m2/repository/org/slf4j/slf4j-api/1.5.11/slf4j-api-1.5.11.jar
[ERROR] urls[8] = 
file:/C:/Users/Eric/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
[ERROR] urls[9] = 
file:/C:/Users/Eric/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
[ERROR] urls[10] = 
file:/C:/Users/Eric/.m2/repository/org/codehaus/gmaven/gmaven-mojo/1.2/gmaven-mojo-1.2.jar
[ERROR] urls[11] = 
file:/C:/Users/Eric/.m2/repository/org/codehaus/gmaven/runtime/gmaven-runtime-api/1.2/gmaven-runtime-api-1.2.jar
[ERROR] urls[12] = 
file:/C:/Users/Eric/.m2/repository/org/codehaus/gmaven/feature/gmaven-feature-api/1.2/gmaven-feature-api-1.2.jar
[ERROR] urls[13] = 
file:/C:/Users/Eric/.m2/repository/org/codehaus/gmaven/runtime/gmaven-runtime-1.5/1.2/gmaven-runtime-1.5-1.2.jar
[ERROR] urls[14] = 
file:/C:/Users/Eric/.m2/repository/org/codehaus/gmaven/feature/gmaven-feature-support/1.2/gmaven-feature-support-1.2.jar
[ERROR] urls[15] = 
file:/C:/Users/Eric/.m2/repository/org/codehaus/gmaven/runtime/gmaven-runtime-support/1.2/gmaven-runtime-support-1.2.jar
[ERROR] urls[16] = 
file:/C:/Users/Eric/.m2/repository/org/sonatype/gshell/gshell-io/2.0/gshell-io-2.0.jar
[ERROR] urls[17] = 
file:/C:/Users/Eric/.m2/repository/org/sonatype/gossip/gossip/1.0/gossip-1.0.jar
[ERROR] urls[18] = 
file:/C:/Users/Eric/.m2/repository/com/thoughtworks/qdox/qdox/1.8/qdox-1.8.jar
[ERROR] urls[19] = 
file:/C:/Users/Eric/.m2/repository/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
[ERROR] urls[20] = 
file:/C:/Users/Eric/.m2/repository/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.jar
[ERROR] urls[21] = 
file:/C:/Users/Eric/.m2/repository/org/codehaus/groovy/groovy-all/1.7.0/groovy-all-1.7.0.jar
[ERROR] urls[22] = 
file:/C:/Users/Eric/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar
[ERROR] urls[23] = 
file:/C:/Users/Eric/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
[ERROR] urls[24] = 
file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-assembler/1.5.0-incubating-SNAPSHOT/dotnet-assembler-1.5.0-incubating-SNAPSHOT.jar
[ERROR] urls[25] = 
file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-model-assembly-plugins/1.5.0-incubating-SNAPSHOT/dotnet-model-assembly-plugins-1.5.0-incubating-SNAPSHOT.jar
[ERROR] urls[26] = 
file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-core/1.5.0-incubating-SNAPSHOT/dotnet-core-1.5.0-incubating-SNAPSHOT.jar
[ERROR] urls[27] = 
file:/C:/Users/Eric/.m2/repository/org/codehaus/plexus/plexus-archiver/2.0/plexus-archiver-2.0.jar
[ERROR] urls[28] = 
file:/C:/Users/Eric/.m2/repository/org/codehaus/plexus/plexus-io/2.0/plexus-io-2.0.jar
[ERROR] urls[29] = 
file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-executable/1.5.0-incubating-SNAPSHOT/dotnet-executable-1.5.0-incubating-SNAPSHOT.jar
[ERROR] urls[30] = 
file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-model-executable-plugins/1.5.0-incubating-SNAPSHOT/dotnet-model-executable-plugins-1.5.0-incubating-SNAPSHOT.jar
[ERROR] urls[31] = 
file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-model-compiler-plugins/1.5.0-incubating-SNAPSHOT/dotnet-model-compiler-plugins-1.5.0-incubating-SNAPSHOT.jar
[ERROR] urls[32] = 
file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-vendor/1.5.0-incubating-SNAPSHOT/dotnet-vendor-1.5.0-incubating-SNAPSHOT.jar
[ERROR] urls[33] = 
file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-model-settings/1.5.0-incubating-SNAPSHOT/dotnet-model-settings-1.5.0-incubating-SNAPSHOT.jar
[ERROR] urls[34] = 
file:/C:/Users/Eric/.m2/repository/org/apache/commons/commons-exec/1.1/commons-exec-1.1.jar
[ERROR] urls[35] = 
file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-plugin/1.5.0-incubating-SNAPSHOT/dotnet-plugin-1.5.0-incubating-SNAPSHOT.jar
[ERROR] urls[36] = 
file:/C:/Users/Eric/.m2/repository/org/apache/npanday/dotnet-model-configuration-appenders/1.5.0-incubating-SNAPSHOT/dotnet-model-configuration-appenders-1.5.0-incubating-SNAPSHOT.jar
[ERROR] urls[37] = 
file:/C:/Users/Eric/.m2/repository/org/slf4j/slf4j-jdk14/1.5.11/slf4j-jdk14-1.5.11.jar
[ERROR] urls[38] = 
file:/C:/Users/Eric/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
[ERROR] urls[39] = 
file:/C:/Users/Eric/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar
[ERROR] urls[40] = 
file:/C:/Users/Eric/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar
[ERROR] urls[41] = 
file:/C:/Users/Eric/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar
[ERROR] urls[42] = 
file:/C:/Users/Eric/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[ERROR] urls[43] = 
file:/C:/Users/Eric/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
[ERROR] urls[44] = 
file:/C:/Users/Eric/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
[ERROR] urls[45] = 
file:/C:/Users/Eric/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
[ERROR] urls[46] = 
file:/C:/Users/Eric/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[47] = 
file:/C:/Users/Eric/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[48] = 
file:/C:/Users/Eric/.m2/repository/com/google/guava/guava/10.0.1/guava-10.0.1.jar
[ERROR] urls[49] = 
file:/C:/Users/Eric/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm 
ClassRealm[project>net.kolotyluk.windows.elevate:elevate:0.0.24-SNAPSHOT, parent: 
ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] -> [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/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the 
command
[ERROR]   mvn <goals> -rf :elevate
D:\Users\Eric\Software\Project\Repositories\csharp-windows-elevate>


Re: WPF

Posted by Brett Porter <br...@apache.org>.
Hi David,

Due to some of the tasks these require (converting XAML to .g.cs files), I've found it usually needs an msbuild execution in there, as they have no command line equivalent that I could find. YMMV.

I'd suggest generating a POM from Visual Studio and using that as a starting point, which you might then be able to reproduce for other projects. You'll see some examples in the integration tests: http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_328_VS2010WpfProjectSupportTest/pom.xml?revision=1572444&view=markup

Regards,
Brett

On 18 Apr 2014, at 7:01 pm, AKEHURST David <Da...@uk.thalesgroup.com> wrote:

> Has anyone has any luck getting WPF code to build with npanday?
> 
> 
> outside of Visual Studio, using maven from command line.
> 
> cheers
> 
> 
> 
> David Akehurst
> Software Architect
> 
> Thales UK
> 1 Linthouse Road, Glasgow G51 4BZ, UK
> www.thalesgroup.com/uk
> 
> Tel: +44 (0)141 440 4512.  Mob:  Fax: +44 (0) 141 440 4051.
> e-mail: david.akehurst@uk.thalesgroup.com 
> 
> Please consider the environment before printing a hard copy of this e-mail. 
> 
> The information contained in this e-mail is confidential. It is intended only for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful. If you have received this e-mail in error, please inform us immediately on +44 (0)141 440 4000 and delete it and all copies from your system. 
> 
> Thales Corporate Services Limited. A company registered in England and Wales. Registered Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Weybridge, Surrey KT15 2NX. Registered Number: 959962.  
> 
> Thales UK Limited. A company registered in England and Wales. Registered Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Weybridge, Surrey KT15 2NX. Registered Number: 868273
> 
> 

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