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 #11408 (closed)

Opened 11 years ago

Closed 11 years ago

Bug: release-clients ant target now breaks on dev_4_4

Reported by: mtbcarroll Owned by: jburel
Priority: critical Milestone: OMERO-4.4.9
Component: Client Version: 4.4.8
Keywords: n.a. Cc: omero-team@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: Blocker 4.4.9 (1)

Description

On current dev_4_4 (not merge build), ./build.py release-clients now gives me,

/Users/mark/src/openmicroscopy/build.xml:462: The following error occurred while executing this line:
/Users/mark/src/openmicroscopy/components/antlib/resources/global.xml:399: The following error occurred while executing this line:
/Users/mark/src/openmicroscopy/components/insight/build.xml:63: The following error occurred while executing this line:
/Users/mark/src/openmicroscopy/components/antlib/resources/global.xml:441: impossible to publish artifacts for omero#insight;working@ls27175.dyn.lifesci.dundee.ac.uk: java.io.IOException: missing artifact omero#insight;4.4.8-DEV-ice33!insight-win.zip
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:226)
	at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:170)
	at org.apache.ivy.Ivy.publish(Ivy.java:600)
	at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:299)
	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
	at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:302)
	at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:221)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1329)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
	at org.apache.tools.ant.Main.runBuild(Main.java:801)
	at org.apache.tools.ant.Main.startAnt(Main.java:218)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at omero.startAnt(omero.java:285)
	at omero.main(omero.java:313)

Attachments (1)

release-clients build output Petr.txt (8.1 KB) - added by pwalczysko 11 years ago.

Download all attachments as: .zip

Change History (16)

comment:1 Changed 11 years ago by bpindelski

Tested with HEAD of dev_4_4 (f417141) and snoopy's dev_4_4 merge build. No errors on my laptop.

comment:2 Changed 11 years ago by jamoore

Related to exe4j?

comment:3 Changed 11 years ago by mtbcarroll

Oh, that's a thought: Blazej has it installed Mac-side and I don't. I'll see if that fixes it.

comment:4 Changed 11 years ago by bpindelski

Josh: if it's indeed related to exe4j then this error shouldn't really happen. I remember building in the past without exe4j and ant was just informing me that exe4j wasn't detected and moving on fine...

comment:5 Changed 11 years ago by mtbcarroll

Yes, release-clients suddenly starts working if one installs exe4j into /opt/ (the hard-coded place in which we look for it).

comment:6 Changed 11 years ago by bpindelski

Apparently etc/omero.properties allows setting exe4j.home, but components/insight/build/dist.xml overrides it, so it's pointless.

comment:7 Changed 11 years ago by mtbcarroll

Heh, it was a surprise to me that it also can't automatically find an exe4j that's in one's PATH!

comment:8 Changed 11 years ago by bpindelski

I've tried building the v.4.4.8p1 tag with ./build.py clean build-default release-clients and all went smooth on a Ubuntu OS:

exe4j-echo-on-missing:
exe4j not present at /opt/exe4j/bin/ant.jar, skipping exe4j tasks.

comment:9 Changed 11 years ago by pwalczysko

I have installed exej4 and then run a clean build on today's dev_4_4 (not the merge, just with what is on dev_4_4 branch atm).
I have used ./build.py clean && ./build.py && ./build.py release-clients.
The ./build.py clean and ./build.py were successful. The ./build.py release-clients failed.

dist-osx:
Deleting directory /Users/petr/Work/openmicroscopy/components/insight/OUT/dist/OMERO.insight.app
Creating application bundle: /Users/petr/Work/openmicroscopy/components/insight/OUT/dist/OMERO.insight.app
Building zip: /Users/petr/Work/openmicroscopy/components/insight/OUT/dist/OMERO.insight-4.4.8-DEV-ice33-mac.zip

exe4j-check-exists:
Warning: skipping zip archive /Users/petr/Work/openmicroscopy/components/insight/OUT/dist/OMERO.insight-4.4.8-DEV-ice33-win.zip because no files were included.
Warning: skipping zip archive /Users/petr/Work/openmicroscopy/components/insight/OUT/dist/OMERO.insight-4.4.8-DEV-ice33-win-openGL.zip because no files were included.
Warning: skipping zip archive /Users/petr/Work/openmicroscopy/components/insight/OUT/dist/OMERO.insight-4.4.8-DEV-ice33-win64-openGL.zip because no files were included.
Warning: skipping zip archive /Users/petr/Work/openmicroscopy/components/insight/OUT/dist/OMERO.editor-4.4.8-DEV-ice33-win.zip because no files were included.
Warning: skipping zip archive /Users/petr/Work/openmicroscopy/components/insight/OUT/dist/OMERO.importer-4.4.8-DEV-ice33-win.zip because no files were included.

exe4j-init:
exe4j present at /opt/exe4j, preparing exe4j tasks.

dist-win:
Copying 1 file to /Users/petr/Work/openmicroscopy/components/insight/OUT
Error: Could not find or load main class com.install4j.runtime.launcher.Launcher

BUILD FAILED
/Users/petr/Work/openmicroscopy/build.xml:462: The following error occurred while executing this line:
/Users/petr/Work/openmicroscopy/components/antlib/resources/global.xml:399: The following error occurred while executing this line:
/Users/petr/Work/openmicroscopy/components/insight/build.xml:61: The following error occurred while executing this line:
/Users/petr/Work/openmicroscopy/components/insight/build.xml:38: The following error occurred while executing this line:
/Users/petr/Work/openmicroscopy/components/insight/build/dist.xml:347: The following error occurred while executing this line:
/Users/petr/Work/openmicroscopy/components/insight/build/dist.xml:305: /bin/sh failed with return code 1

Total time: 1 minute 0 seconds

comment:10 Changed 11 years ago by pwalczysko

I am adding the whole output of the cmd line concerning the ./build.py release-clients as an attachment.

Changed 11 years ago by pwalczysko

comment:11 Changed 11 years ago by bpindelski

  • Owner changed from jburel to bpindelski
  • Status changed from new to accepted

comment:12 Changed 11 years ago by bpindelski

  • Milestone changed from Unscheduled to OMERO-4.4.9
  • Sprint set to Blocker 4.4.9 (1)

comment:13 Changed 11 years ago by bpindelski

This is caused by https://github.com/openmicroscopy/openmicroscopy/pull/1376. After I rebased that PR onto develop, the same error has come up...

comment:14 Changed 11 years ago by bpindelski

  • Owner changed from bpindelski to jburel

Assigning to J-M. This has to be tested without a working exe4j installation (on OS X, renaming /opt/exe4j to /opt/foo is the easiest way forward).

comment:15 Changed 11 years ago by jburel

  • Resolution set to fixed
  • Status changed from accepted to closed
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.70228 sec.)

We're Hiring!