Package apps

This commit is contained in:
2025-08-20 08:42:25 +02:00
parent 6f72ea1692
commit a086637dc5

View File

@@ -102,6 +102,7 @@ subprojects {
def java_file_name = (deploy_type=='pkg') ? app_description + ".java" : main_class + ".java"
def editor = bin_file_name + "-editor"
def file_mode = readonly ? 0644: 0777
//def dir_mode = readonly ? 0755: 0777
project.tasks.register("rpm", Rpm) {
doFirst {
@@ -134,9 +135,9 @@ subprojects {
permissionGroup 'root'
addParentDirs true
directory(app_path, 755)
directory(app_path + '/lib', 755)
directory(app_path + '/bin', 755)
directory(app_path, 0755)
directory(app_path + '/lib', 0755)
directory(app_path + '/bin', 0755)
into app_path
@@ -155,9 +156,12 @@ subprojects {
} else if (deploy_type=='pkg'){
from ('src/main/pkg'){
into 'lib'
fileMode file_mode
includeEmptyDirs = true
exclude '**/*.class'
}
fileMode file_mode
//createDirectoryEntry = true
//dirMode dir_mode
}
}
from('scripts') {