Hi woprandi,

you see the result in the "network" tab of your browser console. Every 
source class file is loaded with "?nocache=XXXX" appended. But I noticed 
that this only works with your source version and not with your build 
version.

I've also tried every possible variation of your sed command, but with 
the same result as you. Havn't found a variant which pleases sed and our 
config JSON processing. :(

What worked for my machine is:

  add_revision.sh
.----------------
| if [ -f build/index.html ]
|   then
|     sed -i '' -e"s/\(script\/.*js\)/\1\?v=$(git log -n 1
|                    --pretty=format:'%H')/" build/index.html
| fi

  config.json
.------------
| "build-files" :
| {
|   "shell": {
|     "command" : "./add_revision.sh"
|   }
| }

i.e. introduce a bash script file and execute it.

HTH

Regards
Richard

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to