1. #1
    Sencha User
    Join Date
    Feb 2010
    Posts
    353
    Vote Rating
    4
    maneljn is on a distinguished road

      0  

    Default how to add -ignore in workspace sencha.cfg ?

    how to add -ignore in workspace sencha.cfg ?


    If i try this sencha.cfg , with -ignore parameter goes on error.
    How to inform the -ignore ???

    Code:
    #Mon, 05 Nov 2012 15:57:33 +0100
    # This configuration property (if set) is included by default in all compile commands
    # executed according to this formulation:
    #
    #   sencha compile -classpath=...,${framework.classpath},${workspace.classpath},${app.classpath}
    #
    workspace.classpath=../../libs/extjs_v4_1_1_a/src,../../libs/extjs_cesi -ignore Ext.ux.form.TinyMCETextArea.js -ignore portalpanel.js -ignore Ext.ux.calendar.CalendarPanel.js
    
    workspace.build.dir=${workspace.dir}/build/${app.name}
    
    ext.dir=${workspace.dir}/../../../libs/extjs_v4_1_1_a/src
    workspace.cmd.version=3.0.0.230
    skip.sass=1
    skip.theme=1

    Code:
    Sencha Cmd v3.0.0.230
    [INFO ]        
    
    [INFO ]        init-properties:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        init-sencha-command:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        init:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        -before-app-build:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        app-build-impl:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        production:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        -before-init-local:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        -init-local:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        -after-init-local:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        init-local:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        find-cmd:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        -before-init:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        -init:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        -after-init:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        init:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        -before-build:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        sass:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        theme:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        page:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        -before-page:
    [INFO ]        
    
    [INFO ]        
    
    [INFO ]        -page:
    [INFO ]        
    
    [INFO ]        Compiling page null
    [INFO ]        Processing classPath entry : C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\sencha-compile-temp-dir
    [INFO ]        Processing classPath entry : C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\..\..\libs\extjs_v4_1_1_a\src
    [INFO ]        Processing classPath entry : C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\..\..\libs\extjs_cesi -ignore Ext.ux.form.TinyMCETextArea.js -ignore portalpanel.js -ignore Ext.ux.calendar.CalendarPanel.js
    [INFO ]        Processing classPath entry : C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\app
    [ERROR]        Error executing page compilation Failed loading source file: C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\..\..\libs\extjs_cesi -ignore Ext.ux.form.TinyMCETextArea.js -ignore portalpanel.js -ignore Ext.ux.calendar.CalendarPanel.js
    [ERROR]        
    
    [ERROR]        BUILD FAILED
    
    [ERROR]        com.sencha.exceptions.ExBuild: com.sencha.exceptions.BasicException: Failed loading source file: C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\..\..\libs\extjs_cesi -ignore Ext.ux.form.TinyMCETextArea.js -ignore portalpanel.js -ignore Ext.ux.calendar.CalendarPanel.js
    
    [ERROR]            at com.sencha.command.compile.CompileCommands$PageCommand.execute(CompileCommands.java:940)
    
    [ERROR]            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    
    [ERROR]            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at java.lang.reflect.Method.invoke(Unknown Source)
    
    [ERROR]            at com.sencha.cli.Command.dispatch(Command.java:78)
    
    [ERROR]            at com.sencha.cli.Commands.dispatch(Commands.java:49)
    
    [ERROR]            at com.sencha.cli.Commands.dispatch(Commands.java:49)
    
    [ERROR]            at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:184)
    
    [ERROR]            at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:58)
    
    [ERROR]            at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:22)
    
    [ERROR]            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    
    [ERROR]            at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
    
    [ERROR]            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at java.lang.reflect.Method.invoke(Unknown Source)
    
    [ERROR]            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    
    [ERROR]            at org.apache.tools.ant.Task.perform(Task.java:348)
    
    [ERROR]            at org.apache.tools.ant.Target.execute(Target.java:392)
    
    [ERROR]            at org.apache.tools.ant.Target.performTasks(Target.java:413)
    
    [ERROR]            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    
    [ERROR]            at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    
    [ERROR]            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    
    [ERROR]            at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
    
    [ERROR]            at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    
    [ERROR]            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    
    [ERROR]            at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
    
    [ERROR]            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at java.lang.reflect.Method.invoke(Unknown Source)
    
    [ERROR]            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    
    [ERROR]            at org.apache.tools.ant.Task.perform(Task.java:348)
    
    [ERROR]            at org.apache.tools.ant.Target.execute(Target.java:392)
    
    [ERROR]            at org.apache.tools.ant.Target.performTasks(Target.java:413)
    
    [ERROR]            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    
    [ERROR]            at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    
    [ERROR]            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    
    [ERROR]            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    
    [ERROR]            at com.sencha.ant.AntRunner.run(AntRunner.java:156)
    
    [ERROR]            at com.sencha.ant.AntRunner.run(AntRunner.java:80)
    
    [ERROR]            at com.sencha.command.ant.AntCommand.execute(AntCommand.java:74)
    
    [ERROR]            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    
    [ERROR]            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at java.lang.reflect.Method.invoke(Unknown Source)
    
    [ERROR]            at com.sencha.cli.Command.dispatch(Command.java:78)
    
    [ERROR]            at com.sencha.cli.Commands.dispatch(Commands.java:49)
    
    [ERROR]            at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:184)
    
    [ERROR]            at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:58)
    
    [ERROR]            at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:22)
    
    [ERROR]            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    
    [ERROR]            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    
    [ERROR]            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at java.lang.reflect.Method.invoke(Unknown Source)
    
    [ERROR]            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    
    [ERROR]            at org.apache.tools.ant.Task.perform(Task.java:348)
    
    [ERROR]            at org.apache.tools.ant.Target.execute(Target.java:392)
    
    [ERROR]            at org.apache.tools.ant.Target.performTasks(Target.java:413)
    
    [ERROR]            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    
    [ERROR]            at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    
    [ERROR]            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    
    [ERROR]            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    
    [ERROR]            at com.sencha.ant.AntRunner.run(AntRunner.java:156)
    
    [ERROR]            at com.sencha.ant.AntRunner.run(AntRunner.java:72)
    
    [ERROR]            at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:80)
    
    [ERROR]            at com.sencha.command.BasePluginCommands$BaseNamePathCommand.run(BasePluginCommands.java:120)
    
    [ERROR]            at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:96)
    
    [ERROR]            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    
    [ERROR]            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at java.lang.reflect.Method.invoke(Unknown Source)
    
    [ERROR]            at com.sencha.cli.Command.dispatch(Command.java:78)
    
    [ERROR]            at com.sencha.cli.Commands.dispatch(Commands.java:49)
    
    [ERROR]            at com.sencha.cli.Commands.dispatch(Commands.java:49)
    
    [ERROR]            at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:184)
    
    [ERROR]            at com.sencha.command.Sencha.main(Sencha.java:58)
    
    [ERROR]        Caused by: com.sencha.exceptions.BasicException: Failed loading source file: C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\..\..\libs\extjs_cesi -ignore Ext.ux.form.TinyMCETextArea.js -ignore portalpanel.js -ignore Ext.ux.calendar.CalendarPanel.js
    
    [ERROR]            at com.sencha.tools.compiler.sources.SourceFileCache.loadSourceFile(SourceFileCache.java:173)
    
    [ERROR]            at com.sencha.tools.compiler.CompilerContext.getSourceFile(CompilerContext.java:117)
    
    [ERROR]            at com.sencha.tools.compiler.CompilerContext.getSourceFile(CompilerContext.java:109)
    
    [ERROR]            at com.sencha.tools.compiler.CompilerContext.loadClassPath(CompilerContext.java:216)
    
    [ERROR]            at com.sencha.command.compile.CompileCommands.getCache(CompileCommands.java:186)
    
    [ERROR]            at com.sencha.command.compile.CompileCommands.getCache(CompileCommands.java:153)
    
    [ERROR]            at com.sencha.command.compile.CompileCommands$PageCommand.execute(CompileCommands.java:925)
    
    [ERROR]            ... 74 more
    
    [ERROR]        Caused by: com.sencha.exceptions.ExNotFound: Source file not found: C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\..\..\libs\extjs_cesi -ignore Ext.ux.form.TinyMCETextArea.js -ignore portalpanel.js -ignore Ext.ux.calendar.CalendarPanel.js
    
    [ERROR]            at com.sencha.tools.compiler.sources.SourceFileCache.loadSourceFile(SourceFileCache.java:155)
    
    [ERROR]            ... 80 more
    
    [ERROR]        
    
    [ERROR]        Total time: 10 seconds
    [ERROR]        
    
    [ERROR]        
    
    [ERROR]        BUILD FAILED
    
    [ERROR]        com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    
    [ERROR]        C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\.sencha\app\build-impl.xml:186: com.sencha.exceptions.ExBuild: com.sencha.exceptions.BasicException: Failed loading source file: C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\..\..\libs\extjs_cesi -ignore Ext.ux.form.TinyMCETextArea.js -ignore portalpanel.js -ignore Ext.ux.calendar.CalendarPanel.js
    
    [ERROR]            at com.sencha.exceptions.BasicException.wrap(BasicException.java:43)
    
    [ERROR]            at com.sencha.cli.Command.dispatch(Command.java:104)
    
    [ERROR]            at com.sencha.cli.Commands.dispatch(Commands.java:49)
    
    [ERROR]            at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:184)
    
    [ERROR]            at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:58)
    
    [ERROR]            at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:22)
    
    [ERROR]            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    
    [ERROR]            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    
    [ERROR]            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at java.lang.reflect.Method.invoke(Unknown Source)
    
    [ERROR]            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    
    [ERROR]            at org.apache.tools.ant.Task.perform(Task.java:348)
    
    [ERROR]            at org.apache.tools.ant.Target.execute(Target.java:392)
    
    [ERROR]            at org.apache.tools.ant.Target.performTasks(Target.java:413)
    
    [ERROR]            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    
    [ERROR]            at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    
    [ERROR]            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    
    [ERROR]            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    
    [ERROR]            at com.sencha.ant.AntRunner.run(AntRunner.java:156)
    
    [ERROR]            at com.sencha.ant.AntRunner.run(AntRunner.java:72)
    
    [ERROR]            at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:80)
    
    [ERROR]            at com.sencha.command.BasePluginCommands$BaseNamePathCommand.run(BasePluginCommands.java:120)
    
    [ERROR]            at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:96)
    
    [ERROR]            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    
    [ERROR]            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at java.lang.reflect.Method.invoke(Unknown Source)
    
    [ERROR]            at com.sencha.cli.Command.dispatch(Command.java:78)
    
    [ERROR]            at com.sencha.cli.Commands.dispatch(Commands.java:49)
    
    [ERROR]            at com.sencha.cli.Commands.dispatch(Commands.java:49)
    
    [ERROR]            at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:184)
    
    [ERROR]            at com.sencha.command.Sencha.main(Sencha.java:58)
    
    [ERROR]        Caused by: C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\.sencha\app\build-impl.xml:198: The following error occurred while executing this line:
    
    [ERROR]        C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\.sencha\app\build-impl.xml:186: com.sencha.exceptions.ExBuild: com.sencha.exceptions.BasicException: Failed loading source file: C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\..\..\libs\extjs_cesi -ignore Ext.ux.form.TinyMCETextArea.js -ignore portalpanel.js -ignore Ext.ux.calendar.CalendarPanel.js
    
    [ERROR]            at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
    
    [ERROR]            at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
    
    [ERROR]            at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    
    [ERROR]            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    
    [ERROR]            at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
    
    [ERROR]            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at java.lang.reflect.Method.invoke(Unknown Source)
    
    [ERROR]            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    
    [ERROR]            at org.apache.tools.ant.Task.perform(Task.java:348)
    
    [ERROR]            at org.apache.tools.ant.Target.execute(Target.java:392)
    
    [ERROR]            at org.apache.tools.ant.Target.performTasks(Target.java:413)
    
    [ERROR]            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    
    [ERROR]            at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    
    [ERROR]            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    
    [ERROR]            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    
    [ERROR]            at com.sencha.ant.AntRunner.run(AntRunner.java:156)
    
    [ERROR]            at com.sencha.ant.AntRunner.run(AntRunner.java:80)
    
    [ERROR]            at com.sencha.command.ant.AntCommand.execute(AntCommand.java:74)
    
    [ERROR]            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    
    [ERROR]            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at java.lang.reflect.Method.invoke(Unknown Source)
    
    [ERROR]            at com.sencha.cli.Command.dispatch(Command.java:78)
    
    [ERROR]            ... 31 more
    
    [ERROR]        Caused by: C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\.sencha\app\build-impl.xml:186: com.sencha.exceptions.ExBuild: com.sencha.exceptions.BasicException: Failed loading source file: C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\..\..\libs\extjs_cesi -ignore Ext.ux.form.TinyMCETextArea.js -ignore portalpanel.js -ignore Ext.ux.calendar.CalendarPanel.js
    
    [ERROR]            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
    
    [ERROR]            at org.apache.tools.ant.Task.perform(Task.java:348)
    
    [ERROR]            at org.apache.tools.ant.Target.execute(Target.java:392)
    
    [ERROR]            at org.apache.tools.ant.Target.performTasks(Target.java:413)
    
    [ERROR]            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    
    [ERROR]            at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    
    [ERROR]            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    
    [ERROR]            at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
    
    [ERROR]            ... 52 more
    
    [ERROR]        Caused by: com.sencha.exceptions.ExBuild: com.sencha.exceptions.BasicException: Failed loading source file: C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\..\..\libs\extjs_cesi -ignore Ext.ux.form.TinyMCETextArea.js -ignore portalpanel.js -ignore Ext.ux.calendar.CalendarPanel.js
    
    [ERROR]            at com.sencha.command.compile.CompileCommands$PageCommand.execute(CompileCommands.java:940)
    
    [ERROR]            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    
    [ERROR]            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at java.lang.reflect.Method.invoke(Unknown Source)
    
    [ERROR]            at com.sencha.cli.Command.dispatch(Command.java:78)
    
    [ERROR]            at com.sencha.cli.Commands.dispatch(Commands.java:49)
    
    [ERROR]            at com.sencha.cli.Commands.dispatch(Commands.java:49)
    
    [ERROR]            at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:184)
    
    [ERROR]            at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:58)
    
    [ERROR]            at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:22)
    
    [ERROR]            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    
    [ERROR]            at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
    
    [ERROR]            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    
    [ERROR]            at java.lang.reflect.Method.invoke(Unknown Source)
    
    [ERROR]            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    
    [ERROR]            ... 59 more
    
    [ERROR]        Caused by: com.sencha.exceptions.BasicException: Failed loading source file: C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\..\..\libs\extjs_cesi -ignore Ext.ux.form.TinyMCETextArea.js -ignore portalpanel.js -ignore Ext.ux.calendar.CalendarPanel.js
    
    [ERROR]            at com.sencha.tools.compiler.sources.SourceFileCache.loadSourceFile(SourceFileCache.java:173)
    
    [ERROR]            at com.sencha.tools.compiler.CompilerContext.getSourceFile(CompilerContext.java:117)
    
    [ERROR]            at com.sencha.tools.compiler.CompilerContext.getSourceFile(CompilerContext.java:109)
    
    [ERROR]            at com.sencha.tools.compiler.CompilerContext.loadClassPath(CompilerContext.java:216)
    
    [ERROR]            at com.sencha.command.compile.CompileCommands.getCache(CompileCommands.java:186)
    
    [ERROR]            at com.sencha.command.compile.CompileCommands.
    [ERROR]        getCache(CompileCommands.java:153)
    
    [ERROR]            at com.sencha.command.compile.CompileCommands$PageCommand.execute(CompileCommands.java:925)
    
    [ERROR]            ... 74 more
    
    [ERROR]        Caused by: com.sencha.exceptions.ExNotFound: Source file not found: C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\..\..\libs\extjs_cesi -ignore Ext.ux.form.TinyMCETextArea.js -ignore portalpanel.js -ignore Ext.ux.calendar.CalendarPanel.js
    
    [ERROR]            at com.sencha.tools.compiler.sources.SourceFileCache.loadSourceFile(SourceFileCache.java:155)
    
    [ERROR]            ... 80 more
    
    [ERROR]        
    
    [ERROR]        Total time: 11 seconds
    [ERROR]        
    
    [ERROR]        com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\.sencha\app\build-impl.xml:186: com.sencha.exceptions.ExBuild: com.sencha.exceptions.BasicException: Failed loading source file: C:\Users\CASA\Documents\WebsIDIQ\Cesilabs_com_esigest\html\esinube_desarrollo\aplicaciones\esitareas\..\..\libs\extjs_cesi -ignore Ext.ux.form.TinyMCETextArea.js -ignore portalpanel.js -ignore Ext.ux.calendar.CalendarPanel.js
    -------------------
    Manel Juàrez

  2. #2
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,341
    Vote Rating
    132
    dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all

      0  

    Default


    The issue is your use of the classpath property. The classpath can only contain folders in a comma-separated list. These are combined to form the final classpath and hence cannot contain other switches as you have in your example.

    I can see two possible approaches to do what you are wanting.

    The first approach is to set the "build.options" property. This property is included in the compile command used to build your page(s) in the generated .sencha/app/build-impl.xml (see that file for other useful options).

    You can set this property in a few different places depending on your goals. The first I would recommend is your application's build.xml file in the "-before-init" target like so:

    Code:
        <target name="-before-init">
            <property name="build.options" value="-ignore ..."/>
        </target>
    Or you can set this in the .sencha/app/sencha.cfg or .sencha/workspace/sencha.cfg but these may be a little bit hidden from view. They are primarily for configuring Sencha Cmd vs your build script but all of the properties defined in sencha.cfg files are available as Ant properties since many of them are needed. Just add a line like this:

    Code:
       build.options=-ignore ...
    Lastly, if you want to set such options for you personally and not keep the setting in source control, you can use a "local.properties" file. These files have to be created manually and are loaded (if found) in your app folder or workspace folder. You should probably mark these local.properties files as ignored in .gitignore or .cvsignore or whatever is appropriate for your VCS so that they don't get accidentally checked in. From what you are describing, this is probably not the right choice for you but I wanted to mention it for completeness.

    The second approach is to configure the compile command itself. This must be done in a sencha.cfg file and would look like this:

    Code:
       sencha.compile#ignore=...
    This will set the "ignore" option on all compile commands executed in that application or workspace. This may be a little more than you are wanting in this case.
    Don Griffin
    Ext JS Development Team Lead

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

Thread Participants: 1