1. #1
    Sencha User
    Join Date
    Aug 2013
    Posts
    42
    Vote Rating
    2
    jeffbattershall is on a distinguished road

      0  

    Default External Libraries and CMD

    External Libraries and CMD


    I've been able to set up an external custom&nbsp;library for use by multiple apps&nbsp;and load it using Ext.Loader and require the classes and they get found on start up. I am trying to avoid using CMD packages to share code&nbsp;because some of the apps aren't compilant to the CMD (3.1.2) methodology. Problem is <STRONG>sencha app build </STRONG>doesn't find the classes and throws exception.<BR><BR>Any advice appreciated!<BR><BR>Jeff

  2. #2
    Ext JS Premium Member burnnat's Avatar
    Join Date
    Jun 2011
    Posts
    416
    Vote Rating
    61
    burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough

      0  

    Default


    Have you tried including the library files/directory in your app.classpath config?

  3. #3
    Sencha User
    Join Date
    Aug 2013
    Posts
    42
    Vote Rating
    2
    jeffbattershall is on a distinguished road

      0  

    Default


    Great suggestion - still having difficulty getting the compiler to find the files.

    app.classpath=${app.dir}/app,${app.dir}/app.js,{app.dir}/library

    My path is library/MyAppLibrary

    Code:
    which gets loaded like so, which works at runtime:
    Ext.Loader.setConfig({enabled :
    true,paths : {MyAppLibrary: "library/MyAppLibrary "}
    });


  4. #4
    Sencha User
    Join Date
    Aug 2013
    Posts
    42
    Vote Rating
    2
    jeffbattershall is on a distinguished road

      0  

    Default


    Note I'm using MVC structure MyLibrary.view.MyClass

  5. #5
    Sencha User
    Join Date
    Aug 2013
    Posts
    42
    Vote Rating
    2
    jeffbattershall is on a distinguished road

      1  

    Default


    Missing $ in classpath - d'oh. Thanks for you help!

  6. #6
    Ext JS Premium Member burnnat's Avatar
    Join Date
    Jun 2011
    Posts
    416
    Vote Rating
    61
    burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough

      0  

    Default


    Ah, good catch! Those pesky typos. Glad you got it working

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi