[ant-contrib - Help] RE: cc outfile not consistant
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.ant-contrib.devel |
|---|---|
| Message-ID | <[email protected]> |
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4302628 By: darius42 I like the platform abstraction that CC tasks provides around naming outfiles, however I've run into similar issues to what Mike's seeing, with not knowing what filename was eventually created. This is particularly troublesome if I want to specify the result file in a fileset so that it can be copied to some other location. I can think of two options that could help address this: 1) Provide an attribute on <cc> indicating whether you want dynamic outfile creation. This would provide an out for users who want to explicitly control the name, and might want to violate the convention for that platform. They will lose some amount of portability, however they could probably compensate for that in their own infrastructure if necessary. 2) Provde an attribute on <cc> indicating the name of a property that will be set with the expanded outfile name. This won't give users control over the name, but will allow users to write portable code, and still provide them with the information necessary to do post-processing work on the result files. These aren't mutually exclusive so both *could* be implemented. Are there any inclinations on which would be more useful, or at least more in line with the design goals for CC-tasks? David. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=113701 ------------------------------------------------------------------------- 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/