ome / omero-server

Gradle project containing main server logic for OMERO
https://www.openmicroscopy.org/omero
GNU General Public License v2.0
5 stars 14 forks source link

Building omero-server on windows #134

Open roshtha opened 2 years ago

roshtha commented 2 years ago

Hello all,

The OME OMERO website link tells https://docs.openmicroscopy.org/omero/5.6.3/sysadmins/version-requirements.html, Windows cannot support OMERO server and only clients can be setup from Windows. However, since this is a java based application, can I download this source as a gradle project in eclipse, build and deploy as a server? I started and tried to open this as a java gradle project in eclipse. But ended up in some import errors. org.gradle.tooling.BuildException: Could not fetch model of type 'GradleBuild' using Gradle distribution 'https://services.gradle.org/distributions/gradle-6.3-bin.zip'.

Before trying to solve this error, I would like to know whether in this way, I can use omero server?

Thanks all.

joshmoore commented 2 years ago

Hi @roshtha.

First a heads up: the main OMERO.server backend components are written in Java but there are also native as well as Python components, so it's not as straight-forward as "write-once-run-anywhere". More importantly, though, we dropped support for Windows in 2017 with OMERO 5.3 not because it's not possible but because it was too costly for us to test and support. We'd be ecstatic if the community or a company would commit to provide that support, but to date that hasn't happened. From our side, if you are limited to a Windows server, we'd suggest either a virtual machine or docker for running the server.

If, however, this is really just a matter of building on Windows, then we can try to help you out. As a first step, could you try upgrading to gradle 6.8?

All the best, ~Josh