1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    22
    Vote Rating
    0
    grooveyorkcity is on a distinguished road

      0  

    Default JSBuilder 2/3 - Any tutorials/setup anywhere?

    JSBuilder 2/3 - Any tutorials/setup anywhere?


    I am going in circles trying to find a proper tutorial/installation guide for JSBuilder 2 or 3. I can only find old tutorials as part of EXJS deployment, but those are marked 2007. I have searched here as well as general web and seem to find nothing. JSBuilder 3 is referenced in the Sencha slideshare decks on optimization.

    Also, the JSBuilder page on Sencha.com keeps going in circles to the readme file, which doesn't help much.

    Can someone please point me in the right direction?

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Posts
    2
    Vote Rating
    0
    dpcoder is on a distinguished road

      0  

    Default Me Too ..

    Me Too ..


    I have also been struggling, please will somebody help us. (on a mac so using linux style build, well hoping to)

  3. #3
    Sencha User
    Join Date
    May 2011
    Posts
    22
    Vote Rating
    0
    grooveyorkcity is on a distinguished road

      0  

    Default


    Sadly, I've not gotten any further on this, or any responses. I ended up using the copy command on windows command line (cat on Mac os x terminal) to merge files and the YUI compressor to minify with great results. Further reduced file size with the dean Edwards online packer.

  4. #4
    Sencha User
    Join Date
    Mar 2011
    Posts
    72
    Vote Rating
    -1
    phil.fuse is an unknown quantity at this point

      0  

    Default


    i'm going to do some evaling of other projects as i'm mac based so the jsbuilder is useless at the moment....

    is everyone using jsbuilder or do we have some other recommendations?

  5. #5
    Sencha User
    Join Date
    May 2011
    Posts
    22
    Vote Rating
    0
    grooveyorkcity is on a distinguished road

      0  

    Default


    Hi Phil.fuse - I am also on mac and had no problem working with YUICompressor as it's a JAVA app you can run from Terminal. The Dean Eddwards packer is an online tool, so no issue there. I had great luck with both.

    Quote Originally Posted by phil.fuse View Post
    i'm going to do some evaling of other projects as i'm mac based so the jsbuilder is useless at the moment....

    is everyone using jsbuilder or do we have some other recommendations?

  6. #6
    Sencha User
    Join Date
    Mar 2011
    Posts
    72
    Vote Rating
    -1
    phil.fuse is an unknown quantity at this point

      0  

    Default


    hey grooveyorkcity...
    odd... ignore my last post...
    i don't know why but i was getting the old windows only jsbuilder (gui presumibly) when googling... only got the new jar from http://www.sencha.com/products/jsbuilder just now as it was linked in another thread i think...
    doesn't seem to be advertised too well on the site ?!?
    ...
    i'm going to look at a few build / optimisation tools and see what i find...
    jsbuilder, yui, closure, sprockets, jake / rake, and look at the embed.js and the dojo approach as they are pretty good with this kinda stuff...
    i'll take a look at packer as well...
    will try to post some findings back...

  7. #7
    Sencha User
    Join Date
    Mar 2011
    Posts
    72
    Vote Rating
    -1
    phil.fuse is an unknown quantity at this point

      0  

    Default


    seems sencha touch ships with jsbuilder3 and the downloads for jsbuilder on the sencha site are all for v2.

    which version would sencha like us to use?
    are they built for the different versions of Ext?

  8. #8
    Sencha User
    Join Date
    Jun 2011
    Location
    Los Angeles, CA
    Posts
    19
    Vote Rating
    0
    eyalfx is on a distinguished road

      0  

    Default


    You guys found any solution for it?
    It would be great if sencha can provide a mini tutorial on that.
    I'm using a Mac and have no idea how to build it.

  9. #9
    Sencha User
    Join Date
    Jul 2010
    Location
    Switzerland
    Posts
    78
    Vote Rating
    0
    fx-mike is on a distinguished road

      0  

    Default


    The JSBuilder that comes bundled with the sencha touch download works fine for me.
    • Copy the jsbuilder folder to the lib/touch folder in your project (actually, you could put it anywhere you like...).
    • The readme and
      Code:
      lib/touch/jsbuilder/JSBuilder.sh --help
      contain all the info you need.
    • Copy lib/touch/sencha-touch.jsb3 (e.g. to your project root)
    • Adapt the contents to your needs (just follow the sencha touch way of doing things, define your packages and include them in the build)
    • Create a folder to contain your build files (e.g app/build)
    • Finally, run
      Code:
      lib/touch/jsbuilder/JSBuilder.sh -p myApp.jsb3 -d app/build
    That's all there is to it, that is exactly the setup that I use in my projects.
    Cheers

  10. #10
    Sencha User
    Join Date
    Jun 2011
    Location
    Los Angeles, CA
    Posts
    19
    Vote Rating
    0
    eyalfx is on a distinguished road

      0  

    Default


    fx-mike , you are right. it does work as is.
    I was trying to use the one downloaded from the website which is jsbuilder2.
    Anyways, thanks a lot for you help.
    problem solved