From external-lists@ManagedObjects.com Tue May 9 15:42:02 2000 Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 75196 invoked from network); 9 May 2000 15:42:02 -0000 Received: from unknown (HELO server1.mosol.com) (root@206.55.26.240) by locus.apache.org with SMTP; 9 May 2000 15:42:02 -0000 Received: from nomad (nomad.mosol.com [206.55.26.35]) by server1.mosol.com (8.9.3/8.8.7) with SMTP id MAA11897 for ; Tue, 9 May 2000 12:01:16 -0400 Message-ID: <031d01bfb9cd$1aaa8400$231a37ce@mosol.com> From: "External Lists" To: Subject: Suggestion for Javac Date: Tue, 9 May 2000 11:41:55 -0400 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_031A_01BFB9AB.937D6CC0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_031A_01BFB9AB.937D6CC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I am soliciting opinions on the following idea: The javac tag uses the build.compiler property to determine which compiler to run. However, if you want to control the debug, optimize and deprecation options, you need to explicitly choose them in your task. I propose a change where, instead of defaulting debug, optimize and deprecation to false, they instead obtain their initial values from optional properties named build.compiler.debug, build.compiler.optimize, and build.compiler.deprecation, and can be overridden by the defined attributes, if present. This way, you can build a debug version of your code simply by running build with -Dbuild.compiler.debug=on, instead of having to explicitly identify the debug attribute in each javac task. This seems more orthoginal to how build.compiler is used. Thanks for any comments. John ------=_NextPart_000_031A_01BFB9AB.937D6CC0 Content-Type: text/x-vcard; name="John W. Cocula.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="John W. Cocula.vcf" BEGIN:VCARD VERSION:2.1 N:Cocula;John;W. FN:John W. Cocula ORG:Managed Objects;Development TITLE:Founder and CTO TEL;WORK;VOICE:+1 703-208-3330 TEL;CELL;VOICE:703-930-7843 TEL;WORK;FAX:+1 703-208-3331 TEL;HOME;FAX:703-208-3331 ADR;WORK:;;7925 Westpark Drive;McLean;VA;22102 LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:7925 Westpark = Drive=3D0D=3D0AMcLean, VA 22102 X-WAB-GENDER:2 URL:http://www.cocula.com URL:http://www.ManagedObjects.com EMAIL;PREF;INTERNET:John@ManagedObjects.com REV:20000509T154155Z END:VCARD ------=_NextPart_000_031A_01BFB9AB.937D6CC0--