1. #11
    Sencha User
    Join Date
    May 2012
    Posts
    1
    Vote Rating
    0
    N.Sudha is on a distinguished road

      0  

    Default JS and CSS files compress using JSBuilder

    JS and CSS files compress using JSBuilder


    Quote Originally Posted by eyalfx View Post
    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
    Hi,
    I am using JSBuilder-2.0.3 to compress the JS and CSS files which is used in my application.
    While compressing the following issue came,

    D:\Murali\JSBuilder-2.0.3>java -jar JSBuilder2.jar --projectFile D:\Murali\ext-3.4.0\ext.jsb2 --homeDir D:\Murali\

    System default encoding is Cp1252.
    Using the 'Cp1252' encoding
    Loading the 'Ext JS' Project
    Loaded 43 Packages
    Using the 'ext-3.4+' package name as deploy directory.
    java.lang.NullPointerException
    at java.io.FileInputStream.<init>(Unknown Source)
    at com.extjs.FileHelper.readFile(FileHelper.java:157)
    at com.extjs.FileHelper.copyFileText(FileHelper.java:200)
    at com.extjs.JSBuilder2.createTargetsWithDeps(JSBuilder2.java:403)
    at com.extjs.JSBuilder2.main(JSBuilder2.java:77)
    Failed to create target with package dependencies.
    Writing headers...
    Compressing output files...
    Removing temporary files...


    FYI : I have attached the screenshot of this Command prompt error message.
    Please provide a solution for this issue.
    Attached Images