Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 45875 invoked from network); 22 May 2009 19:07:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 May 2009 19:07:00 -0000 Received: (qmail 44981 invoked by uid 500); 22 May 2009 19:07:11 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 44919 invoked by uid 500); 22 May 2009 19:07:11 -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 44909 invoked by uid 99); 22 May 2009 19:07:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 May 2009 19:07:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [76.13.9.100] (HELO web65708.mail.ac4.yahoo.com) (76.13.9.100) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 22 May 2009 19:07:02 +0000 Received: (qmail 72411 invoked by uid 60001); 22 May 2009 19:06:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1243019199; bh=kLSmFbWSWz/YGOAzYtciqHpqqogzy+CyLwXyfqHBr2o=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=5dYmYFfUTkVKWKHc3V8FKLHgTxZtFHMoOSwpt6IeWw1qG2KjOa4RgySxsvycS66tfIRJTDYumuXs1E9enkL0Rad2by+qqQNWyAcDUlA3TljTML1A+Q1kXlyFQ4cLQrWBFc+FQJqGpBUS6r3HpfTjoUhj8Dc80UMzs8u9TxHOcpc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ietj3p+GSNlT+iywtz3cNsrxGzoV3RQfC3W3uonZIEHYA/yiF1M8ppO+wICoJhjjEH82efL9qKFa6385UzvT6ur+LPrtpK7nhLCZV50JkCSKUqI7dnfwmFQei5LWPU7X8en+VP1BbFM8e0SdgG7biGSXIgUhMRmGPVvPZKhIEMk=; Message-ID: <846622.71003.qm@web65708.mail.ac4.yahoo.com> X-YMail-OSG: dj49jnMVM1lbfzJHIAOzkRifitZDJe0vKgKqWU4hod8UOwVUwOCGZvCewcMFtRq.RxKw_o4qEqgkKn5rW.EtPOETsR6azijsRLDSkkJEIQD0o58MlrYBpEwqO0wrTv.y7Fz5Om4nPEgWZF1awgzEsIH8V55mkAPQVVmBiAULVkGiJ33h_.xy06SkqGd1CXSjoRnUdwr_eIYMG0YMZFsIzJEOvgs0MPObRQhrHVBzeNR7r7D.BIJpXKMVCaWZPvdqd5NfwUMz866P7arbZh1Tw3tExr8paXcmoAegdkpV.1aR3MSR_J1zPBGW3yptH4tnHbPe9rnydgBgY0j.0xA- Received: from [66.28.53.2] by web65708.mail.ac4.yahoo.com via HTTP; Fri, 22 May 2009 12:06:38 PDT X-Mailer: YahooMailRC/1277.43 YahooMailWebService/0.7.289.10 References: <493928.51039.qm@web24001.mail.ird.yahoo.com> Date: Fri, 22 May 2009 12:06:38 -0700 (PDT) From: Eric Fetzer Subject: Re: Using ant to change the compiler for javac tasks To: Ant Users List In-Reply-To: <493928.51039.qm@web24001.mail.ird.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-154975282-1243019198=:71003" X-Virus-Checked: Checked by ClamAV on apache.org --0-154975282-1243019198=:71003 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Try:=0A=0A=0A=0AT= hen use the following in your javac task:=0A=0Aexecutable=3D"${compiler.fol= der}"=0A=0A=0A=0A=0A________________________________=0AFrom: Frances Lavert= y =0ATo: user@ant.apache.org=0ASent: Thursday= , May 21, 2009 7:30:58 AM=0ASubject: Using ant to change the compiler for j= avac tasks=0A=0AHi, =A0=0AI'm trying to set up CruiseControl to build my pr= oject, and the latest version of cc requires java 5. =A0Unfortunately our p= roject must be build with java 1.4, so i've been trying to incorporate the = compiler setting into my build. =A0I've got one build file that does everyt= hing, and i've been trying to use set a global property as follows:=A0=A0 task= also, with no luck. =A0Any help or suggestions would be great, i'm a compl= ete novice and have been stuck at this for two days now - colleagues have b= een no help either!=0AFrances=0A=0A=0A --0-154975282-1243019198=:71003--