1,2,5 years. Im a relative novice, so I've never spent more than about 6 months developing one project, however I work with some people who have spent 5 years plus developing just one app (I think it was banking).
How about you?
PS: this is not counting maintenance. think from the time the idea was conceived(or your boss told you better conceive one) and the time it went live.