Re: copy mode - how to preserve timestamps
Daniel Dekany <[email protected]> Wed, 29 Jun 2005 18:15:37 +0200
| Newsgroups | gmane.comp.text.fmpp |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click