In a large saucepan, heat the oil over medium heat. Add the onion, ginger, garlic, allspice and star anise and cook for about5 minutes, stirring occasionally, until the onion is softened.
Add the sugar, vinegar, and water to the saucepan and bring to a simmer.
Add the quince (or pear), apple, cranberries and raisins and cook over low heat, stirring occasionally, until thick and jammy, about 25-35 minutes.
Discard the star anise. Serve the chutney warm or chilled.