<div dir="ltr">Hi Niko and everyone,<div><br></div><div>Insight uses the Java Preferences API, which is where those locations are dictated. A platform agnostic way to script adding a server address would be to give Insight a CLI option that lets you pass one. The code in org.openmicroscopy.shoola.util.ui.login.ServerEditor could probably be refactored fairly easily to do it.</div><div><br>Regards,</div><div>Curtis</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 23, 2015 at 9:15 AM, Paul van Schayck <span dir="ltr"><<a href="mailto:paul@vanschayck.nl" target="_blank">paul@vanschayck.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Niko,<br>
<br>
We've achieved this by editing config/container.xml within the<br>
OMERO.insight directory.<br>
<br>
Note that this will only work (on Windows) when the aforementioned<br>
registry key is empty. When something is set in there, that will be<br>
used first.<br>
<br>
Cheers,<br>
<br>
Paul<br>
<span class="im HOEnZb"><br>
On Tue, Jun 23, 2015 at 3:07 PM, Niko Ehrenfeuchter<br>
</span><div class="HOEnZb"><div class="h5"><<a href="mailto:nikolaus.ehrenfeuchter@unibas.ch">nikolaus.ehrenfeuchter@unibas.ch</a>> wrote:<br>
> Dear all,<br>
><br>
> as a consequence from the discussions on this year's meeting in Paris, we<br>
> decided to switch the Insight installation from Java Webstart to our local<br>
> IT deployment system. Simply getting Insight onto a user's computer is easy,<br>
> but we'd like to supply the server's address as well to reduce confusion<br>
> among our users.<br>
><br>
> For Windows this is pretty straightforward by just adding the address (and<br>
> port) to this registry key:<br>
><br>
>><br>
>> HKEY_CURRENT_USER\Software\JavaSoft\Prefs\org\openmicroscopy\shoola\util\ui\login\<br>
>> omero/Server<br>
><br>
><br>
> Now my question is how to achieve the same for our Mac's? Has anyone done<br>
> this?<br>
><br>
> Many thanks,<br>
> ~Niko<br>
> --<br>
> Niko Ehrenfeuchter | Image Analysis Specialist | Biozentrum, University of<br>
> Basel | Klingelbergstr. 50/70 | CH-4056 Basel<br>
> Phone: <a href="tel:%2B41%20%2861%29%2026%2072673" value="+41612672673">+41 (61) 26 72673</a> | <a href="mailto:nikolaus.ehrenfeuchter@unibas.ch">nikolaus.ehrenfeuchter@unibas.ch</a> |<br>
> <a href="http://www.biozentrum.unibas.ch" rel="noreferrer" target="_blank">www.biozentrum.unibas.ch</a> | <a href="http://www.microscopynetwork.unibas.ch" rel="noreferrer" target="_blank">www.microscopynetwork.unibas.ch</a><br>
> _______________________________________________<br>
> ome-users mailing list<br>
> <a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>
> <a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" rel="noreferrer" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
_______________________________________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" rel="noreferrer" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
</div></div></blockquote></div><br></div>