We have a big worker NAnt build script that has been, and still is, working just fine when called from the command line directly. (I'm running the 9/8/2004 nightly build.)
For various reasons, we have a second trivial, dynamically generated NAnt script that calls the big worker script. And until recently, that trivial script has apparently been working fine. Now, this trivial script is failing when called by Cruise Control. Now, it appears the trivial script is failing because the worker script it calls is failing. The original trivial script just contains one target that contains one <exec> task which ran NAnt on the worker script. Cruise Control hides the stdout files of the scripts it run, so we changed the <exec> so that it would save its own console output to a file. Here is what we're getting for the execution of the worker script: ------------------------------------------- http://nant.sourceforge.net Duplicate value ' ' for command-line argument '-target'. Try 'nant -help' for more information --------------------------------------------- Note the odd apostrophies across a line break. The sole target (which was also the default target) in the trivial script was named "run" . The default target in the worker script was also "run". I changed the names so there is only one "run" target, but the problem persists. The string "-target" does not exist in either script. I checked the string "target" in the worker script that is failing, and all uses are properly for <target ...> or </target> elements, or in comments. Any idea what the error message is complaining about? Merrill ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
