Bugs item #1019986, was opened at 2004-08-31 22:43
Message generated for change (Comment added) made by drieseng
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1019986&group_id=31650
Category: Tasks
>Group: cvs
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: David Chu (chudq)
>Assigned to: Gert Driesen (drieseng)
Summary: task rc always to build res file
Initial Comment:
The task rc always builds res file even the resource
file is most updated one. It does work like cl that
only builds obj files if obj files are not updated yet.
----------------------------------------------------------------------
>Comment By: Gert Driesen (drieseng)
Date: 2004-09-01 20:23
Message:
Logged In: YES
user_id=707851
David,
This is now fixed in cvs. However, we only check whether the
output file is already up-to-date if you explicitly specify the
output file using the "output" attribute (which I'd recommend
anyway).
In your case, your build fragment should look like this :
<property name="rc_files" value=".\myLib.rc" />
<property name="res_file"
value=".\..\..\intermediateFiles\myLib.res" />
<property name="TARGET.compile_to_res.options" value="/d
"NDEBUG" /d "RELEASE_BUILD" /l
0x409" />
<target name="compile_to_res" description="compiles resource
files to res files." >
<rc rcfile="${rc_files}" output="${res_file}"
options="${TARGET.compile_to_res.options}" />
</target>
I'll upload a new nightly build later today ... I hope ...
----------------------------------------------------------------------
Comment By: David Chu (chudq)
Date: 2004-09-01 16:40
Message:
Logged In: YES
user_id=921577
Here is an example (rc file could be any valid rc file):
<property name="rc_files" value=".\myLib.rc" />
<property name="res_file"
value=".\..\..\intermediateFiles\myLib.res" />
<property name="TARGET.compile_to_res.options" value='/d
"NDEBUG" /d "RELEASE_BUILD" /l 0x409 /fo"${res_file}"' />
<target name="compile_to_res" description="compiles resource
files to res files." >
<rc rcfile="${rc_files}"
options='${TARGET.compile_to_res.options}' />
</target>
----------------------------------------------------------------------
Comment By: Gert Driesen (drieseng)
Date: 2004-09-01 16:30
Message:
Logged In: YES
user_id=707851
David,
Can you attach a small repro to this bug report ? That way
we can add this to our set of test projects, and avoid
regressions in the future.
Thanks !
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1019986&group_id=31650
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers