git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69fb276
)
JAL-3208 re-enable the setprop CLI arg, but only in JalviewJS
author
Jim Procter
<jprocter@issues.jalview.org>
Wed, 6 Mar 2019 15:29:34 +0000
(15:29 +0000)
committer
Jim Procter
<jprocter@issues.jalview.org>
Wed, 6 Mar 2019 15:29:34 +0000
(15:29 +0000)
src/jalview/bin/Jalview.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Jalview.java
b/src/jalview/bin/Jalview.java
index
5527450
..
f2bef93
100755
(executable)
--- a/
src/jalview/bin/Jalview.java
+++ b/
src/jalview/bin/Jalview.java
@@
-325,9
+325,10
@@
public class Jalview
else
{
System.out.println("Executing setprop argument: " + defs);
- // DISABLED FOR SECURITY REASONS
- // TODO: add a property to allow properties to be overriden by cli args
- // Cache.setProperty(defs.substring(0,p), defs.substring(p+1));
+ if (Platform.isJS())
+ {
+ Cache.setProperty(defs.substring(0,p), defs.substring(p+1));
+ }
}
defs = aparser.getValue("setprop");
}