Maintenance - Mise à jour mensuelle Lundi 1 Juin 2020 entre 7h00 et 9h00

Commit 24fdecdb authored by Maxime Chazalviel's avatar Maxime Chazalviel

set app .json to avoid cache

parent 78b4a7dd
......@@ -13,6 +13,12 @@
#workspace.classpath=
workspace.disableAppJsonCacheScript=\
<script type="text/javascript">\
var Ext= (Ext || {});\
Ext.manifest = ("app.json?_dc=" + new Date());\
</script>\
#------------------------------------------------------------------------------
# This is the folder for build outputs in the workspace
......
......@@ -7,7 +7,7 @@
/**
* The version of the application.
*/
"version": "2.6.15",
"version": "2.6.16",
/**
* The relative path to the application's markup file (html, jsp, asp, etc.).
......@@ -438,7 +438,7 @@
// - other: a string (such as the build.timestamp shown here) to allow
// requests to be cached for this build.
//
"cache": false,
"cache": "${build.timestamp}",
// When "cache" is not true, this value is the request parameter used
// to control caching.
......
......@@ -6,7 +6,11 @@
limit your changes to this file.
-->
<import file="${basedir}/.sencha/app/build-impl.xml"/>
<target name="-after-build">
<replace file="${build.out.page.path}"
token="#disableAppJsonCacheScript"
value="${workspace.disableAppJsonCacheScript}"/>
</target>
<!--
The following targets can be provided to inject logic before and/or after key steps
of the build process:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment