incubator-nmaven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leopoldo Agdeppa III (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (NMAVEN-165) Support for Windows Application type projects
Date Fri, 04 Jul 2008 11:04:26 GMT
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
         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

        

Mime
View raw message