openmicroscopy/openmicroscopy — pull request #560 by sbesson (2012-12-18 11:30:28+00:00)
Title: Accept localhost:port syntax for bin/omero login (see #4072) (rebased onto dev_4_4)

This is the same as gh-442 but rebased onto dev_4_4.

----

This PR allows to use `user@host:port` as a login connection string in the CLI.
Should be tested by at least:
- checking the session clitests pass

```
./build.py -f components/tools/OmeroPy/build.xml test -DTEST=test.clitest.sess
```
- trying to connect using the new connection string, e.g.

```
bin/omero login user-3@gretzky.openmicroscopy.org.uk:4064
```
- checking the following are failing

```
bin/omero login user-3@gretzky.openmicroscopy.org.uk:40
bin/omero login -p 40 user-3@gretzky.openmicroscopy.org.uk:4064
````