Ah! I see. My build.xml had:

<!-- Copy associated resource files -->
      <copy  todir="${web.build}/library/classes">
          <fileset dir="${src.home}" includes="**/*.properties"/>
      </copy>

! - for some bizarre reason the resource file was being copied into 
build/library/classes

Thanks v. much.

Adam

On Wed, 13 February 2002, "Emaho, Ghoot" wrote:

> 
> You need something like
> 
>         <!-- Copy associated resource files -->
>         <copy  todir="${web.build}/WEB-INF/classes">
>             <fileset dir="${src.home}" includes="**/*.properties"/>
>         </copy>
> 
> This may be being done when you compile, but not otherwise, but without seeing the 
>build.xml....
> 
> Hope this helps
> 
> Ghoot
> 
> > -----Original Message-----
> > From: Adam Hardy [mailto:[EMAIL PROTECTED]]
> > Sent: 13 February 2002 13:09
> > To: [EMAIL PROTECTED]
> > Subject: Ye olde ApplicationResources.properties & ant --> tomcat?
> > 
> > 
> > Hi All,
> > 
> > on setting up my new struts app, I found that ant isn't 
> > copying my ApplicationResources.properties from my src 
> > directory into the build or the deploy directories. 
> > 
> > When I compiled struts from source, ant managed to sort the 
> > properties file out for the example app, but I can't see 
> > anywhere in the build.xml files where this is being specified.
> > 
> > Does anybody know what I'm on about?  I'm going to try to get 
> > around it by putting the properties file directly in the 
> > tomcat webapps dir where it should go, but I'd appreciate 
> > being able to handle it properly.
> > 
> > Thanks
> > Adam
> > 
> > 
> > Find the best deals on the web at AltaVista Shopping!
> > http://www.shopping.altavista.com
> > 
> > --
> > To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


Find the best deals on the web at AltaVista Shopping!
http://www.shopping.altavista.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to