Révision 1566

tmp/org.txm.setups/BuildWin64bit.sh (revision 1566)
1
VERSION=`cat VERSION`
1
VERSION=`cat VERSION``cat SUBVERSION`
2 2
STEP=$1
3 3
ARCH="64"
4 4
ARCHCODE="x86_64"
5 5
APP="TXM_${VERSION}_Win${ARCH}_installer"
6 6

  
7
echo "BUILDING $APP..."
7 8
echo "Make dir"
8 9
rm -rf "${APP}"
9 10
mkdir "${APP}"
......
44 45
fi
45 46

  
46 47
echo "copy eclipse arch dependent build"
47
rsync -r  --exclude '.svn' "exportRCP/win32.win32.${ARCHCODE}/TXM" "${APP}"
48
rsync -r  --exclude '.svn' "exportRCP/win32.win32.${ARCHCODE}/TXM/"* "${APP}"
48 49

  
49 50
if [ $? != 0 ]; then
50 51
	echo "** ${APP}: copy Win build files failed"
......
53 54

  
54 55
#echo "copy cqp JNI libs near TXM executable"
55 56
echo "copy CQP binary files"
56
cp "../../org.txm.libs.cqp.win32/res/win64"/*.dll "${APP}/" &&
57
cp "../../org.txm.libs.cqp.win32/res/win64"/*.dll "${APP}/TXM" &&
58
cp "../../org.txm.libs.cqp.win32/res/win32"/* "${APP}/cwb/bin/win32" &&
59
cp "../../org.txm.libs.cqp.win32/res/win64"/* "${APP}/cwb/bin"
57
cp "../org.txm.libs.cqp.win32/res/win64"/*.dll "${APP}/" &&
58
cp "../org.txm.libs.cqp.win32/res/win64"/*.dll "${APP}/TXM"
60 59

  
61 60
if [ $? != 0 ]; then
62 61
	echo "** ${APP}: copy Win lib files failed"
......
71 70
	exit 1;
72 71
fi
73 72

  
73
echo "set TXMVERSION in build files"
74
find "$APP/txm.nsi" -type f -exec sed -i "s/TXMVERSION/${VERSION}/g" {} \;
75

  
74 76
echo "build executable"
75 77
wine nsis/makensis.exe -V1 ${APP}/txm.nsi 2> logs64
76 78

  
77
if [ ! -e "${APP}/${APP}.exe" ]; then
78
	echo "** ${APP}/${APP}.exe : not builded"
79
if [ ! -e "${APP}.exe" ]; then
80
	echo "** ${APP}.exe : not builded"
79 81
	gedit logs64
80 82
	exit 1;
81 83
fi
82 84

  
83
chmod +x "${APP}/${APP}.exe"
84
mv "${APP}/${APP}.exe" .
85
chmod +x "${APP}.exe"
tmp/org.txm.setups/shared/win/txm.nsi (revision 1566)
6 6

  
7 7
;general
8 8

  
9
Name "TXM 0.8.0a3"
9
Name "TXM TXMVERSION"
10 10

  
11 11
;!define Version ""
12
!define Version "_0.8.0a3"
12
!define Version "_TXMVERSION"
13 13

  
14 14

  
15
OutFile "../../TXM${Version}_Win64_installer.exe"
15
OutFile "../TXM${Version}_Win64_installer.exe"
16 16

  
17 17
InstallDir "$PROGRAMFILES64\TXM${Version}"
18 18

  
......
227 227
	
228 228
	SetOutPath $INSTDIR
229 229
	
230
	File /r ..\..\exportRCP\win32.win32.x86_64\TXM\*.*
230
	File /r ..\exportRCP\win32.win32.x86_64\TXM\*.*
231 231
	
232 232
	;File /r plugins
233 233
	;File /r features

Formats disponibles : Unified diff