taskjuggler 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (443) hide show
  1. data/{tasks/missing.rake → .gemtest} +0 -0
  2. data/CHANGELOG +27 -0
  3. data/Rakefile +8 -9
  4. data/bin/tj3 +2 -1
  5. data/bin/tj3client +2 -1
  6. data/bin/tj3d +2 -1
  7. data/bin/tj3man +2 -1
  8. data/bin/tj3ss_receiver +2 -1
  9. data/bin/tj3ss_sender +2 -1
  10. data/bin/tj3ts_receiver +2 -1
  11. data/bin/tj3ts_sender +2 -1
  12. data/bin/tj3ts_summary +2 -1
  13. data/data/tjp.vim +425 -419
  14. data/examples/Fedora-20/f-20.tjp +2442 -0
  15. data/examples/Fedora-20/icons/fedoralogo.png +0 -0
  16. data/examples/Fedora-20/reports.tji +423 -0
  17. data/lib/header.tmpl +13 -0
  18. data/lib/taskjuggler/AppConfig.rb +5 -0
  19. data/lib/taskjuggler/Attributes.rb +22 -0
  20. data/lib/taskjuggler/Journal.rb +273 -10
  21. data/lib/taskjuggler/Log.rb +9 -8
  22. data/lib/taskjuggler/Project.rb +28 -60
  23. data/lib/taskjuggler/ProjectFileScanner.rb +2 -1
  24. data/lib/taskjuggler/PropertySet.rb +3 -0
  25. data/lib/taskjuggler/PropertyTreeNode.rb +4 -0
  26. data/lib/taskjuggler/Query.rb +2 -1
  27. data/lib/taskjuggler/Resource.rb +0 -103
  28. data/lib/taskjuggler/RichText/RTFQuery.rb +42 -4
  29. data/lib/taskjuggler/SheetHandlerBase.rb +0 -20
  30. data/lib/taskjuggler/SheetReceiver.rb +23 -21
  31. data/lib/taskjuggler/Task.rb +3 -5
  32. data/lib/taskjuggler/TaskJuggler.rb +4 -0
  33. data/lib/taskjuggler/TaskScenario.rb +81 -103
  34. data/lib/taskjuggler/TextParser/Scanner.rb +19 -18
  35. data/lib/taskjuggler/Tj3Config.rb +1 -1
  36. data/lib/taskjuggler/TjpSyntaxRules.rb +180 -45
  37. data/lib/taskjuggler/UTF8String.rb +30 -0
  38. data/lib/taskjuggler/apps/Tj3.rb +1 -1
  39. data/lib/taskjuggler/apps/Tj3Man.rb +54 -2
  40. data/lib/taskjuggler/reports/ICalReport.rb +4 -4
  41. data/lib/taskjuggler/reports/NikuReport.rb +6 -0
  42. data/lib/taskjuggler/reports/Report.rb +5 -5
  43. data/lib/taskjuggler/reports/ReportContext.rb +4 -2
  44. data/lib/taskjuggler/reports/ResourceListRE.rb +10 -1
  45. data/lib/taskjuggler/reports/StatusSheetReport.rb +3 -0
  46. data/lib/taskjuggler/reports/TableReport.rb +8 -3
  47. data/lib/taskjuggler/reports/TimeSheetReport.rb +3 -0
  48. data/lib/updateheader.sh +15 -0
  49. data/manual/Installation +11 -22
  50. data/manual/Software +17 -3
  51. data/manual/html/Day_To_Day_Juggling.html +359 -0
  52. data/manual/html/Getting_Started.html +62 -0
  53. data/manual/html/How_To_Contribute.html +88 -0
  54. data/manual/html/Installation.html +172 -0
  55. data/manual/html/Intro.html +74 -0
  56. data/manual/html/Reporting_Bugs.html +47 -0
  57. data/manual/html/Rich_Text_Attributes.html +174 -0
  58. data/manual/html/Software.html +147 -0
  59. data/manual/html/TaskJuggler_2x_Migration.html +71 -0
  60. data/manual/html/TaskJuggler_Internals.html +61 -0
  61. data/manual/html/The_TaskJuggler_Syntax.html +89 -0
  62. data/manual/html/Tutorial.html +498 -0
  63. data/manual/html/account.html +152 -0
  64. data/manual/html/account.task.html +68 -0
  65. data/manual/html/accountprefix.html +67 -0
  66. data/manual/html/active.html +66 -0
  67. data/manual/html/adopt.task.html +73 -0
  68. data/manual/html/alert level.html +66 -0
  69. data/manual/html/alert.html +66 -0
  70. data/manual/html/allocate.html +92 -0
  71. data/manual/html/alphabet.html +33 -0
  72. data/manual/html/alternative.html +77 -0
  73. data/manual/html/author.html +69 -0
  74. data/manual/html/balance.html +73 -0
  75. data/manual/html/booking.resource.html +122 -0
  76. data/manual/html/booking.task.html +120 -0
  77. data/manual/html/caption.html +96 -0
  78. data/manual/html/cellcolor.column.html +71 -0
  79. data/manual/html/celltext.column.html +68 -0
  80. data/manual/html/center.html +67 -0
  81. data/manual/html/charge.html +89 -0
  82. data/manual/html/chargeset.html +73 -0
  83. data/manual/html/columnid.html +358 -0
  84. data/manual/html/columns.html +73 -0
  85. data/manual/html/complete.html +80 -0
  86. data/manual/html/copyright.html +97 -0
  87. data/manual/html/credit.html +117 -0
  88. data/{benchmarks → manual/html}/css/tjmanual.css +0 -0
  89. data/{benchmarks → manual/html}/css/tjreport.css +0 -0
  90. data/manual/html/currency.html +120 -0
  91. data/manual/html/currencyformat.html +99 -0
  92. data/manual/html/dailymax.html +144 -0
  93. data/manual/html/dailymin.html +132 -0
  94. data/manual/html/dailyworkinghours.html +90 -0
  95. data/manual/html/date.extend.html +77 -0
  96. data/manual/html/date.html +100 -0
  97. data/manual/html/definitions.html +94 -0
  98. data/manual/html/depends.html +110 -0
  99. data/manual/html/details.html +69 -0
  100. data/manual/html/disabled.html +85 -0
  101. data/manual/html/duration.html +133 -0
  102. data/manual/html/efficiency.html +93 -0
  103. data/manual/html/effort.html +134 -0
  104. data/manual/html/email.html +68 -0
  105. data/manual/html/enabled.html +69 -0
  106. data/manual/html/end.column.html +67 -0
  107. data/manual/html/end.html +87 -0
  108. data/manual/html/end.limit.html +69 -0
  109. data/manual/html/end.report.html +99 -0
  110. data/manual/html/end.timesheet.html +94 -0
  111. data/manual/html/endcredit.html +110 -0
  112. data/manual/html/epilog.html +72 -0
  113. data/manual/html/export.html +197 -0
  114. data/manual/html/extend.html +87 -0
  115. data/manual/html/fail.html +69 -0
  116. data/manual/html/fdl.html +430 -0
  117. data/manual/html/flags.account.html +66 -0
  118. data/manual/html/flags.html +66 -0
  119. data/manual/html/flags.journalentry.html +66 -0
  120. data/manual/html/flags.report.html +66 -0
  121. data/manual/html/flags.resource.html +68 -0
  122. data/manual/html/flags.statussheet.html +66 -0
  123. data/manual/html/flags.task.html +68 -0
  124. data/manual/html/flags.timesheet.html +66 -0
  125. data/manual/html/fontcolor.column.html +71 -0
  126. data/manual/html/footer.html +72 -0
  127. data/manual/html/formats.html +80 -0
  128. data/manual/html/functions.html +78 -0
  129. data/manual/html/gapduration.html +93 -0
  130. data/manual/html/gaplength.html +93 -0
  131. data/manual/html/halign.center.html +66 -0
  132. data/manual/html/halign.column.html +67 -0
  133. data/manual/html/halign.left.html +66 -0
  134. data/manual/html/halign.right.html +66 -0
  135. data/manual/html/hasalert.html +71 -0
  136. data/manual/html/header.html +72 -0
  137. data/manual/html/headline.html +69 -0
  138. data/manual/html/hidejournalentry.html +69 -0
  139. data/manual/html/hidereport.html +67 -0
  140. data/manual/html/hideresource.html +73 -0
  141. data/manual/html/hidetask.html +73 -0
  142. data/manual/html/icalreport.html +137 -0
  143. data/manual/html/include.macro.html +70 -0
  144. data/manual/html/include.project.html +71 -0
  145. data/manual/html/include.properties.html +168 -0
  146. data/manual/html/index.html +18 -0
  147. data/manual/html/inherit.extend.html +68 -0
  148. data/manual/html/interval1.html +99 -0
  149. data/manual/html/interval2.html +98 -0
  150. data/manual/html/interval3.html +99 -0
  151. data/manual/html/interval4.html +100 -0
  152. data/manual/html/isactive.html +67 -0
  153. data/manual/html/ischildof.html +67 -0
  154. data/manual/html/isdependencyof.html +75 -0
  155. data/manual/html/isdutyof.html +71 -0
  156. data/manual/html/isfeatureof.html +71 -0
  157. data/manual/html/isleaf.html +66 -0
  158. data/manual/html/ismilestone.html +67 -0
  159. data/manual/html/isongoing.html +67 -0
  160. data/manual/html/isresource.html +66 -0
  161. data/manual/html/istask.html +66 -0
  162. data/manual/html/journalattributes.html +107 -0
  163. data/manual/html/journalentry.html +83 -0
  164. data/manual/html/journalmode.html +83 -0
  165. data/manual/html/left.html +66 -0
  166. data/manual/html/length.html +104 -0
  167. data/manual/html/limits.allocate.html +72 -0
  168. data/manual/html/limits.html +72 -0
  169. data/manual/html/limits.resource.html +80 -0
  170. data/manual/html/limits.task.html +113 -0
  171. data/manual/html/listitem.column.html +66 -0
  172. data/manual/html/listtype.column.html +79 -0
  173. data/manual/html/loadunit.html +99 -0
  174. data/manual/html/logicalexpression.html +110 -0
  175. data/manual/html/logicalflagexpression.html +82 -0
  176. data/manual/html/macro.html +103 -0
  177. data/manual/html/managers.html +109 -0
  178. data/manual/html/mandatory.html +66 -0
  179. data/manual/html/maxend.html +69 -0
  180. data/manual/html/maximum.html +99 -0
  181. data/manual/html/maxstart.html +69 -0
  182. data/manual/html/milestone.html +71 -0
  183. data/manual/html/minend.html +69 -0
  184. data/manual/html/minimum.html +99 -0
  185. data/manual/html/minstart.html +69 -0
  186. data/manual/html/monthlymax.html +99 -0
  187. data/manual/html/monthlymin.html +99 -0
  188. data/manual/html/navbar.html +513 -0
  189. data/manual/html/navigator.html +70 -0
  190. data/manual/html/newtask.html +83 -0
  191. data/manual/html/nikureport.html +216 -0
  192. data/manual/html/note.task.html +68 -0
  193. data/manual/html/now.html +67 -0
  194. data/manual/html/numberformat.html +85 -0
  195. data/manual/html/onend.html +68 -0
  196. data/manual/html/onstart.html +68 -0
  197. data/manual/html/opennodes.html +66 -0
  198. data/manual/html/overtime.booking.html +76 -0
  199. data/manual/html/period.column.html +67 -0
  200. data/manual/html/period.limit.html +69 -0
  201. data/manual/html/period.report.html +69 -0
  202. data/manual/html/period.task.html +69 -0
  203. data/manual/html/persistent.html +66 -0
  204. data/manual/html/precedes.html +86 -0
  205. data/manual/html/priority.html +114 -0
  206. data/manual/html/priority.timesheet.html +68 -0
  207. data/manual/html/project.html +88 -0
  208. data/manual/html/projectid.html +66 -0
  209. data/manual/html/projectid.task.html +68 -0
  210. data/manual/html/projectids.html +66 -0
  211. data/manual/html/projection.html +75 -0
  212. data/manual/html/prolog.html +72 -0
  213. data/manual/html/properties.html +64 -0
  214. data/manual/html/purge.html +69 -0
  215. data/manual/html/rate.html +66 -0
  216. data/manual/html/rate.resource.html +68 -0
  217. data/manual/html/reference.extend.html +77 -0
  218. data/manual/html/remaining.html +117 -0
  219. data/manual/html/replace.html +66 -0
  220. data/manual/html/report.html +333 -0
  221. data/manual/html/reportprefix.html +67 -0
  222. data/manual/html/resource.html +194 -0
  223. data/manual/html/resourceattributes.html +83 -0
  224. data/manual/html/resourceprefix.html +67 -0
  225. data/manual/html/resourcereport.html +69 -0
  226. data/manual/html/resourceroot.html +90 -0
  227. data/manual/html/resources.limit.html +82 -0
  228. data/manual/html/responsible.html +69 -0
  229. data/manual/html/richtext.extend.html +78 -0
  230. data/manual/html/right.html +66 -0
  231. data/manual/html/rollupresource.html +92 -0
  232. data/manual/html/rolluptask.html +69 -0
  233. data/manual/html/scale.column.html +87 -0
  234. data/manual/html/scenario.html +123 -0
  235. data/manual/html/scenario.ical.html +67 -0
  236. data/manual/html/scenarios.export.html +66 -0
  237. data/manual/html/scenarios.html +66 -0
  238. data/manual/html/scenariospecific.extend.html +68 -0
  239. data/manual/html/scheduled.html +68 -0
  240. data/manual/html/scheduling.html +74 -0
  241. data/manual/html/select.html +86 -0
  242. data/manual/html/selfcontained.html +66 -0
  243. data/manual/html/shift.html +128 -0
  244. data/manual/html/shift.resource.html +74 -0
  245. data/manual/html/shift.task.html +74 -0
  246. data/manual/html/shift.timesheet.html +70 -0
  247. data/manual/html/shifts.allocate.html +71 -0
  248. data/manual/html/shifts.resource.html +73 -0
  249. data/manual/html/shifts.task.html +73 -0
  250. data/manual/html/shorttimeformat.html +67 -0
  251. data/manual/html/sloppy.booking.html +77 -0
  252. data/manual/html/sloppy.projection.html +66 -0
  253. data/manual/html/sortjournalentries.html +81 -0
  254. data/manual/html/sortresources.html +73 -0
  255. data/manual/html/sorttasks.html +73 -0
  256. data/manual/html/start.column.html +67 -0
  257. data/manual/html/start.html +78 -0
  258. data/manual/html/start.limit.html +69 -0
  259. data/manual/html/start.report.html +69 -0
  260. data/manual/html/startcredit.html +68 -0
  261. data/manual/html/status.statussheet.html +73 -0
  262. data/manual/html/status.timesheet.html +91 -0
  263. data/manual/html/statussheet.html +124 -0
  264. data/manual/html/statussheetreport.html +125 -0
  265. data/manual/html/strict.projection.html +66 -0
  266. data/manual/html/summary.html +69 -0
  267. data/manual/html/supplement.html +108 -0
  268. data/manual/html/supplement.resource.html +195 -0
  269. data/manual/html/supplement.task.html +329 -0
  270. data/manual/html/tagfile.html +73 -0
  271. data/manual/html/task.html +320 -0
  272. data/manual/html/task.statussheet.html +74 -0
  273. data/manual/html/task.timesheet.html +89 -0
  274. data/manual/html/taskattributes.html +115 -0
  275. data/manual/html/taskprefix.html +67 -0
  276. data/manual/html/taskreport.html +69 -0
  277. data/manual/html/taskroot.html +103 -0
  278. data/manual/html/text.extend.html +77 -0
  279. data/manual/html/textreport.html +66 -0
  280. data/manual/html/timeformat.html +160 -0
  281. data/manual/html/timeoff.nikureport.html +71 -0
  282. data/manual/html/timesheet.html +129 -0
  283. data/manual/html/timesheetreport.html +107 -0
  284. data/manual/html/timezone.export.html +66 -0
  285. data/manual/html/timezone.html +72 -0
  286. data/manual/html/timezone.report.html +66 -0
  287. data/manual/html/timezone.shift.html +70 -0
  288. data/manual/html/timingresolution.html +71 -0
  289. data/manual/html/title.column.html +67 -0
  290. data/manual/html/title.html +68 -0
  291. data/manual/html/toc.html +1330 -0
  292. data/manual/html/tooltip.column.html +72 -0
  293. data/manual/html/trackingscenario.html +80 -0
  294. data/manual/html/treelevel.html +66 -0
  295. data/manual/html/vacation.html +71 -0
  296. data/manual/html/vacation.resource.html +73 -0
  297. data/manual/html/vacation.shift.html +71 -0
  298. data/manual/html/warn.html +69 -0
  299. data/manual/html/weeklymax.html +99 -0
  300. data/manual/html/weeklymin.html +99 -0
  301. data/manual/html/weekstartsmonday.html +66 -0
  302. data/manual/html/weekstartssunday.html +66 -0
  303. data/manual/html/width.column.html +66 -0
  304. data/manual/html/work.html +105 -0
  305. data/manual/html/workinghours.project.html +102 -0
  306. data/manual/html/workinghours.resource.html +79 -0
  307. data/manual/html/workinghours.shift.html +81 -0
  308. data/manual/html/yearlyworkingdays.html +70 -0
  309. data/spec/StatusSheets_spec.rb +0 -6
  310. data/spec/TimeSheets_spec.rb +0 -6
  311. data/spec/Tj3Daemon_spec.rb +2 -0
  312. data/spec/support/DaemonControl.rb +10 -0
  313. data/taskjuggler.gemspec +71 -0
  314. data/tasks/changelog.rake +2 -2
  315. data/tasks/gem.rake +50 -21
  316. data/tasks/manual.rake +1 -1
  317. data/tasks/rdoc.rake +5 -12
  318. data/tasks/spec.rake +1 -1
  319. data/tasks/test.rake +5 -8
  320. data/test/ReferenceGenerator.rb +91 -0
  321. data/test/TestSuite/CSV-Reports/refs/resourcereport.csv +4 -4
  322. data/test/TestSuite/ReportGenerator/Correct/Journal.tjp +21 -0
  323. data/test/TestSuite/ReportGenerator/Correct/JournalMode.tjp +124 -0
  324. data/test/TestSuite/ReportGenerator/Correct/refs/Alerts-1.csv +124 -124
  325. data/test/TestSuite/ReportGenerator/Correct/refs/Journal-1.csv +1 -7
  326. data/test/TestSuite/ReportGenerator/Correct/refs/Journal-2.csv +7 -3
  327. data/test/TestSuite/ReportGenerator/Correct/refs/JournalMode-1.csv +79 -0
  328. data/test/TestSuite/ReportGenerator/Correct/refs/JournalMode-2.csv +208 -0
  329. data/test/TjpGen.rb +152 -0
  330. metadata +1290 -741
  331. data/benchmarks/666tasks.tjp +0 -3183
  332. data/benchmarks/allocate.tjp +0 -30
  333. data/benchmarks/allocatedSlots.tjp +0 -1602
  334. data/benchmarks/booking.tjp +0 -76
  335. data/benchmarks/depends.tjp +0 -113
  336. data/benchmarks/gantt.tjp +0 -57
  337. data/benchmarks/htmltaskreport.tjp +0 -71
  338. data/benchmarks/icons/details.png +0 -0
  339. data/benchmarks/icons/flag-green.png +0 -0
  340. data/benchmarks/icons/flag-red.png +0 -0
  341. data/benchmarks/icons/flag-yellow.png +0 -0
  342. data/benchmarks/icons/resource.png +0 -0
  343. data/benchmarks/icons/resourcegroup.png +0 -0
  344. data/benchmarks/icons/task.png +0 -0
  345. data/benchmarks/icons/taskgroup.png +0 -0
  346. data/benchmarks/icons/trend-down.png +0 -0
  347. data/benchmarks/icons/trend-flat.png +0 -0
  348. data/benchmarks/icons/trend-up.png +0 -0
  349. data/benchmarks/runbench.rb +0 -30
  350. data/benchmarks/scripts/wz_tooltip.js +0 -1301
  351. data/gem_spec.rb +0 -37
  352. data/lib/exchangebug.rb +0 -42
  353. data/lib/ruby-signal-bug.rb +0 -55
  354. data/prj_cfg.rb +0 -50
  355. data/tasks/csts.rake +0 -72
  356. data/tasks/rcov.rake +0 -14
  357. data/tasks/rexml_fix.rb +0 -16
  358. data/tasks/rexml_fix_19.rb +0 -49
  359. data/tasks/show.rake +0 -21
  360. data/tasks/stats.rake +0 -25
  361. data/test/TestSuite/Export-Reports/refs/DST.tjp +0 -60
  362. data/test/TestSuite/Export-Reports/refs/ReleasePlan.tjp +0 -80
  363. data/test/TestSuite/Export-Reports/tp.tjp +0 -49
  364. data/test/TestSuite/HTML-Reports/Alerts.html +0 -424
  365. data/test/TestSuite/HTML-Reports/TimeSheet.html +0 -79
  366. data/test/TestSuite/HTML-Reports/css/tjmanual.css +0 -86
  367. data/test/TestSuite/HTML-Reports/css/tjreport.css +0 -413
  368. data/test/TestSuite/HTML-Reports/icons/details.png +0 -0
  369. data/test/TestSuite/HTML-Reports/icons/flag-green.png +0 -0
  370. data/test/TestSuite/HTML-Reports/icons/flag-red.png +0 -0
  371. data/test/TestSuite/HTML-Reports/icons/flag-yellow.png +0 -0
  372. data/test/TestSuite/HTML-Reports/icons/resource.png +0 -0
  373. data/test/TestSuite/HTML-Reports/icons/resourcegroup.png +0 -0
  374. data/test/TestSuite/HTML-Reports/icons/task.png +0 -0
  375. data/test/TestSuite/HTML-Reports/icons/taskgroup.png +0 -0
  376. data/test/TestSuite/HTML-Reports/icons/trend-down.png +0 -0
  377. data/test/TestSuite/HTML-Reports/icons/trend-flat.png +0 -0
  378. data/test/TestSuite/HTML-Reports/icons/trend-up.png +0 -0
  379. data/test/TestSuite/HTML-Reports/reference.html +0 -51
  380. data/test/TestSuite/HTML-Reports/scripts/wz_tooltip.js +0 -1301
  381. data/test/TestSuite/ReportGenerator/Correct/css/tjmanual.css +0 -86
  382. data/test/TestSuite/ReportGenerator/Correct/css/tjreport.css +0 -413
  383. data/test/TestSuite/ReportGenerator/Correct/icons/details.png +0 -0
  384. data/test/TestSuite/ReportGenerator/Correct/icons/flag-green.png +0 -0
  385. data/test/TestSuite/ReportGenerator/Correct/icons/flag-red.png +0 -0
  386. data/test/TestSuite/ReportGenerator/Correct/icons/flag-yellow.png +0 -0
  387. data/test/TestSuite/ReportGenerator/Correct/icons/resource.png +0 -0
  388. data/test/TestSuite/ReportGenerator/Correct/icons/resourcegroup.png +0 -0
  389. data/test/TestSuite/ReportGenerator/Correct/icons/task.png +0 -0
  390. data/test/TestSuite/ReportGenerator/Correct/icons/taskgroup.png +0 -0
  391. data/test/TestSuite/ReportGenerator/Correct/icons/trend-down.png +0 -0
  392. data/test/TestSuite/ReportGenerator/Correct/icons/trend-flat.png +0 -0
  393. data/test/TestSuite/ReportGenerator/Correct/icons/trend-up.png +0 -0
  394. data/test/TestSuite/ReportGenerator/Correct/opennodes.tjp +0 -26
  395. data/test/TestSuite/ReportGenerator/Correct/refs/opennodes-1.csv +0 -2
  396. data/test/TestSuite/ReportGenerator/Correct/scripts/wz_tooltip.js +0 -1301
  397. data/test/TestSuite/Scheduler/Correct/Allocate.html +0 -1075
  398. data/test/TestSuite/Scheduler/Correct/Duration.html +0 -610
  399. data/test/TestSuite/Scheduler/Correct/css/tjmanual.css +0 -85
  400. data/test/TestSuite/Scheduler/Correct/css/tjreport.css +0 -413
  401. data/test/TestSuite/Scheduler/Correct/icons/details.png +0 -0
  402. data/test/TestSuite/Scheduler/Correct/icons/flag-green.png +0 -0
  403. data/test/TestSuite/Scheduler/Correct/icons/flag-red.png +0 -0
  404. data/test/TestSuite/Scheduler/Correct/icons/flag-yellow.png +0 -0
  405. data/test/TestSuite/Scheduler/Correct/icons/resource.png +0 -0
  406. data/test/TestSuite/Scheduler/Correct/icons/resourcegroup.png +0 -0
  407. data/test/TestSuite/Scheduler/Correct/icons/task.png +0 -0
  408. data/test/TestSuite/Scheduler/Correct/icons/taskgroup.png +0 -0
  409. data/test/TestSuite/Scheduler/Correct/icons/trend-down.png +0 -0
  410. data/test/TestSuite/Scheduler/Correct/icons/trend-flat.png +0 -0
  411. data/test/TestSuite/Scheduler/Correct/icons/trend-up.png +0 -0
  412. data/test/TestSuite/Scheduler/Correct/scripts/wz_tooltip.js +0 -1301
  413. data/test/TestSuite/StatusSheetTemplates/project.tji +0 -35
  414. data/test/TestSuite/StatusSheetTemplates/project.tjp +0 -56
  415. data/test/TestSuite/StatusSheets/TimeSheets/2002-03-01/missing-reports +0 -2
  416. data/test/TestSuite/StatusSheets/TimeSheets/2002-03-01/resource1_2002-03-01.tji +0 -0
  417. data/test/TestSuite/StatusSheets/boss.tji +0 -45
  418. data/test/TestSuite/StatusSheets/boss_mail +0 -51
  419. data/test/TestSuite/StatusSheets/dev2_mail +0 -37
  420. data/test/TestSuite/StatusSheets/project.tjp +0 -275
  421. data/test/TestSuite/StatusSheets/run +0 -54
  422. data/test/TestSuite/Syntax/Correct/DST.tjp +0 -11
  423. data/test/TestSuite/Syntax/Correct/ReleasePlan.tjp +0 -32
  424. data/test/TestSuite/Syntax/Correct/css/tjmanual.css +0 -86
  425. data/test/TestSuite/Syntax/Correct/css/tjreport.css +0 -413
  426. data/test/TestSuite/Syntax/Correct/icons/details.png +0 -0
  427. data/test/TestSuite/Syntax/Correct/icons/flag-green.png +0 -0
  428. data/test/TestSuite/Syntax/Correct/icons/flag-red.png +0 -0
  429. data/test/TestSuite/Syntax/Correct/icons/flag-yellow.png +0 -0
  430. data/test/TestSuite/Syntax/Correct/icons/resource.png +0 -0
  431. data/test/TestSuite/Syntax/Correct/icons/resourcegroup.png +0 -0
  432. data/test/TestSuite/Syntax/Correct/icons/task.png +0 -0
  433. data/test/TestSuite/Syntax/Correct/icons/taskgroup.png +0 -0
  434. data/test/TestSuite/Syntax/Correct/icons/trend-down.png +0 -0
  435. data/test/TestSuite/Syntax/Correct/icons/trend-flat.png +0 -0
  436. data/test/TestSuite/Syntax/Correct/icons/trend-up.png +0 -0
  437. data/test/TestSuite/Syntax/Correct/scripts/wz_tooltip.js +0 -1301
  438. data/test/TestSuite/TimeSheets/dev2_mail1 +0 -84
  439. data/test/TestSuite/TimeSheets/dev2_mail2 +0 -87
  440. data/test/TestSuite/TimeSheets/project.tjp +0 -271
  441. data/test/TestSuite/TimeSheets/receiver.log.mod +0 -1056
  442. data/test/TestSuite/TimeSheets/run +0 -76
  443. data/test/TestSuite/TimeSheets/uu.txt +0 -29
@@ -0,0 +1,102 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <!-- This file has been generated by tj3man v0.2.2 -->
4
+ <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
5
+ <head>
6
+ <title>workinghours.project</title>
7
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
8
+ <meta content="The TaskJuggler Manual" name="description"/>
9
+ <meta content="taskjuggler, project, management" name="keywords"/>
10
+ </head>
11
+ <link href="css/tjmanual.css" rel="stylesheet" type="text/css"></link>
12
+ <body>
13
+ <div align="center">
14
+ <h3 align="center">The TaskJuggler III User Manual</h3>
15
+ <em align="center">Project Management beyond Gantt Chart Drawing</em>
16
+ </div>
17
+ <br/>
18
+ <hr/>
19
+ <table style="width:90%; margin-left:5%; margin-right:5%"><tr>
20
+ <td style="text-align:left; width:35%;">&lt;&lt; <a href="work.html">work</a> &lt;&lt;</td>
21
+ <td style="text-align:center; width:30%;"><a href="toc.html">Table Of Contents</a></td>
22
+ <td style="text-align:right; width:35%;">&gt;&gt; <a href="workinghours.resource.html">workinghours (resource)</a> &gt;&gt;</td>
23
+ </tr></table>
24
+ <hr/>
25
+ <br/>
26
+ <div style="margin-left:5%; margin-right:5%">
27
+ <p><table align="center" class="table"><tr align="left">
28
+ <td class="tag" style="width:16%">Keyword</td>
29
+ <td class="descr" style="width:84%; font-weight:bold">workinghours (project)</td>
30
+ </tr></table></p>
31
+ <p><table align="center" class="table">
32
+ <colgroup>
33
+ <col width="16%"></col>
34
+ <col width="24%"></col>
35
+ <col width="60%"></col>
36
+ </colgroup>
37
+ <tr align="left">
38
+ <td class="tag">Purpose</td>
39
+ <td class="descr" colspan="2"><div>
40
+ <p>Set the default working hours for all subsequent resource definitions. The standard working hours are 9:00am - 12:00am, 1:00pm - 18:00pm, Monday to Friday. The working hours specification limits the availability of resources to certain time slots of week days.</p>
41
+ <p>These default working hours can be replaced with other working hours for individual resources.</p>
42
+ </div></td>
43
+ </tr>
44
+ <tr align="left">
45
+ <td class="tag">Syntax</td>
46
+ <td class="descr" colspan="2"><code>workinghours &lt;weekday&gt; [- &lt;end weekday&gt;] [, &lt;weekday&gt; [- &lt;end weekday&gt;]...] (off | &lt;TIME&gt; - &lt;TIME&gt; [, &lt;TIME&gt; - &lt;TIME&gt;...])</code></td>
47
+ </tr>
48
+ <tr align="left">
49
+ <td class="tag" rowspan="2">Arguments</td>
50
+ <td class="descr">weekday</td>
51
+ <td class="descr"><div>Weekday (sun - sat)</div></td>
52
+ </tr>
53
+ <tr align="left">
54
+ <td class="descr">end weekday</td>
55
+ <td class="descr"><div>Weekday (sun - sat). It is included in the interval.</div></td>
56
+ </tr>
57
+ <tr align="left">
58
+ <td class="tag">Context</td>
59
+ <td class="descr" colspan="2"><a href="project.html">project</a></td>
60
+ </tr>
61
+ <tr align="left">
62
+ <td class="tag">See also</td>
63
+ <td class="descr" colspan="2">
64
+ <a href="dailyworkinghours.html">dailyworkinghours</a>, <a href="workinghours.resource.html">workinghours (resource)</a>, <a href="workinghours.shift.html">workinghours (shift)</a>
65
+ </td>
66
+ </tr>
67
+ </table></p>
68
+ <div class="codeframe"><pre class="code">project prj "Example Project" "1.0" 2007-01-01 - 2007-03-09 {
69
+ # The following attributes are all optional. They illustrate the
70
+ # default values. These attributes are only needed if you want to
71
+ # specify different values than those listed below.
72
+ timingresolution 60min
73
+ timezone "America/Denver"
74
+ dailyworkinghours 8
75
+ yearlyworkingdays 260.714
76
+ timeformat "%Y-%m-%d %H:%M"
77
+ shorttimeformat "%H:%M"
78
+ currencyformat "(" ")" "," "." 0
79
+ weekstartsmonday
80
+ workinghours mon - fri 9:00 - 12:00, 13:00 - 18:00
81
+ workinghours sat, sun off
82
+ scenario plan "Plan" {
83
+ }
84
+ }
85
+
86
+ task t "Task" {
87
+ start 2007-01-01
88
+ }
89
+ </pre></div>
90
+ </div>
91
+ <br/>
92
+ <hr/>
93
+ <table style="width:90%; margin-left:5%; margin-right:5%"><tr>
94
+ <td style="text-align:left; width:35%;">&lt;&lt; <a href="work.html">work</a> &lt;&lt;</td>
95
+ <td style="text-align:center; width:30%;"><a href="toc.html">Table Of Contents</a></td>
96
+ <td style="text-align:right; width:35%;">&gt;&gt; <a href="workinghours.resource.html">workinghours (resource)</a> &gt;&gt;</td>
97
+ </tr></table>
98
+ <hr/>
99
+ <br/>
100
+ <div align="center" style="font-size:10px;">Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011 by Chris Schlaeger &lt;chris@linux.com&gt;.<a href="http://www.taskjuggler.org">TaskJuggler</a> is a trademark of Chris Schlaeger.</div>
101
+ </body>
102
+ </html>
@@ -0,0 +1,79 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <!-- This file has been generated by tj3man v0.2.2 -->
4
+ <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
5
+ <head>
6
+ <title>workinghours.resource</title>
7
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
8
+ <meta content="The TaskJuggler Manual" name="description"/>
9
+ <meta content="taskjuggler, project, management" name="keywords"/>
10
+ </head>
11
+ <link href="css/tjmanual.css" rel="stylesheet" type="text/css"></link>
12
+ <body>
13
+ <div align="center">
14
+ <h3 align="center">The TaskJuggler III User Manual</h3>
15
+ <em align="center">Project Management beyond Gantt Chart Drawing</em>
16
+ </div>
17
+ <br/>
18
+ <hr/>
19
+ <table style="width:90%; margin-left:5%; margin-right:5%"><tr>
20
+ <td style="text-align:left; width:35%;">&lt;&lt; <a href="workinghours.project.html">workinghours (project)</a> &lt;&lt;</td>
21
+ <td style="text-align:center; width:30%;"><a href="toc.html">Table Of Contents</a></td>
22
+ <td style="text-align:right; width:35%;">&gt;&gt; <a href="workinghours.shift.html">workinghours (shift)</a> &gt;&gt;</td>
23
+ </tr></table>
24
+ <hr/>
25
+ <br/>
26
+ <div style="margin-left:5%; margin-right:5%">
27
+ <p><table align="center" class="table"><tr align="left">
28
+ <td class="tag" style="width:16%">Keyword</td>
29
+ <td class="descr" style="width:84%; font-weight:bold">workinghours (resource)</td>
30
+ </tr></table></p>
31
+ <p><table align="center" class="table">
32
+ <colgroup>
33
+ <col width="16%"></col>
34
+ <col width="24%"></col>
35
+ <col width="60%"></col>
36
+ </colgroup>
37
+ <tr align="left">
38
+ <td class="tag">Purpose</td>
39
+ <td class="descr" colspan="2"><div>Set the working hours for a specific resource. The working hours specification limits the availability of resources to certain time slots of week days.</div></td>
40
+ </tr>
41
+ <tr align="left">
42
+ <td class="tag">Syntax</td>
43
+ <td class="descr" colspan="2"><code>workinghours &lt;weekday&gt; [- &lt;end weekday&gt;] [, &lt;weekday&gt; [- &lt;end weekday&gt;]...] (off | &lt;TIME&gt; - &lt;TIME&gt; [, &lt;TIME&gt; - &lt;TIME&gt;...])</code></td>
44
+ </tr>
45
+ <tr align="left">
46
+ <td class="tag" rowspan="2">Arguments</td>
47
+ <td class="descr">weekday</td>
48
+ <td class="descr"><div>Weekday (sun - sat)</div></td>
49
+ </tr>
50
+ <tr align="left">
51
+ <td class="descr">end weekday</td>
52
+ <td class="descr"><div>Weekday (sun - sat). It is included in the interval.</div></td>
53
+ </tr>
54
+ <tr align="left">
55
+ <td class="tag">Context</td>
56
+ <td class="descr" colspan="2">
57
+ <a href="supplement.resource.html">supplement (resource)</a>, <a href="resource.html">resource</a>
58
+ </td>
59
+ </tr>
60
+ <tr align="left">
61
+ <td class="tag">See also</td>
62
+ <td class="descr" colspan="2">
63
+ <a href="workinghours.project.html">workinghours (project)</a>, <a href="workinghours.shift.html">workinghours (shift)</a>
64
+ </td>
65
+ </tr>
66
+ </table></p>
67
+ </div>
68
+ <br/>
69
+ <hr/>
70
+ <table style="width:90%; margin-left:5%; margin-right:5%"><tr>
71
+ <td style="text-align:left; width:35%;">&lt;&lt; <a href="workinghours.project.html">workinghours (project)</a> &lt;&lt;</td>
72
+ <td style="text-align:center; width:30%;"><a href="toc.html">Table Of Contents</a></td>
73
+ <td style="text-align:right; width:35%;">&gt;&gt; <a href="workinghours.shift.html">workinghours (shift)</a> &gt;&gt;</td>
74
+ </tr></table>
75
+ <hr/>
76
+ <br/>
77
+ <div align="center" style="font-size:10px;">Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011 by Chris Schlaeger &lt;chris@linux.com&gt;.<a href="http://www.taskjuggler.org">TaskJuggler</a> is a trademark of Chris Schlaeger.</div>
78
+ </body>
79
+ </html>
@@ -0,0 +1,81 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <!-- This file has been generated by tj3man v0.2.2 -->
4
+ <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
5
+ <head>
6
+ <title>workinghours.shift</title>
7
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
8
+ <meta content="The TaskJuggler Manual" name="description"/>
9
+ <meta content="taskjuggler, project, management" name="keywords"/>
10
+ </head>
11
+ <link href="css/tjmanual.css" rel="stylesheet" type="text/css"></link>
12
+ <body>
13
+ <div align="center">
14
+ <h3 align="center">The TaskJuggler III User Manual</h3>
15
+ <em align="center">Project Management beyond Gantt Chart Drawing</em>
16
+ </div>
17
+ <br/>
18
+ <hr/>
19
+ <table style="width:90%; margin-left:5%; margin-right:5%"><tr>
20
+ <td style="text-align:left; width:35%;">&lt;&lt; <a href="workinghours.resource.html">workinghours (resource)</a> &lt;&lt;</td>
21
+ <td style="text-align:center; width:30%;"><a href="toc.html">Table Of Contents</a></td>
22
+ <td style="text-align:right; width:35%;">&gt;&gt; <a href="yearlyworkingdays.html">yearlyworkingdays</a> &gt;&gt;</td>
23
+ </tr></table>
24
+ <hr/>
25
+ <br/>
26
+ <div style="margin-left:5%; margin-right:5%">
27
+ <p><table align="center" class="table"><tr align="left">
28
+ <td class="tag" style="width:16%">Keyword</td>
29
+ <td class="descr" style="width:84%; font-weight:bold">workinghours (shift)</td>
30
+ </tr></table></p>
31
+ <p><table align="center" class="table">
32
+ <colgroup>
33
+ <col width="16%"></col>
34
+ <col width="24%"></col>
35
+ <col width="60%"></col>
36
+ </colgroup>
37
+ <tr align="left">
38
+ <td class="tag">Purpose</td>
39
+ <td class="descr" colspan="2"><div>
40
+ <p>Set the working hours for the shift. The working hours specification limits the availability of resources or the activity on a task to certain time slots of week days.</p>
41
+ <p>The shift working hours will replace the default or resource working hours for the specified time frame when assigning the shift to a resource.</p>
42
+ <p>In case the shift is used for a task, resources are only assigned during the working hours of this shift and during the working hours of the allocated resource. Allocations only happen when both the task shift and the resource work hours allow work to happen.</p>
43
+ </div></td>
44
+ </tr>
45
+ <tr align="left">
46
+ <td class="tag">Syntax</td>
47
+ <td class="descr" colspan="2"><code>workinghours &lt;weekday&gt; [- &lt;end weekday&gt;] [, &lt;weekday&gt; [- &lt;end weekday&gt;]...] (off | &lt;TIME&gt; - &lt;TIME&gt; [, &lt;TIME&gt; - &lt;TIME&gt;...])</code></td>
48
+ </tr>
49
+ <tr align="left">
50
+ <td class="tag" rowspan="2">Arguments</td>
51
+ <td class="descr">weekday</td>
52
+ <td class="descr"><div>Weekday (sun - sat)</div></td>
53
+ </tr>
54
+ <tr align="left">
55
+ <td class="descr">end weekday</td>
56
+ <td class="descr"><div>Weekday (sun - sat). It is included in the interval.</div></td>
57
+ </tr>
58
+ <tr align="left">
59
+ <td class="tag">Context</td>
60
+ <td class="descr" colspan="2"><a href="shift.html">shift</a></td>
61
+ </tr>
62
+ <tr align="left">
63
+ <td class="tag">See also</td>
64
+ <td class="descr" colspan="2">
65
+ <a href="workinghours.project.html">workinghours (project)</a>, <a href="workinghours.resource.html">workinghours (resource)</a>
66
+ </td>
67
+ </tr>
68
+ </table></p>
69
+ </div>
70
+ <br/>
71
+ <hr/>
72
+ <table style="width:90%; margin-left:5%; margin-right:5%"><tr>
73
+ <td style="text-align:left; width:35%;">&lt;&lt; <a href="workinghours.resource.html">workinghours (resource)</a> &lt;&lt;</td>
74
+ <td style="text-align:center; width:30%;"><a href="toc.html">Table Of Contents</a></td>
75
+ <td style="text-align:right; width:35%;">&gt;&gt; <a href="yearlyworkingdays.html">yearlyworkingdays</a> &gt;&gt;</td>
76
+ </tr></table>
77
+ <hr/>
78
+ <br/>
79
+ <div align="center" style="font-size:10px;">Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011 by Chris Schlaeger &lt;chris@linux.com&gt;.<a href="http://www.taskjuggler.org">TaskJuggler</a> is a trademark of Chris Schlaeger.</div>
80
+ </body>
81
+ </html>
@@ -0,0 +1,70 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <!-- This file has been generated by tj3man v0.2.2 -->
4
+ <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
5
+ <head>
6
+ <title>yearlyworkingdays</title>
7
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
8
+ <meta content="The TaskJuggler Manual" name="description"/>
9
+ <meta content="taskjuggler, project, management" name="keywords"/>
10
+ </head>
11
+ <link href="css/tjmanual.css" rel="stylesheet" type="text/css"></link>
12
+ <body>
13
+ <div align="center">
14
+ <h3 align="center">The TaskJuggler III User Manual</h3>
15
+ <em align="center">Project Management beyond Gantt Chart Drawing</em>
16
+ </div>
17
+ <br/>
18
+ <hr/>
19
+ <table style="width:90%; margin-left:5%; margin-right:5%"><tr>
20
+ <td style="text-align:left; width:35%;">&lt;&lt; <a href="workinghours.shift.html">workinghours (shift)</a> &lt;&lt;</td>
21
+ <td style="text-align:center; width:30%;"><a href="toc.html">Table Of Contents</a></td>
22
+ <td style="text-align:right; width:35%;"></td>
23
+ </tr></table>
24
+ <hr/>
25
+ <br/>
26
+ <div style="margin-left:5%; margin-right:5%">
27
+ <p><table align="center" class="table"><tr align="left">
28
+ <td class="tag" style="width:16%">Keyword</td>
29
+ <td class="descr" style="width:84%; font-weight:bold">yearlyworkingdays</td>
30
+ </tr></table></p>
31
+ <p><table align="center" class="table">
32
+ <colgroup>
33
+ <col width="16%"></col>
34
+ <col width="24%"></col>
35
+ <col width="60%"></col>
36
+ </colgroup>
37
+ <tr align="left">
38
+ <td class="tag">Purpose</td>
39
+ <td class="descr" colspan="2"><div>
40
+ <p>Specifies the number of average working days per year. This should correlate to the specified workinghours and vacation. It affects the conversion of working hours, working days, working weeks, working months and working years into each other.</p>
41
+ <p>When public holidays and vacations are disregarded, this value should be equal to the number of working days per week times 52.1428 (the average number of weeks per year). E. g. for a culture with 5 working days it is 260.714 (the default), for 6 working days it is 312.8568 and for 7 working days it is 365.</p>
42
+ </div></td>
43
+ </tr>
44
+ <tr align="left">
45
+ <td class="tag">Syntax</td>
46
+ <td class="descr" colspan="2"><code>yearlyworkingdays &lt;days&gt;</code></td>
47
+ </tr>
48
+ <tr align="left">
49
+ <td class="tag" rowspan="1">Arguments</td>
50
+ <td class="descr">days</td>
51
+ <td class="descr"><div>Number of average working days for a year</div></td>
52
+ </tr>
53
+ <tr align="left">
54
+ <td class="tag">Context</td>
55
+ <td class="descr" colspan="2"><a href="project.html">project</a></td>
56
+ </tr>
57
+ </table></p>
58
+ </div>
59
+ <br/>
60
+ <hr/>
61
+ <table style="width:90%; margin-left:5%; margin-right:5%"><tr>
62
+ <td style="text-align:left; width:35%;">&lt;&lt; <a href="workinghours.shift.html">workinghours (shift)</a> &lt;&lt;</td>
63
+ <td style="text-align:center; width:30%;"><a href="toc.html">Table Of Contents</a></td>
64
+ <td style="text-align:right; width:35%;"></td>
65
+ </tr></table>
66
+ <hr/>
67
+ <br/>
68
+ <div align="center" style="font-size:10px;">Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011 by Chris Schlaeger &lt;chris@linux.com&gt;.<a href="http://www.taskjuggler.org">TaskJuggler</a> is a trademark of Chris Schlaeger.</div>
69
+ </body>
70
+ </html>
@@ -12,7 +12,6 @@
12
12
  #
13
13
 
14
14
  require 'rubygems'
15
- require 'fileutils'
16
15
  require 'support/DaemonControl'
17
16
  require 'taskjuggler/apps/Tj3SsSender'
18
17
  require 'taskjuggler/apps/Tj3SsReceiver'
@@ -25,7 +24,6 @@ class TaskJuggler
25
24
  describe StatusSheetTest do
26
25
 
27
26
  include DaemonControl
28
- include FileUtils
29
27
 
30
28
  before(:all) do
31
29
  @beforeExecuted = true
@@ -304,10 +302,6 @@ EOT
304
302
  mails
305
303
  end
306
304
 
307
- def cleanup
308
- rm_rf %w( StatusSheetTemplates StatusSheets statussheets.log tj3.log tj3ss_sender.log tj3ss_receiver.log tj3ts_summary.log )
309
- end
310
-
311
305
  end
312
306
 
313
307
  end
@@ -12,7 +12,6 @@
12
12
  #
13
13
 
14
14
  require 'rubygems'
15
- require 'fileutils'
16
15
  require 'support/DaemonControl'
17
16
  require 'taskjuggler/apps/Tj3TsSender'
18
17
  require 'taskjuggler/apps/Tj3TsReceiver'
@@ -23,7 +22,6 @@ class TaskJuggler
23
22
  describe TimeSheets do
24
23
 
25
24
  include DaemonControl
26
- include FileUtils
27
25
 
28
26
  before(:all) do
29
27
  # Make sure we run in the same directory as the spec file.
@@ -340,10 +338,6 @@ EOT
340
338
  mails
341
339
  end
342
340
 
343
- def cleanup
344
- rm_rf %w( TimeSheetTemplates TimeSheets timesheets.log tj3.log tj3ts_sender.log tj3ts_receiver.log )
345
- end
346
-
347
341
  end
348
342
 
349
343
  end
@@ -21,11 +21,13 @@ class TaskJuggler
21
21
  include DaemonControl
22
22
 
23
23
  before(:each) do
24
+ cleanup
24
25
  startDaemon
25
26
  end
26
27
 
27
28
  after(:each) do
28
29
  stopDaemon
30
+ cleanup
29
31
  end
30
32
 
31
33
  it 'should be startable and stopable' do
@@ -14,12 +14,14 @@
14
14
  require 'taskjuggler/StdIoWrapper'
15
15
  require 'taskjuggler/apps/Tj3Daemon'
16
16
  require 'taskjuggler/apps/Tj3Client'
17
+ require 'fileutils'
17
18
 
18
19
  class TaskJuggler
19
20
 
20
21
  module DaemonControl
