there is no JVM.
+2001-11-24 Bruno Haible <bruno@clisp.org>
+
+ * javaexec.h (execute_java_class): New argument 'quiet'.
+ * javaexec.c (execute_java_class): Likewise.
+
2001-11-17 Bruno Haible <haible@clisp.cons.org>
* hash.c (lookup_2): Remove function, identical to 'lookup'.
execute_java_class (class_name,
classpaths, classpaths_count, use_minimal_classpath,
args,
- verbose,
+ verbose, quiet,
executer, private_data)
const char *class_name;
const char * const *classpaths;
bool use_minimal_classpath;
const char * const *args;
bool verbose;
+ bool quiet;
execute_fn *executer;
void *private_data;
{
}
#endif
- error (0, 0, _("Java virtual machine not found, try installing gij or set $JAVA"));
+ if (!quiet)
+ error (0, 0, _("Java virtual machine not found, try installing gij or set $JAVA"));
err = true;
done2:
If verbose, the command to be executed will be printed.
Then the command is passed to the execute function together with the
private_data argument. This function returns false if OK, true on error.
- Return false if OK, true on error. */
+ Return false if OK, true on error.
+ If quiet, error messages will not be printed. */
extern bool execute_java_class PARAMS ((const char *class_name,
const char * const *classpaths,
unsigned int classpaths_count,
bool use_minimal_classpath,
const char * const *args,
- bool verbose,
+ bool verbose, bool quiet,
execute_fn *executer,
void *private_data));
+2001-11-24 Bruno Haible <bruno@clisp.org>
+
+ * read-java.c (msgdomain_read_java): Update for changed
+ execute_java_class parameter list.
+
2001-11-24 Bruno Haible <bruno@clisp.org>
* msgexec.c (process_message): Really process each plural form once.
resource can be found. */
if (execute_java_class (class_name, &gettextjar, 1, false,
args,
- verbose,
+ verbose, false,
execute_and_read_po_output, &locals))
/* An error message should already have been provided. */
exit (EXIT_FAILURE);