Sencha

krb's Avatar

krb

29 Feb, 2016 11:05 AM

Hi,

Do you have any plans about adding support for Sencha/ExtJS by including Sencha Cmd on the build machines?

https://www.sencha.com/products/extjs/cmd-download/

  1. Support Staff 1 Posted by Feodor Fitsner on 29 Feb, 2016 05:52 PM

    Feodor Fitsner's Avatar

    Hi Richard,

    Is 32-bit version without JRE OK?

    Also, I'm wondering if it's possible to just bring the files from your local machine to a build worker and run without install it there. Did you try that?

  2. 2 Posted by krb on 29 Feb, 2016 06:50 PM

    krb's Avatar

    32-bit without JRE should be ok.

    As far as I know there is not possible to run Sencha Cmd without installing it. That was out initial idea, but we have not found a way to do it. Until now, we have a PS script in the yml-config that downloads and installs Sencha Cmd.

  3. Support Staff 3 Posted by Feodor Fitsner on 29 Feb, 2016 07:01 PM

    Feodor Fitsner's Avatar

    So, can it still be installed in unattended mode? What command did you use?

  4. 4 Posted by krb on 29 Feb, 2016 07:15 PM

    krb's Avatar

    Here is some of the code from the yml

    install:
    - ps: >-
        If (Test-Path 'c:\tools\error.log') { Remove-Item 'c:\tools\error.log' }
        
        If (Test-Path 'c:\tools\sencha\sencha') { Remove-Item 'c:\tools\sencha\sencha'}

        If (Test-Path 'c:\tools\sencha\sencha\') { Remove-Item -Recurse -Force 'c:\tools\sencha\sencha\'}

        Add-Type -AssemblyName System.IO.Compression.FileSystem

        (New-Object Net.WebClient).DownloadFile('http://cdn.sencha.com/cmd/6.1.0/jre/SenchaCmd-6.1.0-windows-32bit.zip', 'C:\Tools\Sencha.zip')
        
        [System.IO.Compression.ZipFile]::ExtractToDirectory('C:\Tools\Sencha.zip', 'C:\Tools\')
        
        echo 'Starting install of SenchaCmd'
        
        Start-Process 'C:\Tools\SenchaCmd-6.1.0.65-windows-32bit.exe' -ArgumentList ('-q','-dir "c:\tools\sencha\"') -Wait
        
        echo 'SenchaCmd installation complete'

  5. Support Staff 5 Posted by Feodor Fitsner on 29 Feb, 2016 07:19 PM

    Feodor Fitsner's Avatar

    How long does it take to install it?

  6. 6 Posted by krb on 01 Mar, 2016 10:26 AM

    krb's Avatar

    The installment takes approximately 13 seconds. Download time not included.

  7. Support Staff 7 Posted by Feodor Fitsner on 01 Mar, 2016 02:57 PM

    Feodor Fitsner's Avatar

    Then why wouldn't you keep it as part of the build. It's quite fast and you always have actual version you want without asking us to upgrade.

    -Feodor

  8. 8 Posted by krb on 02 Mar, 2016 12:15 PM

    krb's Avatar

    We have several projects that requires Sencha and would then have to duplicate the scripts for installment in all of them. The problem is maintainability and not speed.

    But of course, we can keep it as part of the build.

  9. 9 Posted by krb on 02 Mar, 2016 12:20 PM

    krb's Avatar

    We have several projects that requires Sencha and would then have to duplicate the scripts for installment in all of them. The problem is maintainability and not speed.

     

    But of course, we can do that.

     

    Richard

  10. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:04 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM
20 Sep, 2024 05:50 PM