I'm using this block.xml now
<container name="mrt-vend-client">
<component name="hibernate-service"
class="com.mrt.service.hibernate.HibernateServiceImpl" activation="startup">
<configuration>
</configuration>
</component>
<!-- DAO Services -->
<component name="location-dao"
class="com.mrt.vend.impl.LocationDAOServiceImpl"/>
<component name="region-dao"
class="com.mrt.vend.impl.RegionDAOServiceImpl"/>
</container>
it doesn't contain classloader declaration,and this is target from ant
script:
<junit showoutput="true" fork="true" printsummary="yes"
newenvironment="true" >
<sysproperty key="basedir" value="${basedir}"/>
<classpath>
<pathelement path="${build.tests.dir}"/>
<pathelement path="${build.classes.dir}"/>
<path path="${libs.dir}/merlin-kernel-unit-3.2.5.jar"/>
<path path="${libs.dir}/avalon-repository-main-1.2.jar"/>
<path path="${libs.dir}/avalon-framework-api-4.1.5.jar"/>
<path path="${libs.dir}/mrt-service-impl-0.1.jar"/>
</classpath>
<batchtest fork="true" todir="${build.tests.dir}">
<formatter type="xml"/>
<fileset dir="${build.tests.dir}">
<include name="com/mrt/vend/impl/tests/**"/>
</fileset>
</batchtest>
</junit>
I'm setting fork="true" to ommit ant class loader, and still merlin couldn't
find component descriptor.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]