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

Opened 12 years ago

Closed 12 years ago

RFE: document ./build.py v. ant

Reported by: jburel Owned by: jamoore
Priority: major Milestone: OMERO-4.4
Component: Documentation Version: n.a.
Keywords: n.a. Cc: omero-team@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2012-01-17 (6)

Description (last modified by jmoore)

Using ./build.py for one build call and ant for another is not supported. ./build.py is responsible for adding "ice33" and "ice34" to the build names. When switching to the ant usage, it's looking for the raw version name "4.3.3" as opposed to "4.3.3-ice33".

Attachments (2)

ConsoleBuildDeveloBranch.txt (419.4 KB) - added by jburel 12 years ago.
ConsoleOutputBuild_josh-sprint6-serverBranch.txt (418.9 KB) - added by jburel 12 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 12 years ago by jmoore

  • Resolution set to invalid
  • Status changed from new to closed

This is caused by your switching branches. Apparently, you previously built some branch which had the new "-ice33" or "-ice34" naming scheme, and then you switched to one which no longer did. In that case, you have to redo the top-level build in order to have dsl-4.3.3 built instead of "dsl-4.3.3-ice34".

This will stop happening once all active branches are based on the new ice33/34 logic.

comment:2 Changed 12 years ago by jburel

For info each time I do a clean and build from top, I am going to try again. I am not convinced.

Last edited 12 years ago by jburel (previous) (diff)

comment:3 Changed 12 years ago by jburel

set in local.properties ice.compatibility=3.3

Branch from develop:

  • ./build.py clean then ./build.py from top, the jar dsl-4.3.3-ice33 is created. then ant test-compile

Branch gh/joshmoore/sprint6-server-backlog

  • ./build.py clean then ./build.py from top, the jar dsl-4.3.3-ice33 is created.
Last edited 12 years ago by jburel (previous) (diff)

Changed 12 years ago by jburel

comment:4 Changed 12 years ago by jburel

  • Resolution invalid deleted
  • Status changed from closed to reopened

Added 2 files with console output of ./build.py

comment:5 Changed 12 years ago by jmoore

  • Cc omero-team@… added; jmoore cblackburn removed
  • Component changed from General to Documentation
  • Description modified (diff)
  • Priority changed from blocker to major
  • Summary changed from Bug: ant test-compile to RFE: document ./build.py v. ant

Jean-Marie's original bug report:

in order to test #4341, I rebuilt and ran ant test-compile
The following output in the console

testng-init:
[ivy:resolve] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = /Users/jburel/Documents/git-omero/etc/ivysettings.xml
[ivy:resolve] 
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] 		module not found: omero#dsl;4.3.3
[ivy:resolve] 	==== main: tried
[ivy:resolve] 	  /Users/jburel/Documents/git-omero/etc/../target/repository/dsl-4.3.3.ivy
[ivy:resolve] 	  -- artifact omero#dsl;4.3.3!dsl.jar:
[ivy:resolve] 	  /Users/jburel/Documents/git-omero/etc/../target/repository/dsl-4.3.3.jar
[ivy:resolve] 	==== repo: tried
[ivy:resolve] 	  /Users/jburel/Documents/git-omero/etc/../lib/repository/dsl-4.3.3.ivy
[ivy:resolve] 	  -- artifact omero#dsl;4.3.3!dsl.jar:
[ivy:resolve] 	  /Users/jburel/Documents/git-omero/etc/../lib/repository/dsl-4.3.3.jar
[ivy:resolve] 	==== com.springsource.repository.bundles.release: tried
[ivy:resolve] 	  http://repository.springsource.com/ivy/bundles/release/omero/dsl/4.3.3/ivy-4.3.3.xml
[ivy:resolve] 	  -- artifact omero#dsl;4.3.3!dsl.jar:
[ivy:resolve] 	  http://repository.springsource.com/ivy/bundles/release/omero/dsl/4.3.3/dsl-4.3.3.jar
[ivy:resolve] 	==== com.springsource.repository.bundles.external: tried
[ivy:resolve] 	  http://repository.springsource.com/ivy/bundles/external/omero/dsl/4.3.3/ivy-4.3.3.xml
[ivy:resolve] 	  -- artifact omero#dsl;4.3.3!dsl.jar:
[ivy:resolve] 	  http://repository.springsource.com/ivy/bundles/external/omero/dsl/4.3.3/dsl-4.3.3.jar
[ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] 		::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] 		:: omero#dsl;4.3.3: not found
[ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] 
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
/Users/jburel/Documents/git-omero/build.xml:287: The following error occurred while executing this line:
/Users/jburel/Documents/git-omero/build.xml:281: The following error occurred while executing this line:
/Users/jburel/Documents/git-omero/components/antlib/resources/global.xml:331: The following error occurred while executing this line:
/Users/jburel/Documents/git-omero/components/antlib/resources/lifecycle.xml:158: impossible to resolve dependencies:
	resolve failed - see output for details

Total t

comment:6 Changed 12 years ago by jmoore

  • Resolution set to fixed
  • Status changed from reopened to closed

Added to the bottom of OmeroBuild. When/if this gets moved to sphinx documentation we should have a nice "WARNING" box. (Or we drop ant in favor of something else)

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.68193 sec.)

We're Hiring!