On Mon, Nov 12, 2012 at 11:27 PM, Christian Völker <[email protected]> wrote: > Still though, writing in the webapps directory is a quick way for > testing, but these changes will be lost as soon as I start over to > implement more of the changes we want for our DSpace instance. > And there comes the need to know where to put the strings before > recompiling them. > > I guess, your advice would be "put it where it makes sense to you". > Well, Ill try to gain confidence, but I find it hard, being surprised > every time I touch anything, even if these are positive surprises > as was the case this time.
Yes, it's all about finding a workflow that works best for you. It always requires trying things in a few ways before you find the one that suits you. For example, I do any changes to themes and messages_*.xml files and even configuration foles in the deployed directoty, but I remember to copy them immediately after running "ant update". >> 2) You can add your changes to this main messages.xml file even if >> they're for Discovery or any other module, it will work. > > Your explanation leeds me to the assumption that during compilation > all of the separate messages files of the separate modules get merged > into one big catalog. Which in turn would mean that it does not matter > where I put them in the first place. > But well then, it also means that in case I screw it up and put > different versions in serveral messages files, I wont know which > one wins. Which makes it desirable to know more about the priorities > during the merge (if this happens at all, it is only an assumption). I'm not really sure about that (merging). I don't think it would work if you put it all your messages into discovery's messages.xml. But I may be wrong. What I found out was by trial and error. You may remember that I raised some of these issues with othere DSpace developers in response to your email several months ago, but there's no easy solution in sight. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

