Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 94720 invoked from network); 22 Jan 2006 13:09:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Jan 2006 13:09:08 -0000 Received: (qmail 85158 invoked by uid 500); 22 Jan 2006 13:09:04 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 85098 invoked by uid 500); 22 Jan 2006 13:09:03 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 85087 invoked by uid 99); 22 Jan 2006 13:09:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jan 2006 05:09:03 -0800 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=RCVD_IN_WHOIS_BOGONS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of antoine@gmx.de designates 213.165.64.21 as permitted sender) Received: from [213.165.64.21] (HELO mail.gmx.net) (213.165.64.21) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 22 Jan 2006 05:09:02 -0800 Received: (qmail invoked by alias); 22 Jan 2006 13:08:40 -0000 Received: from e180133054.adsl.alicedsl.de (EHLO [192.0.2.4]) [85.180.133.54] by mail.gmx.net (mp010) with SMTP; 22 Jan 2006 14:08:40 +0100 X-Authenticated: #22961642 Message-ID: <43D383F7.2010107@gmx.de> Date: Sun, 22 Jan 2006 14:09:11 +0100 From: Antoine Levy-Lambert User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.11) Gecko/20050728 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: java.io.IOException calling java task References: <43D1BA98.4030607@yahoo.de> In-Reply-To: <43D1BA98.4030607@yahoo.de> X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello Markus, when you fork a java command, you are then subject to limits set by your operating system to length of commands. on Windows, it is 4096 bytes. Antoine markus innerebner wrote: > Hello @ all > > When executing the java ant target or my written ant task with a long > classpath I receive a java.io.IOException. This exception only appears > when I am invoking such task in fork mode true. Without forking I > don't have this problem. > I tried also to set a relative path, but ant set then always it > absolut. Are the some solutions? > I also heard about to create a manifest file, which contains the > classpath. But this is not so easily appliable for my written ant > task, because this task checks if the arguments are set and depending > on that, there will be passed the arguments to the main method of > another class. > > Any hints or solutions? > > best regards > > Markus > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org