Hi, At least since DSpace 1.7, I've been noticing that some properties in dspace.cfg are not expanded after running ant update. For example, dspace.dir value is not expanded in log.init.config option.
I thought it had something to do with my setup (Ant version or whatever), but now, after looking at the issue, I don't see anything wrong. I've seen in the prepare_configs target (in Ant's build.xml) how all configuration files but dspace.cfg are copied with a filter chain that expands the properties. So I've tried changing this line: <copy file="${config}" tofile="config-temp/dspace.cfg" preservelastmodified="true" /> with this: <copy file="${config}" tofile="config-temp/dspace.cfg" preservelastmodified="true" > <filterchain> <expandproperties /> </filterchain> </copy> Afeter this change the properties are expanded correctly. I build (mvn package) DSpace 4 from one machine with these versions: OpenJDK 1.7.0_25 Maven 2.2.1 and deploy (ant update) in another machine with these versions: OpenJDK 1.7.0_45 Ant 1.9.2 Any idea of what I am doing wrong? Thanks, Àlex ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette