Advertisement
tthtlc

Untitled

May 25th, 2013
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.58 KB | None | 0 0
  1. https://github.com/downloads/robomorphine/testrunner/robomorphine-testrunner.zip
  2.  
  3. https://github.com/robomorphine/testrunner/wiki/quickstart
  4.  
  5. https://github.com/downloads/robomorphine/testrunner/android-build-example.zip
  6.  
  7. And adding local.properties:
  8.  
  9. local.properties.template:sdk.dir=/opt/android-sdk-linux
  10.  
  11. (specific to my env)
  12.  
  13. Extracted out to /tmp/mytest directory and then:
  14.  
  15. /tmp/mytest/tester>ant debug
  16. Buildfile: /tmp/mytest/tester/build.xml
  17.  
  18. -set-mode-check:
  19.  
  20. -set-debug-files:
  21.  
  22. -check-env:
  23. [checkenv] Android SDK Tools Revision 21.1.0
  24. [checkenv] Installed at /opt/android-sdk-linux
  25.  
  26. -setup:
  27. [echo] Project Name: tester
  28. [gettype] Project Type: Test Application
  29.  
  30. -set-debug-mode:
  31.  
  32. -debug-obfuscation-check:
  33.  
  34. -pre-build:
  35.  
  36. -build-setup:
  37. [echo] Resolving Build Target for tester...
  38. [gettarget] Project Target: Android 2.2
  39. [gettarget] API level: 8
  40. [echo] ----------
  41. [echo] Creating output directories if needed...
  42. [mkdir] Created dir: /tmp/mytest/tester/libs
  43. [mkdir] Created dir: /tmp/mytest/tester/bin
  44. [mkdir] Created dir: /tmp/mytest/tester/bin/res
  45. [mkdir] Created dir: /tmp/mytest/tester/gen
  46. [mkdir] Created dir: /tmp/mytest/tester/bin/classes
  47. [mkdir] Created dir: /tmp/mytest/tester/bin/dexedLibs
  48. [echo] ----------
  49. [echo] Resolving Dependencies for tester...
  50. [dependency] Library dependencies:
  51. [dependency] No Libraries
  52. [dependency]
  53. [dependency] ------------------
  54. [dependency] API<=15: Adding annotations.jar to the classpath.
  55. [echo] ----------
  56. [echo] Building Libraries with 'debug'...
  57. [subant] No sub-builds to iterate on
  58. [echo] ----------
  59. [echo] Building tested project at /tmp/mytest/tested with 'debug'...
  60.  
  61. -set-mode-check:
  62.  
  63. -set-debug-files:
  64.  
  65. -check-env:
  66. [checkenv] Android SDK Tools Revision 21.1.0
  67. [checkenv] Installed at /opt/android-sdk-linux
  68.  
  69. -setup:
  70. [echo] Project Name: tested
  71. [gettype] Project Type: Application
  72.  
  73. -set-debug-mode:
  74.  
  75. -debug-obfuscation-check:
  76.  
  77. -pre-build:
  78.  
  79. -build-setup:
  80. [echo] Resolving Build Target for tested...
  81. [gettarget] Project Target: Android 2.2
  82. [gettarget] API level: 8
  83. [echo] ----------
  84. [echo] Creating output directories if needed...
  85. [mkdir] Created dir: /tmp/mytest/tested/libs
  86. [mkdir] Created dir: /tmp/mytest/tested/bin
  87. [mkdir] Created dir: /tmp/mytest/tested/bin/res
  88. [mkdir] Created dir: /tmp/mytest/tested/gen
  89. [mkdir] Created dir: /tmp/mytest/tested/bin/classes
  90. [mkdir] Created dir: /tmp/mytest/tested/bin/dexedLibs
  91. [echo] ----------
  92. [echo] Resolving Dependencies for tested...
  93. [dependency] Library dependencies:
  94. [dependency] No Libraries
  95. [dependency]
  96. [dependency] ------------------
  97. [dependency] API<=15: Adding annotations.jar to the classpath.
  98. [echo] ----------
  99. [echo] Building Libraries with 'debug'...
  100. [subant] No sub-builds to iterate on
  101.  
  102. -code-gen:
  103. [mergemanifest] Merging AndroidManifest files into one.
  104. [mergemanifest] Manifest merger disabled. Using project manifest only.
  105. [echo] Handling aidl files...
  106. [aidl] No AIDL files to compile.
  107. [echo] ----------
  108. [echo] Handling RenderScript files...
  109. [renderscript] No RenderScript files to compile.
  110. [echo] ----------
  111. [echo] Handling Resources...
  112. [aapt] Generating resource IDs...
  113. [echo] ----------
  114. [echo] Handling BuildConfig class...
  115. [buildconfig] Generating BuildConfig class.
  116.  
  117. -pre-compile:
  118.  
  119. -compile:
  120. [javac] Compiling 3 source files to /tmp/mytest/tested/bin/classes
  121.  
  122. -post-compile:
  123.  
  124. -obfuscate:
  125.  
  126. -dex:
  127. [dex] input: /tmp/mytest/tested/bin/classes
  128. [dex] input: /opt/android-sdk-linux/tools/support/annotations.jar
  129. [dex] Pre-Dexing /opt/android-sdk-linux/tools/support/annotations.jar -> annotations-57bcb942842df78922f5cd056349eee7.jar
  130. [dex] Converting compiled files and external libraries into /tmp/mytest/tested/bin/classes.dex...
  131. [dx] Merged dex A (7 defs/2.1KiB) with dex B (2 defs/1.1KiB). Result is 9 defs/3.1KiB. Took 0.0s
  132.  
  133. -crunch:
  134. [crunch] Crunching PNG Files in source dir: /tmp/mytest/tested/res
  135. [crunch] To destination dir: /tmp/mytest/tested/bin/res
  136. [crunch] Processing image to cache: /tmp/mytest/tested/res/drawable/icon.png => /tmp/mytest/tested/bin/res/drawable/icon.png
  137. [crunch] (processed image to cache entry /tmp/mytest/tested/bin/res/drawable/icon.png: 0% size of source)
  138. [crunch] Crunched 1 PNG files to update cache
  139.  
  140. -package-resources:
  141. [aapt] Creating full resource package...
  142.  
  143. -package:
  144. [apkbuilder] Current build type is different than previous build: forced apkbuilder run.
  145. [apkbuilder] Creating tested-debug-unaligned.apk and signing it with a debug key...
  146.  
  147. -post-package:
  148.  
  149. -do-debug:
  150. [zipalign] Running zip align on final apk...
  151. [echo] Debug Package: /tmp/mytest/tested/bin/tested-debug.apk
  152. [propertyfile] Creating new property file: /tmp/mytest/tested/bin/build.prop
  153. [propertyfile] Updating property file: /tmp/mytest/tested/bin/build.prop
  154. [propertyfile] Updating property file: /tmp/mytest/tested/bin/build.prop
  155. [propertyfile] Updating property file: /tmp/mytest/tested/bin/build.prop
  156.  
  157. -post-build:
  158.  
  159. debug:
  160. [testedprojectclasspath] Resolved classpath:
  161. [testedprojectclasspath] /tmp/mytest/tested/bin/classes
  162.  
  163. -code-gen:
  164. [mergemanifest] Merging AndroidManifest files into one.
  165. [mergemanifest] Manifest merger disabled. Using project manifest only.
  166. [echo] Handling aidl files...
  167. [aidl] No AIDL files to compile.
  168. [echo] ----------
  169. [echo] Handling RenderScript files...
  170. [renderscript] No RenderScript files to compile.
  171. [echo] ----------
  172. [echo] Handling Resources...
  173. [aapt] Generating resource IDs...
  174. [echo] ----------
  175. [echo] Handling BuildConfig class...
  176. [buildconfig] Generating BuildConfig class.
  177.  
  178. -pre-compile:
  179.  
  180. -compile:
  181. [javac] Compiling 5 source files to /tmp/mytest/tester/bin/classes
  182.  
  183. -post-compile:
  184.  
  185. -obfuscate:
  186.  
  187. -dex:
  188. [dex] input: /tmp/mytest/tester/bin/classes
  189. [dex] input: /opt/android-sdk-linux/tools/support/annotations.jar
  190. [dex] Pre-Dexing /opt/android-sdk-linux/tools/support/annotations.jar -> annotations-57bcb942842df78922f5cd056349eee7.jar
  191. [dex] Converting compiled files and external libraries into /tmp/mytest/tester/bin/classes.dex...
  192. [dx] Merged dex A (8 defs/3.1KiB) with dex B (2 defs/1.1KiB). Result is 10 defs/4.2KiB. Took 0.0s
  193.  
  194. -crunch:
  195. [crunch] Crunching PNG Files in source dir: /tmp/mytest/tester/res
  196. [crunch] To destination dir: /tmp/mytest/tester/bin/res
  197. [crunch] Processing image to cache: /tmp/mytest/tester/res/drawable/icon.png => /tmp/mytest/tester/bin/res/drawable/icon.png
  198. [crunch] (processed image to cache entry /tmp/mytest/tester/bin/res/drawable/icon.png: 0% size of source)
  199. [crunch] Crunched 1 PNG files to update cache
  200.  
  201. -package-resources:
  202. [aapt] Creating full resource package...
  203.  
  204. -package:
  205. [apkbuilder] Current build type is different than previous build: forced apkbuilder run.
  206. [apkbuilder] Creating tester-debug-unaligned.apk and signing it with a debug key...
  207.  
  208. -post-package:
  209.  
  210. -do-debug:
  211. [zipalign] Running zip align on final apk...
  212. [echo] Debug Package: /tmp/mytest/tester/bin/tester-debug.apk
  213. [propertyfile] Creating new property file: /tmp/mytest/tester/bin/build.prop
  214. [propertyfile] Updating property file: /tmp/mytest/tester/bin/build.prop
  215. [propertyfile] Updating property file: /tmp/mytest/tester/bin/build.prop
  216. [propertyfile] Updating property file: /tmp/mytest/tester/bin/build.prop
  217.  
  218. -post-build:
  219.  
  220. debug:
  221.  
  222. BUILD SUCCESSFUL
  223. Total time: 11 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement