Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 79714 invoked from network); 16 Sep 2000 22:56:16 -0000 Received: from natmail2.webmailer.de (HELO post.webmailer.de) (192.67.198.65) by locus.apache.org with SMTP; 16 Sep 2000 22:56:16 -0000 Received: from ns2000 (pec-71-107.tnt4.hh2.uunet.de [149.225.71.107]) by post.webmailer.de (8.9.3/8.8.7) with SMTP id AAA10116 for ; Sun, 17 Sep 2000 00:56:05 +0200 (MET DST) Message-ID: <003601c02031$7bbe0170$380ae195@ns2000> From: "Nico Seessle" To: References: <20000916102556.15953.qmail@web109.yahoomail.com> Subject: Re: Problems running subproject 's Date: Sun, 17 Sep 2000 00:57:05 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N As a temporary fix the following may work: In the method executeJikesCompile in Javac.java change the statement if (myos.toLowerCase().indexOf("windows") >= 0 && (args.length > 250 || winsucks)) { to read if (myos.toLowerCase().indexOf("windows") >= 0) { Ant will then write all (source-file) arguments to a temporary file and pass this to the compiler. Don't know why this works from the main-buildfile but not if called from the outside, but I will have a look at it and maybe we will find a "real" fix for this... I have no plan currently how to get rid of the additional DOS-Windows, but they shouldn't hurt so much :-) Hope this helps Nico ----- Original Message ----- From: "Diane Holt" To: Sent: Saturday, September 16, 2000 12:25 PM Subject: Problems running subproject 's > I have a subproject I call from my main build.xml thus: > > > > > > The functest.xml has one target, "functest", which does several > tasks and a whole bunch of 's. When it does each of the > 's, it pops up (very briefly -- I'm guessing only while jikes is > actually executing) an empty DOS window (I run on NT under MKS korn > shell). This doesn't happen on the tasks I run out of build.xml -- > only the ones out of functest.xml. Once the target hits the point where > one of the 's include names has a ** wildcard in it, I get the > following: > > [javac] The following character string is too long: > [javac] > BUILD FAILED > build.xml:635: Compile failed, messages should have been provided. > Total time: 31 seconds > > Any ideas on what could be causing this behaviour? Why the DOS window pop > up's, and the "string too long" error (which I'm assuming is coming from > DOS)? None of this happens if I run these same 's from the top > level build.xml file. (But I was hoping not to have to do that, since this > target not only involves a bunch of 's but also a majillion file > copies, and I was hoping to keep the top-level build.xml relatively > succinct -- as it is, it's 832 lines, and there's still more to come.) > > Thanks, > Diane > > > ===== > (holtdl@yahoo.com) > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Mail - Free email you can access from anywhere! > http://mail.yahoo.com/