A Farewell to Arms is a novel by Ernest Hemingway. It was published in 1929. It is set during World War I. It was later adapted into a film of the same title, directed by John Huston, in 1959. A Farewell to Arms is a 1946 war film based on Ernest Hemingway's novel of the same name. It stars Clark Gable, and features Gary Cooper, and Robert Cummings. The film received an Academy Award nomination and a Golden Globe Award nomination for Best Motion Picture.