Hello all,
I'm trying to create an output file from my nant build file. I would
like it to include two things:
1 ) The contents of an existing file.
2 ) The output of an <echo> task.
This looks like the below:
<concat destfile="${file.OutputFile}" append="true">
<fileset>
<include name="${file.InputFile}"/>
</fileset>
</concat>
<echo append="true" file="${file.OutputFile}">
${string::replace(string::replace(sql.InsertPatchIDRecord,
'@PATCHID@', patchID), '@FILENAME@',file.filepath)}
</echo>
However, the resulting file contains the existing file, but then it
contains several ASCII characters. If I don't do the <concat> or if
i remove the append attribute of the <echo> task, everything works
fine. I'm thinking that the two tasks use different encodings, but I
can't find any properties to control that.
Anyone else ever see this?
Griffin Caprio
312.371.3869
http://blog.1530technologies.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users