rake-delphi 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. data/1 +19 -0
  2. data/Messages.txt +336 -0
  3. data/lib/rake/common/libstask.rb +1 -0
  4. data/lib/rake/delphi/dcc32.rb +1 -0
  5. data/lib/rake/delphi/projectinfo.rb +6 -1
  6. data/lib/rake/delphi/resources.rb +2 -0
  7. data/lib/rake/delphi/version.rb +1 -1
  8. data/rake-delphi.gemspec +11 -2
  9. data/test/helpers/consts.rb +2 -2
  10. data/test/resources/testproject/testproject.rc +3 -1
  11. metadata +8 -47
  12. data/Gemfile.lock +0 -19
  13. data/test/resources/testproject/bin/test_compile/testproject.exe +0 -0
  14. data/test/resources/testproject/bin/test_compile_alter_cfg/testproject.exe +0 -0
  15. data/test/resources/testproject/bin/test_compile_consts/testproject.exe +0 -0
  16. data/test/resources/testproject/bin/test_compile_debug_info/testproject.drc +0 -366
  17. data/test/resources/testproject/bin/test_compile_debug_info/testproject.exe +0 -0
  18. data/test/resources/testproject/bin/test_compile_debug_info/testproject.map +0 -1798
  19. data/test/resources/testproject/bin/test_compile_defines/testproject.exe +0 -0
  20. data/test/resources/testproject/bin/test_compile_use_absent_config/testproject.exe +0 -0
  21. data/test/resources/testproject/bin/test_compile_use_config/testproject.exe +0 -0
  22. data/test/resources/testproject/bin/test_compile_use_library_path/testproject.exe +0 -0
  23. data/test/resources/testproject/bin/test_compile_with_explicit_and_implicit_libs/testproject.exe +0 -0
  24. data/test/resources/testproject/bin/test_compile_with_explicit_libs/testproject.exe +0 -0
  25. data/test/resources/testproject/bin/test_compile_with_libs/testproject.exe +0 -0
  26. data/test/resources/testproject/bin/test_compile_with_resources/testproject.exe +0 -0
  27. data/test/resources/testproject/bin/test_compile_with_resources_and_libs/testproject.exe +0 -0
  28. data/test/resources/testproject/dcu/ExplicitLibUnit.dcu +0 -0
  29. data/test/resources/testproject/dcu/LibUnit.dcu +0 -0
  30. data/test/resources/testproject/testproject.dproj.2007 +0 -77
  31. data/test/resources/testproject/testproject.exe +0 -0
  32. data/test/resources/testproject/testproject.identcache +0 -0
