Dear all,
I have a master build file with major targets. There are X targets: build,
clean, rebuild, register....
Supposed I have Y project, to be build. Y-1 of them are build using ms_build
and one using my_own.exe
clean, rebuild, register ... also differs a bit for some of projects. For
example, register should register a help collection for help project, and
assembly using regasm by .NET project und COM object by COM project.

So I need in the build file of a particular project an ability to overload
some targets, to be different from the master file.

My idea is an attribute like "replaces", which would allow such overloading.
<target name="my_build" replaces="build">

What do you think? Does it make sense? Have somebody also had need to
overload targets?
Please give a feedback.

May be I would like to implement a prototype of this, if the nant committee
(or who ever manages nant development) think that it would be useful. So far
I have not looked into nant internals. So I would also appreciate a
suggestions, where I would need to start with this.
Thanks a lot,
Boni

P.S. currently I simulate this behavior using different includes, but it is
ugly and not flexible enough.



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to