Simplify setup_win32*.bat ?
Annick et Jean-Philippe <[email protected]>
| Newsgroups | gmane.games.torcs.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, all. Is there any reason for setup_win32.bat and setup_win32_debug.bat being nearly the exact copy one of the other ? Same question about setup_win32-data-from-CVS.bat and setup_win32-data-from-CVS_debug.bat ? Last, is there any reason for having so much redundant lines in these files ? I suppose the answer to these 3 question is : they were generated automatically ... But may be there is another reason ... I propose to change them in the following ways, in order so make maintenance simpler, quicker and less error-prone : - make the _debug version call the non debug one with a string parameter whose value would be "runtimed" (of course, "runtime" by default) - eliminate useless lines - have exactly one instance of each file name to copy in each .bat file (and not 3, like now). Do you have any objection, better suggestion ? Cheers, Jean-Philippe. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone