Titanium JIRA Archive
Appcelerator Community (AC)

[AC-157] Alloy does not compile a complete directory of controllers

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNot Our Bug
Resolution Date2015-06-09T20:48:38.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy, Appcelerator CLI
Labelsalloy, build, compile
ReporterUriel Lizama
AssigneeRadamantis Torres-Lechuga
Created2015-06-09T13:38:26.000+0000
Updated2015-06-09T20:48:38.000+0000

Description

On my project I have my controllers this way: app/index.js app/windows/start.js app/windows/inventory.js app/popups/location.js ... etc Now, the issue is that since I upgraded to the latest version of the CLI & Alloy, all the controllers living under the windows/ directory don't get compiled, not even processed by alloy. {{[INFO] Found Titanium plugin id=ti.alloy version=1.6.0 [INFO] Deploy type: development [INFO] Building for target: simulator [INFO] Building using iOS SDK: 8.3 [INFO] Building for iOS Simulator: iPhone 4s [INFO] Building for device family: iphone [INFO] Minimum iOS version: 7.0 [INFO] Debugging disabled [INFO] Profiler disabled [INFO] Forcing rebuild: /Users/ulizama/Documents/Apps/GoMontrose/build/iphone/build-manifest.json does not exist [INFO] Initiating prepare phase [INFO] Found Alloy app in /Users/ulizama/Documents/Apps/GoMontrose/app [INFO] Executing Alloy compile: /usr/local/bin/node /Users/ulizama/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/node_modules/.bin/alloy compile /Users/ulizama/Documents/Apps/GoMontrose/app --config platform=ios,version=0,simtype=none,devicefamily=iphone,deploytype=development,target=simulator [INFO] [config.json] regenerating CFG.js from config.json... [INFO] ----- MVC GENERATION ----- [INFO] [app.tss] global style processing... [INFO] [global style] writing to cache... [INFO] [widgets/com.proximityaware.forms.inventory.make/models/InvMakes.js] model processing... [INFO] [widgets/com.proximityaware.forms.inventory.model/models/InvModels.js] model processing... [INFO] [widgets/com.proximityaware.forms.inventory.year/models/InvYears.js] model processing... [INFO] [models/Beacon.js] model processing... [INFO] Found 2 migrations for model: Beacon [INFO] [models/Discount.js] model processing... [INFO] Found 0 migrations for model: Discount [INFO] [models/Inventory.js] model processing... [INFO] Found 0 migrations for model: Inventory [INFO] [models/Location.js] model processing... [INFO] Found 0 migrations for model: Location [INFO] [models/Message.js] model processing... [INFO] Found 1 migrations for model: Message [INFO] [models/Service.js] model processing... [INFO] Found 0 migrations for model: Service [INFO] [view.xml] nl.fokkezb.loading view processing... [INFO] style: "view.tss" [INFO] view: "view.xml" [INFO] controller: "view.js" [INFO] created: "Resources/iphone/alloy/widgets/nl.fokkezb.loading/controllers/view.js" [INFO] created: "Resources/iphone/alloy/widgets/nl.fokkezb.loading/styles/view.js" [INFO] [widget.xml] nl.fokkezb.loading view processing... [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/nl.fokkezb.loading/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/nl.fokkezb.loading/styles/widget.js" [INFO] [window.xml] nl.fokkezb.loading view processing... [INFO] style: "window.tss" [INFO] view: "window.xml" [INFO] controller: "window.js" [INFO] created: "Resources/iphone/alloy/widgets/nl.fokkezb.loading/controllers/window.js" [INFO] created: "Resources/iphone/alloy/widgets/nl.fokkezb.loading/styles/window.js" [INFO] [widget.xml] nl.fokkezb.infiniteScroll view processing... [INFO] style: "widget.tss" [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/nl.fokkezb.infiniteScroll/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/nl.fokkezb.infiniteScroll/styles/widget.js" [INFO] [widget.xml] ti.ux.forms.row.text view processing... [INFO] style: "widget.tss" [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/ti.ux.forms.row.text/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/ti.ux.forms.row.text/styles/widget.js" [INFO] [widget.xml] ti.ux.forms.row.optionspicker view processing... [INFO] style: "widget.tss" [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/ti.ux.forms.row.optionspicker/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/ti.ux.forms.row.optionspicker/styles/widget.js" [INFO] [widget.xml] ti.ux.spacer view processing... [INFO] style: "widget.tss" [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/ti.ux.spacer/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/ti.ux.spacer/styles/widget.js" [INFO] [widget.xml] ti.ux.forms.row.switch view processing... [INFO] style: "widget.tss" [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/ti.ux.forms.row.switch/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/ti.ux.forms.row.switch/styles/widget.js" [INFO] [widget.xml] nl.fokkezb.html2as.widget view processing... [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/nl.fokkezb.html2as.widget/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/nl.fokkezb.html2as.widget/styles/widget.js" [INFO] [widget.xml] com.proximityaware.forms.location view processing... [INFO] style: "widget.tss" [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.location/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.location/styles/widget.js" [INFO] [widget.xml] com.proximityaware.forms.vehicle view processing... [INFO] style: "widget.tss" [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.vehicle/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.vehicle/styles/widget.js" [INFO] [star.xml] starrating view processing... [INFO] style: "star.tss" [INFO] view: "star.xml" [INFO] controller: "star.js" [INFO] created: "Resources/iphone/alloy/widgets/starrating/controllers/star.js" [INFO] created: "Resources/iphone/alloy/widgets/starrating/styles/star.js" [INFO] [widget.xml] starrating view processing... [INFO] style: "widget.tss" [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/starrating/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/starrating/styles/widget.js" [INFO] [widget.xml] ti.ux.iconfont view processing... [INFO] style: "widget.tss" [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/ti.ux.iconfont/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/ti.ux.iconfont/styles/widget.js" [INFO] [widget.xml] com.proximityaware.row.icon view processing... [INFO] style: "widget.tss" [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.row.icon/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.row.icon/styles/widget.js" [INFO] [widget.xml] com.proximityaware.inventory.type view processing... [INFO] style: "widget.tss" [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.inventory.type/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.inventory.type/styles/widget.js" [INFO] [selector.xml] com.proximityaware.forms.inventory.make view processing... [INFO] style: "selector.tss" [INFO] view: "selector.xml" [INFO] controller: "selector.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.make/controllers/selector.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.make/styles/selector.js" [INFO] [widget.xml] com.proximityaware.forms.inventory.make view processing... [INFO] style: "widget.tss" [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.make/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.make/styles/widget.js" [INFO] [selector.xml] com.proximityaware.forms.inventory.model view processing... [INFO] view: "selector.xml" [INFO] controller: "selector.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.model/controllers/selector.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.model/styles/selector.js" [INFO] [widget.xml] com.proximityaware.forms.inventory.model view processing... [INFO] style: "widget.tss" [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.model/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.model/styles/widget.js" [INFO] [selector.xml] com.proximityaware.forms.inventory.year view processing... [INFO] view: "selector.xml" [INFO] controller: "selector.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.year/controllers/selector.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.year/styles/selector.js" [INFO] [widget.xml] com.proximityaware.forms.inventory.year view processing... [INFO] style: "widget.tss" [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.year/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.year/styles/widget.js" [INFO] [widget.xml] com.proximityaware.forms.inventory.location view processing... [INFO] style: "widget.tss" [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.location/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.location/styles/widget.js" [INFO] [selector.xml] com.proximityaware.forms.inventory.price view processing... [INFO] view: "selector.xml" [INFO] controller: "selector.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.price/controllers/selector.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.price/styles/selector.js" [INFO] [widget.xml] com.proximityaware.forms.inventory.price view processing... [INFO] style: "widget.tss" [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.price/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.forms.inventory.price/styles/widget.js" [INFO] [widget.xml] com.proximityaware.vehicle.setup view processing... [INFO] style: "widget.tss" [INFO] view: "widget.xml" [INFO] controller: "widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.vehicle.setup/controllers/widget.js" [INFO] created: "Resources/iphone/alloy/widgets/com.proximityaware.vehicle.setup/styles/widget.js" [INFO] [index.xml] view processing... [INFO] style: "index.tss" [INFO] view: "index.xml" [INFO] controller: "index.js" [INFO] created: "Resources/iphone/alloy/controllers/index.js" [INFO] created: "Resources/iphone/alloy/styles/index.js" [INFO] [popups/location.xml] view processing... [INFO] style: "popups/location.tss" [INFO] view: "popups/location.xml" [INFO] controller: "popups/location.js" [INFO] created: "Resources/iphone/alloy/controllers/popups/location.js" [INFO] created: "Resources/iphone/alloy/styles/popups/location.js" [INFO] [popups/notificationAlert.xml] view processing... [INFO] style: "popups/notificationAlert.tss" [INFO] view: "popups/notificationAlert.xml" [INFO] controller: "popups/notificationAlert.js" [INFO] created: "Resources/iphone/alloy/controllers/popups/notificationAlert.js" [INFO] created: "Resources/iphone/alloy/styles/popups/notificationAlert.js" [INFO] [popups/notifications.xml] view processing... [INFO] style: "popups/notifications.tss" [INFO] view: "popups/notifications.xml" [INFO] controller: "popups/notifications.js" [INFO] created: "Resources/iphone/alloy/controllers/popups/notifications.js" [INFO] created: "Resources/iphone/alloy/styles/popups/notifications.js" [INFO] [INFO] [app.js] Titanium entry point processing... [INFO] created: "Resources/iphone/app.js" [INFO] [INFO] ----- OPTIMIZING ----- [INFO] - alloy/animation.js [INFO] - alloy/measurement.js [INFO] - iphone/WidgetTools.js [INFO] - iphone/alloy.js [INFO] - iphone/api.js [INFO] - iphone/badges.js [INFO] - iphone/barcode.js [INFO] - iphone/barcode_android.js [INFO] - iphone/beacons.js [INFO] - iphone/ga.js [INFO] - iphone/gcm.js [INFO] - iphone/gcm_activity.js [INFO] - iphone/geo.js [INFO] - iphone/get.js [INFO] - iphone/math.js [INFO] - iphone/navController.js [INFO] - iphone/properties.js [INFO] - iphone/push.js [INFO] - iphone/services.js [INFO] - iphone/sharer.js [INFO] - iphone/urlscheme.js [INFO] - iphone/util.js [INFO] - iphone/validators.js [INFO] - iphone/alloy/models/Beacon.js [INFO] - iphone/alloy/models/Discount.js [INFO] - iphone/alloy/models/Inventory.js [INFO] - iphone/alloy/models/Location.js [INFO] - iphone/alloy/models/Message.js [INFO] - iphone/alloy/models/Service.js [INFO] - iphone/alloy/sync/json.js [INFO] - iphone/alloy/sync/localStorage.js [INFO] - iphone/alloy/sync/properties.js [INFO] - iphone/alloy/sync/sql.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.location/controllers/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.location/styles/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.make/controllers/selector.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.make/controllers/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.make/models/InvMakes.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.make/styles/selector.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.make/styles/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.model/controllers/selector.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.model/controllers/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.model/models/InvModels.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.model/styles/selector.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.model/styles/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.price/controllers/selector.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.price/controllers/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.price/styles/selector.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.price/styles/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.year/controllers/selector.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.year/controllers/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.year/models/InvYears.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.year/styles/selector.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.inventory.year/styles/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.location/controllers/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.location/styles/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.vehicle/controllers/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.forms.vehicle/styles/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.inventory.type/controllers/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.inventory.type/styles/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.row.icon/controllers/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.row.icon/styles/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.vehicle.setup/controllers/widget.js [INFO] - iphone/alloy/widgets/com.proximityaware.vehicle.setup/styles/widget.js [INFO] - iphone/alloy/widgets/nl.fokkezb.html2as.widget/controllers/widget.js [INFO] - iphone/alloy/widgets/nl.fokkezb.html2as.widget/styles/widget.js [INFO] - iphone/alloy/widgets/nl.fokkezb.infiniteScroll/controllers/widget.js [INFO] - iphone/alloy/widgets/nl.fokkezb.infiniteScroll/styles/widget.js [INFO] - iphone/alloy/widgets/nl.fokkezb.loading/controllers/view.js [INFO] - iphone/alloy/widgets/nl.fokkezb.loading/controllers/widget.js [INFO] - iphone/alloy/widgets/nl.fokkezb.loading/controllers/window.js [INFO] - iphone/alloy/widgets/nl.fokkezb.loading/styles/view.js [INFO] - iphone/alloy/widgets/nl.fokkezb.loading/styles/widget.js [INFO] - iphone/alloy/widgets/nl.fokkezb.loading/styles/window.js [INFO] - iphone/alloy/widgets/starrating/controllers/star.js [INFO] - iphone/alloy/widgets/starrating/controllers/widget.js [INFO] - iphone/alloy/widgets/starrating/styles/star.js [INFO] - iphone/alloy/widgets/starrating/styles/widget.js [INFO] - iphone/alloy/widgets/ti.ux.forms.row.optionspicker/controllers/widget.js [INFO] - iphone/alloy/widgets/ti.ux.forms.row.optionspicker/styles/widget.js [INFO] - iphone/alloy/widgets/ti.ux.forms.row.switch/controllers/widget.js [INFO] - iphone/alloy/widgets/ti.ux.forms.row.switch/styles/widget.js [INFO] - iphone/alloy/widgets/ti.ux.forms.row.text/controllers/widget.js [INFO] - iphone/alloy/widgets/ti.ux.forms.row.text/styles/widget.js [INFO] - iphone/alloy/widgets/ti.ux.iconfont/controllers/widget.js [INFO] - iphone/alloy/widgets/ti.ux.iconfont/styles/widget.js [INFO] - iphone/alloy/widgets/ti.ux.spacer/controllers/widget.js [INFO] - iphone/alloy/widgets/ti.ux.spacer/styles/widget.js [INFO] - iphone/ti.ux.forms.row.text/Scope.js [INFO] - iphone/ti.ux.iconfont/FontAwesome.js [INFO] - iphone/ti.ux.iconfont/IconicFont.js [INFO] [INFO] Alloy compiled in 6.47644s [INFO] Alloy compiler completed successfully }} I tried compiling Alloy manually, cleaning and rebuilding, etc. But nothing gets Alloy to find a compile the controllers.

Comments

  1. Stephen Feather 2015-06-09

    'windows/ directory' wonder if 'windows' is a reserved platform word like android or iphone for platform specific resources....
  2. Uriel Lizama 2015-06-09

    Ah, haven't thought of it. Maybe since the last version came with Windows support now they made it a reserved word in the latest version. I'll change the name and see if it works.
  3. Uriel Lizama 2015-06-09

    Yes! That was the issue. windows seems to be reserved word. I changed it to wins and now it works. Thanks

JSON Source