We had met in JBoss World along with Bela. Will send you email separately.
I think you're trying to run the demo in 1.4.1.BETA
from within 1.4.0.SP1 build with the wrong path to the ant runtime.
JBossCache-1.4.0.SP1 1266>build.sh run.demo
Therefore ant complains about finding the right runtime libraries and you get the ant exception.
I tested both demos with 1.4.1.BETA and they're both working fine. I didn't test 1.4.1.SP1 so I can't tell if the issue there. In anycase, you should be testing 1.4.1.BETA.
Also, make sure that your prompt is at JBossCache.1.4.1.BETA directory when invoking sh build.sh run.demo
Let us know how it's working for you.
Not sure, how to reopen the jira case, hence commenting here:
Thanks for your response. I am also convinced that its somewhere in my env.
This is the first command I ran after downloading. The dir is right as you can see in the pwd output and I also put echo statements for CACHE_HOME and ANT_HOME
JBossCache-1.4.1.BETA 1519>sh build.sh run.demo
at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source)
Yup, that fixed it.
Maybe the build.sh script should reset the classpath to make the env kosher.
The GUI is kinda rudimentary.
The shell script already set $ANT_HOME variable local to the script. If you uncomment the classpath line (line 6) in the script that would do exactly what you're suggesting.
I'm not sure why this line is commented in the script!!