Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 86682 invoked by uid 500); 6 Sep 2001 13:27:03 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 86660 invoked from network); 6 Sep 2001 13:27:03 -0000 Message-ID: From: Niels Verdonk To: "'ant-user@jakarta.apache.org'" Subject: RE: ejbjar compiler="jikes" vs. compiler="java" Date: Thu, 6 Sep 2001 15:26:37 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-OriginalArrivalTime: 06 Sep 2001 13:30:50.0609 (UTC) FILETIME=[25158E10:01C136D8] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You could try putting the %JAVA_HOME%\lib\rt.jar in your classpath -----Original Message----- From: ArindamR@NIIT.COM [mailto:ArindamR@NIIT.COM] Sent: Thursday, September 06, 2001 3:17 PM To: ant-user@jakarta.apache.org Subject: ejbjar compiler="jikes" vs. compiler="java" Hi, I am trying to use compiler="jikes" with ejbjar as : The error that I am getting is : Buildfile: build.xml init: [mkdir] Created dir: D:\Stellar\Dynamic\Code\build compile: [javac] Compiling 13 source files to D:\Stellar\Dynamic\Code\build deploy: [ejbjar] building Dept.jar with 7 files [ejbc] [ejbc] Found 54 semantic errors compiling "D:/Stellar/Dynamic/Code/ejbcgen/samples/ejb/Dept_WebLogic_CMP_RDBMS.java": [ejbc] [ejbc] 29. public final class Dept_WebLogic_CMP_RDBMS extends samples.ejb.DeptBean [ejbc] <------> [ejbc] *** Error: Type samples/ejb/DeptBean was not found. [ejbc] [ejbc] [ejbc] 51. deptno = 0; [ejbc] <----> [ejbc] *** Error: No entity named "deptno" was found in this environment. [ejbc] [ejbc] [ejbc] 52. loc = null; [ejbc] <-> [ejbc] *** Error: No entity named "loc" was found in this environment. ******** snip ****************** It seems that jikes is not able to locate the Home, Remote or the Bean classes. However if I replace compiler="jikes" with compiler="javac", there's no error. Is there something I am missing out? Regards Arindam