You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Simon Pepping <sp...@leverkruid.eu> on 2006/12/30 13:24:21 UTC

Missed update of fop.bat (was: Re: [VOTE] Release of FOP 0.93)

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

Re: Missed update of fop.bat

Posted by Chris Bowditch <bo...@hotmail.com>.
Simon Pepping wrote:

<snip/>

> 
> 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

Is this supported on older versions of Windows such as 98? I dont think 
we can rely on folks to be running Windows XP.

> 
> Already much better.

I quite agree, assuming of course it is supported by most Windows versions.

<snip/>

Chris