Skip to content
Snippets Groups Projects
Commit e7abbfc8 authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette
Browse files

Split compile script into Install and Recompile

Split compile script into Install and Recompile, to avoid
compilation errors on the first installation.
parent 1b259538
Branches
No related tags found
No related merge requests found
#!/bin/bash
mvn -Pxpdf-mediafilter-support package -P \
"!dspace-lni,
!dspace-sword,
!dspace-swordv2,
!dspace-rest,
!dspace-jspui"
if [[ $? == 1 ]]; then
echo "Aconteceu algum erro durante a compilacao!"
exit 1
fi
(cd dspace/target/dspace-4.1-build && ant fresh-install)
if [[ $? == 1 ]]; then
echo "Aconteceu algum erro durante a instalacao"
exit 1
fi
echo "PRONTO"
exit 0
#!/bin/bash
mvn -Pxpdf-mediafilter-support package -P \
"!dspace-lni,
!dspace-sword,
!dspace-swordv2,
!dspace-rest,
!dspace-jspui"
if [[ $? == 1 ]]; then
echo "Aconteceu algum erro durante a compilacao!"
exit 1
fi
(cd dspace/target/dspace-4.1-build && ant update)
if [[ $? == 1 ]]; then
echo "Aconteceu algum erro durante a instalacao"
exit 1
fi
echo "PRONTO"
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment