update for greater memory requirements
diff --git a/promote.sh b/promote.sh
index 51c2fc0..6228f5c 100755
--- a/promote.sh
+++ b/promote.sh
@@ -1,6 +1,6 @@
# !/bin/sh
#****************************************************************************************
-# Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2013 Oracle and/or its affiliates. All rights reserved.
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
# which accompanies this distribution.
@@ -11,6 +11,7 @@
#
# Contributors:
# - egwin - 13 September 2012 - Initial implementation
+# - egwin - 07 March 2013 - Updates for staging to SonatypeOSS
#****************************************************************************************
#----------------------------------------------------------------------------------------
@@ -34,7 +35,7 @@
DEBUG_ARG=$4
ANT_ARGS=" "
-ANT_OPTS="-Xmx512m"
+ANT_OPTS="-Xms512m -Xmx1024m -XX:MaxPermSize=512m"
START_DATE=`date '+%y%m%d-%H%M'`
#Directories
diff --git a/publish.sh b/publish.sh
index bf39210..209758b 100755
--- a/publish.sh
+++ b/publish.sh
@@ -33,7 +33,7 @@
DEBUG_ARG=$1
ANT_ARGS=" "
-ANT_OPTS="-Xmx512m"
+ANT_OPTS="-Xms512m -Xmx1024m -XX:MaxPermSize=512m"
START_DATE=`date '+%y%m%d-%H%M'`
BUILD_TYPE=SNAPSHOT
@@ -551,6 +551,15 @@
error_cnt=`expr ${error_cnt} + 1`
fi
if [ "${DEBUG}" = "true" ] ; then
+ echo "Expanding javadoc from ${installzip}..."
+ fi
+ if [ -f ${installzip} ] ; then
+ unzip -o -j -q ${installzip} eclipselink/*javadoc* -d ${src}/maven
+ else
+ echo "${installzip} not found!"
+ error_cnt=`expr ${error_cnt} + 1`
+ fi
+ if [ "${DEBUG}" = "true" ] ; then
echo "Long-listing of '${src}/maven':"
ls -l ${src}/maven
fi