Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 26382 invoked from network); 22 Jan 2002 17:56:15 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 22 Jan 2002 17:56:15 -0000 Received: (qmail 9018 invoked by uid 97); 22 Jan 2002 17:54:50 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 8976 invoked by uid 97); 22 Jan 2002 17:54:50 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 8929 invoked from network); 22 Jan 2002 17:54:49 -0000 Message-ID: <037301c1a36e$13585290$b81c570f@cv.hp.com> From: "Steve Loughran" To: "Ant Users List" , References: <00fd01c1a366$fc74a8a0$4aa3e40f@Stelvio> <1275.192.168.100.200.1011719188.squirrel@www.cortexity.com> Subject: Re: properties files aren't getting included Date: Tue, 22 Jan 2002 09:56:07 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: "Nick Bauman" To: Sent: Tuesday, January 22, 2002 09:06 Subject: Re: properties files aren't getting included > Thanks for your help: > > > ----- Original Message ----- > > From: "Nick Bauman" > > To: > > Sent: Tuesday, January 22, 2002 8:29 AM > > Subject: properties files aren't getting included > > > > > >> Am I just being stupid? I have some properties files in my project > >> that ant seems to ignore when making a jar. I looked at the > >> documentation and I searched the archives and couldn't find anything > >> relevant on this subject. > > > > I assume you have the properties files next to the java source right? > > Yes, it's in my src/ in a subpackage, right alongside my code. > > > And then you jar up the compiled classes in the build directory, right? > > Yup. > > > If these two guesses are correct, how are you getting the properties > > from the source dir to the build dir? > > I'm not. That's the problem, then. I need some kind of parameter to > the "dist" task to keep the properties with the compiled classes. > > -steve I would add a copy task in the compile target which copies **/*properties from src to build -- To unsubscribe, e-mail: For additional commands, e-mail: