slarson / wholebrain

Automatically exported from code.google.com/p/wholebrain
0 stars 0 forks source link

Local configuration file overrides the configuration set by JNLP #505

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Follow the link to the current dev version 
(http://ccdb-dev-db2.crbs.ucsd.edu/wbc-dev/WholeBrainCatalog.jnlp)
2.Run it against dev-data
3.

What is the expected output? What do you see instead?
The WBC comes up as the zebra fish catalog.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by stephen....@gmail.com on 21 Jun 2010 at 7:43

GoogleCodeExporter commented 9 years ago
You must have a local configuration file with zebra specified. It comes up as 
expected on my machine. WBC remembers the last atlas that was specified if none 
is used.

Original comment by caprea on 21 Jun 2010 at 8:48

GoogleCodeExporter commented 9 years ago
Oh right.  Actually this explains another problem that we saw with a 
collaborator.  Its still a problem.  I'm changing the summary though to reflect 
that we need to avoid this local configuration file overriding the flags set by 
the JNLP.

The other collaborator was trying to run the Zebrafish catalog but instead got 
a prompt for the dev servers as though he was in dev mode....  this can't 
happen.

Original comment by stephen....@gmail.com on 21 Jun 2010 at 9:02

GoogleCodeExporter commented 9 years ago
You previously specified that such properties should be remembered (stored in a 
file on disk). I don't see any harm in removing it so nothing is saved, other 
than the annoyance of coding it to begin with.

Original comment by caprea on 21 Jun 2010 at 9:19

GoogleCodeExporter commented 9 years ago
This problem can be solved by specifiying the JNLP stricter.

In one of the JNLP files it was listed as "debugMode" instead of "-debugMode" 
in the argument <tags>

Also, to specify that the client should load Allen it should be specified as 
<argument>-atlas</argument><argument>allen</argument>

Problem was solved when I adjusted these two parameters.

Original comment by caprea on 23 Jun 2010 at 9:15

GoogleCodeExporter commented 9 years ago
Was there a commit that adjusted this, like modifying the template.vm so that 
the default JNLP comes out appropriately?

Original comment by stephen....@gmail.com on 29 Jun 2010 at 7:44

GoogleCodeExporter commented 9 years ago

Original comment by caprea on 14 Jul 2010 at 5:39