source: release-kits/lirk3/installer/createLanguagePack.sh@ 15217

Last change on this file since 15217 was 15097, checked in by oranfry, 14 years ago

a few i18n tests

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#!/bin/sh
2
3# This script creates properties files stubs from the antinstall-config.xml file
4#
5# it only works if attributes are placed on separate lines
6
7dir=`expr match "$0" '\(.*\)createResourceStub.sh'`
8# if it we did not call ./ change to the directory we called
9if [ "$dir" != "./" ] ; then
10 if [ "$dir" != "" ] ; then
11 cd "$dir" ;
12 fi
13fi
14
15if [ "$ANT_INSTALL_HOME" == "" ] ; then
16 export ANT_INSTALL_HOME=../../../..
17fi
18
19if [ ! -f $ANT_INSTALL_HOME/lib/ant-installer.jar ] ; then
20 echo "set ANT_INSTALL_HOME"
21 exit 1;
22fi
23
24if [ "$JAVA_HOME" = "" ] ; then
25 echo set JAVA_HOME;
26 exit 1;
27fi
28
29
30CLASSPATH=$ANT_INSTALL_HOME/lib/xercesImpl.jar:$ANT_INSTALL_HOME/lib/xml-apis.jar:$ANT_INSTALL_HOME/lib/ant-installer.jar:$ANT_INSTALL_HOME/lib/ant-installer-ext.jar
31CLASSPATH=$CLASSPATH:$ANT_INSTALL_HOME/antlib/ant.jar:$ANT_INSTALL_HOME/antlib/ant-launcher.jar
32CLASSPATH=$CLASSPATH:$ANT_INSTALL_HOME/lib/jgoodies-edited-1_2_2.jar
33CLASSPATH=$CLASSPATH:./cp
34
35COMMAND=$JAVA_HOME/bin/java
36
37$COMMAND -classpath $CLASSPATH org.tp23.antinstaller.util.CreateLanguagePack
Note: See TracBrowser for help on using the repository browser.