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 bu...@apache.org on 2009/02/27 12:44:00 UTC

DO NOT REPLY [Bug 46771] [PATCH] fop fails if JAVACMD_OPTS is set

https://issues.apache.org/bugzilla/show_bug.cgi?id=46771





--- Comment #1 from Vincent Hennebert <vh...@gmail.com>  2009-02-27 03:43:58 PST ---
Hi,

It looks like it is a jpackage.org-specific problem. Basically the
java-functions script referred to in the upstream bug should probably not
concatenate $JAVACMD_OPTS to JAVACMD. As its name indicates JAVACMD refers to
the executable, not to possible command arguments.

The fop script is based on the script shipped with ant, so that problem that's
occurring with fop will most probably occur with ant as well. The removal of
quotes in fop_exec_command worries me: there's certainly a good reason why they
were added in the first place, probably to handle paths with spaces in them.
I'm not keen to modify the script without a good reason, as it's designed to
work on all types of Unix platforms, even those with ancient tools and shells.
If we change it then it needs to be re-tested on all those platforms, which we
don't have access to.

I'm happy to hear comments or opinions about this, but I would close the bug as
invalid.

Thanks,
Vincent

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.