Preheat oven to 400°F. Line a baking sheet with parchment paper and set aside.
In a large bowl, combine the apples, lemon juice, vanilla, sugar, cinnamon, flour and raisins. Stir to coat evenly.
Place the pastry onto the baking sheet and roll it out slightly, using a rolling pin to make it even.
Spread the apple mixture evenly down the center of the pastry lengthwise.