Skip to content

Instantly share code, notes, and snippets.

@corinnekrych
Created August 30, 2016 15:14
Show Gist options
  • Select an option

  • Save corinnekrych/7754bce6a7ce053b90ff04b9b30802f8 to your computer and use it in GitHub Desktop.

Select an option

Save corinnekrych/7754bce6a7ce053b90ff04b9b30802f8 to your computer and use it in GitHub Desktop.
~/w/f/fh-digger git:ant-support ❯❯❯ sudo ./fh-digger.js config/dev_corinne.json ◼
Password:
Configuration is valid
connect deprecated multipart: use parser (multiparty, busboy, formidable) npm module instead node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:56:20
connect deprecated limit: Restrict request size at location of read node_modules/express/node_modules/connect/lib/middleware/multipart.js:86:15
server created
Started fh-digger version 2.1.0-BUILD-NUMBER on port: 8888 with pid 37520
addTaskToQueue: 0ms
set user to corinne
set group to henryg
tar: Failed to set default locale
a Dockerfile
a files
a files/AndroidManifest.xml
a files/assets
a files/build.xml
a files/libs
a files/LICENSE
a files/misc
a files/proguard-project.txt
a files/project.properties
a files/res
a files/screenshots
a files/src
a files/src/com
a files/src/com/feedhenry
a files/src/com/feedhenry/starter
a files/src/com/feedhenry/starter/FHStarterActivity.java
a files/screenshots/androidproject_container.png
a files/res/drawable-hdpi
a files/res/drawable-mdpi
a files/res/drawable-xhdpi
a files/res/layout
a files/res/menu
a files/res/values
a files/res/values-large
a files/res/values-large/dimens.xml
a files/res/values/dimens.xml
a files/res/values/strings.xml
a files/res/values/styles.xml
a files/res/menu/activity_fhstarter.xml
a files/res/layout/activity_fhstarter.xml
a files/res/drawable-xhdpi/ic_action_search.png
a files/res/drawable-xhdpi/ic_launcher.png
a files/res/drawable-mdpi/ic_action_search.png
a files/res/drawable-mdpi/ic_launcher.png
a files/res/drawable-hdpi/ic_action_search.png
a files/res/drawable-hdpi/ic_launcher.png
a files/misc/HEADER
a files/libs/android-async-http-1.4.9.jar
a files/libs/fh-android-sdk-3.0.0.jar
a files/libs/httpclient-4.3.6.jar
a files/assets/fhconfig.properties
a resources
{"stream":"Step 1 : FROM centos:7\n"}
{"stream":" ---\u003e 970633036444\n"}
{"stream":"Step 2 : RUN mkdir /app\n"}
{"stream":" ---\u003e Using cache\n"}
{"stream":" ---\u003e 2d845a0f4d8f\n"}
{"stream":"Step 3 : VOLUME /app\n"}
{"stream":" ---\u003e Using cache\n"}
{"stream":" ---\u003e b015671d4783\n"}
{"stream":"Step 4 : COPY files /app\n"}
{"stream":" ---\u003e Using cache\n"}
{"stream":" ---\u003e 776b669415cf\n"}
{"stream":"Step 5 : COPY resources /app\n"}
{"stream":" ---\u003e Using cache\n"}
{"stream":" ---\u003e b5172ef05da4\n"}
{"stream":"Step 6 : ENTRYPOINT /bin/sh\n"}
{"stream":" ---\u003e Using cache\n"}
{"stream":" ---\u003e db36e16be7c1\n"}
{"stream":"Successfully built db36e16be7c1\n"}
�pdated project.properties
Updated local.properties
Updated file /app/proguard-project.txt
Buildfile: /app/build.xml
help:
[echo] Android Ant Build. Available targets:
[echo] help: Displays this help.
[echo] clean: Removes output files created by other targets.
[echo] This calls the same target on all dependent projects.
[echo] Use 'ant nodeps clean' to only clean the local project
[echo] debug: Builds the application and signs it with a debug key.
[echo] The 'nodeps' target can be used to only build the
[echo] current project and ignore the libraries using:
[echo] 'ant nodeps debug'
[echo] release: Builds the application. The generated apk file must be
[echo] signed before it is published.
[echo] The 'nodeps' target can be used to only build the
[echo] current project and ignore the libraries using:
[echo] 'ant nodeps release'
[echo] instrument:Builds an instrumented package and signs it with a
[echo] debug key.
[echo] test: Runs the tests. Project must be a test project and
[echo] must have been built. Typical usage would be:
[echo] ant [emma] debug install test
[echo] emma: Transiently enables code coverage for subsequent
[echo] targets.
[echo] install: Installs the newly build package. Must either be used
[echo] in conjunction with a build target (debug/release/
[echo] instrument) or with the proper suffix indicating
[echo] which package to install (see below).
[echo] If the application was previously installed, the
[echo] application is reinstalled if the signature matches.
[echo] installd: Installs (only) the debug package.
[echo] installr: Installs (only) the release package.
[echo] installi: Installs (only) the instrumented package.
[echo] installt: Installs (only) the test and tested packages (unless
[echo] nodeps is used as well.
[echo] uninstall: Uninstalls the application from a running emulator or
[echo] device. Also uninstall tested package if applicable
[echo] unless 'nodeps' is used as well.
BUILD SUCCESSFUL
Total time: 0 seconds
Buildfile: /app/build.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 25.1.7
[checkenv] Installed at /opt/android-sdk-linux
-setup:
[echo] Project Name: AndroidApp
[gettype] Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
[getbuildtools] Using latest Build Tools: 24.0.2
[echo] Resolving Build Target for AndroidApp...
[gettarget] Project Target: Android 6.0
[gettarget] API level: 23
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: /app/bin
[mkdir] Created dir: /app/bin/res
[mkdir] Created dir: /app/bin/rsObj
[mkdir] Created dir: /app/bin/rsLibs
[mkdir] Created dir: /app/gen
[mkdir] Created dir: /app/bin/classes
[mkdir] Created dir: /app/bin/dexedLibs
[echo] ----------
[echo] Resolving Dependencies for AndroidApp...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on
-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.
-pre-compile:
-compile:
[javac] Compiling 3 source files to /app/bin/classes
-post-compile:
-obfuscate:
-dex:
[dex] input: /app/bin/classes
[dex] input: /app/libs/fh-android-sdk-3.0.0.jar
[dex] input: /app/libs/android-async-http-1.4.9.jar
[dex] input: /app/libs/httpclient-4.3.6.jar
[dex] Pre-Dexing /app/libs/fh-android-sdk-3.0.0.jar -> fh-android-sdk-3.0.0-871fbe51ac28d6f445c0908e7e3f88b3.jar
[dex] Pre-Dexing /app/libs/android-async-http-1.4.9.jar -> android-async-http-1.4.9-2da9ff8a05ae58d2ae743dbff5ec015e.jar
[dex] Pre-Dexing /app/libs/httpclient-4.3.6.jar -> httpclient-4.3.6-3debcbbfd5f73bf1330d323b99635ac0.jar
[dex] Converting compiled files and external libraries into /app/bin/classes.dex...
[dx] Merged dex #1 (12 defs/3.8KiB)
[dx] Merged dex #2 (61 defs/106.4KiB)
[dx] Merged dex #3 (78 defs/123.3KiB)
[dx] Merged dex #4 (736 defs/772.4KiB)
[dx] Result is 887 defs/1248.3KiB. Took 0.2s
-crunch:
[crunch] Crunching PNG Files in source dir: /app/res
[crunch] To destination dir: /app/bin/res
[crunch] Processing image to cache: /app/res/drawable-hdpi/ic_action_search.png => /app/bin/res/drawable-hdpi/ic_action_search.png
[crunch] Processing image to cache: /app/res/drawable-hdpi/ic_launcher.png => /app/bin/res/drawable-hdpi/ic_launcher.png
[crunch] Processing image to cache: /app/res/drawable-mdpi/ic_action_search.png => /app/bin/res/drawable-mdpi/ic_action_search.png
[crunch] Processing image to cache: /app/res/drawable-mdpi/ic_launcher.png => /app/bin/res/drawable-mdpi/ic_launcher.png
[crunch] Processing image to cache: /app/res/drawable-xhdpi/ic_action_search.png => /app/bin/res/drawable-xhdpi/ic_action_search.png
[crunch] Processing image to cache: /app/res/drawable-xhdpi/ic_launcher.png => /app/bin/res/drawable-xhdpi/ic_launcher.png
[crunch] Crunched 6 PNG files to update cache
[crunch] libpng error: Not a PNG file
[crunch] libpng error: Not a PNG file
[crunch] libpng error: Not a PNG file
[crunch] libpng error: Not a PNG file
[crunch] libpng error: Not a PNG file
[crunch] libpng error: Not a PNG file
-package-resources:
[aapt] Creating full resource package...
-package:
[apkbuilder] Current build type is different than previous build: forced apkbuilder run.
[apkbuilder] Creating AndroidApp-debug-unaligned.apk and signing it with a debug key...
-post-package:
-do-debug:
[zipalign] Running zip align on final apk...
[echo] Debug Package: /app/bin/AndroidApp-debug.apk
[propertyfile] Creating new property file: /app/bin/build.prop
[propertyfile] Updating property file: /app/bin/build.prop
[propertyfile] Updating property file: /app/bin/build.prop
[propertyfile] Updating property file: /app/bin/build.prop
-post-build:
debug:
BUILD SUCCESSFUL
Total time: 12 seconds
--- undefined ---
warn: handleInternalError: null code: 404 msg: Error: no endpoint defined: /digger/android/dist/c12674f9-66e8-462d-a9de-410f9c8e731f//opt/feedhenry/fh-digger/data/built/c12674f9-66e8-462d-a9de-410f9c8e731f/AndroidApp-debug.apk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment