You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Lukasz Bajorski <lb...@gmail.com> on 2005/02/10 11:22:45 UTC
Sql queries last excessively long
Hello,
I'm using ant's <sql> tag in maven to initialize my database before
testing my web service based on it. The problem is that when I run
maven from the project folder it lasts forever to process all the
query (it gets query's body from external file). But when I build all
my projects with maven-multiproject-plugin it doesn't last that long.
What seems to be the problem?
Here's the body of the <sql> tag (it's taken from maven.xml):
<preGoal name="test:test">
<sql driver="${db.driver}"
url="${db.url}"
userid="${db.userid}"
password="${db.password}"
classpathref="db.driver.classpath"
delimiter="${db.script.delimiter}"
src="${db.createschema.file}" <-- creating
database structure
encoding="${db.script.schema.encoding}">
</sql>
<sql driver="${db.driver}"
url="${db.url}"
userid="${db.userid}"
password="${db.password}"
classpathref="db.driver.classpath"
delimiter="${db.script.delimiter}"
src="${db.initusers.file}" <--
initializing webservice users table
encoding="${db.script.init.encoding}">
</sql>
--
Lukasz Bajorski
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org