Re: [FMPP] copy mode - how to preserve timestamps
Brought to you by:
ddekany
|
From: Daniel D. <dd...@fr...> - 2005-06-29 16:15:57
|
Wednesday, June 29, 2005, 4:50:21 PM, Tilman Sommer wrote: > > > > Is there a way to force FMPP to copy files while > preserving timestamps (same as /bin/cp -p on Unix?) > > > The wasn't, but that's a good point, so now it *always* copies the > time-stamp when copying a file. (Or can you imagine a case where one > doesn't want that?) You can grab the this latest version > here:http://fmpp.sourceforge.net/qfix/fmpp.jarTell me if it works. > > That was quick! And it works perfectly. Many thanks! > > I'm just a bit concerned, that the new jar > is 300 kB versus 302 kB of the original fmpp.jar in FMPP 0.9.9. > But I guess, that can happen. (?) It can, because the efficiency of the compressing depends on the exact content. If you extract both jar-s, 0.9.9 will be the smaller. BTW, note this not-really-BC change (from the version history of the unreleased 0.9.10): The FMPP engine has used and modified the freemarker.template.ObjectWrapper.BEANS_WRAPPER object, which is dangerous. From now by default it uses its own ObjectWrapper instance. If you have utilized that it uses the shared ObjectWrapper.BEANS_WRAPPER, then from now you have to create the Engine instance like this: new Engine(freemarker.template.ObjectWrapper.BEANS_WRAPPER) or use the [!!UC] setting with value [!!UC]. > Thanks again > Tilman -- Best regards, Daniel Dekany |