You are viewing a plain text version of this content. The canonical link for it is here.
Posted to nmaven-issues@incubator.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/07/09 06:21:27 UTC
[jira] Commented: (NMAVEN-165) Support for Windows Application type
projects
[ http://jira.codehaus.org/browse/NMAVEN-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=141170#action_141170 ]
Brett Porter commented on NMAVEN-165:
-------------------------------------
was the code in the command line additions pasted from somewhere else?
what is it's purpose?
> Support for Windows Application type projects
> ---------------------------------------------
>
> Key: NMAVEN-165
> URL: http://jira.codehaus.org/browse/NMAVEN-165
> Project: NMaven
> Issue Type: Bug
> Affects Versions: 0.14 (Unreleased)
> Reporter: Leopoldo Agdeppa III
> Fix For: 0.14 (Unreleased)
>
> Attachments: Fix.patch
>
>
> The Project Importer (pom generator) produces a pom with <packaging>winexe</packaging> when run on a Visual Studio Windows Application type project.
> The resulting pom does not build with NMaven:
> [INFO] Building WindowsApplication1
> [INFO] task-segment: [install]
> [INFO] ----------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Cannot find lifecycle mapping for packaging: 'winexe'.
> Component descriptor cannot be found in the component repository: org.apache.maven.lifecycle.mapping.LifecycleMappingwinexe.
> To reproduce:
> 1. Create a project in Visual Studio from the Windows Application template
> 2. Right-click on the project and Import Project with the VS Addin
> 3. Right-click and Maven Phase -> Install to build
> "The compiler target arguments will be different for Console Applications (exe) and Windows Forms applications (winexe).
> "When I changed the packaginig type to exe and buid it using NMaven, it produces a console application. It is not really windows forms application. It is executed as console application which in turn opens the windows forms. You can see a console window behind the windows form. "
> has to do something with the nmaven compiler plugin
> * the compiler plugin only knows 2 types of packaging for dotnet, 1 is library and 2 is exe
> * the compiler plugin should be able to support winexe packaging type
> * exe means it is a console base executable for windows
> * winexe means it is a GUI based executable application
> * the two executable type differs in the way they are rendered to an executable
> * winexe uses WINAPI int WinMain() entry point
> * while exe uses void main()
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira