ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: properties files aren't getting included
Date Tue, 22 Jan 2002 17:56:07 GMT

----- Original Message -----
From: "Nick Bauman" <nick@cortexity.com>
To: <ant-user@jakarta.apache.org>
Sent: Tuesday, January 22, 2002 09:06
Subject: Re: properties files aren't getting included


> Thanks for your help:
>
> > ----- Original Message -----
> > From: "Nick Bauman" <nick@cortexity.com>
> > To: <ant-user@jakarta.apache.org>
> > 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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message