Results 1 to 5 of 5

Thread: Build Fails for web app

  1. #1
    Ext JS Premium Member
    Join Date
    Aug 2009
    Location
    Sydney
    Posts
    65

    Default Answered: Build Fails for web app

    Hi Team

    First, the official stuff...

    Windows 7
    Architect Version 3.0.3
    Build - 1382

    It's been a few revisions since we've actually published this app (using the Build Web App functionality) and we're now getting failure during the build cycle. Log files are:

    10:24:37 AM
    "C:/Users/sysadmin/bin/Sencha/Cmd/4.0.3.74/sencha" app build production


    C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF>cd /D "C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF"


    C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF>"C:/Users/sysadmin/bin/Sencha/Cmd/4.0.3.74/sencha" app build production
    Sencha Cmd v4.0.3.74
    [INF]
    [INF] init-plugin:
    [INF]
    [INF] cmd-root-plugin.init-properties:
    [INF]
    [INF] init-properties:
    [INF]
    [INF] init-sencha-command:
    [INF]
    [INF] init:
    [INF]
    [INF] app-build-impl:
    [INF]
    [INF] -before-init-local:
    [INF]
    [INF] -init-local:
    [INF]
    [INF] -after-init-local:
    [INF]
    [INF] init-local:
    [INF]
    [INF] find-cmd-in-path:
    [INF]
    [INF] find-cmd-in-environment:
    [INF]
    [INF] find-cmd-in-shell:
    [INF]
    [INF] init-cmd:
    [INF] [echo] Using Sencha Cmd from C:\Users\sysadmin\bin\Sencha\Cmd\4.0.3.74 for C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\build.xml
    [INF]
    [INF] -before-init:
    [INF]
    [INF] -init:
    [INF] Initializing Sencha Cmd ant environment
    [INF] Adding antlib taskdef for com/sencha/command/compass/ant/antlib.xml
    [INF]
    [INF] -after-init:
    [INF]
    [INF] -before-init-defaults:
    [INF]
    [INF] -init-defaults:
    [INF]
    [INF] -after-init-defaults:
    [INF]
    [INF] -init-compiler:
    [INF]
    [INF] init:
    [INF]
    [INF] -before-build:
    [INF]
    [INF] refresh:
    [INF]
    [INF] -before-refresh:
    [INF]
    [INF] -init:
    [INF]
    [INF] -init-compiler:
    [INF]
    [INF] -detect-app-build-properties:
    [INF] Loading app json manifest...
    [INF] Loading classpath entry C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\ext\src
    [INF] Loading classpath entry C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\ext\packages\ext-theme-base\src
    [INF] Loading classpath entry C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\ext\packages\ext-theme-base\overrides
    [INF] Loading classpath entry C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\ext\packages\ext-theme-neutral\src
    [INF] Loading classpath entry C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\ext\packages\ext-theme-neutral\overrides
    [INF] Loading classpath entry C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\ext\packages\ext-theme-classic\src
    [INF] Loading classpath entry C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\ext\packages\ext-theme-classic\overrides
    [INF] Loading classpath entry C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\app
    [INF] Loading classpath entry C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\app.js
    [INF] Loading classpath entry C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\build\temp\production\LegalFirst\sencha-compiler\app
    [INF] Loading classpath entry C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\build\temp\production\LegalFirst\sencha-compiler\app
    [WRN] unable to locate files for external reference : C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\javascripts\common.js
    [WRN] scope is C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\build\temp\production\LegalFirst\sencha-compiler\app
    [WRN] unable to locate files for external reference : C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\javascripts\logon_and_security.js
    [WRN] scope is C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\build\temp\production\LegalFirst\sencha-compiler\app
    [WRN] unable to locate files for external reference : C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\javascripts\file-uploader\fileuploader.js
    [WRN] scope is C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\build\temp\production\LegalFirst\sencha-compiler\app
    [WRN] unable to locate files for external reference : C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\javascripts\file-uploader\jquery.js
    [WRN] scope is C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\build\temp\production\LegalFirst\sencha-compiler\app
    [WRN] unable to locate files for external reference : C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\javascripts\testRig.js
    [WRN] scope is C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\build\temp\production\LegalFirst\sencha-compiler\app
    [INF] Concatenating output to file C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF/build/temp/production/LegalFirst/sencha-compiler/cmd-packages.js
    [INF] Adding external reference : @full-page => @overrides
    [INF] Loading classpath entry C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\build\temp\production\LegalFirst\sencha-compiler\cmd-packages.js
    [INF] Adding external reference : Ext.util.Observable => C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF/build/temp/production/LegalFirst/sencha-compiler/cmd-packages.js
    [INF]
    [INF] -refresh-app:
    [INF] Appending concatenated output to file C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF/bootstrap.js
    [INF] Appending concatenated output to file C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF/bootstrap.js
    [INF] Appending concatenated output to file C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF/bootstrap.js
    [INF] Appending concatenated output to file C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF/bootstrap.js
    [INF] Appending concatenated output to file C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF/bootstrap.js
    [INF] Appending content to C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF/bootstrap.js
    [INF] Appending content to C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF/bootstrap.json
    [INF]
    [INF] -refresh:
    [INF]
    [INF] -after-refresh:
    [INF]
    [INF] resolve:
    [INF]
    [INF] js:
    [INF]
    [INF] -before-js:
    [INF]
    [INF] -init:
    [INF]
    [INF] -init-compiler:
    [INF]
    [INF] -detect-app-build-properties:
    [INF]
    [INF] -compile-js:
    [INF] Loading classpath entry C:\Users\sysadmin\bin\Sencha\Cmd\4.0.3.74\plugins\src
    [INF] Loading classpath entry C:\Users\sysadmin\bin\Sencha\Cmd\4.0.3.74\plugins\ext\src
    [INF] Loading classpath entry C:\Users\sysadmin\bin\Sencha\Cmd\4.0.3.74\plugins\ext\4.2\src
    [INF] Building optimized concatenated output..
    [INF] Compressing data with YuiJavascriptCompressor
    [ERR] C2009: YUI Parse Error (missing variable name => var package = new Array() -- unknown-file:74915:14
    [ERR] C2009: YUI Parse Error (identifier is a reserved word => package.push(mr[i].get('acting_fee_earner_user_id') + '~' + mr[i].get('line_item_non_tax_amount') + '~' + mr[i].get('premium') + '~' + mr[i].get('discount')) -- unknown-file:74918:14
    [ERR] C2009: YUI Parse Error (identifier is a reserved word => if (package.join() == '') ) -- unknown-file:74920:14
    [ERR] C2009: YUI Parse Error (missing } after property list => genericMask() -- unknown-file:74925:14
    [ERR] C2009: YUI Parse Error (syntax error => genericMask() -- unknown-file:74925:15
    [ERR] C2009: YUI Parse Error (identifier is a reserved word => Ext.Ajax.request({url: '/bill/adjust_time_by_fee_earner_from_summary', params: {bill_fixed_id: Ext.getCmp('bill_line_items_summary').billFixedId, records: package.join()}, success: function(response) {) -- unknown-file:74926:165
    [ERR] C2009: YUI Parse Error (syntax error => }, failure: genericFailedResponse}) -- unknown-file:74944:1
    [ERR] C2009: YUI Parse Error (syntax error => }, onBill_line_items_summary_timelines_saveClick1: function(button, e, eOpts) {) -- unknown-file:74945:1
    [ERR] C2009: YUI Parse Error (syntax error => mr = Ext.getCmp('bill_line_items_summary_timelines').getStore().getModifiedRecords() -- unknown-file:74946:7
    [ERR] C2009: YUI Parse Error (missing variable name => var package = new Array() -- unknown-file:74947:14
    [ERR] C2009: YUI Parse Error (identifier is a reserved word => package.push(mr[i].get('acting_fee_earner_user_id') + '~' + mr[i].get('line_item_non_tax_amount') + '~' + mr[i].get('premium') + '~' + mr[i].get('discount')) -- unknown-file:74950:14
    [ERR] C2009: YUI Parse Error (identifier is a reserved word => if (package.join() == '') ) -- unknown-file:74952:14
    [ERR] C2009: YUI Parse Error (invalid return => return -- unknown-file:74955:11
    [ERR] C2009: YUI Parse Error (syntax error => }) -- unknown-file:74956:3
    [ERR] C2009: YUI Parse Error (syntax error => genericMask() -- unknown-file:74957:15
    [ERR] C2009: YUI Parse Error (identifier is a reserved word => Ext.Ajax.request({url: '/bill/adjust_time_by_fee_earner_from_summary', params: {bill_fixed_id: Ext.getCmp('bill_line_items_summary').billFixedId, records: package.join()}, success: function(response) {) -- unknown-file:74958:165
    [ERR] C2009: YUI Parse Error (syntax error => }, failure: genericFailedResponse}) -- unknown-file:74970:1
    [ERR] C2009: YUI Parse Error (syntax error => }, onBill_line_items_summary_timelinesItemDblClick: function(dataview, record, item, index, e, eOpts) {) -- unknown-file:74971:1
    [ERR] C2009: YUI Parse Error (syntax error => Ext.getCmp('b_edit_line_items_from_date').setValue('') -- unknown-file:74972:7
    [ERR] C2009: YUI Parse Error (syntax error => }, onCellEditingEdit1: function(editor, e, eOpts) {) -- unknown-file:74978:1
    [ERR] C2009: YUI Parse Error (syntax error => }, onBill_line_items_summary_disbursementsItemDblClick: function(dataview, record, item, index, e, eOpts) {) -- unknown-file:74997:1
    [ERR] C2009: YUI Parse Error (syntax error => Ext.getCmp('b_edit_line_items_from_date').setValue('') -- unknown-file:74998:7
    [ERR] C2009: YUI Parse Error (syntax error => }, onBill_line_items_summary_timelines_saveClick2: function(button, e, eOpts) {) -- unknown-file:75004:1
    [ERR] C2009: YUI Parse Error (syntax error => mr = Ext.getCmp('bill_line_items_summary_disbursements').getStore().getModifiedRecords() -- unknown-file:75005:7
    [ERR] C2009: YUI Parse Error (missing variable name => var package = new Array() -- unknown-file:75006:14
    [ERR] C2009: YUI Parse Error (identifier is a reserved word => package.push(mr[i].get('bill_tax_code_id') + '~' + mr[i].get('disbursement_type_id') + '~' + mr[i].get('line_item_non_tax_amount') + '~' + mr[i].get('premium') + '~' + mr[i].get('discount')) -- unknown-file:75009:14
    [ERR] C2009: YUI Parse Error (identifier is a reserved word => if (package.join() == '') ) -- unknown-file:75011:14
    [ERR] C2009: YUI Parse Error (invalid return => return -- unknown-file:75014:11
    [ERR] C2009: YUI Parse Error (syntax error => }) -- unknown-file:75015:3
    [ERR] C2009: YUI Parse Error (syntax error => genericMask() -- unknown-file:75016:15
    [ERR] C2009: YUI Parse Error (identifier is a reserved word => Ext.Ajax.request({url: '/bill/adjust_disbursement_from_summary', params: {bill_fixed_id: Ext.getCmp('bill_line_items_summary').billFixedId, records: package.join()}, success: function(response) {) -- unknown-file:75017:159
    [ERR] C2009: YUI Parse Error (syntax error => }, failure: genericFailedResponse}) -- unknown-file:75033:1
    [ERR] C2009: YUI Parse Error (syntax error => }, onBill_line_items_summary_timelines_saveClick11: function(button, e, eOpts) {) -- unknown-file:75034:1
    [ERR] C2009: YUI Parse Error (syntax error => mr = Ext.getCmp('bill_line_items_summary_disbursements').getStore().getModifiedRecords() -- unknown-file:75035:7
    [ERR] C2009: YUI Parse Error (missing variable name => var package = new Array() -- unknown-file:75036:14
    [ERR] C2009: YUI Parse Error (identifier is a reserved word => package.push(mr[i].get('bill_tax_code_id') + '~' + mr[i].get('disbursement_type_id') + '~' + mr[i].get('line_item_non_tax_amount') + '~' + mr[i].get('premium') + '~' + mr[i].get('discount')) -- unknown-file:75039:14
    [ERR] C2009: YUI Parse Error (identifier is a reserved word => if (package.join() == '') ) -- unknown-file:75041:14
    [ERR] C2009: YUI Parse Error (invalid return => return -- unknown-file:75044:11
    [ERR] C2009: YUI Parse Error (syntax error => }) -- unknown-file:75045:3
    [ERR] C2009: YUI Parse Error (syntax error => genericMask() -- unknown-file:75046:15
    [ERR] C2009: YUI Parse Error (identifier is a reserved word => Ext.Ajax.request({url: '/bill/adjust_disbursement_from_summary', params: {bill_fixed_id: Ext.getCmp('bill_line_items_summary').billFixedId, records: package.join()}, success: function(response) {) -- unknown-file:75047:159
    [ERR] C2009: YUI Parse Error (syntax error => }, failure: genericFailedResponse}) -- unknown-file:75061:1
    [ERR] C2009: YUI Parse Error (syntax error => }, init: function(billFixedId) {) -- unknown-file:75062:1
    [ERR] C2009: YUI Parse Error (syntax error => this.billFixedId = billFixedId -- unknown-file:75063:8
    [ERR] C2009: YUI Parse Error (syntax error => }, populate: function() {) -- unknown-file:75066:1
    [ERR] C2009: YUI Parse Error (syntax error => Ext.getStore('bill_line_item_summary_timelines').removeAll() -- unknown-file:75067:7
    [ERR] C2009: YUI Parse Error (syntax error => }}, 0, 0, ["panel", "window", "component", "container", "box"], {"panel": true, "window": true, "component": true, "container": true, "box": true}, 0, 0, [LegalFirst.view, 'bill_line_items_summary'], 0)) -- unknown-file:75087:1
    [ERR] C2009: YUI Parse Error (Compilation produced 47 syntax errors. => null) -- unknown-file:2
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExBuild: Failed to compress input
    [ERR] at com.sencha.tools.compressors.yui
    [ERR] .YuiJavascriptCompressor$2.invoke(YuiJavascriptCompressor.java:103)
    [ERR]
    [ERR] Total time: 20 seconds
    [ERR] The following error occurred while executing this line:
    C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\.sencha\app\build-impl.xml:255: The following error occurred while executing this line:
    C:\cygwin\legalfirst\websites\dev\development\public\arch3_save\LF\.sencha\app\js-impl.xml:53: com.sencha.exceptions.ExBuild: Failed to compress input

    This app has successfully built/compiled/published for months now - the only change was the upgrade to 3.0.3. I've never seen the Yui errors in there before and am hoping that there's a config line somewhere which just needs to be removed.

    I've got the app ready to post if needed.

    In advance, thanks. And thanks for such a great product - this moment aside, it's performed flawlessly for us.

    Doug

  2. Any chance you can try changing "package" to some other variable name? Seems like there is some sort of collision.

  3. #2
    Sencha User
    Join Date
    Jan 2009
    Location
    Frederick, Maryland
    Posts
    925
    Answers
    66

    Default

    Any chance you can try changing "package" to some other variable name? Seems like there is some sort of collision.
    Jason Minnick
    Sencha Architect Development Team

  4. #3
    Ext JS Premium Member
    Join Date
    Aug 2009
    Location
    Sydney
    Posts
    65

    Default

    Heya JasonCan we file this under "developer failed to read the code" please? I ran a quick grep through the base and found, as you'd suggested, my use of the reserve word package. D'oh! Absolutely stupid mistake, which I'll laugh about over coffee tomorrow morning. The build has successfully completed and I'm just waiting for the publish phase to finish before heading back to bed.CheersDoug

  5. #4
    Sencha User
    Join Date
    Jan 2009
    Location
    Frederick, Maryland
    Posts
    925
    Answers
    66

    Default

    Okay cool. Moving to QA and marking as answered. This could definitely help someone else in the future.
    Jason Minnick
    Sencha Architect Development Team

  6. #5
    Sencha User
    Join Date
    Dec 2012
    Posts
    2

    Default

    U don't use the name "public" in app folder
    I have a exp about it, i changed it to "common" and build ok !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •