[Mono-bugs] [Bug 480475] New: xbuild does not support batching

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Feb 27 11:06:46 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=480475


           Summary: xbuild does not support batching
    Classification: Mono
           Product: Mono: Tools
           Version: 2.2.x
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: tools
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: spurious.thought at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User


== Description of Problem:

Using the following project file, xbuild does not iterate over each item in the
ItemGroup using msbuild "batching" syntax.


Steps to reproduce the problem:
1. Enter the following project file (see additional information)
2. Execute using xbuild


== Actual Results:

XBuild Engine Version 0.1
Mono, Version 2.2.0.0
Copyright (C) Marek Sieradzki 2005. All rights reserved.

Build started 2/27/2009 7:40:11 AM.
__________________________________________________
Project "/home/curtis/temp/msbuild/test.proj" (default target(s)):

Target ShowMessage:
        Number:  -- Items in ExampColl: Item1;Item2;Item3;Item4;Item5;Item6

Build succeeded.
     0 Warning(s)
     0 Error(s)

Time Elapsed 00:00:00.0287070

== Expected Results:

(Msbuild's output)

Microsoft (R) Build Engine Version 3.5.30729.1
[Microsoft .NET Framework, Version 2.0.50727.3053]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 2/27/2009 7:37:09 AM.
Project "D:\work\FlexEngine\copyBase.proj" on node 0 (default targets).
  Number: 1 -- Items in ExampColl: Item1;Item4
  Number: 2 -- Items in ExampColl: Item2;Item5
  Number: 3 -- Items in ExampColl: Item3;Item6
Done Building Project "D:\work\FlexEngine\copyBase.proj" (default targets).


Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.07

== How often does this happen?

Every time

== Additional Information:
Here is the project file:

<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

    <ItemGroup>
        <ExampColl Include="Item1">
            <Number>1</Number>
        </ExampColl>
        <ExampColl Include="Item2">
            <Number>2</Number>
        </ExampColl>
        <ExampColl Include="Item3">
            <Number>3</Number>
        </ExampColl>
        <ExampColl Include="Item4">
            <Number>1</Number>
        </ExampColl>
        <ExampColl Include="Item5">
            <Number>2</Number>
        </ExampColl>
        <ExampColl Include="Item6">
            <Number>3</Number>
        </ExampColl>
    </ItemGroup>

    <Target Name="ShowMessage">
        <Message
                Text = "Number: %(ExampColl.Number) -- Items in ExampColl:
@(ExampColl)"/>
    </Target>

</Project>

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list