ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maitri_Cho...@ibi.com
Subject Compiling EJB classes
Date Thu, 21 Mar 2002 21:23:32 GMT
Hi,
  I would like to compile the classes using Ant.I have EJB clases I just
want to compile them.We are using our ejb server.I have included
optional.jar in the lib dir of Ant.
I have listed all the classes in build.xml.When I try to run Ant I get
following errors.These are errors in compiling ejb classes.

D:\Application>ant
Buildfile: build.xml

init:

build:
    [javac] Compiling 590 src files to D:\Application\classes
    [javac] D:\Application\src\com\ibc\ejb\framework\EntityRemote.java:37:
cannot resolve symbol
    [javac] symbol  : class CreateException
    [javac] location: package ejb
    [javac] import javax.ejb.CreateException;
    [javac]                  ^
    [javac] D:\Application\src\com\ibc\ejb\framework\EntityRemote.java:38:
cannot resolve symbol
    [javac] symbol  : class EJBHome
    [javac] location: package ejb
    [javac] import javax.ejb.EJBHome;
    [javac]                  ^
    [javac] D:\Application\src\com\ibc\ejb\framework\EntityRemote.java:39:
cannot resolve symbol
    [javac] symbol  : class EJBObject
    [javac] location: package ejb
    [javac] import javax.ejb.EJBObject;
    [javac]                  ^
    [javac] D:\Application\src\com\ibc\ejb\framework\EntityRemote.java:40:
cannot resolve symbol
    [javac] symbol  : class FinderException
    [javac] location: package ejb
    [javac] import javax.ejb.FinderException;
    [javac]                  ^
    [javac] D:\Application\src\com\ibc\ejb\framework\EntityRemote.java:41:
cannot resolve symbol
    [javac] symbol  : class Handle
    [javac] location: package ejb
    [javac] import javax.ejb.Handle;
    [javac]                  ^
    [javac] D:\Application\src\com\ibc\ejb\framework\EntityRemote.java:42:
cannot resolve symbol
    [javac] symbol  : class RemoveException
    [javac] location: package ejb
    [javac] import javax.ejb.RemoveException;
    [javac]              ^    
     [javac]
D:\Application\src\com\ibc\ejb\framework\EntityBeanClass.java:45: cannot
resolve symbol
    [javac] symbol  : class EntityBean
    [javac] location: package ejb
    [javac] import javax.ejb.EntityBean;
    [javac]                  ^
    [javac]
D:\Application\src\com\ibc\ejb\framework\EntityBeanClass.java:46: cannot
resolve symbol
    [javac] symbol  : class EntityContext
    [javac] location: package ejb
    [javac] import javax.ejb.EntityContext;
    [javac]                  ^
    [javac]
D:\Application\src\com\ibc\ejb\framework\EntityBeanClass.java:47: cannot
resolve symbol
    [javac] symbol  : class RemoveException
    [javac] location: package ejb
    [javac] import javax.ejb.RemoveException;
    [javac]                  ^
    [javac]
D:\Application\src\com\ibc\ejb\framework\EntityBeanClass.java:66: cannot
resolve symbol
    [javac] symbol  : class EntityBean
    [javac] location: class com.ibc.ejb.framework.EntityBeanClass
    [javac] public class EntityBeanClass implements Serializable, EntityBean
{
    [javac]                                                       ^
    [javac] D:\Application\src\com\ibc\ejb\framework\EntityRemote.java:76:
cannot resolve symbol
    [javac] symbol  : class EJBHome
    [javac] location: class com.ibc.ejb.framework.EntityRemote
    [javac]     public EntityRemote(EntityBeanClass bean, EJBHome home) {
    [javac]                                                   ^
    [javac] D:\Application\src\com\ibc\ejb\framework\EntityRemote.java:95:
cannot resolve symbol
    [javac] symbol  : class CreateException
    [javac] location: class com.ibc.ejb.framework.EntityRemote
    [javac]     protected static EntityRemote newInstance(String beanName)
throws CreateException {
    [javac]
^
    [javac] D:\Application\src\com\ibc\ejb\framework\EntityRemote.java:125:
cannot resolve symbol
    [javac] symbol  : class EJBHome
    [javac] location: class com.ibc.ejb.framework.EntityRemote
    [javac]     protected void init(EntityBeanClass bean, EJBHome home) {
    [javac]                                                      ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 100 errors


BUILD FAILED

D:\Application\build.xml:89: Compile failed, messages should have been
provided.

Total time: 1 minute 12 seconds

   Any other jar I need to include it and from where can I download that
jar?
Thanks....
java_NY


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message