On 09/23/2010 03:18 PM, i...@saksys.de wrote:
> Sorry, its me again, but know i see what this option does. But we want
> just to disabe caching an scripts we are still working on. Your suggestion
> includes script to the loader, so must use generate.py every time i want
> to reload my project.

No, just once when you add the decode-uris-plug script. After that, it's
just used in the client. You just need to write a piece of Javascript
that adds the no-cache param to uri's going to your custom classes. A
matter of the right regexp...

T.

> So may be their is a better solution?
> 
> 
> regards Sak
> 
>> You guys are owsome, but some times I think you are from an another
>> planet. Why you dont write such a hint to the manual?
>>
>> regards Sak
>>
>>
>>>
>>>
>>> On 09/23/2010 02:24 PM, i...@saksys.de wrote:
>>>> Hi,
>>>>
>>>> it is possible. I hacked my projectname.js, in my case asa.js at line
>>>> 48
>>>> to
>>>>
>>>> if (qx.$$loader.addNoCacheParam || euri.match(/\.\.\/source\/class\//))
>>>> {
>>>>
>>>> // qx.$$loader.addNoCacheParam is false in my case
>>>>
>>>> For me its helps very much, because i gragged my projekt site to the
>>>> bookmark bar on my fire fox browser. After one time full loading the
>>>> projekt, you can just click the bookmark icon and firefox just ready
>>>> everything from cache expect the js under the directory
>>>> ../source/class/
>>>> because of the hack.
>>>>
>>>> To the Dev-Team, may be you guys could implement this feature or just
>>>> tell
>>>> me where to manipulate the generator to do so!
>>>
>>> Disable the cache parameter in general and re-add it for the uris you
>>> want, using the decode-uris-plug:
>>>
>>> http://manual.qooxdoo.org/current/pages/tool/generator_config_ref.html#compile-options
>>>
>>>
>>> T.
>>>
>>>
>>>
>>>
>>>>
>>>> thanks to all.
>>>>
>>>>> I don't think it's possible. But it does make sense. I'm interested in
>>>>> that
>>>>> too.
>>>>>
>>>>> On Thu, Sep 23, 2010 at 8:51 AM, <i...@saksys.de> wrote:
>>>>>
>>>>>> Tank you Guilherme! You saved my time.
>>>>>>
>>>>>> is it possible to set nocache just to self written classes? I mean
>>>>>> their
>>>>>> is no need to download the framework files everytime but the oen
>>>>>> classes.
>>>>>>
>>>>>> regards Sak
>>>>>>
>>>>>>> Inside the "jobs" entry:
>>>>>>>
>>>>>>>    "source-script" :
>>>>>>> {
>>>>>>> "compile-options":
>>>>>>>      {
>>>>>>>    "uris":
>>>>>>>    {
>>>>>>>    "add-nocache-param":false
>>>>>>>    }
>>>>>>>      }
>>>>>>> },
>>>>>>>
>>>>>>> On Thu, Sep 23, 2010 at 6:43 AM, <i...@saksys.de> wrote:
>>>>>>>
>>>>>>>> Sorry, now I see i placed the object in commented area, but i tried
>>>>>> to
>>>>>>>> use
>>>>>>>> this config, no efort!
>>>>>>>>
>>>>>>>> {
>>>>>>>>  "name"    : "asa",
>>>>>>>>
>>>>>>>>  "include" :
>>>>>>>>  [
>>>>>>>>    {
>>>>>>>>      "path" : "${QOOXDOO_PATH}/tool/data/config/application.json"
>>>>>>>>    }
>>>>>>>>  ],
>>>>>>>>
>>>>>>>>  "export" :
>>>>>>>>  [
>>>>>>>>    "api",
>>>>>>>>    "build",
>>>>>>>>    "clean",
>>>>>>>>    "distclean",
>>>>>>>>    "fix",
>>>>>>>>    "info",
>>>>>>>>    "inspector",
>>>>>>>>    "lint",
>>>>>>>>    "migration",
>>>>>>>>    "pretty",
>>>>>>>>    "profiling",
>>>>>>>>    "source",
>>>>>>>>    "source-all",
>>>>>>>>    "test",
>>>>>>>>    "test-source",
>>>>>>>>    "translation"
>>>>>>>>  ],
>>>>>>>>
>>>>>>>>  "let" :
>>>>>>>>  {
>>>>>>>>    "APPLICATION"  : "asa",
>>>>>>>>    "QOOXDOO_PATH" : "../qooxdoo-1.2-sdk",
>>>>>>>>    "QXTHEME"      : "asa.theme.Theme",
>>>>>>>>    "API_EXCLUDE"  : ["qx.test.*", "${APPLICATION}.theme.*",
>>>>>>>> "${APPLICATION}.test.*"],
>>>>>>>>    "LOCALES"      : [ "en","de","tr" ],
>>>>>>>>    "CACHE"        : "${TMPDIR}/cache",
>>>>>>>>    "ROOT"         : "."
>>>>>>>>   },
>>>>>>>>
>>>>>>>>        "compile-options" :
>>>>>>>>        {
>>>>>>>>          "paths" :
>>>>>>>>          {
>>>>>>>>                "gzip"            : true
>>>>>>>>          },
>>>>>>>>          "uris" :
>>>>>>>>          {
>>>>>>>>                "add-nocache-param" : false
>>>>>>>>          }
>>>>>>>>        }
>>>>>>>>
>>>>>>>> }
>>>>>>>>
>>>>>>>>> Hi List,
>>>>>>>>>
>>>>>>>>> how to disable the new nocache param on loading source scripts?
>>>>>>>>> I tried like the dev team told, but there is no rsult.
>>>>>>>>> This is my config.js... is their any error?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> {
>>>>>>>>>   "name"    : "asa",
>>>>>>>>>
>>>>>>>>>   "include" :
>>>>>>>>>   [
>>>>>>>>>     {
>>>>>>>>>       "path" : "${QOOXDOO_PATH}/tool/data/config/application.json"
>>>>>>>>>     }
>>>>>>>>>   ],
>>>>>>>>>
>>>>>>>>>   "export" :
>>>>>>>>>   [
>>>>>>>>>     "api",
>>>>>>>>>     "build",
>>>>>>>>>     "clean",
>>>>>>>>>     "distclean",
>>>>>>>>>     "fix",
>>>>>>>>>     "info",
>>>>>>>>>     "inspector",
>>>>>>>>>     "lint",
>>>>>>>>>     "migration",
>>>>>>>>>     "pretty",
>>>>>>>>>     "profiling",
>>>>>>>>>     "source",
>>>>>>>>>     "source-all",
>>>>>>>>>     "test",
>>>>>>>>>     "test-source",
>>>>>>>>>     "translation"
>>>>>>>>>   ],
>>>>>>>>>
>>>>>>>>>   "let" :
>>>>>>>>>   {
>>>>>>>>>     "APPLICATION"  : "asa",
>>>>>>>>>     "QOOXDOO_PATH" : "../qooxdoo-1.2-sdk",
>>>>>>>>>     "QXTHEME"      : "asa.theme.Theme",
>>>>>>>>>     "API_EXCLUDE"  : ["qx.test.*", "${APPLICATION}.theme.*",
>>>>>>>>> "${APPLICATION}.test.*"],
>>>>>>>>>     "LOCALES"      : [ "en","de","tr" ],
>>>>>>>>>     "CACHE"        : "${TMPDIR}/cache",
>>>>>>>>>     "ROOT"         : "."
>>>>>>>>>   }
>>>>>>>>>
>>>>>>>>>   // You only need to edit the remainder of this file, if you want
>>>>>> to
>>>>>>>>> customize
>>>>>>>>>   // specific jobs, or add own job definitions.
>>>>>>>>>
>>>>>>>>>   /*
>>>>>>>>>   "jobs" :
>>>>>>>>>   {
>>>>>>>>>     // Uncomment the following entry to add a contrib or library
>>>>>>>>> to
>>>>>>>> your
>>>>>>>>>     // project; make sure to adapt the path to the Manifest.json;
>>>>>> if
>>>>>>>> you
>>>>>>>>> are
>>>>>>>>>     // using a contrib: library, it will be downloaded into the
>>>>>> path
>>>>>>>>> specified
>>>>>>>>>     // by the 'cache/downloads' config key
>>>>>>>>>     "libraries" :
>>>>>>>>>     {
>>>>>>>>>       "library" :
>>>>>>>>>       [
>>>>>>>>>         {
>>>>>>>>>           "manifest" :
>>>>>>>> "contrib://SkeletonApplication/trunk/Manifest.json"
>>>>>>>>>         }
>>>>>>>>>       ]
>>>>>>>>>     },
>>>>>>>>>
>>>>>>>>> "compile-options" :
>>>>>>>>> {
>>>>>>>>>   "paths" :
>>>>>>>>>   {
>>>>>>>>>     "gzip"            : true
>>>>>>>>>   },
>>>>>>>>>   "uris" :
>>>>>>>>>   {
>>>>>>>>>     "add-nocache-param" : false
>>>>>>>>>   }
>>>>>>>>> }
>>>>>>>>>
>>>>>>>>>     // If you want to tweak a job setting, see the following
>>>>>>>>> sample
>>>>>>>> where
>>>>>>>>>     // the "format" feature of the "build-script" job is
>>>>>> overridden.
>>>>>>>>>     // To see a list of available jobs, invoke 'generate.py x'.
>>>>>>>>>     "build-script" :
>>>>>>>>>     {
>>>>>>>>>       "compile-options" :
>>>>>>>>>       {
>>>>>>>>>         "code" :
>>>>>>>>>         {
>>>>>>>>>           "format" : false
>>>>>>>>>         }
>>>>>>>>>       }
>>>>>>>>>     }
>>>>>>>>>   }
>>>>>>>>>   */
>>>>>>>>> }
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> regards Sak
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>>> and start using them to simplify application deployment and
>>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>>> _______________________________________________
>>>>>>>>> qooxdoo-devel mailing list
>>>>>>>>> qooxdoo-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>>> and start using them to simplify application deployment and
>>>>>>>> accelerate your shift to cloud computing.
>>>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>>>> _______________________________________________
>>>>>>>> qooxdoo-devel mailing list
>>>>>>>> qooxdoo-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>>>>>>
>>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>>> and start using them to simplify application deployment and
>>>>>>> accelerate your shift to cloud computing.
>>>>>>>
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________
>>>>>>> qooxdoo-devel mailing list
>>>>>>> qooxdoo-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing.
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> qooxdoo-devel mailing list
>>>>>> qooxdoo-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing.
>>>>> http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________
>>>>> qooxdoo-devel mailing list
>>>>> qooxdoo-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing.
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> qooxdoo-devel mailing list
>>>> qooxdoo-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>>
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing.
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> qooxdoo-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
> 
> 
> 
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to