Add mdt to the package

This commit is contained in:
ferrog
2026-02-05 15:56:24 +00:00
parent 6ebd943f9b
commit 82cb489cfa
3 changed files with 10 additions and 4 deletions

View File

@@ -143,6 +143,12 @@ of the distribution package..
target="/etc/opt/codac/${project.artifactId}">
<include>*</include>
</include>
<include type="file"
source="main/resources/mdt/"
targetroot="SYSTEM_ROOT"
target="/etc/opt/codac/${project.artifactId}">
<include>*</include>
</include>
<!-- Scripts -->
<include type="script"
scriptType="helper"

View File

@@ -62,12 +62,12 @@ cd ${current_dir}
ok=$(echo ${mask} | cut -c ${cid})
if [[ ${ok} != "0" ]]; then
# cp -rf ${project_name}/src/main/resources tmp_resources
cp -rf ${project_name}/src/main/resources tmp_resources
rm -rf ${project_name}/*
cp -rf ${project_name}-IN/* ${project_name}/
cp -rf ${project_name}-IN/.[^.]* ${project_name}/
# cp -rf tmp_resources/* ${project_name}/src/main/resources
# rm -rf tmp_resources
cp -rn tmp_resources/* ${project_name}/src/main/resources
rm -rf tmp_resources
# /bin/cp -rf /opt/codac/marte2-extensions/templates ${project_name,,}-sdd-in/SDD_IN/
# /bin/cp -f templates/* ${project_name,,}-sdd-in/SDD_IN/templates