On Sun, Aug 15, 2010 at 04:15:56PM -0000, [email protected] wrote:
...
> +    private void parseDeleteCacheOption(String[] args, int i) throws 
> FOPException {
> +        FontManager fontManager = factory.getFontManager();
> +        try {
> +            setUserConfig();
> +            File cacheFile = fontManager.getCacheFile();
> +            if (fontManager.deleteCache()) {
> +                System.out.println("Successfully deleted the font cache file 
> '"
> +                        + cacheFile + "'.");
> +                System.exit(0);
> +            } else {
> +                System.err.println("Failed to delete the font cache file '"
> +                        + cacheFile + "'.");
> +                System.exit(1);
> +            }
> +        } catch (IOException e) {
> +            System.err.println("Failed to delete the font cache file");
> +            System.exit(1);

Why does FOP exit after the use of this option?

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

Reply via email to