I've uploaded a new snapshot of xbean compiled for 1.4, so you should
give it a try
if you want to use jdk 1.4.
Cheers,
Guillaume Nodet
Craig Walls wrote:
Okay, finally getting around to trying this out, but...I get this
error when compiling:
[javac] bad class file:
/Users/wallsc/projects/pig/lib/xbean-spring-2.0-SNAPSHOT.jar(org/xbean/spring/context/ClassPathXmlApplicationContext.class)
[javac] class file has wrong version 49.0, should be 48.0
[javac] Please remove or make sure it appears in the correct
subdirectory of the classpath.
[javac] import
org.xbean.spring.context.ClassPathXmlApplicationContext;
[javac] ^
[javac] 1 error
Does this mean that XBean is dependent on Java 5? I can switch to Java
5 easily for tinkering around, but I may want this to run in Java
1.4.2. Is there any reason that XBean can't be used in Java 1.4.2?
Guillaume Nodet wrote:
Hi All !
A snapshot of ServiceMix 2.0 has been deployed at
http://dist.codehaus.org/servicemix/jars/servicemix-2.0-SNAPSHOT.jar
It includes a number of bug fixes, especially on cluster flow (for
Craig) and sendSync on pub/sub (for George).
To use it on a 1.x distribution, you will need to put the jar at the
place of the old one (do not forget to remove the old one from the
classpath).
It works the same way, and you can access the compatibility mode in
the following way :
..\..\bin\servicemix -v1 servicemix.xml
You will certainly encouter a number of ClassNotFoundException. You
will need to add the following jars to the classpath:
http://dist.codehaus.org/xbean/jars/xbean-spring-2.0-SNAPSHOT.jar
http://www.ibiblio.org/maven/springframework/jars/spring-1.2.5.jar
http://www.ibiblio.org/maven/backport-util-concurrent/jars/backport-util-concurrent-2.0_01_pd.jar
Do not forget to remove the old spring jar from the classpath too.
Enjoy !
Cheers,
Guillaume Nodet