I'm trying to find a way to squeeze one task in between two others,
where the middle task can only start when the first task has finished,
and must end when the third task begins.
I've found the following messages here on the board, but can't really
get my head around it:
1:
http://groups.google.com/group/taskjuggler-users/browse_thread/thread/a5aad44e31a688cc/e3e5443a1c3fa549?lnk=gst&q=onend#e3e5443a1c3fa549
2:
http://groups.google.com/group/taskjuggler-users/browse_thread/thread/592f356ebd299d8b/46c88c7461e0376f?lnk=gst&q=onend#46c88c7461e0376f
What I've tried so far (and it's just a rudimentary schedule) is (the
relevant section is under "task training"):
=============================================
# Header
project soupo "South Pole 2013-14" 2011-07-18 - 2014-04-01 {
timezone "Australia/Brisbane"
currency "AUD"
timeformat "%d/%m/%Y"
numberformat "-" "" "," "." 2
currencyformat "-" "" "," "." 2
}
# Recourses
resource jack "Jack" {
email "@
gmail.com"
}
# Tasks
task start "Project Start" {
start ${projectstart}
}
task prelim "Preliminary Research" {
start ${projectstart}
end 2011-12-31
allocate jack
}
task ptrain "Preliminary Training" {
start ${projectstart}
end 2011-12-31
allocate jack
}
task pivot "Go or No-Go" {
start 2011-12-31
}
task train "Training" {
scheduling alap
precedes !arriv { onstart }
depends !pivot
}
task health "Health Checks" {
start 2012-02-01
duration 10w
allocate jack
}
task fund "Funding" {
start 2012-01-01
duration 1y
allocate jack
}
task fpivot "Final Go or No-Go" {
depends !fund
}
task money "All Costs Covered" {
depends !fund
}
task purch "Purchases" {
depends !money, !fpivot
end 2013-10-31
allocate jack
}
task book "Bookings" {
depends !money, !fpivot
end 2013-10-31
allocate jack
}
task freight "Freight Equipment" {
depends !money, !fpivot
end 2013-10-31
allocate jack
}
task flight "Flights" {
depends !money, !fpivot
end 2013-10-31
allocate jack
}
task arriv "Latest Arrival at Union Glacier" {
start 2013-11-01
}
task trek "Treck to South Pole" {
depends !arriv
allocate jack
}
task pole "Latest Arrival at South Pole" {
start 2013-12-15
}
task return "Latest Return to Union Glacier" {
start 2014-01-15
}
task home "Flight Home" {
depends !return
allocate jack
}
# Reports
textreport frame "" {
textreport index "Overview" {
formats html
center '<[report id="overview"]>'
}
}
taskreport overview "" {
columns hierarchindex,
name, start, duration, end, chart
}
=================================
In this example, I don't want to start the serious training, until I
have a decision to actually go ahead with the project, and it must end
once I actually start my trip I'm training for (but that start date is
fixed!).
Right now I'm getting the following error when I run tj3:
pole.tjp:33: Error in scenario plan: Task train has a too weak end
dependencies to be scheduled properly.
Question is: is it just me, messing up the syntax, or is it one of
those hammock tasks, mentioned by Chris Schlaeger in link [1] (see
above)?
In case it's me, I'd be very grateful for a correction, if it's
taskjuggler3 I'm happy to wait until this functionality is
implemented, and will type in end dates manually.
Thanks very much for this absolutely fabulous program, and thanks in
advance for any help offered.
Cheers
Jack