[Mono-bugs] [Bug 547753] New: ItemGroups seem to get corrupted/truncated after using the CallTarget task within a target
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Oct 16 16:43:25 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=547753
Summary: ItemGroups seem to get corrupted/truncated after using
the CallTarget task within a target
Classification: Mono
Product: Mono: Tools
Version: SVN
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: P5 - None
Component: xbuild
AssignedTo: jankit at novell.com
ReportedBy: abauer at embarcadero.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=322937)
--> (http://bugzilla.novell.com/attachment.cgi?id=322937)
Test case.
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.3)
Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
In the attached example, the processing of the project file is clearly
different from MSBuild. After executing the CallTarget task, references to the
item groups from subsequent tasks are corrupted. By commenting out the
CallTarget task in the cheaders target, the cimpls target will execute
properly. The attached example executes properly using MSBuild and MS .NET
Reproducible: Always
Steps to Reproduce:
1.unzip the attachment to an empty directory.
2.execute xbuild test.proj (or MSBuild if testing with MS .NET)
Actual Results:
XBuild output:
XBuild Engine Version 2.7.0.0
Mono, Version 2.7.0.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2009.
Build started 10/16/2009 1:26:38 PM.
__________________________________________________
Project "/Users/zzyzyx/xbuild_bug/test.proj" (default target(s)):
Target makedir:
Created directory "lib"
Target cheaders:
Target cheader_header1:
Executing: cp -f -p header1.h lib/header1.hb
Target cheaders:
Executing: cp -f -p header2.h lib/header2.hb
Target cheaders:
Executing: cp -f -p header3.h lib/header3.hb
Target cheaders:
Executing: cp -f -p header4.h lib/header4.hb
Target cheaders:
Executing: cp -f -p header5.h lib/header5.hb
Target cimpls:
Executing: cp -f -p header2.h lib/header2.cppb
Done building project "/Users/zzyzyx/xbuild_bug/test.proj".
Build succeeded.
0 Warning(s)
0 Error(s)
Expected Results:
MSBuild Output:
Microsoft (R) Build Engine Version 2.0.50727.4927
[Microsoft .NET Framework, Version 2.0.50727.4927]
Copyright (C) Microsoft Corporation 2005. All rights reserved.
Build started 10/16/2009 1:36:20 PM.
__________________________________________________
Project "C:\builds\xbuild_test\test.proj" (default targets):
Target makedir:
Creating directory "lib".
Target cheaders:
Target cheader_header1:
copy header1.h lib\header1.hb
1 file(s) copied.
Target cheaders:
copy header2.h lib\header2.hb
1 file(s) copied.
Target cheaders:
copy header3.h lib\header3.hb
1 file(s) copied.
Target cheaders:
copy header4.h lib\header4.hb
1 file(s) copied.
Target cheaders:
copy header5.h lib\header5.hb
1 file(s) copied.
Target cimpls:
copy header1.h lib\header1.cppb
1 file(s) copied.
Target cimpls:
copy header2.h lib\header2.cppb
1 file(s) copied.
Target cimpls:
copy header3.h lib\header3.cppb
1 file(s) copied.
Target cimpls:
copy header4.h lib\header4.cppb
1 file(s) copied.
Target cimpls:
copy header5.h lib\header5.cppb
1 file(s) copied.
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.51
--
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