Author: antoine
Date: Wed Apr 30 04:05:58 2014
New Revision: 1591187
URL: http://svn.apache.org/r1591187
Log:
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
Modified:
ant/core/trunk/build.xml
ant/core/trunk/release.sh
Modified: ant/core/trunk/build.xml
URL:
http://svn.apache.org/viewvc/ant/core/trunk/build.xml?rev=1591187&r1=1591186&r2=1591187&view=diff
==============================================================================
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Wed Apr 30 04:05:58 2014
@@ -1205,6 +1205,7 @@
<condition property="buildosxpackage">
<os family="mac"/>
+ <isset property="buildosxpackage.required"/>
</condition>
<target name="pkg_distribution" depends="zip_distribution"
if="buildosxpackage">
Modified: ant/core/trunk/release.sh
URL:
http://svn.apache.org/viewvc/ant/core/trunk/release.sh?rev=1591187&r1=1591186&r2=1591187&view=diff
==============================================================================
--- ant/core/trunk/release.sh (original)
+++ ant/core/trunk/release.sh Wed Apr 30 04:05:58 2014
@@ -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