Preheat oven to 120°C. Line a baking pan with foil.
Toss tomato halves with oil, garlic, basil, rosemary, sugar and salt in a large bowl. Place, cut side up, in prepared pan. Bake for about 3 hours, or until they have collapsed and their skins have wrinkled. Serve at room temperature or refrigerate and serve chilled.