1. #1
    Ext User
    Join Date
    Apr 2010
    Posts
    1
    Vote Rating
    0
    greghmerrill is on a distinguished road

      0  

    Default license ends up in non-js/css files

    license ends up in non-js/css files


    There's a bug in JSBuilder2.writeHeadersToTargets() which causes the license header to be written to files other than js/css if they happen to be in the deployDir.

    private Pattern pattern = Pattern.compile(".*[\\.js|\\.css]");

    should be

    private Pattern pattern = Pattern.compile(".*(\\.js|\\.css)");

  2. #2
    Sencha User Dumas's Avatar
    Join Date
    Dec 2008
    Location
    Vienna, Austria
    Posts
    583
    Vote Rating
    9
    Dumas will become famous soon enough

      0  

    Default


    Can I change this in the jar file somehow?

    Sencha doesn't seem to do anything about this problem

  3. #3
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    96
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    So long as no new JSBuilder2 has been released you can use this patched version.

  4. #4
    Sencha User Dumas's Avatar
    Join Date
    Dec 2008
    Location
    Vienna, Austria
    Posts
    583
    Vote Rating
    9
    Dumas will become famous soon enough

      0  

    Default


    thx

Thread Participants: 2