Matt, We do a large build consisting of about the same number of
individual projects as you mention (class libraries, communication libraries,
windows forms applications, background service applications, and asp.net
applications (web services and web apps). All we do is nest things in the directory layout then have
higher level build files that descend down into lower level build files, e.g. <!-- - 'build' Target --> <target name="build" description="compiles the source code"> <nant failonerror="false"
buildfile="./objectLibrary1/build.build" target="build"/> <nant failonerror="false"
buildfile="./objectLibrary2/build.build" target="build"/> <nant failonerror="false"
buildfile="./objectLibrary3/build.build" target="build"/> <nant failonerror="false"
buildfile="./objectLibrary4/build.build" target="build"/> <nant failonerror="false"
buildfile="./objectLibrary5/build.build" target="build"/> <nant failonerror="false"
buildfile="./objectLibrary6/build.build" target="build"/> <nant failonerror="false"
buildfile="./objectLibrary7/build.build" target="build"/> <nant failonerror="false"
buildfile="./webApp1/build.build" target="build"/> </target> The only thing I am not totally sure about how I want to run
things is the failonerror setting. If you put true and one project fails, the
whole build stops at that point. If you put false (like I show here), then
other independent projects will still build even if some other project fails to
build. We’re still in the middle of integrating this with Cruise Control
.Net, so that will probably be the tie-breaker… whichever way works best
with CC.Net. If you decide you like the failonerror=true setting, then
you can do the same thing above within a single <nant> block. See the
documentation on the <nant> block for details. Brad From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Payne, Matt Hi,
I'm
looking for a bit of advice about how best to go about compiling a large VB.Net
solution that contains 15 class library projects and one ASP.Net project. Most
of the 15 libraries are interdependent to some degree. I
don't see a whole lot of tutorials for putting together an Nant build file for
something with this amount of complexity. I'm wondering of anyone has links or
could recommend a good approach/starting point. Thanks,
|
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users