New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OMERO.insight Java Application Bundler task for Mac OS X #3337
Conversation
@chris-allan : before merging, I'd propose we force push away the jar and either use some existing maven repository or copy it to our "manual" repository. |
Having looked at chris-allan@92ebe4c now, perhaps maybe the way to go is to set up a job that automatically builds and pushes to http://artifacts.openmicroscopy.org /cc @sbesson |
With regard to packaging and assuming this new app bundler will eventually be the long term solution for the Insight application under OS X, a suggestion would be to:
|
Perhaps |
Bundling the new and legacy .app bundles is convenient, but these are quite large due to each having a complete copy of all the jars, so having them separate does have its advantages. Especially if this also includes editor and importer. [are these two not deprecated as standalone programs now Insight has both? Maybe consider removal of both if we want the legacy app in the same zip] |
Separate OMERO.insight bundles should also be available via the downloads page. The only place where we would have doubled size are the OMERO.clients for mac. As noted above this is a transition as we expect to drop the
|
I would really like to see the Editor and Importer disappear from the bundles - they are very confusing for users. |
@gusferguson: editor has been removed for 5.1. we will have to keep it for 5.0.x |
Two |
great. I will start working on it tomorrow. Final adjustment on imageJ work prior to demo tomorrow. |
(travis kicked) |
Ready for review again? |
@mtbc: suggestions have been implemented. investigating solutions to get the config files picked up. Probably no need to list tomorrow |
Thank you, @jburel. Good luck with it. |
PR opened against this PR. |
@mtbc: to be listed tomorrow |
Test platform: MacOSX 10.10 with Java 1.7.0_51 and Java 1.8.0_25. The _Java6 app (untested since I don't have Java6) warns than I need a Java6 VM [tested successfully by @qidane]. The new app works just fine, starts up and lets me log in, do stuff etc. I've tested the build on MacOSX and Linux, and tested the resulting Java7 artifacts, without any problems. I would suggest removing the Also, the Editor and Importer apps have no Java6/Java7 split. They need a There is this annoying UI glitch: which goes away on resize. Maybe Java7 is not firing a resize event so it needs doing manually when the window is mapped? |
Built with Java 8, ran with Java 7, didn't notice any problems. |
The UI issue will be covered in another PR. |
From the build POV, looks good to merge. The cosmetic issues (application suffixes, UI) do need further work. |
Waiting on |
Jar uploaded to our artifactory and accessible to Ivy via
|
That is expected @manics. The configuration files are not copied in to the |
The idea (cf. a previous comment) is to move the config folder under Contents/Resources. |
for UI issue see #3375 |
This is going to require some more reworking. In adding the above three commits I've noticed that OMERO.editor and OMERO.importer We'll need some time tomorrow to work through all of this. |
@chris-allan: I will have a look either today or over the weekend |
On 10.10, all three Java7+ apps launch for me. |
The thress Java7+ apps also work on 10.9.5 for me |
Tested OMERO.clients.zip on ice 3.3, 3.4 and 3.5 on the octopus build. All passed fine (6 clients per ice version tested, 2x ed, 2x imp, 2x insight each). |
10.6 / Java_6: 🆗 (all three) |
This commit adds a new `dist-osx-appbundler` target to OMERO.insight and adds it as a dependency to the OMERO.insight specific `dist` target. The `dist` target is used by the top level `zips` target which is used by overarching OMERO build system.
This commit switches to load the `appbundler` dependency from Artifactory as configured by Ivy. As Ivy resolution needs to be performed, JAR locations have been deferred to a new `appbundler-init` target which is now responsible for performing the task definition.
f5167ec
to
b61bd57
Compare
Also tested all three Java 7 applications on 10.10 and it's working fine. If we have the split into 10.6 and 10.7+ zips, that will also remove the need for the special application suffixes. |
Force pushed this without JARs added to
|
Thanks guys. Merging |
OMERO.insight Java Application Bundler task for Mac OS X
--rebased-to #3417 |
This pull request adds support for the Java Application Bundler (https://java.net/projects/appbundler) and its open source fork (https://bitbucket.org/infinitekind/appbundler). This bundler and corresponding launcher are intended, at least as far as we're concerned, as a transition point for Java 1.7+ on Mac OS X.
The high level
zips
target can be run to trigger the execution of the Java Application Bundler specificdist-osx-appbundler
task as follows:You will likely find that this is best run after a current build run via
./build.py clean build
. The newOMERO.insight.app
is then available in the following subdirectory:Due to the fact that execution sets the "current working directory" to the user's home directory initial testing can be performed as follows:
If you have errors, launcher debugging can be turned on with an environment variable (https://java.net/projects/appbundler/lists/dev/archive/2012-11/message/2):
Work will have to be done on the following before this can be merged:
/cc @jburel, @rleigh-dundee