1. Preheat oven to 190°C/170°C fan forced. Sprinkle eggplant with salt. Drain in a sieve for 20 minutes. Rinse well; dry on paper towels.
2. Toss eggplant, fennel, potatoes and capsicum with oil in a large baking dish. Roast for 20 minutes.
3. Mix in canned and fresh tomatoes, garlic and rosemary. Roast for 10 minutes. Stir through beans; roast 5-10 minutes more until tender. Sprinkle servings with basil.