
Ladislav Slezak wrote:
It's possible to redefine a task, but it's not simple, see e.g. http://blog.jayfields.com/2008/02/rake-task-overwriting.html or http://snippets.dzone.com/posts/show/2032
Or we could use another approach, including of the predefined tasks is done by this code (which must be in every plugin): Dir["/srv/www/yastws/lib/tasks/webservice/*.rake"].each { |ext| load ext } We could simply add an 'if' statement into the block and skip (not load) the unwanted tasks without need to redefine them later... This is a better solution. -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org