Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23878] Windows: Log more information when building a module

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusResolved
ResolutionFixed
Resolution Date2016-09-28T17:06:04.000+0000
Affected Version/sRelease 6.0.0
Fix Version/sn/a
ComponentsWindows
LabelsWindows, qe-6.0.0
ReporterEwan Harris
AssigneeKota Iguchi
Created2016-09-08T13:15:08.000+0000
Updated2016-09-28T17:06:04.000+0000

Description

Description

Currently when building a Windows platform module there is very little logged in comparison to other platforms, it would be useful to a user if more information is logged, for example * Log confirmation of all of the architectures being built rather than just the ones being skipped * Log the architectures in an easier to understand format, such as Building <solution> for Windows 10 ARM * If the timodule specifies a certain SDK version, log information regarding that * Log the zip location so a user can find the packaged module easily
--- WindowsModuleBuilder loginfo
[INFO] :   Visual Studio version: 14.0
[INFO] :   MSBuild version: 14.0.25420.1
[INFO] :   Project directory: C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomeomodulewin\windows
[INFO] :   Skipping C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomeomodulewin\windows\WindowsStore.ARM\ComAwesomeoWin.sln
[INFO] :   Creating zip: com.awesomeo.win-windows-1.0.0.zip
[INFO] :   Done.
[INFO] :   Project built successfully in 27s 377ms
[INFO]  javac Max Memory: 256M
[INFO]  javac Source: 1.6
[INFO]  javac Target: 1.6
[INFO]  dx Max Memory: 1024M
[INFO]  buildBinClassesDir: C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\android\build\classes
[INFO]  Assets Dir: C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\assets
[INFO]  Documentation Dir: C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\documentation
[INFO]  Example Dir: C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\example
[INFO]  Platform Dir: C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\android\platform
[INFO]  Resources Dir: C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\android\Resources
Generating java files from the .aidl files
[INFO]  No aidl files to compile
Compiling Module Java source files
[INFO]  Building Java source files: C:\Program Files (x86)\Java\jdk1.7.0_80\bin\javac.exe "-J-Xmx256M" "-encoding" "utf8" "-classpath" "C:\android-sdk-win\platforms\android-23\android.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\lib\closure-compiler.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\lib\titanium-debug.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\lib\titanium-profiler.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\lib\titanium-verify.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-accelerometer.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-analytics.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-android.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-app.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-appcompat.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-calendar.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-cardview.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-contacts.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-database.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-filesystem.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-geolocation.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-gesture.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-locale.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-map.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-media.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-network.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-platform.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-ui.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-utils.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-xml.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\android-support-multidex.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\android-support-v4.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\android-support-v7-appcompat.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\aps-analytics.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\cardview-v7-23.0.1.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\freemarker.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\jaxen-1.1.1.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\json_simple-1.1.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\kroll-apt.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\kroll-common.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\kroll-v8.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\nineoldandroids-appc-2.4.0.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\ti-commons-codec-1.3.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\titanium.jar" "-d" "C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\android\build\classes" "-target" "1.6" "-g" "-source" "1.6" "@C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\android\java-sources.txt" "-processor" "org.appcelerator.kroll.annotations.generator.KrollJSONGenerator" "-s" "C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\android\build\generated\json" "-Akroll.jsonFile=awesomemod.json" "-Akroll.jsonPackage=org.appcelerator.titanium.bindings"
Generating runtime bindings
[INFO]  Generate v8 bindings: C:\Program Files (x86)\Java\jdk1.7.0_80\bin\java.exe "-classpath" "C:\android-sdk-win\platforms\android-23\android.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\lib\closure-compiler.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\lib\titanium-debug.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\lib\titanium-profiler.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\lib\titanium-verify.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-accelerometer.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-analytics.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-android.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-app.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-appcompat.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-calendar.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-cardview.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-contacts.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-database.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-filesystem.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-geolocation.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-gesture.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-locale.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-map.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-media.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-network.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-platform.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-ui.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-utils.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-xml.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\android-support-multidex.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\android-support-v4.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\android-support-v7-appcompat.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\aps-analytics.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\cardview-v7-23.0.1.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\freemarker.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\jaxen-1.1.1.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\json_simple-1.1.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\kroll-apt.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\kroll-common.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\kroll-v8.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\nineoldandroids-appc-2.4.0.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\ti-commons-codec-1.3.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\titanium.jar" "org.appcelerator.kroll.annotations.generator.KrollBindingGenerator" "C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\android\build\generated\jni" "true" "com.awesomeo" "C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\android\build\generated\json\org\appcelerator\titanium\bindings\awesomemod.json"
Producing [ModuleName]Bootstrap files using C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\android\build\generated\json\org\appcelerator\titanium\bindings\awesomemod.json
Generating BootstrapJS.cpp from bootstrap.js
Running the stock Android NDK ndk-build
[INFO]  Starting directory: C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\android
[INFO]  New directory: C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\android\build\generated
Compiling all java source files genereated
[INFO]  Building Java source files: C:\Program Files (x86)\Java\jdk1.7.0_80\bin\javac.exe "-J-Xmx256M" "-encoding" "utf8" "-d" "C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\android\build\classes" "-classpath" "C:\android-sdk-win\platforms\android-23\android.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\lib\closure-compiler.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\lib\titanium-debug.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\lib\titanium-profiler.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\lib\titanium-verify.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-accelerometer.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-analytics.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-android.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-app.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-appcompat.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-calendar.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-cardview.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-contacts.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-database.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-filesystem.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-geolocation.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-gesture.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-locale.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-map.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-media.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-network.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-platform.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-ui.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-utils.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\modules\titanium-xml.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\android-support-multidex.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\android-support-v4.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\android-support-v7-appcompat.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\aps-analytics.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\cardview-v7-23.0.1.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\freemarker.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\jaxen-1.1.1.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\json_simple-1.1.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\kroll-apt.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\kroll-common.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\kroll-v8.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\nineoldandroids-appc-2.4.0.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\ti-commons-codec-1.3.jar;C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20160908040018\android\titanium.jar" "-target" "1.6" "-g" "-source" "1.6" "@C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\android\java-sources.txt"
Verifying build architectures
[INFO]  Build architectures are sane
Packaging the module
[INFO]  Generate module JAR: jar "cf" "C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\android\dist\awesomemod.jar" "-C" "C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\android\build\classes" "." "-C" "C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod" "assets"
[INFO]  Creating module zip
[INFO]  Writing module zip: C:\Users\ewan\Documents\Appcelerator_Studio_Workspace\awesomemod\android\dist\com.awesomeo-android-1.0.0.zip
[INFO]  Project built successfully in 5s 425ms

Comments

  1. Kota Iguchi 2016-09-16

    https://github.com/appcelerator/titanium_mobile_windows/pull/871

JSON Source