source: release-kits/lirk3/bin/ant-installer/templates/defaultproject/build-self-extractor-template.sh@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 697 bytes
Line 
1#!/bin/sh
2dir=`expr match "$0" '\(.*\)build-self-extractor.sh'`
3# if it we did not call ./ change to the directory we called
4if [ "$dir" != "./" ] ; then
5 if [ "$dir" != "" ] ; then
6 echo changing to $dir
7 cd "$dir" ;
8 fi
9fi
10
11
12
13if [ "$JAVA_HOME" = "" ] ; then
14 echo set JAVA_HOME;
15 exit 1;
16fi
17
18# Ant classpath
19ANT_INSTALLER_HOME=@ANT_INSTALL_ROOT@
20CLASSPATH=$ANT_INSTALLER_HOME/antlib/ant.jar
21CLASSPATH=$CLASSPATH:$ANT_INSTALLER_HOME/antlib/xml-apis.jar
22CLASSPATH=$CLASSPATH:$ANT_INSTALLER_HOME/antlib/xercesImpl.jar
23CLASSPATH=$CLASSPATH:$ANT_INSTALLER_HOME/antlib/ant-launcher.jar
24
25$JAVA_HOME/bin/java -cp $CLASSPATH org.apache.tools.ant.Main -buildfile ./create-installer.xml
Note: See TracBrowser for help on using the repository browser.