Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 78302 invoked from network); 1 Mar 2005 18:04:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Mar 2005 18:04:55 -0000 Received: (qmail 7085 invoked by uid 500); 1 Mar 2005 18:04:51 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 7032 invoked by uid 500); 1 Mar 2005 18:04:51 -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 7018 invoked by uid 99); 1 Mar 2005 18:04:51 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web52907.mail.yahoo.com (HELO web52907.mail.yahoo.com) (206.190.39.184) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 01 Mar 2005 10:04:49 -0800 Received: (qmail 58977 invoked by uid 60001); 1 Mar 2005 18:04:47 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=yGVEg6rtyO7RgOsZPrcbi+SNoyiGA6Z7YE0xVB+UGmP8qizrfzfrJh67m9b8gxm2ccadzKUyQzP2jBSy1dc3tlPbRQD8xQ2dOlVMvhvJMa8yXAqdXDT3FF8HNtlnhb0n7TPC/66Z+QguWfXrf6lUZrJ39NJwnUs3hIr+bZeSM/Y= ; Message-ID: <20050301180447.58975.qmail@web52907.mail.yahoo.com> Received: from [212.95.183.130] by web52907.mail.yahoo.com via HTTP; Tue, 01 Mar 2005 10:04:46 PST Date: Tue, 1 Mar 2005 10:04:46 -0800 (PST) From: Ivan Ivanov Subject: Re: javac task to include properties file To: Ant Users List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --- Jeffrey E Care wrote: > AFAIK javac ignores non-Java files (you can see this > in verbose or debug > mode). If you need to have copies of other file > types in your "classes" > directory then the obvious solution would be to copy > them. > > Implementation left as an exercise for the reader. It is a useful exercise :)) One of my very first errors when I started mastering Ant was that in compile target I did an to copyProps instead of depending on it. As the build xml grew bigger, it ended to copying the properties file several times due to poor design and lots of s. It is also worth noting that when an i18n'ed application is developed copyProps target is a possble place for doing transformation. Regards Ivan > > JEC > -- > Jeffrey E. Care (carej@us.ibm.com) > WebSphere Build SWAT Team Lead > WebSphere Build Tooling Lead (Project Mantis) > https://w3.opensource.ibm.com/projects/mantis > > > "Michael Wang \(IT\)" > wrote on 03/01/2005 > 11:15:33 AM: > > > any arg to include those properties which will > copy them from srcdir > > to targetdir? thanks. > __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org