Why don't you have two installer distributions. One built with JDK5 and includes EJB3, one without.

Bill

Scott M Stark wrote:
If the installer is built as it is for the 4.0.x dist with only the
aspects, ejb3 and ejb3x modules built with jdk5, the tests fail because
the ejb3/build-test.xml client.classpath is referring to
${jboss.dist}/client/jbossall-client.jar, but this jar does not contain
the ejb3 classes. It cannot for the 4.0.x dist so the tests need to be
referring to the module jdk5 client jars. The following has the majority
of the tests passing:

   <path id="client.classpath">
      <path refid="apache.log4j.classpath"/>
      <path refid="apache.logging.classpath"/>
      <path refid="jboss.test.classpath"/>
      <path refid="sun.servlet.classpath"/>
      <pathelement path="${jboss.dist}/client/jbossall-client.jar"/>
      <pathelement path="${module.output}/lib/jboss-ejb3-client.jar"/>
      <pathelement path="${module.output}/lib/hibernate-client.jar"/>
      <pathelement
path="${project.root}/aspects/output/lib/jboss-aspect-jdk50-client.jar"/

   </path>
I guess the ejb3 tests should be setting up a jboss-ejb3.dist that
mirrors what the installer has to do to integrate the ejb3 content into
the j2se1.4.2 compiled core and running against that.

xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
VP Architecture & Technology
JBoss Inc.
xxxxxxxxxxxxxxxxxxxxxxxxxxxx

-------------------------------------------------------
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=k&kid0944&bid$1720&dat1642
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


--
Bill Burke
Chief Architect
JBoss Inc.


-------------------------------------------------------
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
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to