[Mono-bugs] [Bug 71949][Cri] New - al does not support response files (@filename)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 29 Jan 2005 13:15:11 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by giuseppe.greco@agamura.com.

http://bugzilla.ximian.com/show_bug.cgi?id=71949

--- shadow/71949	2005-01-29 13:15:11.000000000 -0500
+++ shadow/71949.tmp.30062	2005-01-29 13:15:11.000000000 -0500
@@ -0,0 +1,80 @@
+Bug#: 71949
+Product: Mono: Tools
+Version: 1.0
+OS: 
+OS Details: Fedora Core 3
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: tools
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: giuseppe.greco@agamura.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: al does not support response files (@filename)
+
+The mono linker (al.exe) does not support response files (@filename) and
+this causes NAnt to fail.
+
+Step to reproduce the problem:
+
+
+1. Download NAnt and install it
+
+   1.1 cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nant co nant
+   1.2 cd nant
+   1.3 make install
+
+
+2. Create a resource file named Test.en-US.resx like this:
+
+   <?xml version="1.0" encoding="ISO-8859-1"?>
+   <root>
+     <data name="String_Test">
+       <value>Test.</value>
+     </data>
+     <resheader name="ResMimeType">
+       <value>text/microsoft-resx</value>
+     </resheader>
+     <resheader name="Version">
+       <value>0.2</value>
+     </resheader>
+     <resheader name="Reader">
+       <value>System.Resources.ResXResourceReader</value>
+     </resheader>
+     <resheader name="Writer">
+       <value>System.Resources.ResXResourceWriter</value>
+     </resheader>
+   </root>
+
+
+3. Create a build file named default.build like this:
+
+   <?xml version="1.0"?>
+   <project name="test" default="build">
+     <target
+       name="build"
+       description="Builds resource binaries">
+       <resgen
+         input="Test.en-US.resx"
+         output="en-US/Test.en-US.resources" />
+       <al
+         target="library"
+         output="en-US/Test.resources.dll"
+         culture="en-US">
+         <sources basedir="en-US">
+           <include name="*.resources" />
+         </sources>
+       </al>
+     </target>
+   </project>
+
+
+4. Try to generate the resource dll:
+
+   nant
+
+Additional information on how to build projects with NAnt
+is available at http://developer.agamura.com/technotes.html.