21
22
 
22
23
  include StdIoWrapper
24
+ include FileUtils
23
25
 
24
26
  def startDaemon(config = '')
25
27
  (f = File.new('taskjuggler.rc', 'w')).write(<<"EOT"
@@ -72,6 +74,14 @@ EOT
72
74
  end
73
75
  end
74
76
 
77
+ def cleanup
78
+ rm_rf %w( TimeSheetTemplates TimeSheets timesheets.log
79
+ StatusSheetTemplates StatusSheets statussheets.log
80
+ tj3d.log tj3client.log tj3.log
81
+ tj3ss_sender.log tj3ss_receiver.log tj3ss_summary.log
82
+ tj3ts_sender.log tj3ts_receiver.log tj3ts_summary.log )
83
+ end
84
+
75
85
  end
76
86
 
77
87
  end
@@ -0,0 +1,71 @@
1
+ # -*- coding: utf-8 -*-
2
+ #
3
+ # = taskjuggler.gemspec -- The TaskJuggler III Project Management Software
4
+ #
5
+ # Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011
6
+ # by Chris Schlaeger <chris@linux.com>
7
+ #
8
+ # This program is free software; you can redistribute it and/or modify
9
+ # it under the terms of version 2 of the GNU General Public License as
10
+ # published by the Free Software Foundation.
11
+ #
12
+ # This gemspec file will be used to package the taskjuggler gem. Before you
13
+ # use it, the manual and other generated files must have been created!
14
+
15
+ lib = File.expand_path('../lib', __FILE__)
16
+ $:.unshift lib unless $:.include?(lib)
17
+
18
+ # Get software version number from Tj3Config class.
19
+ begin
20
+ $: << 'lib'
21
+ require 'taskjuggler/Tj3Config'
22
+ PROJECT_VERSION = AppConfig.version
23
+ PROJECT_NAME = AppConfig.softwareName
24
+ rescue LoadError
25
+ raise "Error: Cannot determine software settings: #{$!}"
26
+ end
27
+
28
+ GEM_SPEC = Gem::Specification.new { |s|
29
+ s.name = 'taskjuggler'
30
+ s.version = PROJECT_VERSION
31
+ s.homepage = 'http://www.taskjuggler.org'
32
+ s.author = 'Chris Schlaeger'
33
+ s.email = 'chris@linux.com'
34
+ s.rubyforge_project = 'taskjuggler'
35
+ s.summary = 'A Project Management Software'
36
+ s.description = <<'EOT'
37
+ TaskJuggler is a modern and powerful, Free and Open Source Software project
38
+ management tool. Its new approach to project planing and tracking is more
39
+ flexible and superior to the commonly used Gantt chart editing tools.
40
+
41
+ TaskJuggler is project management software for serious project managers. It
42
+ covers the complete spectrum of project management tasks from the first idea
43
+ to the completion of the project. It assists you during project scoping,
44
+ resource assignment, cost and revenue planing, risk and communication
45
+ management.
46
+ EOT
47
+
48
+ s.require_path = 'lib'
49
+ s.files = (`git ls-files -- lib`).split("\n") +
50
+ (`git ls-files -- data`).split("\n") +
51
+ (`git ls-files -- manual`).split("\n") +
52
+ (`git ls-files -- examples`).split("\n") +
53
+ (`git ls-files -- tasks`).split("\n") +
54
+ %w( .gemtest taskjuggler.gemspec Rakefile ) +
55
+ # Generated files, not contained in Git repository.
56
+ %w( data/tjp.vim ) + Dir.glob('manual/html/**/*')
57
+ s.bindir = 'bin'
58
+ s.executables = (`git ls-files -- bin`).split("\n").
59
+ map { |fn| File.basename(fn) }
60
+ s.test_files = (`git ls-files -- test`).split("\n") +
61
+ (`git ls-files -- spec`).split("\n")
62
+
63
+ s.has_rdoc = true
64
+ s.extra_rdoc_files = %w( README.rdoc COPYING CHANGELOG )
65
+
66
+ s.add_dependency('mail', '>= 2.2.15')
67
+ s.add_development_dependency('rspec', '>= 2.5.0')
68
+ s.platform = Gem::Platform::RUBY
69
+ s.required_ruby_version = '>= 1.8.7'
70
+ }
71
+