File: Query.tjp

package info (click to toggle)
tj3 3.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,048 kB
  • sloc: ruby: 36,481; javascript: 1,113; sh: 19; makefile: 17
file content (28 lines) | stat: -rw-r--r-- 696 bytes parent folder | download | duplicates (4)
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
project query "Query Test" 2009-11-08 +1m 
  copyright "The Gang"

resource foo "Foo"

task bar "Bar" {
  effort 1w
  allocate foo 
}

textreport "Query" {
  formats html
  center -8<-
    * Copyright: <-query attribute="copyright"->
    * Currency: <-query attribute="currency"->
    * End: <-query attribute="end"->
    * Name: <-query attribute="name"->
    * Now: <-query attribute="now"->
    * Project ID: <-query attribute="projectid"->
    * Start: <-query attribute="start"->
    * Version: <-query attribute="version"->

    The task <-query family="task" property="bar"
    attribute="name"-> has an effort of
    <-query family="task" property="bar" attribute="effort"->.
    ->8-
}