Last change
on this file since 15213 was 15097, checked in by oranfry, 16 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 |
|
---|
7 | dir=`expr match "$0" '\(.*\)createResourceStub.sh'`
|
---|
8 | # if it we did not call ./ change to the directory we called
|
---|
9 | if [ "$dir" != "./" ] ; then
|
---|
10 | if [ "$dir" != "" ] ; then
|
---|
11 | cd "$dir" ;
|
---|
12 | fi
|
---|
13 | fi
|
---|
14 |
|
---|
15 | if [ "$ANT_INSTALL_HOME" == "" ] ; then
|
---|
16 | export ANT_INSTALL_HOME=../../../..
|
---|
17 | fi
|
---|
18 |
|
---|
19 | if [ ! -f $ANT_INSTALL_HOME/lib/ant-installer.jar ] ; then
|
---|
20 | echo "set ANT_INSTALL_HOME"
|
---|
21 | exit 1;
|
---|
22 | fi
|
---|
23 |
|
---|
24 | if [ "$JAVA_HOME" = "" ] ; then
|
---|
25 | echo set JAVA_HOME;
|
---|
26 | exit 1;
|
---|
27 | fi
|
---|
28 |
|
---|
29 |
|
---|
30 | CLASSPATH=$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
|
---|
31 | CLASSPATH=$CLASSPATH:$ANT_INSTALL_HOME/antlib/ant.jar:$ANT_INSTALL_HOME/antlib/ant-launcher.jar
|
---|
32 | CLASSPATH=$CLASSPATH:$ANT_INSTALL_HOME/lib/jgoodies-edited-1_2_2.jar
|
---|
33 | CLASSPATH=$CLASSPATH:./cp
|
---|
34 |
|
---|
35 | COMMAND=$JAVA_HOME/bin/java
|
---|
36 |
|
---|
37 | $COMMAND -classpath $CLASSPATH org.tp23.antinstaller.util.CreateLanguagePack
|
---|
Note:
See
TracBrowser
for help on using the repository browser.