Katherine Heigl will star in romancer “Life as We Know It” for Warner Bros., with Greg Berlanti directing and Barry Josephson and Paul Brooks producing.

Project dates back to 2001, when Revolution bought the spec from scribes Ian Deitchman and Kristin Rusk Robinson. Story follows two unattached adults whose worlds are turned upside down when their mutual best friends die in an accident and name them as caregivers for their orphaned daughter.

“Life as We Know It” was also at Fox before landing at Warner Bros.

Heigl will next be seen in Sony’s battle-of-the-sexes romantic comedy “The Ugly Truth.” She’s currently shooting “Five Killers” for Lionsgate.

Heigl and her mother Nancy Heigl are exec producing “Life as We Know It.”

Josephson produced the upcoming “Aliens in the Attic” for Fox. Gold Circle prexy Brooks was a producer on “The Haunting in Connecticut.”

Berlanti’s best known as a writer and exec producer on TV series “Dirty Sexy Money,” “Brothers and Sisters” and “Dawson’s Creek.” He wrote the “Green Lantern” script with Marc Guggenheim and Michael Green and will produce with Donald De Line.

Berlanti had once been considered to direct “Green Lantern,” but WB attached him to direct “This Is Where I Leave You,” with Jonathan Tropper adapting his own novel (Daily Variety, Feb. 2).

Deitchman and Robinson’s projects include “The Kids” at Fox with Josephson producing, “Grownups” at Sony and “First Kiss” at WB.