Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #1185 (closed)

Opened 12 years ago

Closed 10 years ago

Last modified 9 years ago

Add check for ice version to build

Reported by: jamoore Owned by: jamoore
Priority: major Milestone: OMERO-4.4
Component: Deployment Version: 3.0-M1
Keywords: n.a. Cc: palmeida@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-11-29 (3)

Description

Build fails with:

    public static IceInternal.DispatchStatus
                             ^
/home/cgl/OMERO_test/OMERO/components/blitz/generated/omero/model/Job.java:559: cannot find symbol
symbol  : class DispatchStatus
location: package IceInternal
    public static IceInternal.DispatchStatus
                             ^

when slice2java versions mismatch. This would be easy to add to the build startup to catch errors sooner.

Change History (4)

comment:1 Changed 10 years ago by jmoore

  • Milestone changed from Unscheduled to OMERO-Beta4.4

comment:2 Changed 10 years ago by jmoore

  • Remaining Time set to 0.1
  • Sprint set to 2011-11-29 (3)
  • Status changed from new to accepted

comment:3 Changed 10 years ago by jmoore

  • Remaining Time changed from 0.1 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

Added simple check to blitz/build.xml. It may eventually be better to choose the correct version (3.3 or 3.4) based on what slice2java executable is in effect. For the moment, however, we'll be more restrictive.

Pushed to https://github.com/openmicroscopy/openmicroscopy/pull/31

comment:4 Changed 9 years ago by jmoore <josh@…>

(In [1fbdfb7fba56acfebe0c4ea7fc7274c91779c430/ome.git]) Add check for slice2java version (Fix #1185)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.66995 sec.)

We're Hiring!