Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CF6817EE6 for ; Mon, 12 Sep 2011 16:46:53 +0000 (UTC) Received: (qmail 41743 invoked by uid 500); 12 Sep 2011 16:46:53 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 41680 invoked by uid 500); 12 Sep 2011 16:46:52 -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 41671 invoked by uid 99); 12 Sep 2011 16:46:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2011 16:46:52 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [147.11.1.11] (HELO mail.windriver.com) (147.11.1.11) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2011 16:46:42 +0000 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id p8CGkILn010172 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 12 Sep 2011 09:46:18 -0700 (PDT) Received: from ALA-MBA.corp.ad.wrs.com ([169.254.1.7]) by ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) with mapi id 14.01.0255.000; Mon, 12 Sep 2011 09:46:18 -0700 From: "Echlin, Robert" To: Ant Users List Subject: RE: Has ant an built in java compiler? Thread-Topic: Has ant an built in java compiler? Thread-Index: AQHMcWfbDza0uvgNiUan70v2YijEOJVJ8JxQgAABNMA= Date: Mon, 12 Sep 2011 16:46:17 +0000 Message-ID: References: <4E6E30F6.8090404@swiss-wireless.com.ar> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.224.140.203] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Sorry Beat, I did not answer your question. Ant does not have a Java compiler. Java has a Java compiler. It looks to me as if Java is running the "modern" compiler that is built in= to your version of Java. If Java has to load some java classes to do the compile, it know where to g= et them, so has no need to use the command line. When forking, it needs to start up a new Java invocation anyway so it uses = the command line to run javac. Hope this helps, Rob > -----Original Message----- > From: Echlin, Robert [mailto:Robert.Echlin@windriver.com] > Sent: Monday, September 12, 2011 12:34 PM > To: Ant Users List > Subject: RE: Has ant an built in java compiler? >=20 > Sounds like it is running the compilation in the current inv9ocation of j= ava. >=20 > Rob >=20 > > -----Original Message----- > > From: Beat Meier [mailto:mbe_ml@swiss-wireless.com.ar] > > Sent: Monday, September 12, 2011 12:19 PM > > To: user@ant.apache.org >> Ant Users List > > Subject: Has ant an built in java compiler? > > > > Hello > > > > Has ant (1.8.2) an built in java compiler? > > What compiler is used if in javac fork=3Dno (default) is used? > > > > My external specified compiler if fork=3Dno is not called, because I ha= ve > > a wrapper script to debug the command line invocation. > > With fork=3Dyes it is used. I have read the with fork=3Dyes the externa= l > > compiler is used but what is used with fork=3Dno? > > > > Example of my javac > > > destdir=3D"${build.dir}/classes" > > debug=3D"${debug}" > > optimize=3D"${optimize}" > > deprecation=3D"${deprecation}" > > verbose=3D"${compiler.verbose}" > > target=3D"1.4" > > source=3D"1.3" > > fork=3D"${compiler.fork}" > > includeAntRuntime=3D"yes"> > > > compiler=3D"modern"/> > > > > > > > > > > Thanks > > > > Beat > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > For additional commands, e-mail: user-help@ant.apache.org >=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