Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 24891 invoked from network); 8 Dec 2003 09:59:28 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Dec 2003 09:59:28 -0000 Received: (qmail 2667 invoked by uid 500); 8 Dec 2003 09:58:56 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 2153 invoked by uid 500); 8 Dec 2003 09:58:52 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 2139 invoked from network); 8 Dec 2003 09:58:51 -0000 Received: from unknown (HELO mail.csw.me.uk) (81.2.93.157) by daedalus.apache.org with SMTP; 8 Dec 2003 09:58:51 -0000 Received: from [81.187.185.83] (helo=sslnxgp1) by mail.csw.me.uk with esmtp (Exim 4.22) id 1ATI8Y-0001BK-AY for user@ant.apache.org; Mon, 08 Dec 2003 09:57:06 +0000 From: Chris Wood To: Ant Users List In-Reply-To: <3FCB58DB.133F55B4@purematrix.com> References: <1069775664.4136.21.camel@ssdev30> <3FC5B749.F0CE3876@purematrix.com> <1069951440.4136.27.camel@ssdev30> <3FC728C4.D035AFE4@purematrix.com> <1070271732.22193.6.camel@ssdev30> <3FCB58DB.133F55B4@purematrix.com> Message-Id: <1070877520.4355.10.camel@ssdev30> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 08 Dec 2003 09:58:40 +0000 X-SA-Exim-Mail-From: chris@thesprocket.org Subject: Re: Problem on OS/400 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, RCVD_IN_OSIRUSOFT_COM,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_XIMIAN,X_OSIRU_OPEN_RELAY version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-SA-Exim-Version: 3.1 (built Sat Aug 23 12:38:51 BST 2003) X-SA-Exim-Scanned: Yes X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mon, 2003-12-01 at 15:06, Jack J. Woehr wrote: > But if you *can* build Ant on OS/400, the problem is very much narrowed down. > Or if in building Ant on OS/400, you have little problems which you overcome, > they may add up to solving the big problem you have. And that is my hope > and expectation. > Ok, I've had some time to try and get the source for beta3 compiled on OS400. Here's what I found: I set the JAVA_HOME variable to be the path to the IBM-supplied JDK, which is /qibm/proddata/java400/jdk13. Tried to run the build.sh shell script. It won't run the bootstrap script. This is a common OS400 qsh problem, as 'sh' isn't in /bin. I modified build.sh to simply call 'sh bootstrap.sh', and this worked around this problem. I could then call 'sh build.sh' from qsh to run the build process. I then get the two lines: ... Bootstrapping Ant Distribution ... Compiling Ant Classes Just like I get on other platforms, such as Linux. However, after a suitably OS400-sized pause, I then get a large stream of errors. The first one is: src/main/org/apache/tools/ant/Project.java:65: Class java.util.Iterator not found in import. import java.util.Iterator; ^ (sorry, wrapping has broken the effect on this somewhat. The ^ was pointing to the j of java on the last line) This sounds like a classpath issue to me, but I'm no expert. I've tried manually setting the classpath to include the path to rt.jar which should have this class. Note that the IBM supplied J2sdk is a little odd - it doesn't have a jre directory - the rt.jar file is in the main lib directory. Manually setting the classpath to this makes zero difference. > > I really don't see how trying to build it will get me any closer to why > > it doesn't run. > > To build Ant, Ant has to run (there's a little Ant jar compiled in the Ant source > distribution). You build by running a script, build.sh .... please try it and tell me > what happens. > Any ideas? Cheers, C. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org