1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-28 17:57:22 +03:00

B #5525: Fail on Java OCA build errors (#557)

This commit is contained in:
Vlastimil Holer 2017-11-02 14:56:51 +01:00 committed by Ruben S. Montero
parent 3805f5380d
commit 801f9cf27f
2 changed files with 8 additions and 1 deletions

2
.gitignore vendored
View File

@ -15,8 +15,10 @@ src/nebula/oned
share/doc/one/html
*.class
src/oca/java/bin
src/oca/java/jar
src/oca/java/share/doc
src/oca/java/java-oca*.tar.gz
src/sunstone/public/.sass-cache
src/sunstone/public/node_modules

View File

@ -16,6 +16,8 @@
# limitations under the License. #
#--------------------------------------------------------------------------- #
set -e
#-------------------------------------------------------------------------------
# DIR DEFINITIONS
#-------------------------------------------------------------------------------
@ -117,7 +119,10 @@ do_clean()
mkdir -p $BIN_DIR
find share/examples -name '*.class' -delete
find test/ -name '*.class' -delete
if [ -d test/ ]; then
find test/ -name '*.class' -delete
fi
echo "Cleaning javadoc files..."
rm -rf $DOC_DIR > /dev/null 2>&1