Bugs item #1169900, was opened at 2005-03-24 15:22 Message generated for change (Comment added) made by drieseng You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1169900&group_id=31650
Category: Tasks Group: 0.85 >Status: Closed >Resolution: Invalid Priority: 5 Submitted By: Matthias Jentsch (jentschi) >Assigned to: Gert Driesen (drieseng) Summary: solution/nant-task succeeded but can't find a project/buildf Initial Comment: I'm using NAnt 0.85 (Build 0.85.1892.0; nightly; 07.03.2005) Try the following buildfile without a NoProject.vcproj file: <?xml version="1.0"?> <project name="Test" default="build" basedir="."> <target name="build" description="Build aller Assemblys"> <solution configuration="Masterbuild" verbose="true"> <projects> <include name="NoProject.vcproj" /> </projects> </solution> </target> </project> The build succeeded! I think when the projectfile does not exists the build must fail. Why succeed the build when the projectfile does not exists? When I try the following: <?xml version="1.0"?> <project name="Test" default="build" basedir="."> <target name="build" description="Build aller Assemblys"> <nant target="buildProject" inheritall="true" > <buildfiles> <include name="NotExisting.build" /> </buildfiles> </nant> </target> </project> and have no "NotExisting.build" file the build also succeeded (But shows me a little warning: "[nant] No matching build files found to run.") I think in this case the build should also fail. ---------------------------------------------------------------------- >Comment By: Gert Driesen (drieseng) Date: 2005-03-24 19:54 Message: Logged In: YES user_id=707851 A FileSet element (which is what used here) cannot be used to specify a fixed set of files. It's used for pattern matching too, so we can't just throw an exception when a certain file does not exist. It would've been an option to do this from the start for includes that contain no wildcards, but changing this behaviour right now would break backward compatibility. I hope you understand. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1169900&group_id=31650 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers