Can you verify that ${cactus.home.weblogic3x} has a correct value? Can
you for example add the following line before the <cactus> call:
<echo>weblogic home = ${cactus.home.weblogic3x}</echo>
and tell us the result?
Thanks
-Vincent
> -----Original Message-----
> From: Shailesh Kadam [mailto:[EMAIL PROTECTED]
> Sent: 21 January 2004 01:11
> To: [EMAIL PROTECTED]
> Subject: RE: weblogic7x cactus issue
>
> Hi,
> This is my build file.........
>
> <?xml version="1.0"?>
>
> <project name="Ejb" default="test" basedir=".">
>
> <property file="build.properties.sample"/>
>
> <property name="conf.dir" location="conf"/>
> <property name="src.dir" location="src"/>
> <property name="src.java.dir" location="${src.dir}/java"/>
> <property name="src.cactus.dir"
> location="${src.dir}/test-cactus"/>
>
> <property name="target.dir" location="target"/>
> <property name="target.classes.java.dir"
> location="${target.dir}/classes"/>
> <property name="target.classes.cactus.dir"
> location="${target.dir}/classes-test-cactus"/>
>
> <target name="compile">
> <mkdir dir="${target.classes.java.dir}"/>
> <javac destdir="${target.classes.java.dir}"
> srcdir="${src.java.dir}">
> <classpath>
> <pathelement location="${j2ee.jar}"/>
> </classpath>
> </javac>
> </target>
>
> <target name="compile.cactus" depends="compile">
> <mkdir dir="${target.classes.cactus.dir}"/>
> <javac destdir="${target.classes.cactus.dir}"
> srcdir="${src.cactus.dir}">
> <classpath>
> <pathelement location="${target.classes.java.dir}"/>
> <pathelement location="${cactus.jar}"/>
> <pathelement location="${j2ee.jar}"/>
> </classpath>
> </javac>
> </target>
>
> <target name="ejbjar-generic" depends="compile">
> <jar destfile="${target.dir}/ejb-generic.jar">
> <metainf dir="${conf.dir}">
> <include name="ejb-jar.xml"/>
> <include name="weblogic-cmp-rdbms-jar.xml"/>
> <include name="weblogic-ejb-jar.xml"/>
> </metainf>
> <fileset dir="${target.classes.java.dir}"/>
> </jar>
> </target>
>
> <target name="ejbjar" depends="ejbjar-generic">
> <java classname="weblogic.ejbc" failonerror="yes" fork="yes">
> <sysproperty key="weblogic.home"
> value="${weblogic.home.dir}/server"/>
> <arg line="-verbose -keepgenerated -g
${target.dir}/ejb-generic.jar
> ${target.dir}/ejb.jar"/>
> <classpath>
> <pathelement location="${j2ee.jar}"/>
> </classpath>
> </java>
> </target>
>
> <target name="ear" depends="ejbjar">
> <ear destfile="${target.dir}/ejb.ear"
> appxml="${conf.dir}/application.xml">
> <fileset dir="${target.dir}">
> <include name="ejb.jar"/>
> </fileset>
> </ear>
> </target>
>
> <target name="clean">
> <delete dir="${target.dir}"/>
> </target>
>
> <target name="ear.cactify" depends="compile.cactus,ear">
>
> <taskdef resource="cactus.tasks">
> <classpath>
> <pathelement location="${cactus.ant.jar}"/>
> <pathelement location="${cactus.jar}"/>
> <pathelement location="${logging.jar}"/>
> <pathelement location="${aspectjrt.jar}"/>
> <pathelement location="${httpclient.jar}"/>
> </classpath>
> </taskdef>
>
> <cactifywar version="2.3" destfile="${target.dir}/cactus.war"
> mergewebxml="${conf.dir}/cactus/web.xml">
> <classes dir="${target.classes.cactus.dir}"/>
> </cactifywar>
>
> <ear update="true" destfile="${target.dir}/ejb.ear"
> appxml="${conf.dir}/cactus/application.xml">
> <fileset dir="${target.dir}">
> <include name="cactus.war"/>
> </fileset>
> </ear>
>
> </target>
>
> <target name="test" depends="ear.cactify">
>
> <cactus earfile="${target.dir}/ejb.ear" fork="yes"
> printsummary="yes" haltonerror="true"
> haltonfailure="true">
> <containerset>
> <weblogic7x dir="${cactus.home.weblogic3x}" port="7009"
> output="weblogic_result.txt"/>
> </containerset>
> <formatter type="brief" usefile="false"/>
> <test name="junitbook.ejb.domain.TestOrderEJB"/>
> <classpath>
> <pathelement location="${target.classes.java.dir}"/>
> <pathelement location="${target.classes.cactus.dir}"/>
> </classpath>
> </cactus>
>
> </target>
>
> </project>
>
>
> Thx
> Sal
>
> _________________________________________________________________
> There are now three new levels of MSN Hotmail Extra Storage! Learn
more.
> http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]