There are many problems with the setup. It seems there are conflicts when ant 3.0 is installed. Replaceing the version of maven in build.xml to 3.0 fixes that. The dependencies are not downloaded for h2 and many other libraries. I copied these from the 5.0-beta1 download (which is working), but there are still problems.
Are there any known tricks which need to be applied to force the downloads to be properly downloaded?
You can try to delete the folders '/examples/activiti-engine-examples/libs-test' and /examples/activiti-engine-examples/libs-runtime'. Afterwards, run "ant demo.setup" again.
Thanks, that helped a lot. Something seems to be wrong with the path where maven is started. When you have maven 3 installed locally, you need to change the maven version to "3.0" before starting the script, otherwise downloads are not done and not restarted. It seems to be working now.