Package apps
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
description = 'correlation'
|
||||
ext.mainClass = hasProperty('mainClass') ? mainClass : 'ch.psi.pshell.workbench.App'
|
||||
ext.title = 'Correlation'
|
||||
ext.desc = 'Correlation'
|
||||
ext.desc = 'Correlation' //The plugin class
|
||||
ext.readonly = true
|
||||
ext.deploy_type= 'pkg'
|
||||
|
||||
dependencies {
|
||||
@@ -17,3 +18,4 @@ sourceSets {
|
||||
}
|
||||
|
||||
createDefaultTasks(project)
|
||||
|
||||
|
||||
3
correlation/gradle.properties
Normal file
3
correlation/gradle.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
action.custom-1=rpm
|
||||
action.custom-1.args=--configure-on-demand -w -x check -x test rpm
|
||||
action.debug.args=debug --args="-b -d -l -k -g -q -statusbar -size=1000x700 -console_log=SEVERE -m ./src/main/pkg -laf=dark -pipeline_server localhost:8889 -camera_server localhost:8888 -epics_config ch.psi.jcae.ContextFactory.addressList=localhost:54321"
|
||||
11
correlation/scripts/app_editor
Normal file
11
correlation/scripts/app_editor
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
APP_ARGS_NAME=\$(echo "APP_${app_name}" | tr '[:lower:]' '[:upper:]')_ARGS
|
||||
APP_ARGS_NAME=\${APP_ARGS_NAME//-/_}
|
||||
|
||||
exec pshell-workbench -b -l -g -nbcf \${!APP_ARGS_NAME} \
|
||||
-plgp ${pkg_folder}/plugins \
|
||||
-scpt ${pkg_folder}/script \
|
||||
-devp ${pkg_folder}/devices \
|
||||
-pool ${pkg_folder}/config/devices.properties \
|
||||
-p ${java_file} \
|
||||
"\$@"
|
||||
7
correlation/scripts/app_startup
Normal file
7
correlation/scripts/app_startup
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
APP_ARGS_NAME=\$(echo "APP_${app_name}" | tr '[:lower:]' '[:upper:]')_ARGS
|
||||
APP_ARGS_NAME=\${APP_ARGS_NAME//-/_}
|
||||
|
||||
# Run the package with all passed arguments
|
||||
exec pshell-workbench -b -d -l -k -g -q -statusbar -size=1000x700 -console_log=SEVERE -m ${pkg_folder} \${!APP_ARGS_NAME} "\$@"
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
#Mon Feb 22 20:35:07 CET 2021
|
||||
ch.psi.jcae.ContextFactory.addressList=
|
||||
ch.psi.jcae.ContextFactory.serverPort=
|
||||
ch.psi.jcae.ContextFactory.maxArrayBytes=50000000
|
||||
ch.psi.jcae.ChannelFactory.retries=1
|
||||
ch.psi.jcae.ChannelFactory.timeout=1000
|
||||
ch.psi.jcae.impl.DefaultChannelService.retries=1
|
||||
ch.psi.jcae.impl.DefaultChannelService.timeout=1000
|
||||
ch.psi.jcae.ContextFactory.autoAddressList=true
|
||||
ch.psi.jcae.ContextFactory.useShellVariables=true
|
||||
ch.psi.jcae.ContextFactory.addLocalBroadcastInterfaces=false
|
||||
ch.psi.jcae.ContextFactory.maxSendArrayBytes=1000000
|
||||
@@ -1,4 +1,5 @@
|
||||
#Wed May 31 12:25:22 CEST 2023
|
||||
#Tue Aug 19 09:56:32 CEST 2025
|
||||
analizeHeader=false
|
||||
byteBufferAllocator=false
|
||||
disableCompression=false
|
||||
dropIncomplete=false
|
||||
|
||||
Reference in New Issue
Block a user