java - Exclude some classes from being deployed on OC4j using ang -
i using eclipse - uses ant- deploy ejb local oc4j container..
i need exclude files being deployed..
i've open file: d:\eclipse\plugins\org.eclipse.jst.server.generic.oc4j_1.5.206.v20090812\buildfiles\oracle.10.1.3.xml
and found:
<target name="package.module.ejb"> <jar destfile="${server.publish.dir}/${module.name}.jar"> <zipfileset dir="${module.dir}"> <include name="**/*.*"/> <exclude name="**/*.java"/> </zipfileset> </jar> </target>
the files need exclude have following patter: xxxtest.class (ends test.class)
i've tried adding:
<exclude name="**/*test.class"/>
edit: deploy jar within ear, following directory structure of deployed ear:
myapp.ear - meta-inf - myapp.jar
but no effect ... please help..
<exclude name="**/*test.*"/>
Comments
Post a Comment