Hi

Joao Santos wrote:
> How can I create a new table in dspace's database? Can I add this table to
> file database_schema.sql in source and then execute ant update or I need to
> do something else?

It's probably better to put the description in a separate file in etc/
and then add an entry in the setup_database section of build.xml, for
example:

<arg value="etc/mytable.sql"/>

Then your table will be created at installation time along with all of
the other tables. If you want to udpate an existing installation this
way, it would be a good idea to temporarily comment out the entry for
database_schema.sql, run ant setup_database and then un-comment it
again.

Jim.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to