Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. First, create the missing "src/main/webapp" directory(ies). For example:
    Code Block
    mkdir -p dspace-sword-client/dspace-sword-client-xmlui-webapp/src/main/webapp/
    mkdir -p dspace/modules/jspui/src/main/webapp  
    mkdir -p dspace/modules/lni/src/main/webapp  
    mkdir -p dspace/modules/oai/src/main/webapp  
    mkdir -p dspace/modules/solr/src/main/webapp  
    mkdir -p dspace/modules/sword/src/main/webapp  
    mkdir -p dspace/modules/swordv2/src/main/webapp  
    mkdir -p dspace/modules/xmlui/src/main/webapp
    
  2. In each directory, put a place-holder ".gitignore" file, so that Git tracks the directory. For example:
    Code Block
    
    touch dspace-sword-client/dspace-sword-client-xmlui-webapp/src/main/webapp/.gitignore
    touch dspace/modules/jspui/src/main/webapp/.gitignore
    touch dspace/modules/lni/src/main/webapp/.gitignore  
    touch dspace/modules/oai/src/main/webapp/.gitignore  
    touch dspace/modules/solr/src/main/webapp/.gitignore  
    touch dspace/modules/sword/src/main/webapp/.gitignore  
    touch dspace/modules/swordv2/src/main/webapp/.gitignore  
    touch dspace/modules/xmlui/src/main/webapp/.gitignore
    
  3. Then, rebuild DSpace!