The Open Anzo Project

Semantic Application Middleware

Ticket #21 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

add revision number to all assemblies created

Reported by: jpbetz Assigned to: jpbetz
Priority: minor Milestone:
Component: openanzo-maven Version:
Keywords: subversion revision snapshot Cc:

Description

Maven doesn't uniquely name each and every snapshot that it publishes to the public repository and download pages.

When we get issues reported from Open Anzo users using a snapshot it will be very helpful to know which subversion revision was built to create that snapshot.

Things to do:

  • put the revision used to create a build into each assembly such that it is easily accessible
  • log both the open anzo version # and subversion revision # when the server and client start
  • since open anzo jars are deployed as maven artifacts, include the revision number in the manifest.mf file

Change History

10/03/07 00:25:50 changed by jpbetz

Added revision number to manifest.mf files in r424

10/20/07 16:03:42 changed by jpbetz

  • status changed from new to assigned.

For assemblies there is the MANIFEST.MF info and the pom.properties info:

WARN main org.openanzo.common.utils.LogUtils - Anzo Common - Assembly Manifest Details:
WARN main org.openanzo.common.utils.LogUtils - 	Created-By: Apache Maven
WARN main org.openanzo.common.utils.LogUtils - 	Build-Jdk: 1.5.0_07
WARN main org.openanzo.common.utils.LogUtils - 	Built-By: jpbetz
WARN main org.openanzo.common.utils.LogUtils - 	Implementation-Version: 3.0-SNAPSHOT
WARN main org.openanzo.common.utils.LogUtils - 	Implementation-Build: r597
WARN main org.openanzo.common.utils.LogUtils - Anzo Common - Maven Details:
WARN main org.openanzo.common.utils.LogUtils - 	Version: 3.0-SNAPSHOT
WARN main org.openanzo.standalone.StandaloneServer - Anzo Server Started

If the server is run from eclipse, there is the Bundle info:

 WARN [main] (LogUtils.java:66) - Anzo Common - Bundle (OSGi) Manifest Details:
 WARN [main] (LogUtils.java:67) - 	(Server running from outside assembly.  Assembly details are not available.)
 WARN [main] (LogUtils.java:68) - 	Bundle-Version: 3.0.0

}}}

10/20/07 16:11:29 changed by jpbetz

(In [598]) addresses #21, #50, #52 reviewer: lee

Cleanup warnings introduced in merges to trunk from combus branch. Code cleanup to Ldap Glitter solution generator. Log some version information at anzo server startup.

10/20/07 16:15:52 changed by jpbetz

  • status changed from assigned to closed.
  • resolution set to fixed.

10/20/07 22:33:04 changed by jpbetz

  • status changed from closed to reopened.
  • resolution deleted.

reopening per suggestion by Matt that revisions only be embedded in releases and nightly snapshots

10/20/07 22:33:57 changed by jpbetz

(In [602]) addresses #21 reviewer: mroy

follow up on mroy's recommendation that svn revision number only be embedded in release and nightly snapshot assemblies

10/20/07 22:53:43 changed by jpbetz

  • status changed from reopened to closed.
  • resolution set to fixed.
Copyright © 2007 - 2008 OpenAnzo.org