summaryrefslogtreecommitdiffstats
path: root/idrop-web/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'idrop-web/build.sh')
-rwxr-xr-xidrop-web/build.sh17
1 files changed, 13 insertions, 4 deletions
diff --git a/idrop-web/build.sh b/idrop-web/build.sh
index 8845935..afc7a5a 100755
--- a/idrop-web/build.sh
+++ b/idrop-web/build.sh
@@ -12,12 +12,14 @@ SCRIPTNAME=`basename $0`
IDROP_LITE_APPLET=idrop-lite-1.0.2-SNAPSHOT-jar-with-dependencies.jar
# in case we need to download maven
-MAVENVER=3.0.4
+#MAVENVER=3.0.4
+MAVENVER=3.0.5
MAVENFILE=apache-maven-$MAVENVER
MAVENDOWNLOAD=http://apache.cs.utah.edu/maven/maven-3/$MAVENVER/binaries/$MAVENFILE-bin.zip
# in case we need to download grails
-GRAILSVER=2.1.0
+#GRAILSVER=2.1.0
+GRAILSVER=2.2.3
GRAILSFILE=grails-$GRAILSVER
GRAILSDOWNLOAD=http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/$GRAILSFILE.zip
@@ -121,7 +123,8 @@ fi
RENCIEPM="epm42-renci.tar.gz"
rm -rf epm
rm -f $RENCIEPM
-wget ftp://ftp.renci.org/pub/e-irods/build/$RENCIEPM
+#wget ftp://ftp.renci.org/pub/e-irods/build/$RENCIEPM
+wget ftp://ftp.renci.org/pub/eirods/build/$RENCIEPM
tar -xf $RENCIEPM
cd $BUILDDIR/epm
echo "Configuring EPM"
@@ -137,12 +140,16 @@ make > /dev/null
cd $BUILDDIR
+echo "Installing libbrowser.jar in the local Maven repo"
+mvn -f ../pom.xml install:install-file -Dfile=./idrop-swing/lib/libbrowser.jar -DgroupId=vine_certman -DartifactId=libbrowser -Dversion=1 -Dpackaging=jar
+
# build idrop swing first
echo "Building iDrop Swing ..."
cd ../idrop-swing
#mvn assembly:assembly -Dmaven.test.skip=true
# TODO: jar (JNLP) created is signed and expire is 6 months????
-mvn clean package webstart:jnlp-inline -Dmaven.test.skip=true
+#mvn clean package webstart:jnlp-inline -Dmaven.test.skip=true
+mvn clean package -Dmaven.test.skip=true
RETVAL=$?
if [ $RETVAL -eq 1 ]; then
echo "iDrop Swing Build Failed - Exiting"
@@ -172,6 +179,8 @@ if [ $RETVAL -eq 1 ]; then
exit 1
fi
+exit 0
+
#create EPM .list file
# available from: http://fossies.org/unix/privat/epm-4.2-source.tar.gz
# md5sum 3805b1377f910699c4914ef96b273943