[Mono-bugs] [Bug 498154] New: Xbuild does not recognize **-Wildcard

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Apr 24 14:45:22 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=498154


           Summary: Xbuild does not recognize **-Wildcard
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Ms.Build
        AssignedTo: marek.sieradzki at gmail.com
        ReportedBy: novell at depon.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=288130)
 --> (http://bugzilla.novell.com/attachment.cgi?id=288130)
Proposal for patch

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.9)
Gecko/2009042114 Ubuntu/9.04 (jaunty) Firefox/3.0.9

The DirectoryScanner in xbuild does not recognize the **-wildcard and does not
add the files in current directory to the internal TaskItem list. 

A patch suggestion is added. 



Reproducible: Always

Steps to Reproduce:
1. Create file a.cs and directory/d.cs
2. Create msbuild-xml with 
  <ItemGroup>
    <CSFile Include="**/*.cs" />
  </ItemGroup>

3. Look how a.cs is not compiled
Actual Results:  
Files in current directory are not added to internal TaskItemList

Expected Results:  
Files have to be added

I could not get nunit working... 
If you have a small description how to use nunit, I'll verify my proposal.

mbrenn at dingo:~/Desktop/Mono/mono-2.4/mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine$
nunit-console Microsoft.Build.Engine_test_net_2_0.dll
NUnit version 2.4.8
Copyright (C) 2002-2007 Charlie Poole.
Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov.
Copyright (C) 2000-2002 Philip Craig.
All Rights Reserved.

Runtime Environment - 
   OS Version: Unix 2.6.28.11
  CLR Version: 1.1.4322.2032 ( Mono 2.4 )

File or assembly name
/home/mbrenn/Desktop/Mono/mono-2.4/mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/Microsoft.Build.Engine_test_net_2_0.dll,
or one of its dependencies, was not found.

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


More information about the mono-bugs mailing list