struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <adam_ha...@altavista.com>
Subject RE: Ye olde ApplicationResources.properties & ant --> tomcat?
Date Wed, 13 Feb 2002 14:35:51 GMT
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:adam_hardy@altavista.com]
> > Sent: 13 February 2002 13:09
> > To: struts-user@jakarta.apache.org
> > 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:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


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

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message