Ranjith chevanan schrieb: > I am actually trying to AUTO generate the NAnt build file. All my > projects are developed using .NET. I know NAnt takes care of > dependencies within a project. > > Please tell me a way so that i can automatically configure the > external dependencies in the build file.. > > depends="A,B,C". I need some way to automate this process.
You got the answer already there :) When you create a traget in a nant-build-script you can specfiy the attribute "depend" which reference other traget this target depends on. At runtime the build-order of the targets is determined of their dependencies. If you take a look at the hello-world example you will see this at the target named "run".
signature.asc
Description: OpenPGP digital signature