This is part of my Ant build.xml file... It concatinates a lot of
property files...
Extending this to handle the i18n stuff is easy
<target name="props" description="Contatinate property files"
depends="jsp">
<concat destfile="${build.dir}/ApplicationResources.properties">
<fileset dir="${src.dir}" includes="**/*.properties" />
<fileset dir="${srcjsp.dir}" includes="**/*.properties" />
</concat>
</target>
-----Original Message-----
From: craigmcc [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 1:43 PM
To: struts-user
Subject: Re: More that one application resource file
On Mon, 8 Jul 2002, Struts Newsgroup wrote:
> Date: Mon, 8 Jul 2002 10:40:03 -0700
> From: Struts Newsgroup <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: More that one application resource file
>
> Subject: More that one application resource file
> From: Davor Cengija <[EMAIL PROTECTED]>
> ===
> Is it possible, and if yes, how, to have more than one application
resource
> file in a single application?
>
> I'm working on a project where diffrerent people at different levels
> maintain a set of messages and translations and it's became very
> complicated to have all the jsp's and application resources in sync.
What
> I'd like to have is appRes1.properties, appRes2.properties (and with
locale
> extensions) and to use them just as they were merged into one
> appRes.properties file.
>
Can't you do the merging as part of your build process? Using "cat"
(Unix) or "copy" (Windows) in a build script would seem like an easy
solution to this.
> --
> Davor Cengija
> [EMAIL PROTECTED]
> =============================
> "Nicht in die Augen bringen!"
Craig
--
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]>