data/1 ADDED
@@ -0,0 +1,19 @@
1
+ brcc32 command line for "AlfaAutoCarsRepair.vrc"
2
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\cgrc.exe -c65001 AlfaAutoCarsRepair.vrc -foAlfaAutoCarsRepair.res
3
+
4
+ dcc command line for "AlfaAutoCarsRepair.dpr"
5
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\dccaarm.exe -$O- --no-config -B -Q -TX.so
6
+ -AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG
7
+ -E.\Android\Debug -I"c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\debug";"c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release"
8
+ -LE"C:\Users\Public\Documents\RAD Studio\12.0\Bpl\Android"
9
+ -LN"C:\Users\Public\Documents\RAD Studio\12.0\Dcp\Android"
10
+ -NU.\Android\Debug
11
+ -NSSystem;Xml;Data;Datasnap;Web;Soap;
12
+ -O"c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release"
13
+ -R"c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release"
14
+ -U"c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\debug";"c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release"
15
+ --libpath:"C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\android-ndk-r8e\platforms\android-14\arch-arm\usr\lib"
16
+ --linker:"C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe"
17
+ -V -VN --linker-option:" -L \"C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\android-ndk-r8e\sources\cxx-stl\stlport\libs\armeabi-v7a\""
18
+ -NO.\Android\Debug
19
+ AlfaAutoCarsRepair.dpr
data/Messages.txt ADDED
@@ -0,0 +1,336 @@
1
+ Build
2
+ Checking project dependencies...
3
+ Building HW.dproj (Debug, Android)
4
+ brcc32 command line for "HW.vrc"
5
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\cgrc.exe -c65001 HW.vrc -foHW.res
6
+ dcc command line for "HW.dpr"
7
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\dccaarm.exe -$O- --no-config -B -Q -TX.so -AGenerics.Collections=System.Generics.Collections;
8
+ Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG
9
+ -E.\Android\Debug -I"c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\debug";"c:\program files (x86)\embarcadero\rad
10
+ studio\12.0\lib\Android\Release" -LE"C:\Users\Public\Documents\RAD Studio\12.0\Bpl\Android" -LN"C:\Users\Public\Documents\RAD
11
+ Studio\12.0\Dcp\Android" -NU.\Android\Debug -NSSystem;Xml;Data;Datasnap;Web;Soap; -O"c:\program files (x86)\embarcadero\rad
12
+ studio\12.0\lib\Android\Release" -R"c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release" -U"c:\program files (x86)\embarcadero\rad
13
+ studio\12.0\lib\Android\debug";"c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release" --libpath:"C:\Users\Public\Documents\RAD
14
+ Studio\12.0\PlatformSDKs\android-ndk-r8e\platforms\android-14\arch-arm\usr\lib" --linker:"C:\Users\Public\Documents\RAD
15
+ Studio\12.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe" -V -VN
16
+ --linker-option:" -L \"C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\android-ndk-r8e\sources\cxx-stl\stlport\libs\armeabi-v7a\""
17
+ -NO.\Android\Debug HW.dpr
18
+ Success
19
+ Elapsed time: 00:00:14.5
20
+ Deploy
21
+ paclient command line
22
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --Clean=".\Android\Debug\HW,C:\OCP\Temp\Android_Hello_Word\HW._@emb_.tmp"
23
+ paclient command line
24
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad
25
+ studio\12.0\bin\Artwork\Android\FM_LauncherIcon_36x36.png,.\Android\Debug\HW\res\drawable-ldpi\,1,ic_launcher.png"
26
+ paclient command line
27
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad
28
+ studio\12.0\bin\Artwork\Android\FM_LauncherIcon_96x96.png,.\Android\Debug\HW\res\drawable-xhdpi\,1,ic_launcher.png"
29
+ paclient command line
30
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad
31
+ studio\12.0\lib\android\debug\classes.dex,.\Android\Debug\HW\classes\,1,classes.dex"
32
+ paclient command line
33
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="C:\Users\Public\Documents\RAD
34
+ Studio\12.0\PlatformSDKs\android-ndk-r8e\prebuilt\android-arm\gdbserver\gdbserver,.\Android\Debug\HW\library\lib\armeabi\,1,gdbserver"
35
+ paclient command line
36
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad
37
+ studio\12.0\bin\Artwork\Android\FM_LauncherIcon_48x48.png,.\Android\Debug\HW\res\drawable-mdpi\,1,ic_launcher.png"
38
+ paclient command line
39
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe
40
+ --put="Android\Debug\AndroidManifest.xml,.\Android\Debug\HW\,1,AndroidManifest.xml"
41
+ paclient command line
42
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="Android\Debug\libHW.so,.\Android\Debug\HW\library\lib\armeabi\,1,libHW.so"
43
+ paclient command line
44
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad
45
+ studio\12.0\bin\Artwork\Android\FM_LauncherIcon_72x72.png,.\Android\Debug\HW\res\drawable-hdpi\,1,ic_launcher.png"
46
+ paclient command line
47
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad
48
+ studio\12.0\bin\Artwork\Android\FM_LauncherIcon_144x144.png,.\Android\Debug\HW\res\drawable-xxhdpi\,1,ic_launcher.png"
49
+ paclient command line
50
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --stripdebug="C:\Users\Public\Documents\RAD
51
+ Studio\12.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-strip.exe,.\Android\Debug\HW\debug\libHW.so,.\Android\Debug\HW\library\lib\armeabi\libHW.so"
52
+
53
+ paclient command line
54
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --aaptpackage="C:\Users\Public\Documents\RAD
55
+ Studio\12.0\PlatformSDKs\adt-bundle-windows-x86-20130522\sdk\build-tools\android-4.2.2\Aapt.exe,.\Android\Debug\HW\library,.\Android\Debug\HW\classes,.\Android\Debug\HW\res,.\Android\Debug\HW\assets,.\Android\Debug\HW\AndroidManifest.xml,C:\Users\Public\Documents\RAD
56
+ Studio\12.0\PlatformSDKs\adt-bundle-windows-x86-20130522\sdk\platforms\android-17\android.jar,.\Android\Debug\HW\bin\HW-unsigned.apk"
57
+ Failed
58
+ Elapsed time: 00:00:06.7
59
+ Deploy
60
+ paclient command line
61
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --Clean=".\Android\Debug\HW,C:\OCP\Temp\Android_Hello_Word\HW._@emb_.tmp"
62
+ paclient command line
63
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad
64
+ studio\12.0\bin\Artwork\Android\FM_LauncherIcon_36x36.png,.\Android\Debug\HW\res\drawable-ldpi\,1,ic_launcher.png"
65
+ paclient command line
66
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad
67
+ studio\12.0\bin\Artwork\Android\FM_LauncherIcon_96x96.png,.\Android\Debug\HW\res\drawable-xhdpi\,1,ic_launcher.png"
68
+ paclient command line
69
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad
70
+ studio\12.0\lib\android\debug\classes.dex,.\Android\Debug\HW\classes\,1,classes.dex"
71
+ paclient command line
72
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="C:\Users\Public\Documents\RAD
73
+ Studio\12.0\PlatformSDKs\android-ndk-r8e\prebuilt\android-arm\gdbserver\gdbserver,.\Android\Debug\HW\library\lib\armeabi\,1,gdbserver"
74
+ paclient command line
75
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad
76
+ studio\12.0\bin\Artwork\Android\FM_LauncherIcon_48x48.png,.\Android\Debug\HW\res\drawable-mdpi\,1,ic_launcher.png"
77
+ paclient command line
78
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe
79
+ --put="Android\Debug\AndroidManifest.xml,.\Android\Debug\HW\,1,AndroidManifest.xml"
80
+ paclient command line
81
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="Android\Debug\libHW.so,.\Android\Debug\HW\library\lib\armeabi\,1,libHW.so"
82
+ paclient command line
83
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad
84
+ studio\12.0\bin\Artwork\Android\FM_LauncherIcon_72x72.png,.\Android\Debug\HW\res\drawable-hdpi\,1,ic_launcher.png"
85
+ paclient command line
86
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad
87
+ studio\12.0\bin\Artwork\Android\FM_LauncherIcon_144x144.png,.\Android\Debug\HW\res\drawable-xxhdpi\,1,ic_launcher.png"
88
+ paclient command line
89
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --stripdebug="C:\Users\Public\Documents\RAD
90
+ Studio\12.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-strip.exe,.\Android\Debug\HW\debug\libHW.so,.\Android\Debug\HW\library\lib\armeabi\libHW.so"
91
+
92
+ paclient command line
93
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --aaptpackage="C:\Users\Public\Documents\RAD
94
+ Studio\12.0\PlatformSDKs\adt-bundle-windows-x86-20130522\sdk\build-tools\android-4.2.2\Aapt.exe,.\Android\Debug\HW\library,.\Android\Debug\HW\classes,.\Android\Debug\HW\res,.\Android\Debug\HW\assets,.\Android\Debug\HW\AndroidManifest.xml,C:\Users\Public\Documents\RAD
95
+ Studio\12.0\PlatformSDKs\adt-bundle-windows-x86-20130522\sdk\platforms\android-17\android.jar,.\Android\Debug\HW\bin\HW-unsigned.apk"
96
+ paclient command line
97
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --jarsign="C:\Program
98
+ Files\Java\jdk1.7.0_51\bin\JarSigner.exe,.\Android\Debug\HW\bin\HW-unsigned.apk,androiddebugkey,C:\Users\kriv.RARUS\AppData\Roaming\Embarcadero\BDS\12.0\debug.keystore,MD5withRSA,SHA1,android,android"
99
+
100
+ paclient command line
101
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --zipalign="C:\Users\Public\Documents\RAD
102
+ Studio\12.0\PlatformSDKs\adt-bundle-windows-x86-20130522\sdk\tools\ZipAlign.exe,.\Android\Debug\HW\bin\HW-unsigned.apk,.\Android\Debug\HW\bin\HW.apk,4"
103
+
104
+ Success
105
+ Elapsed time: 00:00:11.3
106
+ Output
107
+ Build started 11.06.2014 16:04:11.
108
+ __________________________________________________
109
+ Project "C:\OCP\Temp\Android_Hello_Word\HW.dproj" (Build target(s)):
110
+ Target CreateProjectDirectories:
111
+ Creating directory ".\Android\Debug".
112
+ Target BuildVersionResource:
113
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\cgrc.exe -c65001 HW.vrc -foHW.res
114
+ CodeGear Resource Compiler/Binder
115
+ Version 1.2.2 Copyright (c) 2008-2012 Embarcadero Technologies Inc.
116
+
117
+ Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
118
+
119
+ Copyright (C) Microsoft Corporation. All rights reserved.
120
+
121
+
122
+ Deleting file "HW.vrc".
123
+ Target _PasCoreCompile:
124
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\dccaarm.exe -$O- --no-config -B -Q -TX.so -AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG -E.\Android\Debug -I"c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\debug";"c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release" -LE"C:\Users\Public\Documents\RAD Studio\12.0\Bpl\Android" -LN"C:\Users\Public\Documents\RAD Studio\12.0\Dcp\Android" -NU.\Android\Debug -NSSystem;Xml;Data;Datasnap;Web;Soap; -O"c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release" -R"c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release" -U"c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\debug";"c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release" --libpath:"C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\android-ndk-r8e\platforms\android-14\arch-arm\usr\lib" --linker:"C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe" -V -VN --linker-option:" -L \"C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\android-ndk-r8e\sources\cxx-stl\stlport\libs\armeabi-v7a\"" -NO.\Android\Debug HW.dpr
125
+ Build succeeded.
126
+ 0 Warning(s)
127
+ 0 Error(s)
128
+ Time Elapsed 00:00:14.45
129
+ Build started 11.06.2014 16:04:53.
130
+ __________________________________________________
131
+ Project "C:\OCP\Temp\Android_Hello_Word\HW.dproj" (Deploy target(s)):
132
+ Target _CleanRemoteDir:
133
+ Cleaning APK Output Directory: .\Android\Debug\HW
134
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --Clean=".\Android\Debug\HW,C:\OCP\Temp\Android_Hello_Word\HW._@emb_.tmp"
135
+ Platform Assistant Client Version 4.2.0.05
136
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
137
+
138
+ Deleting file(s)...
139
+ Total file(s) deleted: 0 file(s) 0 dir(s)
140
+ Deleting file "C:\OCP\Temp\Android_Hello_Word\HW._@emb_.tmp".
141
+ Target _DeployFiles:
142
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad studio\12.0\bin\Artwork\Android\FM_LauncherIcon_36x36.png,.\Android\Debug\HW\res\drawable-ldpi\,1,ic_launcher.png"
143
+ Platform Assistant Client Version 4.2.0.05
144
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
145
+
146
+ Copying file(s)...
147
+ Total file(s) copied: 1 file(s) 863 bytes
148
+ Target _DeployFiles:
149
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad studio\12.0\bin\Artwork\Android\FM_LauncherIcon_96x96.png,.\Android\Debug\HW\res\drawable-xhdpi\,1,ic_launcher.png"
150
+ Platform Assistant Client Version 4.2.0.05
151
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
152
+
153
+ Copying file(s)...
154
+ Total file(s) copied: 1 file(s) 1а921 bytes
155
+ Target _DeployFiles:
156
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad studio\12.0\lib\android\debug\classes.dex,.\Android\Debug\HW\classes\,1,classes.dex"
157
+ Platform Assistant Client Version 4.2.0.05
158
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
159
+
160
+ Copying file(s)...
161
+ Total file(s) copied: 1 file(s) 1а343а644 bytes
162
+ Target _DeployFiles:
163
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\android-ndk-r8e\prebuilt\android-arm\gdbserver\gdbserver,.\Android\Debug\HW\library\lib\armeabi\,1,gdbserver"
164
+ Platform Assistant Client Version 4.2.0.05
165
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
166
+
167
+ Copying file(s)...
168
+ Total file(s) copied: 1 file(s) 268а812 bytes
169
+ Target _DeployFiles:
170
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad studio\12.0\bin\Artwork\Android\FM_LauncherIcon_48x48.png,.\Android\Debug\HW\res\drawable-mdpi\,1,ic_launcher.png"
171
+ Platform Assistant Client Version 4.2.0.05
172
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
173
+
174
+ Copying file(s)...
175
+ Total file(s) copied: 1 file(s) 1а034 bytes
176
+ Target _DeployFiles:
177
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="Android\Debug\AndroidManifest.xml,.\Android\Debug\HW\,1,AndroidManifest.xml"
178
+ Platform Assistant Client Version 4.2.0.05
179
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
180
+
181
+ Copying file(s)...
182
+ Total file(s) copied: 1 file(s) 2а343 bytes
183
+ Target _DeployFiles:
184
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="Android\Debug\libHW.so,.\Android\Debug\HW\library\lib\armeabi\,1,libHW.so"
185
+ Platform Assistant Client Version 4.2.0.05
186
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
187
+
188
+ Copying file(s)...
189
+ Total file(s) copied: 1 file(s) 51а785а360 bytes
190
+ Target _DeployFiles:
191
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad studio\12.0\bin\Artwork\Android\FM_LauncherIcon_72x72.png,.\Android\Debug\HW\res\drawable-hdpi\,1,ic_launcher.png"
192
+ Platform Assistant Client Version 4.2.0.05
193
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
194
+
195
+ Copying file(s)...
196
+ Total file(s) copied: 1 file(s) 1а532 bytes
197
+ Target _DeployFiles:
198
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad studio\12.0\bin\Artwork\Android\FM_LauncherIcon_144x144.png,.\Android\Debug\HW\res\drawable-xxhdpi\,1,ic_launcher.png"
199
+ Platform Assistant Client Version 4.2.0.05
200
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
201
+
202
+ Copying file(s)...
203
+ Total file(s) copied: 1 file(s) 2а674 bytes
204
+ Target __CreateAPKDirs:
205
+ Creating directory ".\Android\Debug\HW\bin".
206
+ Creating directory ".\Android\Debug\HW\assets".
207
+ Target __StripOutputFile:
208
+ Creating directory ".\Android\Debug\HW\debug".
209
+ Copying file from ".\Android\Debug\HW\library\lib\armeabi\libHW.so" to ".\Android\Debug\HW\debug\libHW.so".
210
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --stripdebug="C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-strip.exe,.\Android\Debug\HW\debug\libHW.so,.\Android\Debug\HW\library\lib\armeabi\libHW.so"
211
+ Platform Assistant Client Version 4.2.0.05
212
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
213
+
214
+ Target _AndroidPackaging:
215
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --aaptpackage="C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\adt-bundle-windows-x86-20130522\sdk\build-tools\android-4.2.2\Aapt.exe,.\Android\Debug\HW\library,.\Android\Debug\HW\classes,.\Android\Debug\HW\res,.\Android\Debug\HW\assets,.\Android\Debug\HW\AndroidManifest.xml,C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\adt-bundle-windows-x86-20130522\sdk\platforms\android-17\android.jar,.\Android\Debug\HW\bin\HW-unsigned.apk"
216
+ Platform Assistant Client Version 4.2.0.05
217
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
218
+
219
+ Build FAILED.
220
+ 0 Warning(s)
221
+ 0 Error(s)
222
+ Time Elapsed 00:00:06.70
223
+ Build started 11.06.2014 16:05:07.
224
+ __________________________________________________
225
+ Project "C:\OCP\Temp\Android_Hello_Word\HW.dproj" (Deploy target(s)):
226
+ Target _CleanRemoteDir:
227
+ Cleaning APK Output Directory: .\Android\Debug\HW
228
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --Clean=".\Android\Debug\HW,C:\OCP\Temp\Android_Hello_Word\HW._@emb_.tmp"
229
+ Platform Assistant Client Version 4.2.0.05
230
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
231
+
232
+ Deleting file(s)...
233
+ Total file(s) deleted: 2 file(s) 3 dir(s)
234
+ Deleting file "C:\OCP\Temp\Android_Hello_Word\HW._@emb_.tmp".
235
+ Target _DeployFiles:
236
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad studio\12.0\bin\Artwork\Android\FM_LauncherIcon_36x36.png,.\Android\Debug\HW\res\drawable-ldpi\,1,ic_launcher.png"
237
+ Platform Assistant Client Version 4.2.0.05
238
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
239
+
240
+ Copying file(s)...
241
+ Total file(s) copied: 0 file(s) 0 bytes
242
+ Target _DeployFiles:
243
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad studio\12.0\bin\Artwork\Android\FM_LauncherIcon_96x96.png,.\Android\Debug\HW\res\drawable-xhdpi\,1,ic_launcher.png"
244
+ Platform Assistant Client Version 4.2.0.05
245
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
246
+
247
+ Copying file(s)...
248
+ Total file(s) copied: 0 file(s) 0 bytes
249
+ Target _DeployFiles:
250
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad studio\12.0\lib\android\debug\classes.dex,.\Android\Debug\HW\classes\,1,classes.dex"
251
+ Platform Assistant Client Version 4.2.0.05
252
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
253
+
254
+ Copying file(s)...
255
+ Total file(s) copied: 0 file(s) 0 bytes
256
+ Target _DeployFiles:
257
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\android-ndk-r8e\prebuilt\android-arm\gdbserver\gdbserver,.\Android\Debug\HW\library\lib\armeabi\,1,gdbserver"
258
+ Platform Assistant Client Version 4.2.0.05
259
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
260
+
261
+ Copying file(s)...
262
+ Total file(s) copied: 0 file(s) 0 bytes
263
+ Target _DeployFiles:
264
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad studio\12.0\bin\Artwork\Android\FM_LauncherIcon_48x48.png,.\Android\Debug\HW\res\drawable-mdpi\,1,ic_launcher.png"
265
+ Platform Assistant Client Version 4.2.0.05
266
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
267
+
268
+ Copying file(s)...
269
+ Total file(s) copied: 0 file(s) 0 bytes
270
+ Target _DeployFiles:
271
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="Android\Debug\AndroidManifest.xml,.\Android\Debug\HW\,1,AndroidManifest.xml"
272
+ Platform Assistant Client Version 4.2.0.05
273
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
274
+
275
+ Copying file(s)...
276
+ Total file(s) copied: 0 file(s) 0 bytes
277
+ Target _DeployFiles:
278
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="Android\Debug\libHW.so,.\Android\Debug\HW\library\lib\armeabi\,1,libHW.so"
279
+ Platform Assistant Client Version 4.2.0.05
280
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
281
+
282
+ Copying file(s)...
283
+ Total file(s) copied: 1 file(s) 51а785а360 bytes
284
+ Target _DeployFiles:
285
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad studio\12.0\bin\Artwork\Android\FM_LauncherIcon_72x72.png,.\Android\Debug\HW\res\drawable-hdpi\,1,ic_launcher.png"
286
+ Platform Assistant Client Version 4.2.0.05
287
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
288
+
289
+ Copying file(s)...
290
+ Total file(s) copied: 0 file(s) 0 bytes
291
+ Target _DeployFiles:
292
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --put="c:\program files (x86)\embarcadero\rad studio\12.0\bin\Artwork\Android\FM_LauncherIcon_144x144.png,.\Android\Debug\HW\res\drawable-xxhdpi\,1,ic_launcher.png"
293
+ Platform Assistant Client Version 4.2.0.05
294
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
295
+
296
+ Copying file(s)...
297
+ Total file(s) copied: 0 file(s) 0 bytes
298
+ Target __CreateAPKDirs:
299
+ Creating directory ".\Android\Debug\HW\bin".
300
+ Creating directory ".\Android\Debug\HW\assets".
301
+ Target __StripOutputFile:
302
+ Creating directory ".\Android\Debug\HW\debug".
303
+ Copying file from ".\Android\Debug\HW\library\lib\armeabi\libHW.so" to ".\Android\Debug\HW\debug\libHW.so".
304
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --stripdebug="C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-strip.exe,.\Android\Debug\HW\debug\libHW.so,.\Android\Debug\HW\library\lib\armeabi\libHW.so"
305
+ Platform Assistant Client Version 4.2.0.05
306
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
307
+
308
+ Target _AndroidPackaging:
309
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --aaptpackage="C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\adt-bundle-windows-x86-20130522\sdk\build-tools\android-4.2.2\Aapt.exe,.\Android\Debug\HW\library,.\Android\Debug\HW\classes,.\Android\Debug\HW\res,.\Android\Debug\HW\assets,.\Android\Debug\HW\AndroidManifest.xml,C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\adt-bundle-windows-x86-20130522\sdk\platforms\android-17\android.jar,.\Android\Debug\HW\bin\HW-unsigned.apk"
310
+ Platform Assistant Client Version 4.2.0.05
311
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
312
+
313
+ Target _AndroidSign:
314
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --jarsign="C:\Program Files\Java\jdk1.7.0_51\bin\JarSigner.exe,.\Android\Debug\HW\bin\HW-unsigned.apk,androiddebugkey,C:\Users\kriv.RARUS\AppData\Roaming\Embarcadero\BDS\12.0\debug.keystore,MD5withRSA,SHA1,android,android"
315
+ Platform Assistant Client Version 4.2.0.05
316
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
317
+
318
+ Target _AndroidZipAlign:
319
+ c:\program files (x86)\embarcadero\rad studio\12.0\bin\paclient.exe --zipalign="C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\adt-bundle-windows-x86-20130522\sdk\tools\ZipAlign.exe,.\Android\Debug\HW\bin\HW-unsigned.apk,.\Android\Debug\HW\bin\HW.apk,4"
320
+ Platform Assistant Client Version 4.2.0.05
321
+ Copyright (c) 2010-2013 Embarcadero Technologies, Inc.
322
+
323
+ Target __DeleteUnsignedAPKFile:
324
+ Deleting file ".\Android\Debug\HW\bin\HW-unsigned.apk".
325
+ Build succeeded.
326
+ 0 Warning(s)
327
+ 0 Error(s)
328
+ Time Elapsed 00:00:11.28
329
+ Search for 'RTL220_UP'
330
+ C:\OCP\lib\Jedi\jcl\source\include\jedi\jedi.inc [6]
331
+ C:\OCP\lib\Jedi\jcl\source\include\jedi\jedi.inc(357): RTL220_UP Defined when compiling with Delphi or C++Builder Personalities of BDS 8.0 or higher
332
+ C:\OCP\lib\Jedi\jcl\source\include\jedi\jedi.inc(745): {$DEFINE RTL220_UP}
333
+ C:\OCP\lib\Jedi\jcl\source\include\jedi\jedi.inc(999): {$IFDEF RTL230_UP} {$DEFINE RTL220_UP} {$ENDIF}
334
+ C:\OCP\lib\Jedi\jcl\source\include\jedi\jedi.inc(1000): {$IFDEF RTL220_UP} {$DEFINE RTL210_UP} {$ENDIF}
335
+ C:\OCP\lib\Jedi\jcl\source\include\jedi\jedi.inc(1304): {$IFDEF RTL220_UP}
336
+ C:\OCP\lib\Jedi\jcl\source\include\jedi\jedi.inc(1306): {$ENDIF RTL220_UP}
@@ -27,6 +27,7 @@ module Rake
27
27
  end
28
28
 
29
29
  def execute(args = nil)
30
+ super
30
31
  mask = @original_dir + '/lib/**/**'
31
32
  @libs = LibList.new(mask)
32
33
  end
@@ -260,6 +260,7 @@ module Rake
260
260
  end
261
261
 
262
262
  def execute(opts=nil)
263
+ super
263
264
  @dcc32Tool.class.checkToolFailure(@dcc32Tool.toolpath)
264
265
  fail "Could not find #{_source} to compile" unless @_source && File.exists?(@_source)
265
266
  init_libs
@@ -35,7 +35,12 @@ module Rake
35
35
  versioninfo = get_versioninfo_tag(@content)
36
36
  # no need to continue if no version info file
37
37
  return unless versioninfo
38
- versioninfo = versioninfo['Delphi.Personality']['VersionInfoKeys']['VersionInfoKeys']
38
+ ['Delphi.Personality', 'VersionInfoKeys', 'VersionInfoKeys'].each do |key|
39
+ versioninfo = versioninfo[key]
40
+ # test version info file validity
41
+ # no need to continue if file not valid
42
+ return unless versioninfo
43
+ end
39
44
  use_encode = String.new.respond_to?(:encode)
40
45
  encoding = self.class.encoding
41
46
  if encoding && ! use_encode
@@ -86,6 +86,7 @@ module Rake
86
86
  end
87
87
 
88
88
  def execute(args=nil)
89
+ super
89
90
  erb = ERB.new(IO.read(@template_file))
90
91
  text = erb.result(@template_obj.get_binding)
91
92
  File.open(@output, 'w') do |f|
@@ -122,6 +123,7 @@ module Rake
122
123
  end
123
124
 
124
125
  def execute(args=nil)
126
+ super
125
127
  v, path, tool = RCResourceCompiler.find(true)
126
128
  a = []
127
129
  a << '/dRC' if @is_rc
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rake
4
4
  module Delphi
5
- VERSION = '0.0.7'
5
+ VERSION = '0.0.8'
6
6
  end
7
7
  end
data/rake-delphi.gemspec CHANGED
@@ -14,11 +14,20 @@ Gem::Specification.new do |spec|
14
14
  spec.license = 'MIT'
15
15
 
16
16
  spec.files = Dir['*', 'lib/**/*.*rb',
17
- 'test/*', 'test/helpers/*', 'test/resources/**/*', 'test/resources/**/.gitkeep']
17
+ 'test/*.rb', 'test/helpers/*.rb', 'test/resources/**/*', 'test/resources/**/.gitkeep']
18
+ # avoid adding redundant files
19
+ spec.files.delete_if do |f|
20
+ match = false
21
+ [/\/test\/tmp\//, /\/dcu\//].each do |re|
22
+ match = re.match(f)
23
+ break if match
24
+ end
25
+ match
26
+ end
18
27
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
28
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
29
  spec.require_paths = ["lib"]
21
30
 
22
31
  spec.add_development_dependency "bundler", "~> 1.3"
23
- spec.add_development_dependency "rake"
32
+ spec.add_development_dependency "rake", "~> 10.0.4"
24
33
  end
@@ -1,4 +1,4 @@
1
1
  module DelphiTests
2
2
  PROJECT_PATH = File.expand_path('../../resources/testproject', __FILE__)
3
- PROJECT_EXE = PROJECT_PATH + '/bin/%s/testproject.exe'
4
- end
3
+ PROJECT_EXE = PROJECT_PATH + '/../../tmp/bin/%s/testproject.exe'
4
+ end
@@ -21,7 +21,9 @@
21
21
  #define _FILEFLAGS (VER_PRERELEASE|VER_DEBUG)
22
22
 
23
23
  LANGUAGE 0x19, 0x01
24
- MAINICON ICON "C:/cygwin/home/ashu/v3_0/lib/rake-delphi/test/resources/testproject/testproject.ico"
24
+ #ifdef MAIN_ICON
25
+ MAINICON ICON "C:/cygwin/home/ashu/projects/MobileClientAlfaAuto/lib/rake-delphi/test/resources/testproject/testproject.ico"
26
+ #endif
25
27
  1 VERSIONINFO
26
28
  FILEVERSION 0,0,0,0
27
29
  PRODUCTVERSION 1,2,3,4