In a 3-quart heavy saucepan over moderate heat, cook the shallots, stirring occasionally, until softened, about 3 to 4 minutes.Stir in the remaining ingredients and simmer, stirring occasionally, until the berries just pop, 10 to 12 minutes.Cool before serving.