From b9b8af4a5f2912e848f10b89c3e1f085bdcfbfb6 Mon Sep 17 00:00:00 2001 From: Antoine Levy-Lambert Date: Wed, 30 Apr 2014 04:05:58 +0000 Subject: [PATCH] add a special property to set to build the MacOSX installer since we do not ship it by default add a check that our POMS are able to compile the code in release.sh git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1591187 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 1 + release.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/build.xml b/build.xml index 41d139ffe..1601004f2 100644 --- a/build.xml +++ b/build.xml @@ -1205,6 +1205,7 @@ + diff --git a/release.sh b/release.sh index c595a1452..249ccb9fd 100755 --- a/release.sh +++ b/release.sh @@ -42,6 +42,9 @@ if $linux; then export JAVA_HOME=/usr/lib/jvm/java-6-openjdk JDK_VERSION=1.6 fi +# check that one can build under maven +mvn -f src/etc/poms/pom.xml -DskipTests package +rm -rf target export PATH=$JAVA_HOME/bin:$PATH echo ANT_HOME=$ANT_HOME echo JAVA_HOME=$JAVA_HOME