Personal tools
You are here: Home ブログ nagai Comments
« December 2008 »
Su Mo Tu We Th Fr Sa
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Recent comments
Re:Gant 基本 nagai 2008-01-01
Re:Gant 基本 inoue 2007-12-31
 
Document Actions

Comments

Up one level
Re:Gant 基本 by nagai — last modified 2008-01-01 03:25
そうですね、確かに違和感はあります。
僕としては名前付きパラメタでよかったのではないかと思っています。
target(
name : "taskX",
description : "...",
depends : "taskA, taskB") {
...
}
Re:Gant 基本 by inoue — last modified 2007-12-31 18:53
> depends("prepareSomething")

これが格好悪いです。この手のツールでは、タスク間の依存関係の記述が最も重要です。それが宣言的に書けないのは、makeより退化している気がします。

rakeを見ると(参考: http://www2s.biglobe.ne.jp/~idesaku/sss/tech/rake/)、うまくやっています。

groovyはrubyに似ているようなので、taskA,taskBに依存するtaskXの定義は次のように書けても良いと思います。

> target([taskX:[taskA,taskB]])

Copyright(C) 2001 - 2006 Ariel Networks, Inc. All rights reserved.