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

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

No files matched your search

+2
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
+6 -1
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