On Fri, Dec 29, 2006 at 10:55:22AM +0100, Jeremias Maerki wrote:
> ... there's a little bug in the dist: fop.bat doesn't
> contain the right filename for xmlgraphics-commons.jar after the JAR
> update.

This mishap is of course partly due to the use of an outdated
scripting language.

If the Windows cmd shell is called with the /V option (delayed
evaluation) it is possible to write this:

set LOCALCLASSPATH=%FOP_HYPHENATION_PATH%
for %%l in (%LOCAL_FOP_HOME%build\*.jar %LIBDIR%\*.jar) do set 
LOCALCLASSPATH=!LOCALCLASSPATH!;%%l

Already much better.

But even this is not a powerful shell compared to the Unix shells. On
Windows the counterpart is the scripting host, which runs VB and
Jscript scripts. It would be good if someone would write a script
which matches the power of FOP's sh shell script.

Regards, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.eu

Reply via email to