Bugs item #1415272, was opened at 2006-01-26 10:38
Message generated for change (Comment added) made by drieseng
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: 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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to