Results 1 to 4 of 4

Thread: license ends up in non-js/css files

  1. #1
    Ext User
    Join Date
    Apr 2010
    Posts
    1
    Vote Rating
    0
      0  

    Default 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
    589
    Vote Rating
    10
      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
    119
      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
    589
    Vote Rating
    10
      0  

    Default

    thx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •