Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 22727 invoked from network); 26 Oct 2006 00:41:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 00:41:21 -0000 Received: (qmail 25763 invoked by uid 500); 25 Oct 2006 19:05:26 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 25732 invoked by uid 500); 25 Oct 2006 19:05:26 -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 25721 invoked by uid 99); 25 Oct 2006 19:05:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2006 12:05:26 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [207.69.200.58] (HELO pop05.mail.atl.earthlink.net) (207.69.200.58) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2006 12:05:13 -0700 Received: from nc-71-51-254-71.dhcp.embarqhsd.net ([71.51.254.71] helo=flossware.homelinux.org) by pop05.mail.atl.earthlink.net with esmtp (Exim 3.36 #1) id 1Gco3R-0000jl-00 for user@ant.apache.org; Wed, 25 Oct 2006 15:04:45 -0400 Received: from [192.168.168.1] (adminserver.flossware.com [192.168.168.1]) by flossware.homelinux.org (Postfix) with ESMTP id EE2D4185CF2 for ; Wed, 25 Oct 2006 15:04:42 -0400 (EDT) Message-ID: <453FB54A.7000409@mindspring.com> Date: Wed, 25 Oct 2006 15:04:42 -0400 From: "Scot P. Floess" Reply-To: floess@mindspring.com User-Agent: Thunderbird 1.5.0.7 (X11/20060909) MIME-Version: 1.0 To: Ant Users List Subject: Re: Using Ant with older Java versions References: <453FB26A.2070307@turinnetworks.com> In-Reply-To: <453FB26A.2070307@turinnetworks.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Wayne: This is just a warning...the compilation should have happened. If you don't want to see the warning, try using Wayne Cannon wrote: > I'm attempting to convert a Java 1.3project to Ant that has an > attribute named "enum" (Java 1.3 did not have an Enum class) -- > "Enumeration enum;". I have source and target attributes set to > "1.3", but still get the following error message: > > warning: as of release 1.5, 'enum' is a keyword, and may not be used > as an identifier > (try -source 1.5 to use 'enum' as a keyword) > > What do I need to do to tell Ant and/or javac to not apply this Java > 1.5 constraint? > > classpath="${build.classpath}" > srcdir="${src.dir}" > destdir="${bin.dir}" > debug="${build.debug}" ------- "yes" > source="1.3" > target="1.3" > ... > > ... > > > --Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > -- Scot P. Floess 27 Lake Royale Louisburg, NC 27549 252-478-8087 (Home) 919-754-4592 (Work) Chief Architect JPlate http://sourceforge.net/projects/jplate Chief Architect JavaPIM http://sourceforge.net/projects/javapim --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org