Code Search for Developers
 
 
  

profiles-example.xml from DSpace at Krugle


Show profiles-example.xml syntax highlighted

<?xml version="1.0" encoding="UTF-8"?>
<profilesXml xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/profiles-1.0.0.xsd">
    <!--  
    
        To use these profiles, you will need to copy this file to "profiles.xml" and customize
        it appropriately.
        
        The following profiles show how to customize the build process for either
        postgres or oracle to include extra details such as db.url, db.username and db.password
        which will be populated in the resulting dspace.cfg that is filtered into
        this projects target directory.

        Note: for oracle you may more than likely find you need to retrieve the jar from
        the Oracle website and install it locally into your repository.
        
    -->
    <profiles>
        <profile>
            <id>postgres</id>
            <activation>
                <property>
                    <name>!db.name</name>
                </property>
            </activation>
            <properties>
                <db.sql.dir>etc</db.sql.dir>
                <db.name>postgres</db.name>
                <db.driver>org.postgresql.Driver</db.driver>
                <db.url>jdbc:postgresql://localhost:5432/dspace</db.url>
                <db.username>postgres_user</db.username>
                <db.password>postgres_passwd</db.password>
            </properties>
        </profile>
        <profile>
            <id>oracle</id>
            <activation>
                <property>
                    <name>db.name</name>
                    <value>oracle</value>
                </property>
            </activation>
            <properties>
                <db.sql.dir>etc/oracle</db.sql.dir>
                <db.name>oracle</db.name>
                <db.driver>oracle.jdbc.OracleDriver</db.driver>
                <db.url>jdbc:oracle:thin:@//localhost:1521/xe</db.url>
                <db.username>oracle_user</db.username>
                <db.password>oracle_passwd</db.password>
            </properties>
        </profile>
    </profiles>
</profilesXml>




See more files for this project here

DSpace

Open Source Digital Asset Management system that enables services for access, provision, stewardship and re-use of digital assets with a focus on educational and research materials

Project homepage: http://sourceforge.net/projects/dspace
Programming language(s): Java,JSP,XML
License: other

  bin/
    buildpath.bat
    checker
    cleanup
    create-administrator
    dspace-info.pl
    dspace_migrate
    dsprop
    dsrun
    dsrun.bat
    export
    filter-media
    generate-sitemaps
    import
    index-all
    log-reporter
    make-handle-config
    packager
    start-handle-server
    stat-general
    stat-initial
    stat-monthly
    stat-report-general
    stat-report-initial
    stat-report-monthly
    structure-builder
    sub-daily
    update-handle-prefix
  config/
    controlled-vocabularies/
      LICENCES
      nsi.xml
      srsc.xml
    crosswalks/
      QDC.properties
      mods-submission.xsl
      mods.properties
      sample-crosswalk-DIM2DC.xsl
    emails/
      change_password
      feedback
      internal_error
      register
      submit_archive
      submit_reject
      submit_task
      subscription
      suggest
    registries/
      bitstream-formats.xml
      dublin-core-types.xml
    dc2mods.cfg
    default.context.xml
    default.license
    dspace.cfg
    dstat.cfg
    dstat.map
    input-forms.dtd
    input-forms.xml
    item-submission-JSPUI.xml
    item-submission-XMLUI.xml
    item-submission.dtd
    log4j-console.properties
    log4j-handle-plugin.properties
    log4j.properties
    log4j.xml
    news-side.html
    news-top.html
    oaicat.properties
    xmlui.xconf
  docs/
    image/
      architecture-600x450.gif
      data-model.gif
      db-schema.gif
      ingest.gif
      web-ui-flow.gif
      workflow.gif
    originals/
      architecture.vsd
      data-model.vsd
      ingest.vsd
      web-ui-flow.vsd
      workflow.vsd
    appendix.html
    application.html
    architecture.html
    business.html
    configure.html
    controlledvocabulary.xsd
    directories.html
    functional.html
    history.html
    index.html
    install.html
    introduction.html
    postgres-upgrade-notes.txt
    storage.html
    style.css
    submission.html
    update.html
  etc/
    oracle/
    clean-database.sql
    database_schema.sql
    database_schema_11-12.sql
    database_schema_12-13.sql
    database_schema_13-14.sql
    database_schema_14-15.sql
    dspace-jacobe.cfg
    update-sequences.sql
  src/
    assemble/
    main/
  CHANGES
  KNOWN_BUGS
  LICENSE
  README
  pom.xml
  profiles-example.xml