[ 
http://jira.codehaus.org/browse/NMAVEN-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex updated NMAVEN-1:
----------------------

    Attachment: nmaven1Patch20070210.patch

This is my first patch submission, so be gentle if I've inadvertently violated 
patch submission etiquette.  It appears that the 1.1 compiler was unable to 
process the nmavenSettings.cs file because it contains partial classes.  To 
remove the partial classes, I regenerated nmavenSettings.cs with the xsd.exe 
utility associated with the 1.1 SDK.  The only other change I made was 
replacing the Single.TryParse method with a Single.Parse method in 
SettingsGenerator.cs because the TryParse is not 1.1 compatible.  I ran the 
bootstrap-build.bat file successfully with both the 1.1 compiler and the 2.0 
compiler.

Alex

> Failed to build plugins wtih csc 1.1.4322 (Microsoft)
> -----------------------------------------------------
>
>                 Key: NMAVEN-1
>                 URL: http://jira.codehaus.org/browse/NMAVEN-1
>             Project: NMaven
>          Issue Type: Bug
>         Environment: Microsoft .NET Framework 1.1.4322
>            Reporter: Shane Isbell
>            Priority: Minor
>         Attachments: nmaven1Patch20070210.patch
>
>
> This issue was submitted by Christophe Lallement  on sf.net:
> ------
> i have this error when building nmaven-utility-settings
> i suppose it's because this sources is 2.0 compatible ?
> [INFO] task-segment: [install]
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] [compile:initialize]
> [INFO] [resolver:resolve]
> [INFO] [settings:generate-settings]
> [INFO] [compile:generate-assembly-info]
> [INFO] NMAVEN-902-000: Generating Assembly Info: Language = C_SHARP
> [INFO] [compile:process-sources]
> [INFO] NMAVEN-904-002: Copying source files: From = 
> C:\HOMEWARE\csharp\nmaven-plugins-0.13\scripts\..\nmaven-utility-settings\src\
> main\csharp, To = 
> C:\HOMEWARE\csharp\nmaven-plugins-0.13\scripts\..\nmaven-utility-settings\target\build-sources
> [INFO] [compile:process-test-sources]
> [INFO] NMAVEN-905-002: Copying test source files: From = 
> C:\HOMEWARE\csharp\nmaven-plugins-0.13\scripts\..\nmaven-utility-settings
> \src\test\csharp, To = 
> C:\HOMEWARE\csharp\nmaven-plugins-0.13\scripts\..\nmaven-utility-settings\target\build-test-sources
> [INFO] [resgen:copy-resources]
> [INFO] [resgen:generate]
> [INFO] [compile:compile]
> [INFO] NMAVEN-066-012: Found Vendor = Vendor = MICROSOFT, Vendor Version = 
> 1.1.4322, Framework Version = 1.1.4322, Executable Path
> =
> [INFO] NMAVEN-068-003: Compiling Artifact: Vendor = MICROSOFT, Language = 
> MICROSOFT, Assembly Name = C:\HOMEWARE\csharp\nmaven-plu
> gins-0.13\scripts\..\nmaven-utility-settings\target\SettingsGenerator.exe
> c:\HOMEWARE\csharp\nmaven-plugins-0.13\nmaven-utility-settings\target\build-sources\nmavenSettings.cs(24,8):
>  error CS1518: Expecte
> d class, delegate, enum, interface, or struct
> c:\HOMEWARE\csharp\nmaven-plugins-0.13\nmaven-utility-settings\target\build-sources\nmavenSettings.cs(85,8):
>  error CS1518: Expecte
> d class, delegate, enum, interface, or struct
> c:\HOMEWARE\csharp\nmaven-plugins-0.13\nmaven-utility-settings\target\build-sources\nmavenSettings.cs(132,8):
>  error CS1518: Expect
> ed class, delegate, enum, interface, or struct
> c:\HOMEWARE\csharp\nmaven-plugins-0.13\nmaven-utility-settings\target\build-sources\nmavenSettings.cs(193,8):
>  error CS1518: Expect
> ed class, delegate, enum, interface, or struct
> c:\HOMEWARE\csharp\nmaven-plugins-0.13\nmaven-utility-settings\target\build-sources\nmavenSettings.cs(228,8):
>  error CS1518: Expect
> ed class, delegate, enum, interface, or struct
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] NMAVEN-900-004: Unable to Compile: Language = C_SHARP, Vendor = null, 
> ArtifactType = exe, Source Directory = C:\HOMEWARE\cs
> harp\nmaven-plugins-0.13\scripts\..\nmaven-utility-settings\src\main\csharp
> Embedded error: NMAVEN-040-001: Could not execute: Command = csc 
> /out:C:\HOMEWARE\csharp\nmaven-plugins-0.13\scripts\..\nmaven-uti
> lity-settings\target\SettingsGenerator.exe /target:exe 
> /recurse:C:\HOMEWARE\csharp\nmaven-plugins-0.13\scripts\..\nmaven-utility-s
> ettings\target\build-sources\** 
> /reference:C:\HOMEWARE\maven-2_local\org\nunit\nunit.framework\2.2.8.0\nunit.framework.dll
>  /nologo
> /warnaserror-, Result = 1
> [INFO] 
> ------------------------------------------------------------------------ 

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

        

Reply via email to