Fix command-line Options in correlation (package-type projects)
This commit is contained in:
@@ -3,6 +3,7 @@ ext.plugin = 'Correlation'
|
||||
ext.mainClass = hasProperty('mainClass') ? mainClass : 'ch.psi.pshell.workbench.App'
|
||||
ext.title = 'Correlation'
|
||||
ext.desc = 'Correlation'
|
||||
ext.ex_options = 'CorrelationOptions'
|
||||
ext.readonly = true
|
||||
ext.deploy_type= 'pkg'
|
||||
|
||||
@@ -10,7 +11,8 @@ dependencies {
|
||||
implementation 'ch.psi:pshell-workbench:' + version
|
||||
}
|
||||
|
||||
//Jar contains only command line options, the panel is compiled dinamically
|
||||
//Jar contains only command line options, the panel is compiled dinamically.
|
||||
//Add to jar just the command-line options.
|
||||
tasks.jar {
|
||||
include 'CorrelationOptions.class'
|
||||
}
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#!/bin/sh
|
||||
export PSHELL_EX_OPTIONS=${ex_options}
|
||||
export PSHELL_CLASS_PATH=${jar_file}
|
||||
|
||||
# Run the workbench configured with the package paths, loading the plugin.
|
||||
exec pshell-workbench -b -l -g \$${app_args_var} \
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#!/bin/sh
|
||||
export PSHELL_EX_OPTIONS=${ex_options}
|
||||
export PSHELL_CLASS_PATH=${jar_file}
|
||||
|
||||
# Run the package with application specific arguments, and all command-line passed arguments
|
||||
exec pshell-workbench -b -d -l -k -g -q -statusbar -size=1000x700 -console_log=SEVERE -m ${pkg_folder} \$${app_args_var} "\$@"
|
||||
|
||||
Reference in New Issue
Block a user