Re: Version of concurrent.jar
"Marcello H" <[email protected]> Fri, 31 Mar 2006 10:06:34 +0200
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
If I just replace concurrent.jar with backport-util-concurrent-2.1.jar it won't start my application. java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/ConcurrentHashMap at org.webmacro.Broker.<init>(Broker.java:86) at org.webmacro.Broker.<init>(Broker.java:119) at org.webmacro.Broker.getBroker(Broker.java:462) at org.webmacro.WM.<init>(WM.java:66) at prg.Wsf.init(Wsf.java:153) 2006/3/30, Keats Kirsch <[email protected]>: > Doug Lea's Web site says that the ClockDaemon will be released as part > of a separate package, since it has no analog in the JDK 1.5. In the > meantime, I will look at copying the class. > > Keats > > Keats Kirsch wrote: > > > Make sure the ant-junit.jar is in your classpath. Ant really is great > > -- once you get it working. > > > > I found a problem with using the backported concurrency classes. > > Apparently the did not backport the ClockDaemon class, which is used > > by the reloading cache manager. We could just incorporate a version > > of the class in WM, since it is in the public domain, but I'd like to > > find out why it wasn't ported first. I'll do some research. > > > > Keats > > > > Sven Schliesing wrote: > > > >> I seem to not getting this to work properly. I'm stuck getting this > >> message: > >> D:\workspace\webmacro\test\build.xml:29: taskdef A class needed by > >> class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot > >> be found: junit/framework/Test > >> > >> It seems like Ant and me will never get friends. :) > >> Did you try running the tests with the backport, Keats? > >> > >> Sven > >> > >> Keats Kirsch wrote: > >> > >>> Thanks for giving it a shot Sven. I too always find getting the > >>> unit test configured properly to be a chore. > >>> > >>> The JUnitTask is part of a jar called ant-junit.jar that comes with > >>> the Apache Ant distro: http://ant.apache.org/bindownload.cgi > >>> > >>> Keats > >> > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Webmacro-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/webmacro-user > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642