Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 63362 invoked from network); 26 Jul 2005 06:43:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Jul 2005 06:43:27 -0000 Received: (qmail 78205 invoked by uid 500); 26 Jul 2005 06:43:18 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 78144 invoked by uid 500); 26 Jul 2005 06:43:17 -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 78129 invoked by uid 99); 26 Jul 2005 06:43:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2005 23:43:16 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2005 23:43:10 -0700 Received: from z011100.bk.fin.local (z011104.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id j6Q6gf0V002859 for ; Tue, 26 Jul 2005 08:42:41 +0200 Received: from z011134.bk.fin.local ([130.11.7.134]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Tue, 26 Jul 2005 08:42:42 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: creating -projecthelp default help target X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Tue, 26 Jul 2005 08:42:41 +0200 Message-ID: <3CD9A35A043C094EA8773DBB698E801B01865DEA@z011134.bk.fin.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: creating -projecthelp default help target Thread-Index: AcWRc8gcwQS+vushQ/KgF3yH1gZvqwAOWx0g From: To: X-OriginalArrivalTime: 26 Jul 2005 06:42:42.0474 (UTC) FILETIME=[392FF0A0:01C591AD] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Have a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=3D14941 Jan=20 >-----Urspr=FCngliche Nachricht----- >Von: Ivan Ivanov [mailto:rambiusparkisanius@yahoo.com]=20 >Gesendet: Dienstag, 26. Juli 2005 01:52 >An: Ant Users List >Betreff: RE: creating -projecthelp default help target > >Dewey, > >I think you should *not* set ant.library.dir property. >I am using Ant 1.6.5/WinXP and executing following snippet on=20 >my machine =20 > > > >dumps ant.library.dir (plus some others of course), so I think=20 >it is a built-in one. If for some reason it is not set on your=20 >environment you can replace it with ${ant.home}/lib. > >HTH Ivan > >--- "Dewey, John" wrote: > >> Thanks, >> Your java task worked, after I setup the ant.library.dir variable. >> I'm running it on WinXP so I suspect that your analysis of the error=20 >> was correct, but since the java task is cross platform I=20 >agree that it=20 >> is the better way to go. Thanks again. >>=20 >>=20 >>=20 >> -----Original Message----- >> From: Ivan Ivanov >> [mailto:rambiusparkisanius@yahoo.com] >> Sent: Monday, July 25, 2005 4:12 PM >> To: Ant Users List >> Subject: Re: creating -projecthelp default help target >>=20 >> Hello Dewey, >>=20 >> What is the operating system you are using. If it is=20 >windows, error=3D2=20 >> usually means that windows is not able to find the=20 >executable, i.e. it=20 >> is not in the classpath. Also bear in mind that the usual=20 >way of using=20 >> on windows is like this: >> > os=3D"Windows 2000,Windows XP"> >> >> >> and it is described fully in docs[1]. >>=20 >> Since you are invoking it in ant build script, then ${ant.home} is=20 >> already set, so that you can also provide the absolute path to ant=20 >> launching script: >> >>=20 >> I have done this before and I would recommend you to use task=20 >> (written by memories and not tested) >> : >> >> >> >> > location=3D"${ant.library.dir}/ant.jar"/> >> >> >>=20 >> HTH Ivan >>=20 >> [1]http://ant.apache.org/manual/CoreTasks/exec.html >>=20 >> --- "Dewey, John" wrote: >>=20 >> > Hi I'm trying to get ant help to printout a small message and then=20 >> > the ant -projecthelp listing, but I keep getting the following=20 >> > error: >> > C:\Documents and >> > Settings\jdewey\Desktop\zz\build.xml:11: Execute >> > failed: java.io.IOException: CreateProcess: ant=20 >-projecthelp error=3D2 >> >=20 >> > Any ideas? >> >=20 >> > The build file I am using follows: >> > >> >=20 >> > > basedir=3D"."> >> >=20 >> > > > -projecthelp"> >> > >> > ***************** usage ***************** >> > Blah blah blah >> > >> > -projecthelp prints the custom menu for >> this >> > build file >> > >> > >> > >> > >> >=20 >> > >> >=20 >> >=20 >> > The version of ant I am using is: >> > Apache Ant version 1.6.5 compiled on June 2 2005 >>=20 >> >--------------------------------------------------------------------- >> To unsubscribe, e-mail: >> user-unsubscribe@ant.apache.org >> For additional commands, e-mail: >> user-help@ant.apache.org >>=20 >>=20 > > > > =09 >____________________________________________________ >Start your day with Yahoo! - make it your home page=20 >http://www.yahoo.com/r/hs=20 >=20 > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org