LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / jvmfwk / CustomTarget_jvmfwk_jvmfwk3_ini.mk
blobbd9621fd27e06f18beffdb8da15c0fa4bf3be2be
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_CustomTarget_CustomTarget,jvmfwk/jvmfwk3_ini))
22 $(eval $(call gb_CustomTarget_register_targets,jvmfwk/jvmfwk3_ini, \
23 $(call gb_Helper_get_rcfile,jvmfwk3) \
26 $(call gb_CustomTarget_get_workdir,jvmfwk/jvmfwk3_ini)/$(call gb_Helper_get_rcfile,jvmfwk3): \
27 $(SRCDIR)/jvmfwk/CustomTarget_jvmfwk_jvmfwk3_ini.mk
28 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,1)
29 $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),ECH)
30 ( printf '[Bootstrap]\n' && \
31 printf 'UNO_JAVA_JFW_VENDOR_SETTINGS=$(if $(filter MACOSX,$(OS)),$${ORIGIN}/../share/misc/,$${ORIGIN}/)javavendors.xml\n' && \
32 printf 'UNO_JAVA_JFW_SHARED_DATA=$${URE_OVERRIDE_JAVA_JFW_SHARED_DATA}\n' && \
33 printf 'UNO_JAVA_JFW_USER_DATA=$${URE_OVERRIDE_JAVA_JFW_USER_DATA}\n' && \
34 printf 'UNO_JAVA_JFW_CLASSPATH_URLS=$${URE_MORE_JAVA_CLASSPATH_URLS}\n' \
35 ) > $@
36 $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),ECH)
38 # vim: set noet sw=4 ts=4: