Hi Daniel,
nice question, it's actually pretty easy to do.
The initialization of the metadata schemas happens through the ant scripts,
that are defined in build.xml
Here are the lines where you can find the defintions about which metadata
schema's are being loaded:
https://github.com/DSpace/DSpace/blob/master/dspace/src/main/config/build.xml#L850
The actual definition of those registraties that can be loaded are found
here:
https://github.com/DSpace/DSpace/tree/master/dspace/config/registries
cheers,
Bram Luyten
--
[image: logo]
*Bram Luyten* +1 202 684 6365
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.com
<http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>
On Fri, Jun 27, 2014 at 10:10 AM, Daniel Scharon <
[email protected]> wrote:
> Hi all,
>
> I am trying to define the metadata field set already during install
> time.
>
> The tables metadataschemaregistry and metadatafieldregistry are only
> created but not filled by the SQL script provided by dspace
> (dspace/etc/postgres/database_schema.sql) to initialize the database.
>
> At which point during build & install are these two tables filled with
> the default schemas (DC & DCTERMS)? Is this done during 'ant
> fresh_install'? How can I influence the set of schemas that is
> installed?
>
> Best,
> Daniel
>
>
> --
> Daniel Scharon
> Communication, Information, Media Centre (KIM)
> Content Services Department
> Room B 703
> University of Konstanz
> 78457 Konstanz, Germany
>
> Tel: +49 7531 88-2951
> XMPP: [email protected]
> Web: http://www.kim.uni-konstanz.de
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette