incubator-nmaven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (NMAVEN-155) NMaven is unable to build VB project with Visual Studio project structure
Date Tue, 01 Jul 2008 02:56:27 GMT

    [ http://jira.codehaus.org/browse/NMAVEN-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140027#action_140027
] 

Brett Porter commented on NMAVEN-155:
-------------------------------------

this replaces the entire files again - is it possible that you're having line ending troubles?

> NMaven is unable to build VB project with Visual Studio project structure
> -------------------------------------------------------------------------
>
>                 Key: NMAVEN-155
>                 URL: http://jira.codehaus.org/browse/NMAVEN-155
>             Project: NMaven
>          Issue Type: Bug
>    Affects Versions: 0.14 (Unreleased)
>            Reporter: Leopoldo Agdeppa III
>         Attachments: FixPatch.patch
>
>
> I created a simple multi-module project with Visual Studio, and checked it into the examples
area as MyVBSolution.
> To reproduce, check out MyVBSolution, import it to generate the poms, and attempt to
build it with NMaven.
> It builds fine using F6 in Visual Studio, but Maven Phase -> Install produces the
following error.
> NExecuting Maven Command: C:\Program Files\maven-2.0.5-maestro-1.3\bin\mvn.bat install
> ...
> [INFO] [compile:initialize]
> [INFO] Mojo Execution Time = 750
> [INFO] [resolver:resolve]
> [INFO] Mojo Execution Time = 0
> [INFO] [NMaven.Plugin.Settings.JavaBinding:generate-settings]
> [INFO] [compile:generate-assembly-info]
> [INFO] NMAVEN-902-001: Found AssemblyInfo file(s), so will not generate one
> [INFO] [compile:process-sources]
> [INFO] NMAVEN-904-002: Copying source files: From = C:\svn\aedc-build-pilot\examples\MyVBSolution\MyVBProject\.,
 To = C:\svn\aedc-build-pilot\examples\MyVBSolution\MyVBProject\target/build-sources, File
Count = 5
> [INFO] [compile:process-test-sources]
> [INFO] NMAVEN-905-001: No test source files to copy
> [INFO] [resgen:copy-resources]
> [INFO] [resgen:generate]
> [INFO] [resgen:generate-existing-resx-to-resource]
> [INFO] [compile:compile]
> [INFO] NMAVEN-066-013: Found Vendor = Vendor = MICROSOFT, Vendor Version = 2.0.50727,
Framework Version = 2.0.50727, Executable Paths = [C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727]
> [INFO] NMAVEN-068-003: Compiling Artifact: Vendor = MICROSOFT, Language = MICROSOFT,
Assembly Name = C:\svn\aedc-build-pilot\examples\MyVBSolution\MyVBProject\target\MyVBProject.exe
> [INFO] NMAVEN-060-000: Ignoring unknown command: Command = /nologo
> Microsoft (R) Visual Basic Compiler version 8.0.50727.42
> for Microsoft (R) .NET Framework version 2.0.50727.42
> Copyright (c) Microsoft Corporation.  All rights reserved.
> C:\svn\aedc-build-pilot\examples\MyVBSolution\MyVBProject\target\build-sources\My Project\Settings.Designer.vb(67)
: error BC30002: Type 'MyVBProject.My.MySettings' is not defined.
>         Friend ReadOnly Property Settings() As Global.MyVBProject.My.MySettings
>                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> C:\svn\aedc-build-pilot\examples\MyVBSolution\MyVBProject\target\build-sources\My Project\Settings.Designer.vb(69)
: error BC30456: 'MyVBProject' is not a member of '<Default>'.
>                 Return Global.MyVBProject.My.MySettings.Default
>                        ~~~~~~~~~~~~~~~~~~                      
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] NMAVEN-900-006: Unable to Compile: Language = VB, Vendor = null, ArtifactType
= exe, Source Directory = C:\svn\aedc-build-pilot\examples\MyVBSolution\MyVBProject\.
> Embedded error: NMAVEN-040-001: Could not execute: Command = vbc /out:C:\svn\aedc-build-pilot\examples\MyVBSolution\MyVBProject\target\MyVBProject.exe
/target:exe /recurse:C:\svn\aedc-build-pilot\examples\MyVBSolution\MyVBProject\target\build-sources\**
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.xml.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.dll
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.deployment.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\system.data.dll
/warnaserror- /doc:C:\svn\aedc-build-pilot\examples\MyVBSolution\MyVBProject\target\comments.xml,
Result = 1
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 36 seconds
> [INFO] Finished at: Mon Jun 23 11:31:38 MST 2008
> [INFO] Final Memory: 8M/17M
> [INFO] ------------------------------------------------------------------------
> This has something to do with ProjectImporter
>     * the project importer should include the vbproj value of RootNamespace and use it
in the compilers-plugins plugin/configuration/rootNameSpace
>     * it should also be include the vbproj value of StartupObject and include it in the
compilers-plugins plugin/configuration/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