This week's book giveaway is in the Testing forum. We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line! See this thread for details.
Hello everybody, I am new to ejb, i am using ant to deploy my bean into weblogic container, but i get some error when i try to execute ant all since some tags in build.xml has to b changed. But i am unaware of how to change. Kindly help me. the folder i have kept my files is C:\first which has 2 folders 1 build 2 dist 3 src 4 build.xml 3.In src folder 3.a C:\first\src\com\smitha\Hello\ejb folder where i have kept my beans Hello.java - Remote Interface HelloBean.java - Bean HelloHome.java - Home Interface 3.b C:\first\src\com\smitha\Hello\ejb\META-INF folder ejb-jar.xml weblogic-ejb-jar.xml
4.build.xml has the following <project name="first" default="all" basedir="."> <property name="hw.ejb.dir" value="${basedir}/src/com/smitha/Hello"/> <property name="hw.dir" value="${basedir}/src/com/smitha/Hello"/>
Please paste the error here so that we can analyze it and tell u what might have probably gone wrong
IBM Certified System Administrator - Websphere Application Server 5
timothy zimmerman
Ranch Hand
Joined: Jun 26, 2001
Posts: 149
posted
0
Definitely having the error would help to solve the problem. Maybe include the version of ant which you are using as well. I thought at first it was odd that you have an empty target as your default and do all of the work via depends, but a simple test shows that is not the issue.
Ernest Friedman-Hill
author and iconoclast
Marshal