Try changing this:

    <executions>
        <execution>
            <id>test-compile</id>
            <phase>test-compile</phase>
            <goals>
                <goal>operation</goal>
            </goals>
        </execution>
        <execution>
            <!-- Runs before integration tests and jetty:run-war -->
            <id>test</id>
            <phase>test</phase>
            <goals>
                <goal>operation</goal>
            </goals>
        </execution>
    </executions>

To this:

    <executions>
        <execution>
            <id>test-compile</id>
            <phase>test-compile</phase>
            <goals>
                <goal>operation</goal>
            </goals>
        </execution>
    </executions>

On Mon, Jan 12, 2009 at 11:18 AM, Floggin Molly <
[email protected]> wrote:

>
> Hi...sorry, I should be more precise.
>
> I mean..my problem is that when I start the jetty, the default data is
> loaded into the database...and the data I have added the last time the
> jetty
> was running..is deleted. So..each time I restart the database..the DB is
> restored to default data....how can I avoid this.
>
> Regards from an thankfull developer in Norway.
>
>
>
> Floggin Molly wrote:
> >
> > How to turn off CLEAN_INSERT in strutsbasic each time you redeploy with
> > mvn jetty:run-war
> >
> > Br
> >
> > Frank
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-to-turn-off-CLEAN_INSERT-in-strutsbasic-tp21416003s2369p21420425.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to