Browse Source

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
master
Antoine Levy-Lambert 11 years ago
parent
commit
b9b8af4a5f
2 changed files with 4 additions and 0 deletions
  1. +1
    -0
      build.xml
  2. +3
    -0
      release.sh

+ 1
- 0
build.xml View File

@@ -1205,6 +1205,7 @@


<condition property="buildosxpackage"> <condition property="buildosxpackage">
<os family="mac"/> <os family="mac"/>
<isset property="buildosxpackage.required"/>
</condition> </condition>


<target name="pkg_distribution" depends="zip_distribution" if="buildosxpackage"> <target name="pkg_distribution" depends="zip_distribution" if="buildosxpackage">


+ 3
- 0
release.sh View File

@@ -42,6 +42,9 @@ if $linux; then
export JAVA_HOME=/usr/lib/jvm/java-6-openjdk export JAVA_HOME=/usr/lib/jvm/java-6-openjdk
JDK_VERSION=1.6 JDK_VERSION=1.6
fi 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 export PATH=$JAVA_HOME/bin:$PATH
echo ANT_HOME=$ANT_HOME echo ANT_HOME=$ANT_HOME
echo JAVA_HOME=$JAVA_HOME echo JAVA_HOME=$JAVA_HOME


Loading…
Cancel
Save