incubator-nmaven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leopoldo Agdeppa III (JIRA)" <>
Subject [jira] Commented: (NMAVEN-165) Support for Windows Application type projects
Date Tue, 29 Jul 2008 06:28:26 GMT


Leopoldo Agdeppa III commented on NMAVEN-165:

this patch has changes on components/dotnet-core, and components/dotnet-executable and plugins/maven-compile-plugin

> Support for Windows Application type projects
> ---------------------------------------------
>                 Key: NMAVEN-165
>                 URL:
>             Project: NMaven
>          Issue Type: Bug
>          Components: Compiler Plugin (0.14)
>    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] ------------------------------------------------------------------------
> [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:
For more information on JIRA, see:


View raw message