Topic
  • No replies
SystemAdmin
SystemAdmin
161 Posts

Pinned topic problems with build script

‏2007-08-02T03:36:07Z |
hi, guys ,
this is my build.xml file :
<target name="createTables">
<echo message="CREATE TABLES USING: ${db.driver} ${db.url}"/>
<sql driver="${db.driver}"
url="${db.url}"
userid="${db.user}"
password="${db.pw}"
onerror="continue">
<classpath refid="master-classpath"/>

CREATE TABLE products (
id INTEGER NOT NULL PRIMARY KEY,
description varchar(255),
price decimal(15,2)
);
CREATE INDEX products_description ON products(description);

</sql>
</target>
when I execute it , the console always displays ' reference master-classpath not found ' !
Can somebody tell me what the problem is and how to fix it , many thanks !!!