Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compile .ejb files through Ant scripts

Status
Not open for further replies.

adwitiya

Programmer
Jul 22, 2004
2
0
0
US
Hi,
I want to compile .ejb and .jpf files generated through weblogic workshop 8.1, jar it and need to deploy it through Ant scripts(all three tasks). Can anyone help me in doing that?

Thanks,
Adwitiya Nigam...
 
You can use the appc compiler for ejbs:


Code:
    <target name="ejbc">
        <java classname="weblogic.appc" fork="true">
            <classpath>
                <path refid="appc.classpath"/>
                <fileset dir="." includes="${ejbc.classpath}"/>
            </classpath>
            <arg line="-output ${targetjar} ${srcjar}"/>
        </java>
    </target>


-jay
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top