2008-07-06 23:38:34 +02:00
|
|
|
source $stdenv/setup
|
|
|
|
|
2008-07-30 15:37:44 +02:00
|
|
|
# Fix permissions
|
2008-07-06 23:38:34 +02:00
|
|
|
cp -av $src/* .
|
|
|
|
find . -type f | while read i
|
|
|
|
do
|
|
|
|
chmod 644 "$i"
|
|
|
|
done
|
|
|
|
find . -type d | while read i
|
|
|
|
do
|
|
|
|
chmod 755 "$i"
|
|
|
|
done
|
2008-07-30 15:37:44 +02:00
|
|
|
|
2008-07-06 23:38:34 +02:00
|
|
|
export AXIS2_LIB=$axis2/share/java/axis2
|
2008-07-30 15:37:44 +02:00
|
|
|
|
|
|
|
# Deploy webservice
|
2008-07-06 23:38:34 +02:00
|
|
|
ant generate.library.jar
|
|
|
|
ant generate.service.aar
|
|
|
|
ensureDir $out/shared/lib
|
|
|
|
cp *.jar *.so $out/shared/lib
|
|
|
|
chmod 755 $out/shared/lib/*.so
|
|
|
|
ensureDir $out/webapps/axis2/WEB-INF/services
|
|
|
|
cp DisnixService.aar $out/webapps/axis2/WEB-INF/services
|
2008-07-30 15:37:44 +02:00
|
|
|
|
|
|
|
# Deploy client
|
|
|
|
ant generate.client.jar
|
|
|
|
ensureDir $out/bin
|
|
|
|
for i in disnix-soap-*
|
|
|
|
do
|
|
|
|
sed -i -e "s|AXIS2_LIBDIR=|AXIS2_LIBDIR=$axis2/share/java/axis2|" $i
|
|
|
|
shebangfix $i
|
|
|
|
done
|
2008-08-11 23:09:43 +02:00
|
|
|
cp disnix-soap-* DisnixClient.jar jargs.jar *.nix $out/bin
|
2008-07-30 15:37:44 +02:00
|
|
|
chmod 755 $out/bin/disnix-soap-*
|