Bugs item #1415272, was opened at 2006-01-26 10:38 Message generated for change (Comment added) made by jawn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1415272&group_id=31650
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Tasks Group: cvs Status: Open Resolution: None Priority: 5 Submitted By: Bernard Vander Beken (jawn) Assigned to: Nobody/Anonymous (nobody) Summary: ResGen issue with long paths if assembly references used Initial Comment: Related issue: 1153724. Issue: - The resgen task already batches multiple resgen.exe calls when the command line is too long (around 30000), however the assembly references are not taken into account to determine this length. When the command line without assembly references is just less than the limit, this may cause problems anyway. Context - Discovered by using solution task to build a VS2003 web project on .NET 2.0. - Can be reproduced using just the resgen task. Attached: - Sample build files, must be unzipped to directory 'C:\testLongDirNametestLongDirNametestLongDirNametestLongDirNametestLongDirNametestLongDirNametestLongDirNametestLongDi' or a directory name with the same length to reproduce the problem. The build file resgenNoAssemblyRefWORKS.build and resgenWithAssemblyRefBROKEN.build do the same, except for assembly references. - Note that both the contenst of the assemblies and resx files do not matter here. ---------------------------------------------------------------------- >Comment By: Bernard Vander Beken (jawn) Date: 2006-09-29 19:36 Message: Logged In: YES user_id=25244 I sent a mail about it in February, it most have vanished into thin air. The repro is available at http://jawn.net/resgenissue.zip To be used with: <?xml version="1.0"?> <project name="ResGen command line limit example" default="rebuild"> <target name="clean" description="remove all generated files"> <delete> <fileset> <include name="output/**" /> </fileset> </delete> </target> <target name="build"> <resgen todir="output"> <assemblies> <include name="assemblies/*.dll" /> </assemblies> <resources> <include name="resx/*.resx" /> </resources> </resgen> </target> <target name="rebuild" depends="clean, build" /> </project> Best regards, Bernard ---------------------------------------------------------------------- Comment By: Gert Driesen (drieseng) Date: 2006-09-29 19:10 Message: Logged In: YES user_id=707851 I never received a repro for this issue. Can you package up one and attach it (or send it to me by email, [EMAIL PROTECTED]) ? ---------------------------------------------------------------------- Comment By: Akhter (akhter) Date: 2006-09-27 22:54 Message: Logged In: YES user_id=1608185 I am seeing this exact problem--Is there a solution in the nightly builds? I also have a very long assembly path (about 4000 chars) ---------------------------------------------------------------------- Comment By: Gert Driesen (drieseng) Date: 2006-02-07 10:17 Message: Logged In: YES user_id=707851 Bernard, Can you send me the repro (including resx files, and assemblies) by email ([EMAIL PROTECTED]) ? Thanks ! ---------------------------------------------------------------------- Comment By: Bernard Vander Beken (jawn) Date: 2006-01-26 10:42 Message: Logged In: YES user_id=25244 Note: I cannot upload the sample build files since the file size is to large, I can mail it if requested. This is the contenst of the breaking sample: <?xml version="1.0"?> <project name="ResGen command line limit example" default="rebuild"> <target name="clean" description="remove all generated files"> <delete> <fileset> <include name="output/**" /> </fileset> </delete> </target> <target name="build"> <resgen todir="output"> <assemblies> <include name="assemblies/*.dll" /> </assemblies> <resources> <include name="resx/*.resx" /> </resources> </resgen> </target> <target name="rebuild" depends="clean, build" /> </project> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1415272&group_id=31650 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers