Bugs item #1169900, was opened at 2005-03-24 15:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1169900&group_id=31650
Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthias Jentsch (jentschi)
Assigned to: Nobody/Anonymous (nobody)
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1169900&group_id=31650
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
nant-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-developers