On Mon, Sep 2, 2013 at 12:04 AM, <[email protected]> wrote: > After trying around dspace installation and some error logging, I'm really > confused on where should I make my configuration changes.
Hi Ricardo, the directories are briefly explained here: https://wiki.duraspace.org/display/DSDOC3x/Installation#Installation-OverviewofDSpaceDirectories Never touch anything inside target, it's an interim step between the ant an maven steps. > For instance, if I want to modify some settings in xmlui.xorg, where would > it be more appropriate to change? In > > ./dspace/target/dspace-3.2-build/config/xmlui.xconf Change it in [dspace-source]/dspace/config/xmlui.xconf, then run ant, maven and restart Tomcat. Alternatively, you can change it in [dspace]/config/xmlui.xconf and restart Tomcat, but keep in mind that your changes will be overwritten by [dspace-source]/dspace/config/xmlui.xconf the next time you run ant and maven. Also keep in mind that during the ant step, variable substitution takes place (things like ${dspace.dir} are replaced by actual values). > With the language files it's even more confusing to me since I have 3 files > and all of them in some target directory: > > ./dspace/target/dspace-3.2-build/webapps/xmlui/i18n/messages_pt_BR.xml > ./dspace/modules/xmlui/target/war/work/org.dspace/dspace-xmlui-lang/i18n/messages_pt_BR.xml > ./dspace/modules/xmlui/target/xmlui-3.2/i18n/messages_pt_BR.xml The language files are not present in the source, they're downloaded during the ant step, that's why you can see them only in target. As a one-time operation, copy the messages_pt_BR.xml from the target directory into [dspace-source]/dspace-xmlui/src/main/webapp/i18n/ and from then on only work on it there. Maven will deploy it to [dspace]/webapps/xmlui/i18n/messages.xml, so the same rules for working with it apply as for configuration above. Also note that there are 3 more messages.xml files for certain optional modules, most importantly Discovery ([dspace-source]/dspace-xmlui/src/main/resources/aspects/Discovery/i18n/messages.xml). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Dspace-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-general
