Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 3223 invoked from network); 19 Apr 2005 20:41:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Apr 2005 20:41:27 -0000 Received: (qmail 3666 invoked by uid 500); 19 Apr 2005 20:41:17 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 3631 invoked by uid 500); 19 Apr 2005 20:41:17 -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 3616 invoked by uid 99); 19 Apr 2005 20:41:17 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of nishiprafull@gmail.com designates 64.233.184.204 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.204) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 19 Apr 2005 13:41:15 -0700 Received: by wproxy.gmail.com with SMTP id 67so102486wri for ; Tue, 19 Apr 2005 13:41:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jGJ2fviBa8XuCuems3hTF+NQznHpAvbIiCgj43Fy6sqn3p4oCsF6fygFJUyUrngX+d6N4nezp/w70rG9mUW2jCYLI6YaVI2MO97VuoYT5Wet1LwnS70f0R2/NoatIxHe910K/3w69i0jAkrJ+iYJWBuzM9x2638+wg2hH/VKiMM= Received: by 10.54.25.2 with SMTP id 2mr143286wry; Tue, 19 Apr 2005 13:41:13 -0700 (PDT) Received: by 10.54.48.36 with HTTP; Tue, 19 Apr 2005 13:41:13 -0700 (PDT) Message-ID: Date: Tue, 19 Apr 2005 13:41:13 -0700 From: Nishi Prafull Reply-To: Nishi Prafull To: Ant Users List Subject: Re: ant build script failing In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks, that worked! One other question, if I have to pass in a new build script to the ant command such as build2.xml and not use the default one, whats the command line parameter to do that? Thanks. On 4/19/05, Conelly, Luis (GE Energy, Non GE, GENE) wrote: > Nishi, >=20 > If you intend to use a variable previously set on the environment, you > should get it from your environment. I.e. >=20 > > >=20 > On the other hand, if you defined the property's value by passing an > argument on the command line such as >=20 > $ ant -Dyourprop=3Dfoo >=20 > then, the way you are using is the right way. >=20 > Regards > -Luis >=20 > -----Original Message----- > From: Nishi Prafull [mailto:nishiprafull@gmail.com] > Sent: Tuesday, April 19, 2005 3:00 PM > To: user@ant.apache.org > Subject: ant build script failing >=20 > Hi: > I have following ant script to build a project but its failing at the > clean target as below, can someone please let me know what could be > the cause? > I made sure that the srchome variable was set in the environment >=20 > [C:\temp\dc\src\java\DiscOEM]ant > Buildfile: build.xml >=20 > clean: > [delete] C:\temp\dc\src\java\DiscOEM\${srchome}\dc_bin_1\dist\DiscOEM > not found. >=20 > init: >=20 > BUILD FAILED > C:\temp\dc\src\java\DiscOEM\build.xml:117: Directory > C:\temp\dc\src\java\DiscOEM\${srchome}\dc_bin_1\dist\DiscOEM creation > was not successful for an unknown reason > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > >=20 > >=20 > >=20 > > > > >=20 > > >=20 > >=20 > >=20 > >=20 > >=20 > value=3D"oracle.bali.rts.tools.CustomRTSMakeBundle"/> >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > > > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > > > > > > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org