incubator-nmaven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marecor Baclay (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (NMAVEN-222) Build Error installing web applications with vb project after project importing
Date Tue, 14 Oct 2008 08:15:51 GMT
Build Error installing web applications with vb project after project importing
-------------------------------------------------------------------------------

                 Key: NMAVEN-222
                 URL: http://jira.codehaus.org/browse/NMAVEN-222
             Project: NMaven
          Issue Type: Bug
    Affects Versions: 0.14 (Unreleased)
         Environment: Visual Studio 2005
            Reporter: Marecor Baclay


Steps to replicate:

1. Execute Maven Phase > All Projects: Install with NMaven.WebApplication_WithVBProject
(Build must be successful)
2. Delete pom.xml files of the project
3. Generate new pom.xml files with the use of NMaven: Import Project
4. Change the group ID of the dependency of NMaven.WebApplication_WithVBProject\pom.xml file
that would be the same of the parent tag group ID.
5. Execute Maven Phase > All Projects: Clean
6. Execute Maven Phase > All Projects: Install

OUTPUT:

------------------------------------------------------------------
Executing Maven
Pom File: C:\Documents and Settings\user\Desktop\nmaven samples\NMaven.WebApplication_WithVBProject\parent-pom.xml
Goal: install
Arguments: install -f"parent-pom.xml"
NMaven Command: E:\maestro-1.7.2\maven\bin\mvn.bat install -f"parent-pom.xml"


------------------------------------------------------------------


[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Exist.NMaven.WebApplication_WithVBProject : NMaven.WebApplication_WithVBProject-parent
[INFO]   Exist.NMaven.WebApplication_WithVBProject : MyLibrary
[INFO]   Exist.NMaven.WebApplication_WithVBProject : NMaven.WebApplication_WithVBProject
[INFO] ------------------------------------------------------------------------
[INFO] Building Exist.NMaven.WebApplication_WithVBProject : NMaven.WebApplication_WithVBProject-parent
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing C:\Documents and Settings\user\Desktop\nmaven samples\NMaven.WebApplication_WithVBProject\parent-pom.xml
to C:\Documents and Settings\user\.m2\repository\Exist\NMaven\WebApplication_WithVBProject\NMaven.WebApplication_WithVBProject-parent\1.0-SNAPSHOT\NMaven.WebApplication_WithVBProject-parent-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Exist.NMaven.WebApplication_WithVBProject : MyLibrary
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [compile:initialize]
[INFO] Mojo Execution Time = 125
[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:\Documents and Settings\user\Desktop\nmaven
samples\NMaven.WebApplication_WithVBProject\MyLibrary,  To = C:\Documents and Settings\user\Desktop\nmaven
samples\NMaven.WebApplication_WithVBProject\MyLibrary\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-900-007: Project pom has changed. Forcing a recompile.
[INFO] NMAVEN-068-003: Compiling Artifact: Vendor = MICROSOFT, Language = MICROSOFT, Assembly
Name = C:\Documents and Settings\user\Desktop\nmaven samples\NMaven.WebApplication_WithVBProject\MyLibrary\target\MyLibrary.dll
C:\Documents and Settings\user\Desktop\nmaven samples\NMaven.WebApplication_WithVBProject\MyLibrary\Class1.vb(4)
: warning BC42021: Function without an 'As' clause; return type of Object assumed.
    Public Function CurrentDay()
                    ~~~~~~~~~~  
[INFO] NMAVEN-900-004: Compile Time = 359 ms
[INFO] Mojo Execution Time = 391
[INFO] [compile:testCompile]
[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-002: No source files to compile.
[INFO] NMAVEN-900-004: Compile Time = 0 ms
[INFO] Mojo Execution Time = 0
[INFO] [test:test]
[INFO] NMAVEN-1100-001: No Unit Tests
[INFO] [install:install]
[INFO] NMAVEN-001-007: Installing file into repository: File = C:\Documents and Settings\user\Desktop\nmaven
samples\NMaven.WebApplication_WithVBProject\MyLibrary\target\MyLibrary.dll, Dest File = C:\Documents
and Settings\user\.m2\uac\gac_msil\MyLibrary\1.0-SNAPSHOT__Exist.NMaven.WebApplication_WithVBProject\MyLibrary.dll
[INFO] Mojo Execution Time = 109
[INFO] ------------------------------------------------------------------------
[INFO] Building Exist.NMaven.WebApplication_WithVBProject : NMaven.WebApplication_WithVBProject
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [compile:initialize]
[INFO] Mojo Execution Time = 140
[INFO] [resolver:resolve]
[INFO] Mojo Execution Time = 0
[INFO] [NMaven.Plugin.Settings.JavaBinding:generate-settings]
[INFO] [aspx:copy-dependency]
[INFO] NMAVEN-000-0000: copying C:\Documents and Settings\user\.m2\uac\gac_msil\MyLibrary\1.0-SNAPSHOT__Exist.NMaven.WebApplication_WithVBProject\MyLibrary.dll
, to C:\Documents and Settings\user\Desktop\nmaven samples\NMaven.WebApplication_WithVBProject\Bin
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] NMAVEN-000-0000: Error copying dependency Exist.NMaven.WebApplication_WithVBProject:MyLibrary:library:1.0-SNAPSHOT:compile
Embedded error: C:\Documents and Settings\user\Desktop\nmaven samples\NMaven.WebApplication_WithVBProject\Bin\MyLibrary.dll
*(The process cannot access the file because it is being used by another process)*
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25 seconds
[INFO] Finished at: Tue Oct 14 16:04:48 CST 2008
[INFO] Final Memory: 17M/36M
[INFO] ------------------------------------------------------------------------
NMaven Execution Failed!!!, with exit code: 1


Restarting VS then executing Maven Phase > All Projects: Install again will build the project
successfully.

-- 
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