#
# Copyright 2021 Haulmont.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

#!/bin/sh

./copy-default-file.sh jmix-appsettings/appsettings io/jmix/appsettings
./copy-default-file.sh jmix-appsettings/appsettings-ui io/jmix/appsettingsui

./copy-default-file.sh jmix-audit/audit io/jmix/audit
./copy-default-file.sh jmix-audit/audit-ui io/jmix/auditui
./copy-default-file.sh jmix-audit/audit-flowui io/jmix/auditflowui

./copy-default-file.sh jmix-bpm/bpm io/jmix/bpm
./copy-default-file.sh jmix-bpm/bpm-ui io/jmix/bpmui
./copy-default-file.sh jmix-bpm/bpm-flowui io/jmix/bpmflowui

./copy-default-file.sh jmix-core/core io/jmix/core

./copy-default-file.sh jmix-cuba/cuba com/haulmont/cuba

./copy-default-file.sh jmix-dashboards/dashboards io/jmix/dashboards
./copy-default-file.sh jmix-dashboards/dashboards-chart io/jmix/dashboardschart

./copy-default-file.sh jmix-datatools/datatools-ui io/jmix/datatoolsui
./copy-default-file.sh jmix-datatools/datatools-flowui io/jmix/datatoolsflowui

./copy-default-file.sh jmix-dynattr/dynattr io/jmix/dynattr
./copy-default-file.sh jmix-dynattr/dynattr-ui io/jmix/dynattrui

./copy-default-file.sh jmix-email/email io/jmix/email
./copy-default-file.sh jmix-email/email-ui io/jmix/emailui

./copy-default-file.sh jmix-flowui/flowui io/jmix/flowui
./copy-default-file.sh jmix-flowui/flowui-data io/jmix/flowuidata

./copy-default-file.sh jmix-gridexport/gridexport-ui io/jmix/gridexportui
./copy-default-file.sh jmix-gridexport/gridexport-flowui io/jmix/gridexportflowui

./copy-default-file.sh jmix-emailtemplates/emailtemplates io/jmix/emailtemplates
./copy-default-file.sh jmix-emailtemplates/emailtemplates-ui io/jmix/emailtemplatesui

./copy-default-file.sh jmix-imap/imap io/jmix/imap
./copy-default-file.sh jmix-imap/imap-ui io/jmix/imapui

./copy-default-file.sh jmix-quartz/quartz io/jmix/quartz
./copy-default-file.sh jmix-quartz/quartz-ui io/jmix/quartzui
./copy-default-file.sh jmix-quartz/quartz-flowui io/jmix/quartzflowui

./copy-default-file.sh jmix-reports/reports io/jmix/reports
./copy-default-file.sh jmix-reports/reports-flowui io/jmix/reportsflowui

./copy-default-file.sh jmix-search/search io/jmix/search
./copy-default-file.sh jmix-search/search-ui io/jmix/searchui

./copy-default-file.sh jmix-security/security io/jmix/security
./copy-default-file.sh jmix-security/security-data io/jmix/securitydata
./copy-default-file.sh jmix-security/security-ui io/jmix/securityui
./copy-default-file.sh jmix-security/security-flowui io/jmix/securityflowui

./copy-default-file.sh jmix-ui/charts io/jmix/charts
./copy-default-file.sh jmix-ui/pivot-table io/jmix/pivottable
./copy-default-file.sh jmix-ui/ui io/jmix/ui
./copy-default-file.sh jmix-ui/ui-data io/jmix/uidata
